DeeCee.ai Agentic API
API Endpoint ReferenceDecisions

Run exactly the next framework stage for a decision

The recommended way to run analysis: call this repeatedly (checking is_complete) to work through a decision one stage at a time. The stage index and prior-stage context are derived server-side — no request body needed. Prefer this over /analyze, which runs every stage in one request and can silently exceed the request time limit on longer frameworks.

POST/v1/decisions/{id}/advance
AuthorizationBearer <token>

API key in dc_live_... / dc_test_... format, from /settings/api-keys.

In: header

Path Parameters

idstring

Decision or job ID.

Response Body

curl -X POST "https://api.deecee.ai/v1/decisions/string/advance"
{
  "success": true,
  "data": {
    "stage_name": "string",
    "stage_content": "string",
    "stage_index": 0,
    "total_stages": 0,
    "is_complete": true,
    "tokens_used": 0,
    "job_id": "string"
  }
}
{
  "success": true,
  "data": {
    "stage_name": "string",
    "stage_content": "string",
    "stage_index": 0,
    "total_stages": 0,
    "is_complete": true,
    "tokens_used": 0,
    "job_id": "string"
  }
}
{
  "success": false,
  "error": "string",
  "code": "string"
}
{
  "success": false,
  "error": "string",
  "code": "string"
}
{
  "success": false,
  "error": "string",
  "code": "string"
}