Agents

List agent run messages

Page through an agent run's conversation, oldest first: messages to the agent, its replies, and its tool calls with their output. Works at any run status. A message keeps its offset as the run grows; the latest page starts at totalCount - limit.

get/api/agents/{agentId}/run-async/{runId}/messages

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Path parameters

agentIdstring uuid required

Unique identifier of the agent

runIdstring uuid required

Unique identifier of the asynchronous run to check status for

Query parameters

offsetinteger

Messages to skip, counting from the oldest (default 0)

limitinteger

Most messages to return (default 20)

Response

Successful response

totalCountinteger required

Messages in the run so far

Changes

No recorded changes to this operation across all 2 revisions of this API.