Skip to main content
← All schemas

AiAgentDraft

object

idrequired
Id

Opaque record id.

conversation_idrequired
Id

Opaque record id.

moderequired
string
textrequired
string
languagerequired
string or null
actionsrequired
array of string

Actions run when the draft is approved (visit, shortlist …).

handoff_reasonrequired
string or null
created_atrequired
DateTime

Instant in ISO 8601, e.g. 2026-10-03T04:30:00.000Z.

expires_atrequired
DateTime

Instant in ISO 8601, e.g. 2026-10-03T04:30:00.000Z.

expiredrequired
boolean
Example
{
  "id": "cmusrceel0000q7kaafxqi1om",
  "conversation_id": "cmusrceel0000q7kaafxqi1om",
  "mode": "string",
  "text": "string",
  "language": "string",
  "actions": [
    "string"
  ],
  "handoff_reason": "string",
  "created_at": "2026-10-06T05:30:00.000Z",
  "expires_at": "2026-10-06T05:30:00.000Z",
  "expired": true
}