---
title: "Get a saved action"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a saved action

> **Deprecated.**

Path: CloudRaker Paperwork API › Actions

`GET /v1/actions/{idOrSlug}`

Returns one saved action with its resolved `capability` and stored `config`.

The id and the slug are interchangeable here and everywhere else an action is referenced — including `action: "…"` on [extract](https://docs.cloudraker.com/paperwork/api/capabilities/extract), [redact](https://docs.cloudraker.com/paperwork/api/capabilities/redact) and [fill](https://docs.cloudraker.com/paperwork/api/capabilities/fill).

**Deprecated:** saved actions are becoming per-capability configs — use `POST/GET/PATCH/DELETE /v1/{capability}/configs` instead (`/v1/extract/configs`, `/v1/redact/configs`, `/v1/fill/configs`). Signing keeps using `POST /v1/sign`.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `idOrSlug` (`getAction.path.idOrSlug`; string, required)
  - minLength 1

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.cloudraker.com/v1/actions/<idOrSlug>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/actions/<idOrSlug>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/v1/actions/<idOrSlug>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The saved action.

#### Example

```json
{
  "object": "action",
  "id": "string",
  "slug": "string",
  "name": "string",
  "capability": "extract",
  "config": {
    "property1": null,
    "property2": null
  }
}
```

- `object` (`getAction.response.200.object`; string, required)
- `id` (`getAction.response.200.id`; string, required)
- `slug` (`getAction.response.200.slug`; string, required)
- `name` (`getAction.response.200.name`; string, required)
- `capability` (`getAction.response.200.capability`; string, required)
  - one of `"extract"`, `"redact"`, `"fill"`, `"sign"`, `"classify"`, `"split"`, `"compose"`
- `config` (`getAction.response.200.config`; map<unknown>, required)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`getAction.response.400.success`; boolean, required)
  - one of `false`
- `error` (`getAction.response.400.error`; array<unknown>, required)
- `data` (`getAction.response.400.data`; unknown, required)

### 404

Unknown action id or slug.

### 429

Rate limited. The `/v1` API allows at least **67 requests per minute per organization** (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the `Retry-After` interval and retry — the error is `retryable`.

#### Example

```json
{
  "code": "rate_limited",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`getAction.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`getAction.response.429.message`; string, required)
- `retryable` (`getAction.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`getAction.response.429.requestId`; string, required)
- `docUrl` (`getAction.response.429.docUrl`; string, optional)


Source: https://docs.cloudraker.com/paperwork/api/actions/get-action/index.md
