Show the finalized assistant message for a run
GET /v1/threads/{threadId}/runs/{runId}/message · SDK getRunMessage · CLI deployments run message
Requires runs:read.
AuthorizationBearer <token>Opaque bearer credential scoped to one service account and tenant.
threadId*string^[0-7][0-9A-HJKMNP-TV-Z]{25}$runId*string^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-environment?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-organization?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-project?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$MessageResponse
application/json- response
environmentId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$organizationId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$projectId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$agentDeploymentId?string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$body?stringbodyAccess?contentHash*stringcreatedAt*string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timeid*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$inputArtifacts?array<string>inputOmissions?array<>metadata?object*"message""message"role*string"assistant""system""tool""user"runId?string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$sequence*number|||streamEventId?string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$threadId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$unlistedInputOmissions?integer1 <= valuecurl -X GET "https://example.com/v1/threads/string/runs/string/message"{ "environmentId": "string", "organizationId": "string", "projectId": "string", "agentDeploymentId": "string", "body": "string", "bodyAccess": { "byteSize": 0, "contentType": "string", "expiresAt": "2019-08-24T14:15:22Z", "sha256": "string", "url": "string" }, "contentHash": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "string", "inputArtifacts": [ "string" ], "inputOmissions": [ { "name": "string", "reason": "too_large" } ], "metadata": { "property1": null, "property2": null }, "object": "message", "role": "assistant", "runId": "string", "sequence": 0, "streamEventId": "string", "threadId": "string", "unlistedInputOmissions": 1}