API Endpoint ReferenceDecisions
Submit an answer, get the next interview question
Use this when a user wants to talk through a decision conversationally rather than provide all context up front.
POST
/v1/decisions/{id}/interviewAuthorizationBearer <token>
API key in dc_live_... / dc_test_... format, from /settings/api-keys.
In: header
Path Parameters
idstring
Decision or job ID.
messagestring
The user's latest answer or message in the interview. On the first call, this can be an initial statement of the problem.
Length
1 <= length <= 10000Response Body
curl -X POST "https://api.deecee.ai/v1/decisions/string/interview" \ -H "Content-Type: application/json" \ -d '{ "message": "string" }'{
"success": true,
"data": {
"job_id": "string"
}
}{
"success": false,
"error": "string",
"code": "string"
}{
"success": false,
"error": "string",
"code": "string"
}{
"success": false,
"error": "string",
"code": "string"
}{
"success": false,
"error": "string",
"code": "string"
}