Skip to content
Navigation

Keep a run in the product

Promotes a temporary run into your workspace so it stops being temporary.

Keeping a run moves its files and outputs into a real space, re-indexes them for search, imports definition-bound extraction results as records, and clears the TTL — expiresAt becomes null.

Two ways to name the destination:

{ "spaceId": "spc_01JQ8ZKMRT4V6WXYZ0ABCDEFGH" }
{ "space": { "name": "Q3 invoices" } }

The response carries dashboardUrl — the space as a person would open it.

Note: Keeping is idempotent for the same space, but keeping into a different space answers 409 already_kept. A run that is still going answers 409 pipeline_running — wait for the run to finish first.

POST
https://api.cloudraker.com/v1/runs/{id}/keep
Try it
Path parameters
Request body
Live API request

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required
    minLength: 1

Request body JSON required

  • spaceId
    optional
    string
    minLength: 1
  • space
    optional
    object
    • name
      string
      required
      maxLength: 120 · minLength: 1

Returns

200

Kept.

JSON
  • object
    string
    required
  • id
    string
    required
  • spaceId
    string
    required
  • dashboardUrl
    string
    required

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

404

Unknown run id, or an unknown spaceId.

409

The run is still running (pipeline_running) or already kept.

410

The run expired.

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