Skip to main content
All failures return a consistent error envelope:

HTTP Status Codes

Validation Error Codes

The details[].code field provides machine-readable validation context when present:
A request field is malformed, references an unknown resource, or fails format validation.Examples:
  • strategy_id is not a valid strategy ID for this account
  • credential_id doesn’t exist or isn’t accessible
  • return_url fails origin allowlist validation
An Idempotency-Key was used for a previous request with a different body. Returned as 409 conflict.

Error Detail Fields

Blueprint run terminal errors

GET /blueprint-runs/{runId}/status returns an error object when status is failed, and null otherwise.
Today every failed run reports execution_failed. More specific, Blueprint-defined codes will be added later without changing this shape, so treat error.code as an open string set: branch on the codes you know and fall back to a generic retry path for anything unrecognized.
Status responses never include run inputs, outputs, file URLs, or any run content, so they are safe to poll from systems handling sensitive data. The underlying failure detail is available to your Rubie team through the run in the Rubie dashboard.