Skip to main content
GET
List task messages

Authorizations

Authorization
string
header
required

Company API key (mwk_) or personal access token (mel_). A PAT requires X-Workspace-ID on company-scoped routes. An API key implies its own company.

Headers

X-Workspace-ID
string<uuid>

Company UUID for a personal token on company-scoped operations. A company API key already binds its company.

Path Parameters

id
string
required

id from the corresponding authorized response.

Response

TaskMessageResponse array holding the oldest 2000 messages, oldest first. A longer conversation’s newest messages are missing here; read them from the page route below.

id
string
required
task_id
string
required
author_type
string
required
author_id
string
required
content
string
required
role
string
required
kind
string
required
created_at
string
required
updated_at
string
required
reactions
object[]
required
attachments
object[]
required
run_id
string | null
failure_reason
string | null
elapsed_ms
integer | null
final
boolean | null