Skip to main content
PATCH
Set Compile Thread Messages

Headers

authorization
string | null

Path Parameters

thread_id
string
required

Body

application/json
messages
ThreadMessageInput · object[]
required

Response

Successful Response

thread_id
string
required
label
string
required
alias
string
required
source
string
required
messages
CompileMessageObject · object[]
required
message_count
integer
required
messages_archived
integer
required
synced
boolean
required
token_count
integer
required
tokens_used
integer
required
tokens_limit
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
status
string
required
read-only

One of not_compiled, transcribing, queued, compiling, compiled, paused, failed.

progress
number
required
read-only

How far the compile has got, from 0 to 1. 1 only when compiled.

starts_at
string | null
required

The compile's scheduled start, ISO 8601 UTC, or when it started. Null when it starts at once.

rush
boolean
required
read-only

True when this compile was queued as a rush: it starts now, at the rush rate.

rush_premium_usd
number | null

While this compile is queued for its scheduled start: what a rush would cost you now, in USD, paid from credit (the difference from the standard rate when your plan covers the compile, the whole rush price when it is paid as you go). Null once it has started, when it is already a rush, or when there is no scheduled start.

synced_at
string<date-time> | null

When this thread was last compiled. Null means never. A message whose timestamp is later than this is one the compile has not read.

version
integer
default:1

The thread's current revision. Changes when the messages change, including a reorder; a label edit does not move it.

synced_version
integer | null

The revision the compile read. Lower than version means the messages have changed since. Null with a non-null synced_at means the thread was compiled before this was recorded: unknown, not stale.

interviewer_billing_source
string | null
read_only
boolean
default:false
corpus_medium
string | null
medium
string | null
stall_reason
string | null
finishing
boolean
default:false
current_counts
integer[] | null
compilable
boolean
default:true
compile_blocked_reason
string | null