Skip to content
Navigation

Save an action

Saves a reusable, named configuration for a capability so calls stop repeating themselves.

Pass a saved action to any run as action: "<id or slug>". Inline config on the call is deep-merged over the saved config (an inline schema replaces the saved one whole), and inline wins — so one saved action can be nudged per call without being redefined.

{
  "capability": "extract",
  "name": "W-9 basics",
  "config": {
    "schema": {
      "type": "object",
      "properties": {
        "business_name": { "type": ["string", "null"] },
        "tax_classification": { "type": ["string", "null"] }
      }
    }
  }
}

Saved actions are also what governance, record-type binding and stable configuration under keep hang off. Check the catalog for the config schema of the capability you are saving.

Learn more: Pipeline guide

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.

POST
https://api.cloudraker.com/v1/actions
Try it
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Request body JSON required

  • capability
    extract
    or
    redact
    or
    fill
    or
    sign
    or
    classify
    or
    split
    +1 more
    required
  • name
    string
    required
    maxLength: 200 · minLength: 1
  • config
    optional
    map of
    unknown
  • mimeType
    optional
    string
    minLength: 1

Returns

201

The saved action.

JSON
  • object
    string
    required
  • id
    string
    required
  • slug
    string
    required
  • name
    string
    required
  • capability
    extract
    or
    redact
    or
    fill
    or
    sign
    or
    classify
    or
    split
    +1 more
    required
  • config
    map of
    unknown
    required

400

Ambiguous redaction target (ambiguous_capability), or a config.schema outside the extraction schema dialect (invalid_schema).

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.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close