Skip to main content
Threads are an app’s persistent conversation history — created automatically by Chat or managed directly via these endpoints.

List Threads

number
default:"20"
Capped at 100.
number
default:"0"
string
Filter by active, archived, or closed.

Create Thread

string
default:"New Thread"
object
default:"{}"

Get Thread


Update Thread

string
string
active, archived, or closed.

Delete (Archive) Thread

Marks the thread archived rather than hard-deleting it.

List Thread Messages

number
default:"50"
Capped at 200.
number
default:"0"

Batch Save Messages

Writes messages directly into a thread’s history without triggering a model call — useful for importing conversation history from another system.
string
required
object[]
required
1–100 items.

Memory Status

Errors