Reference
API reference
Every Cascades REST endpoint, generated from the OpenAPI spec: workflows, executions, batches, webhooks.
Recommended integration order
POST /webhook_subscriptions— subscribe your endpoint to lifecycle events. Store thesigning_secretfrom the response; it is shown exactly once.POST /workflows/:id/trigger— start a run with a uniqueIdempotency-Keyand yourexternal_reference.GET /executions/:id— poll untilstatusleavespending/running/waiting. Cascades is asynchronous;triggerreturns202 Accepted, not the final state.- Receive signed events at your subscriber URL:
adverse_action.*(triggered / completed / failed / retry_scheduled) andexecution.*(completed / failed). VerifyX-Cascades-Signaturebefore trusting the payload. - (If the workflow includes Human Review)
POST /executions/:id/review_decisionsto approve or deny a paused execution.
Authentication
Every request requires a bearer token. Click Authorize above and
paste your token. Tokens are issued per ApiClient and carry a
scope vocabulary: workflows:read, workflows:write,
workflow_templates:read, executions:read, executions:read:full,
executions:write, webhooks:read, webhooks:write. Each operation
below lists the scope it enforces; a token without it receives
403 insufficient_scope. See
/docs/concepts/scopes-and-keys.
Errors
Every non-2xx response is a JSON envelope:
{ "error": { "code", "message", "details": [], "request_id", "doc_url" } }.
code is a stable machine-readable string; doc_url links to the
reference page for that code at /docs/api/errors/<code>.
Rate limits
- 60 req/min per source IP on
/api/v1/* - 600 req/hour per token prefix (first 8 chars of bearer)
- 300 req/5min per IP globally
A throttled request receives 429 with the standard JSON error
envelope (code: rate_limited) and a Retry-After header giving the
number of seconds until the window resets. Honour Retry-After; when
it is absent back off exponentially with a minimum 1-second wait.
Rate-limited responses (429) carry the JSON error envelope and a Retry-After header; see Keys, scopes and rate limits. Every error code is catalogued under Errors, and the events you receive are under Webhook events.
Endpoints
Workflows
Cascades — the decision workflows you author (by hand, from a template, or with the AI generator) and run against applicants. Workflows are owned by the account behind the token; drafts run in test mode, activated cascades can also run live.
-
GET
/workflowsList workflows -
POST
/workflowsCreate a workflow -
POST
/workflows/generateGenerate a workflow from a prompt -
GET
/workflows/{id}Show a workflow -
PATCH
/workflows/{id}Update a workflow -
DELETE
/workflows/{id}Delete a workflow -
GET
/workflows/{id}/test_casesList sandbox test cases for a workflow -
POST
/workflows/{id}/triggerTrigger a workflow
Workflow templates
Read-only catalog of published cascade templates you can copy a `definition` from.
Executions
Individual runs of a cascade: polling status and results, cancelling, re-evaluating, human-review decisions and audit trail, and the PDF artifacts (credit reports, adverse-action notices) a run produced.
-
GET
/executionsList executions -
GET
/executions/{id}Show an execution -
POST
/executions/{id}/cancelCancel an execution -
POST
/executions/{id}/re_evaluationsRe-evaluate an execution -
POST
/executions/{id}/review_decisionsApprove or deny a paused review -
GET
/executions/{id}/review_eventsList review audit events -
POST
/executions/{id}/review_assignmentClaim or unassign a review -
POST
/executions/{id}/review_notesAppend a review note -
POST
/executions/review_bulk_actionsBulk approve / deny / assign_to_me -
GET
/executions/{id}/report_artifactsList credit-report PDFs for an execution -
GET
/executions/{id}/report_artifacts/{artifact_id}Download a credit-report PDF -
GET
/executions/{id}/notice_artifactsList adverse-action notice PDFs for an execution -
GET
/executions/{id}/notice_artifacts/{artifact_id}Download an adverse-action notice PDF
Batches
Bulk runs of up to 500 applicants against one cascade, with per-row status, cancel / resume / retry, and CSV / ZIP exports.
-
POST
/workflows/{id}/batchesCreate a batch from N rows -
GET
/batchesList batches -
GET
/batches/{id}Show a batch -
GET
/batches/{id}/executionsList child executions of a batch -
POST
/batches/{id}/cancelCancel a batch -
POST
/batches/{id}/resumeResume an interrupted batch -
POST
/batches/{id}/retry_failedRetry failed and skipped rows -
GET
/batches/{id}/exports.csvDownload flat results CSV -
GET
/batches/{id}/exports.zipDownload structured ZIP of batch results -
GET
/batches/{id}/adverse_action_notices.zipDownload all adverse-action notice PDFs as a ZIP
Webhooks
Subscriptions to lifecycle events, signing-secret rotation, and the delivery log with manual retry. The events themselves are documented under `x-webhooks`.
-
GET
/webhook_subscriptionsList webhook subscriptions -
POST
/webhook_subscriptionsCreate a webhook subscription -
GET
/webhook_subscriptions/{id}Show a webhook subscription -
PATCH
/webhook_subscriptions/{id}Update a webhook subscription -
DELETE
/webhook_subscriptions/{id}Delete a webhook subscription -
POST
/webhook_subscriptions/{id}/rotate_secretRotate the signing secret -
GET
/webhook_deliveriesList webhook deliveries -
GET
/webhook_deliveries/{id}Show a webhook delivery -
POST
/webhook_deliveries/{id}/retryManually retry a failed or dead delivery
Schemas
- Meta
- PaginatedMeta
- StaticCollectionMeta
- ErrorEnvelope
- CascadeDefinition
- CascadeNode
- CascadeBranch
- CascadeCondition
- Workflow
- WorkflowDetail
- WorkflowCreateRequest
- WorkflowUpdateRequest
- WorkflowGenerateRequest
- CascadeGeneration
- CascadeGenerationWarning
- CascadeGenerationPreview
- SandboxDraftNote
- TestCase
- TestCaseList
- WorkflowTemplate
- WorkflowTemplateDetail
- ExecutionStatus
- ReviewStatus
- ExecutionSummary
- Execution
- ExecutionDetail
- ExecutionFull
- ReviewEvent
- Artifact
- ApplicantPayload
- TriggerRequest
- TriggerResponse
- ReviewDecisionRequest
- ReviewAssignmentRequest
- ReviewNoteRequest
- BulkReviewRequest
- BulkReviewResult
- Batch
- BatchExecutionRow
- BatchCreateRequest
- WebhookEventName
- WebhookEnvelope
- WebhookSubscription
- WebhookSubscriptionWithSecret
- WebhookSubscriptionCreateRequest
- WebhookSubscriptionUpdateRequest
- WebhookDelivery