Release an uncertain external automation delivery reservation
POST /v1/threads/{threadId}/runs/{runId}/message/publication-releases · SDK releaseRunMessagePublication · CLI deployments run release-message-publication
Requires runs:write.
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}$idempotency-key*stringMust contain 1–256 UTF-8 bytes with no surrounding whitespace or control characters (U+0000–U+001F and U+007F); maxLength is only a character-count approximation.
^(?!\s)(?!.*\s$)[^\u0000-\u001F\u007F]+$1 <= length <= 256application/json- body
content*string^\S[\s\S]*\S$|^\S$|^$1 <= lengthMessagePublicationResponse
application/json- response
createdAt*string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timeupdatedAt*string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timeversion*number|||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}$committedAt?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}$messageId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$messageSequence*number|||object*"message-publication""message-publication"publishedAt?string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timereleasedAt?string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timerunId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$sourceMessageId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$sourceMessageSequence*number|||status*string"reserved""committed""published""released"streamEventId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$threadId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$curl -X POST "https://example.com/v1/threads/string/runs/string/message/publication-releases" \ -H "idempotency-key: string" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'{ "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "version": 0, "environmentId": "string", "organizationId": "string", "projectId": "string", "agentDeploymentId": "string", "committedAt": "2019-08-24T14:15:22Z", "id": "string", "messageId": "string", "messageSequence": 0, "object": "message-publication", "publishedAt": "2019-08-24T14:15:22Z", "releasedAt": "2019-08-24T14:15:22Z", "runId": "string", "sourceMessageId": "string", "sourceMessageSequence": 0, "status": "reserved", "streamEventId": "string", "threadId": "string"}