Skip to content

channels.draft

The reply forming, while an agent is thinking.

Reference

GET/api/v1/timeline/draft

Auth
API key in X-API-Key
Content
none
Returns
200 · DraftResponse

The answer as it forms, for the thinking row. Decibyl's thread with no ``workflow_id``; a bot's own chat with one. Empty is the ordinary answer between replies. See services/workflow/reply_draft.py.

Arguments

ArgumentInTypeRequiredDescription
workflow_idqueryintegeroptional
thread_idquerystringoptional

Example request

curl -X GET "https://api.decibyl.ai/api/v1/timeline/draft" \
  -H "X-API-Key: dcb_your_key"

Response

{
  "text": "string"
}

Errors

StatusWhen
404Not found
422Validation Error