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
| Argument | In | Type | Required | Description |
|---|---|---|---|---|
workflow_id | query | integer | optional | |
thread_id | query | string | optional |
Example request
curl -X GET "https://api.decibyl.ai/api/v1/timeline/draft" \
-H "X-API-Key: dcb_your_key"Response
{
"text": "string"
}Errors
| Status | When |
|---|---|
404 | Not found |
422 | Validation Error |