Skip to content

channels.decide

Answer a question an agent asked.

Reference

POST/api/v1/timeline/decide

Auth
API key in X-API-Key
Content
application/json
Returns
200 · TimelineEvent

Answer a bot's question on the card that asked it. The answer is written into the question's own row, so the card everyone sees shows what was decided and by whom; it is also posted as a message in the channel and handed to the bot, which carries on with it. A question already answered stays answered: the bot has acted on the first answer.

Arguments

ArgumentInTypeRequiredDescription
event_idbodyintegerrequired
choicebodystring[]optional
otherbodystringoptional

Example request

curl -X POST "https://api.decibyl.ai/api/v1/timeline/decide" \
  -H "X-API-Key: dcb_your_key" \
  -H "Content-Type: application/json" \
  -d '{"event_id":1,"choice":["string"],"other":"string"}'

Response

{
  "id": 1,
  "at": "2026-09-14T09:30:00Z",
  "kind": "string",
  "actor": "string",
  "summary": "string",
  "payload": {},
  "is_deliverable": true,
  "workflow_id": 1,
  "workflow_run_id": 1,
  "folder_id": 1,
  "credits": 0,
  "included": true,
  "blocked": {
    "reason": "string",
    "says": "string",
    "ways": []
  }
}

Errors

StatusWhen
404Not found
422Validation Error