Skip to main content
GET
Read a reply being written in the background

Authorizations

X-API-Key
string
header
required

Path Parameters

run_id
string<uuid>
required

Response

Successful Response

A reply being written in the background for a person who asked for it, and its end.

created_at
string<date-time>
required
detail
string | null
required

Why it ended without a draft, as a person reads it; null otherwise.

draft
AiDraftReadSchema · object | null
required

The reply written, once drafted; null before and on any other end.

id
string<uuid>
required
kept_for_this_conversation
string[]
required

The question ids whose answers were to be saved to the Q&A but are kept for this conversation alone, so no other reply reads them. not_saved says why. Empty until drafted.

kind
enum<string>
required

What it writes: answers, a question card's Submit; draft, a Draft with AI.

Available options:
answers,
draft
not_saved
KeptAnswerReadSchema · object[]
required

Each answer in kept_for_this_conversation, with why it was not saved.

status
enum<string>
required

Where it stands. queued and writing: the agent has not finished; read it again in a second or so. drafted: draft waits for a person in Needs approval. no_draft: nothing usable was written, detail says so, and a card's questions are still open. refused: the agent could not write it now (credits, its sequence's limit, writing paused, the contact on do-not-contact), detail says why. failed: the writing stopped; try again.

Available options:
queued,
writing,
drafted,
no_draft,
refused,
failed
thread_id
string<uuid>
required
updated_at
string<date-time>
required