II.
APIEndpoint JSON
Structured · liveapi-endpoint:agent-mux-gateway-post-session-messages
POST /api/v1/sessions/:sessionId/messages json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "api-endpoint:agent-mux-gateway-post-session-messages",
"_kind": "APIEndpoint",
"_file": "extensions/api-endpoints/agent-mux-gateway-endpoints.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "POST /api/v1/sessions/:sessionId/messages",
"method": "POST",
"path": "/api/v1/sessions/:sessionId/messages",
"responseShape": "{ run: RunRecord, session: SessionSummary } | { error: 'not_found' }",
"authRequired": true,
"description": "Send a new prompt into an existing session (optionally with attachments, agent override, model, approvalMode). Source: packages/agent-mux/gateway/src/server.ts:444-472."
},
"outgoingEdges": [
{
"from": "api-endpoint:agent-mux-gateway-post-session-messages",
"to": "package:a5c-ai-agent-mux-gateway",
"kind": "exposed_by",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "package:a5c-ai-agent-mux-gateway",
"to": "api-endpoint:agent-mux-gateway-post-session-messages",
"kind": "exposes_endpoint",
"attributes": {}
}
]
}