Record Channel Status (M2M)
Record what agent-runtime observed when serving a call on this channel.
Deployment-scoped through the token that resolve_channel just minted, so one agent's runtime cannot write status onto another agent's channel. Without this the failure modes a caller hits - no balance, an unbound STT key - are invisible to the owner until somebody complains.
Should never be publicly reachable either - it is deployment-token gated rather than fully open, but that token is exactly what channel-resolve just handed out, so it carries the same "internal network only" placement requirement. See resolve_channel's own docstring and this module's own header docstring.
Authorization
BundleAccessToken In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Body of POST /v1/bundler/channel-status.
Written by agent-runtime once a call completes or fails, so the channel's owner sees what happened without waiting for a complaint.
Response Body
application/json
curl -X POST "https://example.com/v1/bundler/channel-status" \ -H "Content-Type: application/json" \ -d '{ "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "status": "string" }'{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}