Skip to content
Navigation

Start a processing pipeline

Multipart upload of one or more files plus a JSON options part (declared files, actions, webhook URL, TTL). Files are sent as repeated parts named files (matched to options.files[].field by filename; undeclared ones get default processing), or — outside the generated SDKs — as one part per options.files[].field. The platform parses the files, runs the requested actions, emits signed webhooks, and holds the result until the TTL expires.

POST
https://api.cloudraker.com/process
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 FORM-DATA required

  • options
    object
    required

    The JSON-encoded options multipart part.

    • files
      optional
      array of
      object

      Per-file processing declarations. Optional when every file is sent as a repeated files part and default processing is fine.

      • field
        string
        required

        Multipart part name of the file (named-part layout), or its filename when the file is sent as a repeated files part.

        minLength: 1
      • processingKind
        optional
        doc-simple
        or
        doc-ocr
        or
        doc-auto
        or
        audio-transcribe
        or
        audio-transcribe-and-diarize

        How to preprocess this file; omitted = automatic by mime type.

    • actions
      optional
      array of
      string

      Installed-action slugs (or ids) to run once preprocessing completes.

      minLength: 1
    • callbackUrl
      optional
      string

      Webhook URL. Deliveries are signed: x-rk1-signature is a compact ES256 JWT (claims processingId, eventId, type, bodySha256) verifiable against GET /process/jwks.json.

      format: uri
    • durationSeconds
      optional
      integer

      Retention TTL in seconds before auto-purge. Max 604800 (7d).

      maximum: 604800 · minimum: 1 · default: 86400
  • files
    array of
    string
    required

    The files to process, one multipart part each (part name files).

    format: binary

Returns

201

Pipeline accepted.

JSON
  • processingId
    string
    required
  • expiresAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • statusUrl
    string
    required

400

Malformed multipart body or options.

403

Caller is neither an org admin nor an org API key.

Type to search…

↑↓ navigate↵ selectEsc close