🔐 Authentication

All v1 endpoints are protected by a token.
The header name must be exactly AUTHORIZATION:

  • AUTHORIZATION: Bearer <AUTHORIZATION_TOKEN>

The token is set in settings (AUTHORIZATION_TOKEN).

🌐 Base URLs

  • API root: /api/
  • v1: /api/v1/
  • Redoc: /api/docs/

▶️ POST /api/v1/workflows/start

Starts a workflow. The request body must contain exactly one workflow payload.

General format:

{
  "<workflow_name>": {
    "...": "..."
  }
}

Response:

{ "request_id": 123 }

Notes:

  • you cannot send multiple workflows in one request
  • extra fields in payload are not allowed
  • if the local consumer is not running, you get No local consumer was found

✅ GET /api/v1/workflows/result?request_id=

Returns the result of the final workflow step:

{
  "result": {...},
  "transaction_id": "<uuid>",
  "response_id": 456
}

If the workflow is not finished yet — 404.

📄 GET /api/v1/workflows/csv-result?request_id=

If the result contains a list of objects (list[dict]), the service returns CSV. If there is no data — 204 No Content.

🐞 GET /api/v1/workflows/debug?request_id=

Returns all WorkflowFunctionRequest records for a transaction_id along with nested responses.

0 items under this folder.