{ "swagger": "2.0", "info": { "description": "Community Core APIs for managed Conversation/Interaction facts, recorded Operations, and technical Trace reads. Standard record authorization applies.\nEnterprise business-provenance routes require an assembled EE image and runtime enterprise entitlement; they are not part of this Core specification.\nA plain 404 on an enterprise route does not identify its cause: an absent Community route, the EE availability gate, or an undisclosed record can return 404. A successful Core read does not establish access to an EE route.\nExplanation reads are separate from explicit EE generation requests. See the module README for the Community/EE read boundary.", "title": "Agent Observability API", "contact": {}, "version": "1.0" }, "basePath": "/api/agent-observability/v1", "paths": { "/access-profile": { "get": { "description": "Returns server-derived page capabilities and a scope fingerprint. Roles and managed resource identifiers are never accepted from or disclosed to the client.", "produces": [ "application/json" ], "tags": [ "access" ], "summary": "Get the current BKN Trace access profile", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/rdto.AccessProfileResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "405": { "description": "Method Not Allowed", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/conversations": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "List managed Conversations in the authorized owner scope", "parameters": [ { "type": "integer", "description": "Page size, 1..100", "name": "limit", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/httphandler.conversationPage" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } }, "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Create or return the current managed Conversation", "parameters": [ { "description": "Managed Conversation request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.ensureConversationRequest" } } ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/sessionvo.Conversation" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/conversations/{conversation_id}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Get one managed Conversation", "parameters": [ { "type": "string", "description": "Conversation ID", "name": "conversation_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Conversation" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/conversations/{conversation_id}/close": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Close one managed Conversation", "parameters": [ { "type": "string", "description": "Conversation ID", "name": "conversation_id", "in": "path", "required": true }, { "description": "Idempotent close request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.closeConversationRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Conversation" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/conversations/{conversation_id}/interactions": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Start one managed Interaction", "parameters": [ { "type": "string", "description": "Conversation ID", "name": "conversation_id", "in": "path", "required": true }, { "description": "Interaction start request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.startInteractionRequest" } } ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/sessionvo.Interaction" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/conversations/{conversation_id}/interactions/{interaction_id}/operations:ensure": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Ensure an idempotent Operation intent and durable Receipt", "parameters": [ { "type": "string", "description": "Conversation ID", "name": "conversation_id", "in": "path", "required": true }, { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true }, { "description": "Operation intent", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.ensureOperationRequest" } } ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/httphandler.operationResult" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/conversations:create-new-generation": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Create a new managed Conversation generation", "parameters": [ { "description": "New generation request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.ensureConversationRequest" } } ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/sessionvo.Conversation" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/conversations:ensure-current": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Ensure the current managed Conversation", "parameters": [ { "description": "Managed Conversation request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.ensureConversationRequest" } } ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/sessionvo.Conversation" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/conversations:resume-by-id": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Resume an active managed Conversation by Core ID", "parameters": [ { "description": "Conversation resume request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.resumeConversationRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Conversation" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/evidence/artifacts": { "post": { "description": "Stores authorized business content separately from evidence events. Inline content and snapshot_ref are mutually exclusive.", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "evidence" ], "summary": "Ingest a BKN Trace 2.2 evidence artifact", "parameters": [ { "description": "BKN Trace 2.2 evidence artifact", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/evidencevo.EvidenceArtifact" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/evidencevo.ArtifactIngestResponse" } }, "201": { "description": "Created", "schema": { "$ref": "#/definitions/evidencevo.ArtifactIngestResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/evidence/artifacts/{artifact_id}": { "get": { "description": "Returns an artifact through its own record scope, or through an authorized Interaction when interaction_id is supplied.", "produces": [ "application/json" ], "tags": [ "evidence" ], "summary": "Get an authorized evidence artifact by ID", "parameters": [ { "type": "string", "description": "Artifact ID", "name": "artifact_id", "in": "path", "required": true }, { "type": "string", "description": "Authorized Interaction ID", "name": "interaction_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/evidencevo.EvidenceArtifact" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/evidence/events": { "post": { "description": "Commits the immutable Evidence Ledger record and Projection Outbox in one transaction before returning durable_ack.", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "evidence" ], "summary": "Durably ingest one BKN Trace 3.0 evidence event", "parameters": [ { "description": "BKN Trace 3.0 evidence event", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.evidenceEventRequest" } } ], "responses": { "202": { "description": "Accepted", "schema": { "$ref": "#/definitions/ledgervo.DurableAck" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Get one managed Interaction", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Interaction" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/business-graph": { "get": { "description": "Returns the latest immutable assembly revision with precise Claim supports and causal DAG layers. Objective evidence completeness is separate from current-user disclosure completeness; unresolved or unauthorized business refs and their edges are omitted.", "produces": [ "application/json" ], "tags": [ "evidence" ], "summary": "Get an Interaction business semantic graph", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/httphandler.interactionBusinessGraphResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/cancel": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Cancel one managed Interaction", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true }, { "description": "Terminal closure manifest", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.terminalInteractionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Interaction" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/complete": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Complete one managed Interaction", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true }, { "description": "Terminal closure manifest", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.terminalInteractionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Interaction" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/fail": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Fail one managed Interaction", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true }, { "description": "Terminal closure manifest", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.terminalInteractionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Interaction" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/finish": { "post": { "security": [ { "BearerAuth": [] } ], "description": "Derives the current lease and closure manifest from authoritative Operations and Receipts. Ordinary Agents do not submit concurrency or closure internals. When durable answer handoff is enabled, optional answer_artifact uses the EvidenceArtifact contract (result type, at most 16 MiB) and is staged in the same SQL transaction as business completion. completed with evidence_status=assembling means evidence delivery is pending, not complete. Existing answer_artifact_ref requests remain supported.", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Finish one Interaction through the Agent-facing facade", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true }, { "description": "Managed finish request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.managedFinishInteractionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Interaction" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/handoff": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Hand off one managed Interaction", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true }, { "description": "Terminal closure manifest", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.terminalInteractionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Interaction" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/operations": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "List raw Operation call facts for one Interaction", "parameters": [ { "type": "string", "description": "Interaction ID", "name": "interaction_id", "in": "path", "required": true }, { "enum": [ "full", "summary" ], "type": "string", "description": "Response view: full (default) or summary", "name": "view", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/httphandler.operationCallFactsResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/interactions/{interaction_id}/record-integrity-status": { "get": { "security": [ { "BearerAuth": [] } ], "description": "Read-only status for the interaction's current integrity source version. Uses the same canonical authorization as persisted integrity reads; shared-network candidates do not widen that authorization; unauthorized and missing interactions both return 404. Never performs live inspection, claims work, or requeues a retry. No query parameters are accepted. At most 8 attempts over 30 minutes with backoff from 30 seconds to 5 minutes; a new source version schedules a new generation while retaining old retry history. Fixed inspection limits stop the current generation immediately with exhausted/inspection_budget_exceeded (8 MiB per artifact response, 32 MiB or 128 reads per interaction); this is an unknown verdict, not evidence loss. Existing exhausted generations are not requeued or rewritten on upgrade. A succeeded job means a verdict was saved, not that records or business conclusions are complete. Reason may describe exhaustion or source replacement; last_failure_reason retains the last actual failure. Zero timestamps mean no attempt/lease has been recorded.", "produces": [ "application/json" ], "tags": [ "evidence" ], "summary": "Get recorded integrity retry diagnostics for an authorized interaction", "parameters": [ { "type": "string", "description": "Canonical interaction ID", "name": "interaction_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/rdto.RecordIntegrityRetryStatusResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "405": { "description": "Method Not Allowed", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/operations/{operation_id}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Get one Operation", "parameters": [ { "type": "string", "description": "Operation ID", "name": "operation_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Operation" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/operations/{operation_id}/attempts": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Start the next retry attempt for an Operation", "parameters": [ { "type": "string", "description": "Operation ID", "name": "operation_id", "in": "path", "required": true }, { "description": "Current Interaction lease", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.interactionLeaseRequest" } } ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/httphandler.operationResult" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/operations/{operation_id}/attempts/{attempt}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Get one authorized Operation attempt call fact", "parameters": [ { "type": "string", "description": "Operation ID", "name": "operation_id", "in": "path", "required": true }, { "type": "integer", "description": "Attempt number", "name": "attempt", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.OperationCallFact" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/operations/{operation_id}/attempts/{attempt}:complete": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Complete one Operation attempt", "parameters": [ { "type": "string", "description": "Operation ID", "name": "operation_id", "in": "path", "required": true }, { "type": "integer", "description": "Attempt number", "name": "attempt", "in": "path", "required": true }, { "description": "Durable operation result", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.finishAttemptRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/httphandler.operationResult" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/operations/{operation_id}/attempts/{attempt}:fail": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Fail one Operation attempt", "parameters": [ { "type": "string", "description": "Operation ID", "name": "operation_id", "in": "path", "required": true }, { "type": "integer", "description": "Attempt number", "name": "attempt", "in": "path", "required": true }, { "description": "Durable operation failure", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/httphandler.finishAttemptRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/httphandler.operationResult" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/receipts/{receipt_id}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Get one durable Receipt", "parameters": [ { "type": "string", "description": "Receipt ID", "name": "receipt_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.Receipt" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/requests": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "List request projections from durable Receipts", "parameters": [ { "type": "integer", "description": "Page size, 1..100", "name": "limit", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/httphandler.requestPage" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/requests/{request_id}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "lifecycle" ], "summary": "Get one request projection from durable Receipts", "parameters": [ { "type": "string", "description": "Request ID", "name": "request_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/sessionvo.RequestSummary" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/httphandler.lifecycleErrorEnvelope" } } } } }, "/trace-evidence-configuration": { "get": { "security": [ { "BearerAuth": [] } ], "description": "Returns desired and effective state separately, the active operation when present, and the current admission-budget measurements. Unavailable budgets return 503 with optional diagnostic details (reason, metric, fields).\nRequires the existing trace_evidence_configuration:global read permission.", "produces": [ "application/json" ], "tags": [ "trace-evidence" ], "summary": "Get the unified Trace/Evidence capture configuration", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/capturepolicysvc.ConfigurationGetResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } }, "put": { "security": [ { "BearerAuth": [] } ], "description": "Requires the existing trace_evidence_configuration:global write permission. Enable requests with unavailable budgets return 503 with optional diagnostic details (reason, metric, fields). The requested state is asynchronous; effective_state reports the last observed runtime state.", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "trace-evidence" ], "summary": "Change the unified Trace/Evidence capture configuration", "parameters": [ { "description": "Desired state and expected policy revision", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/capturepolicysvc.ChangeRequest" } } ], "responses": { "202": { "description": "Accepted", "schema": { "$ref": "#/definitions/rdto.TraceEvidenceConfigurationResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/trace-evidence-operations/{operation_id}": { "get": { "security": [ { "BearerAuth": [] } ], "description": "Requires the existing trace_evidence_configuration:global read permission.", "produces": [ "application/json" ], "tags": [ "trace-evidence" ], "summary": "Get a Trace/Evidence configuration operation", "parameters": [ { "type": "string", "description": "Configuration operation ID", "name": "operation_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/capturepolicysvc.Operation" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/trace-evidence-operations/{operation_id}:reconcile": { "post": { "security": [ { "BearerAuth": [] } ], "description": "Requests reconciliation of the addressed operation and returns the current configuration snapshot. Requires the existing trace_evidence_configuration:global reconcile permission.", "produces": [ "application/json" ], "tags": [ "trace-evidence" ], "summary": "Reconcile a Trace/Evidence configuration operation", "parameters": [ { "type": "string", "description": "Configuration operation ID", "name": "operation_id", "in": "path", "required": true } ], "responses": { "202": { "description": "Accepted", "schema": { "$ref": "#/definitions/rdto.TraceEvidenceConfigurationResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/trace-root-services": { "get": { "description": "On-demand bounded discovery using the current Trace filters and authorization. The service filter itself is excluded. No Span counts or question/result bodies are loaded. Results contain at most 100 canonical names; has_more asks the caller to narrow q. A failed or budget-limited scan never returns a partial catalog.", "produces": [ "application/json" ], "tags": [ "traces" ], "summary": "Discover authorized technical Trace root service options", "parameters": [ { "type": "string", "description": "Started at or after this RFC3339 timestamp", "name": "from", "in": "query" }, { "type": "string", "description": "Started at or before this RFC3339 timestamp", "name": "to", "in": "query" }, { "type": "string", "description": "Exact Trace ID", "name": "trace_id", "in": "query" }, { "type": "string", "description": "Execution status", "name": "status", "in": "query" }, { "type": "string", "description": "Exact root operation", "name": "tool", "in": "query" }, { "type": "string", "description": "Recorded error summary substring", "name": "error_keyword", "in": "query" }, { "type": "string", "description": "Case-insensitive service-name substring; at most 256 Unicode characters", "name": "q", "in": "query" }, { "type": "integer", "description": "Maximum options, 1..100; default 100", "name": "limit", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/evidencevo.TraceRootServiceOptions" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "405": { "description": "Method Not Allowed", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/traces": { "get": { "description": "Returns authorized technical Trace summaries. Ordinary pages batch-read missing projection IDs from canonical SQL metadata; unavailable Span counts are explicit. Content/root-filtered pages and dependency failures retain their existing behavior.", "produces": [ "application/json" ], "tags": [ "traces" ], "summary": "List technical trace executions", "parameters": [ { "type": "integer", "description": "Page size, 1..200", "name": "limit", "in": "query" }, { "type": "string", "description": "Opaque pagination cursor", "name": "cursor", "in": "query" }, { "type": "string", "description": "Exact trace ID; bypasses list projection scan", "name": "trace_id", "in": "query" }, { "type": "string", "description": "Caller-owned conversation ID", "name": "conversation_id", "in": "query" }, { "type": "string", "description": "One user interaction ID", "name": "interaction_id", "in": "query" }, { "type": "string", "description": "Started at or after this RFC3339 timestamp; omitted means no lower time bound", "name": "from", "in": "query" }, { "type": "string", "description": "Started at or before this RFC3339 timestamp; omitted means no upper time bound", "name": "to", "in": "query" }, { "type": "string", "description": "Execution status", "name": "status", "in": "query" }, { "type": "string", "description": "Agent or application", "name": "agent_or_app", "in": "query" }, { "type": "string", "description": "Root service name", "name": "service", "in": "query" }, { "type": "string", "description": "Root operation name", "name": "tool", "in": "query" }, { "type": "string", "description": "Substring matched against the recorded error summary", "name": "error_keyword", "in": "query" }, { "type": "string", "description": "Case-insensitive substring of trace/request/conversation/interaction IDs, agent/app, root service/operation, or recorded error summary; incomplete searches return a resource error", "name": "keyword", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/evidencevo.TraceSummaryPage" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "SUMMARY_QUERY_TIMEOUT, PROJECTION_LAG, or SUMMARY_DEPENDENCY_UNAVAILABLE", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/traces/{trace_id}": { "get": { "description": "Returns the authorized trace summary, Span graph, and ordered raw Operation call facts. Operation facts remain visible without Span data; Span nodes remain visible without Operation facts.", "produces": [ "application/json" ], "tags": [ "traces" ], "summary": "Get one typed technical trace", "parameters": [ { "type": "string", "description": "Trace ID", "name": "trace_id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/tracesvc.TechnicalTraceDetail" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "504": { "description": "Gateway Timeout", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } }, "/traces/{trace_id}/spans": { "get": { "description": "Requires current global trace access and canonical trace visibility on every page. Signed cursors describe live Span-ID order; pages do not enlarge the graph or claim an exact total.", "produces": [ "application/json" ], "tags": [ "traces" ], "summary": "Browse one bounded page of technical trace spans", "parameters": [ { "type": "string", "description": "Trace ID", "name": "trace_id", "in": "path", "required": true }, { "type": "string", "description": "Signed continuation cursor", "name": "cursor", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/tracesvc.SpanPage" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "405": { "description": "Method Not Allowed", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "413": { "description": "Request Entity Too Large", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "503": { "description": "Service Unavailable", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } }, "504": { "description": "Gateway Timeout", "schema": { "$ref": "#/definitions/rdto.ErrorResponse" } } } } } }, "definitions": { "assemblysvc.BusinessRefView": { "type": "object", "properties": { "disclosure_status": { "type": "string" }, "display": { "$ref": "#/definitions/evidencevo.BusinessDisplay" }, "technical_ref": { "$ref": "#/definitions/sessionvo.BusinessRef" } } }, "assemblysvc.ClaimAssembly": { "type": "object", "properties": { "adopted_supports": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.ClaimSupport" } }, "claim": { "$ref": "#/definitions/sessionvo.Claim" }, "completeness": { "$ref": "#/definitions/sessionvo.EvidenceStatus" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "rejected_supports": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.ClaimSupport" } }, "unused_evidence_refs": { "description": "UnusedEvidenceRefs are refs neither adopted nor rejected by this Claim.", "type": "array", "items": { "$ref": "#/definitions/sessionvo.EvidenceRef" } } } }, "assemblysvc.EventNode": { "type": "object", "properties": { "causation_event_ids": { "type": "array", "items": { "type": "string" } }, "emitted_at": { "type": "string" }, "event_id": { "type": "string" }, "event_type": { "type": "string" }, "layer": { "type": "integer" }, "observed_at": { "type": "string" }, "operation_id": { "type": "string" }, "producer_epoch": { "type": "integer" }, "producer_sequence": { "type": "integer" }, "producer_stream_id": { "type": "string" }, "started_at": { "type": "string" } } }, "assemblysvc.OperationBusinessEdgeView": { "type": "object", "properties": { "business_ref": { "$ref": "#/definitions/assemblysvc.BusinessRefView" }, "observed_at": { "type": "string" }, "operation_id": { "type": "string" }, "role": { "$ref": "#/definitions/sessionvo.OperationBusinessRole" } } }, "assemblysvc.ProjectedResult": { "type": "object", "properties": { "artifact_refs": { "type": "array", "items": { "type": "string" } }, "business_refs": { "type": "array", "items": { "$ref": "#/definitions/assemblysvc.BusinessRefView" } }, "claims": { "type": "array", "items": { "$ref": "#/definitions/assemblysvc.ClaimAssembly" } }, "completeness": { "$ref": "#/definitions/sessionvo.EvidenceStatus" }, "disclosure_partial": { "description": "DisclosurePartial is true when the current authorized projection could not classify every business ref.", "type": "boolean" }, "disclosure_reasons": { "description": "DisclosureReasons describe resolver/projection degradation without changing objective completeness.", "type": "array", "items": { "type": "string" } }, "event_layers": { "type": "object", "additionalProperties": { "type": "integer" } }, "events": { "type": "array", "items": { "$ref": "#/definitions/assemblysvc.EventNode" } }, "evidence_refs": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.EvidenceRef" } }, "included_event_ids": { "type": "array", "items": { "type": "string" } }, "operation_business_edges": { "type": "array", "items": { "$ref": "#/definitions/assemblysvc.OperationBusinessEdgeView" } }, "partial_reasons": { "description": "PartialReasons describe objective evidence-assembly gaps and never authorization outcomes.", "type": "array", "items": { "type": "string" } }, "unused_evidence_refs": { "description": "UnusedEvidenceRefs are refs neither adopted nor rejected by any Claim in this revision.", "type": "array", "items": { "$ref": "#/definitions/sessionvo.EvidenceRef" } } } }, "capturepolicysvc.AckState": { "type": "string", "enum": [ "ready", "draining", "disabled", "gap" ], "x-enum-varnames": [ "AckReady", "AckDraining", "AckDisabled", "AckGap" ] }, "capturepolicysvc.AdmissionBudget": { "type": "object", "properties": { "contract_version": { "type": "string" }, "fresh_until": { "type": "string" }, "measurements": { "type": "array", "items": { "$ref": "#/definitions/capturepolicysvc.AdmissionMeasurement" } }, "profile": { "type": "string" }, "sampled_at": { "type": "string" } } }, "capturepolicysvc.AdmissionMeasurement": { "type": "object", "properties": { "fresh": { "type": "boolean" }, "metric": { "type": "string" }, "sample_time": { "type": "string" }, "source": { "type": "string" }, "threshold": { "type": "number" }, "value": { "type": "number" } } }, "capturepolicysvc.ChangeRequest": { "type": "object", "properties": { "desired_state": { "enum": [ "enabled", "disabled" ], "allOf": [ { "$ref": "#/definitions/capturepolicysvc.State" } ] }, "expected_revision": { "type": "integer" } } }, "capturepolicysvc.ConfigurationGetResponse": { "type": "object", "properties": { "active_operation_id": { "type": "string" }, "admission_budget": { "$ref": "#/definitions/capturepolicysvc.AdmissionBudget" }, "desired_state": { "$ref": "#/definitions/capturepolicysvc.State" }, "effective_state": { "$ref": "#/definitions/capturepolicysvc.State" }, "heartbeat_interval_seconds": { "type": "integer" }, "kind": { "type": "string" }, "last_stable_revision": { "type": "integer" }, "lease_ttl_seconds": { "type": "integer" }, "policy_revision": { "type": "integer" } } }, "capturepolicysvc.EndpointAcknowledgement": { "type": "object", "properties": { "generation": { "type": "string" }, "instance_id": { "type": "string" }, "queue_disposition": { "$ref": "#/definitions/capturepolicysvc.QueueDisposition" }, "ready": { "type": "boolean" }, "revision": { "type": "integer" }, "state": { "$ref": "#/definitions/capturepolicysvc.AckState" } } }, "capturepolicysvc.Operation": { "type": "object", "properties": { "error_code": { "type": "string" }, "expected_revision": { "type": "integer" }, "id": { "type": "string" }, "phase": { "$ref": "#/definitions/capturepolicysvc.Phase" }, "requested_state": { "$ref": "#/definitions/capturepolicysvc.State" } } }, "capturepolicysvc.Phase": { "type": "string", "enum": [ "pending", "enabling", "disabling", "rolling_back", "succeeded", "failed", "rollback_completed", "rollback_failed" ], "x-enum-varnames": [ "PhasePending", "PhaseEnabling", "PhaseDisabling", "PhaseRollingBack", "PhaseSucceeded", "PhaseFailed", "PhaseRollbackComplete", "PhaseRollbackFailed" ] }, "capturepolicysvc.QueueDisposition": { "type": "object", "properties": { "dropped": { "type": "integer" }, "exported": { "type": "integer" }, "unaccounted": { "type": "integer", "x-nullable": true } } }, "capturepolicysvc.State": { "type": "string", "enum": [ "enabled", "disabled", "enabling", "disabling", "rolling_back" ], "x-enum-varnames": [ "StateEnabled", "StateDisabled", "StateEnabling", "StateDisabling", "StateRollingBack" ] }, "evidencevo.ArtifactIngestResponse": { "type": "object", "properties": { "artifact_id": { "type": "string" }, "artifact_type": { "$ref": "#/definitions/evidencevo.ArtifactType" }, "bkn.request.id": { "type": "string" }, "content_hash": { "type": "string" }, "created": { "type": "boolean" }, "trace_id": { "type": "string" } } }, "evidencevo.ArtifactLink": { "type": "object", "properties": { "artifact_ref": { "type": "string" }, "artifact_type": { "$ref": "#/definitions/evidencevo.ArtifactType" }, "claim_id": { "type": "string" }, "event_id": { "type": "string" }, "event_type": { "type": "string" }, "operation_id": { "type": "string" }, "role": { "type": "string" } } }, "evidencevo.ArtifactType": { "type": "string", "enum": [ "question", "result", "query", "data_result", "logic_execution", "action_input", "action_result" ], "x-enum-varnames": [ "ArtifactTypeQuestion", "ArtifactTypeResult", "ArtifactTypeQuery", "ArtifactTypeDataResult", "ArtifactTypeLogicExecution", "ArtifactTypeActionInput", "ArtifactTypeActionResult" ] }, "evidencevo.BusinessDisplay": { "type": "object", "properties": { "business_path": { "type": "array", "items": { "type": "string" } }, "controlled_summary": { "type": "string" }, "name": { "type": "string" }, "resolution_status": { "type": "string" }, "source_version": { "type": "string" } } }, "evidencevo.BusinessGraphData": { "type": "object", "properties": { "edges": { "type": "array", "items": { "$ref": "#/definitions/evidencevo.BusinessGraphEdge" } }, "nodes": { "type": "array", "items": { "$ref": "#/definitions/evidencevo.BusinessGraphNode" } } } }, "evidencevo.BusinessGraphEdge": { "type": "object", "properties": { "edge_type": { "type": "string" }, "id": { "type": "string" }, "source_id": { "type": "string" }, "target_id": { "type": "string" }, "visibility": { "type": "string" } } }, "evidencevo.BusinessGraphNode": { "type": "object", "properties": { "action_instance_id": { "type": "string" }, "claim_id": { "type": "string" }, "display": { "$ref": "#/definitions/evidencevo.BusinessDisplay" }, "event_id": { "type": "string" }, "id": { "type": "string" }, "interaction_id": { "type": "string" }, "label": { "type": "string" }, "node_type": { "type": "string" }, "operation_id": { "type": "string" }, "properties": { "type": "object", "additionalProperties": {} }, "stage": { "type": "string" }, "version_status": { "type": "string" }, "visibility": { "type": "string" } } }, "evidencevo.BusinessGraphResponse": { "type": "object", "properties": { "bkn.request.id": { "type": "string" }, "conclusion_scope": { "type": "string" }, "data": { "$ref": "#/definitions/evidencevo.BusinessGraphData" }, "page": { "$ref": "#/definitions/evidencevo.EvidencePage" }, "partial": { "type": "boolean" }, "partial_reason": { "type": "array", "items": { "type": "string" } }, "trace_id": { "type": "string" }, "visibility_summary": { "$ref": "#/definitions/evidencevo.VisibilitySummary" } } }, "evidencevo.EvidenceArtifact": { "type": "object", "properties": { "agent_or_app": { "type": "string" }, "application_principal_id": { "type": "string" }, "artifact_id": { "type": "string" }, "artifact_type": { "$ref": "#/definitions/evidencevo.ArtifactType" }, "as_of": { "type": "string" }, "bkn.account.id": { "type": "string" }, "bkn.account.type": { "type": "string" }, "bkn.request.id": { "type": "string" }, "business_refs": { "type": "array", "items": { "type": "string" } }, "claim_id": { "type": "string" }, "content": {}, "content_hash": { "type": "string" }, "content_type": { "type": "string" }, "effective_subject_id": { "type": "string" }, "initiator": { "type": "string" }, "interaction_id": { "type": "string" }, "knowledge_network_ids": { "type": "array", "items": { "type": "string" } }, "observed_at": { "type": "string" }, "operation_id": { "type": "string" }, "schema_version": { "type": "string" }, "snapshot_ref": { "type": "string" }, "source_ref": { "type": "string" }, "source_version": { "type": "string" }, "trace_id": { "type": "string" } } }, "evidencevo.EvidenceChainData": { "type": "object", "properties": { "artifact_links": { "type": "array", "items": { "$ref": "#/definitions/evidencevo.ArtifactLink" } }, "business_refs": { "type": "array", "items": { "type": "object", "additionalProperties": {} } }, "claims": { "type": "array", "items": { "type": "object", "additionalProperties": {} } }, "evidence_refs": { "type": "array", "items": { "type": "object", "additionalProperties": {} } } } }, "evidencevo.EvidenceChainResponse": { "type": "object", "properties": { "bkn.request.id": { "type": "string" }, "conclusion_scope": { "type": "string" }, "data": { "$ref": "#/definitions/evidencevo.EvidenceChainData" }, "page": { "$ref": "#/definitions/evidencevo.EvidencePage" }, "partial": { "type": "boolean" }, "partial_reason": { "type": "array", "items": { "type": "string" } }, "trace_id": { "type": "string" }, "visibility_summary": { "$ref": "#/definitions/evidencevo.VisibilitySummary" } } }, "evidencevo.EvidenceNodeResponse": { "type": "object", "properties": { "bkn.request.id": { "type": "string" }, "claim_id": { "type": "string" }, "data": { "type": "object", "additionalProperties": {} }, "node_id": { "type": "string" }, "node_type": { "type": "string" }, "trace_id": { "type": "string" }, "version_status": { "type": "string" }, "visibility": { "type": "string" } } }, "evidencevo.EvidencePage": { "type": "object", "properties": { "edge_count": { "type": "integer" }, "next_cursor": { "type": "string" }, "node_count": { "type": "integer" }, "truncated": { "type": "boolean" } } }, "evidencevo.IngestResponse": { "type": "object", "properties": { "accepted_event_count": { "type": "integer" }, "bkn.request.id": { "type": "string" }, "bkn.trace.schema.version": { "type": "string" }, "business_ref_count": { "type": "integer" }, "claim_count": { "type": "integer" }, "evidence_ref_count": { "type": "integer" }, "trace_id": { "type": "string" } } }, "evidencevo.SnapshotManifest": { "type": "object", "properties": { "artifact_count": { "type": "integer" }, "artifact_hash": { "type": "string" }, "bkn.request.id": { "type": "string" }, "business_ref_count": { "type": "integer" }, "claim_count": { "type": "integer" }, "compliance_status": { "type": "string" }, "dlp_classification": { "type": "string" }, "evidence_ref_count": { "type": "integer" }, "legal_hold": { "type": "string" }, "manifest_hash": { "type": "string" }, "producer": { "type": "string" }, "retention_policy": { "type": "string" }, "schema_version": { "type": "string" }, "signature_status": { "type": "string" }, "trace_id": { "type": "string" }, "visibility_summary": { "$ref": "#/definitions/evidencevo.VisibilitySummary" } } }, "evidencevo.SnapshotPreviewResponse": { "type": "object", "properties": { "bkn.request.id": { "type": "string" }, "manifest": { "$ref": "#/definitions/evidencevo.SnapshotManifest" }, "partial": { "type": "boolean" }, "partial_reason": { "type": "array", "items": { "type": "string" } }, "snapshot_ref": { "$ref": "#/definitions/evidencevo.SnapshotRef" }, "trace_id": { "type": "string" }, "visibility_summary": { "$ref": "#/definitions/evidencevo.VisibilitySummary" } } }, "evidencevo.SnapshotRef": { "type": "object", "properties": { "mode": { "type": "string" }, "snapshot_id": { "type": "string" }, "uri": { "type": "string" } } }, "evidencevo.TraceRootServiceOptions": { "type": "object", "properties": { "entries": { "type": "array", "items": { "type": "string" } }, "has_more": { "type": "boolean" } } }, "evidencevo.TraceSummary": { "type": "object", "properties": { "agent_name": { "type": "string" }, "agent_or_app": { "type": "string" }, "application_principal_id": { "type": "string" }, "completed_at": { "type": "string" }, "conversation_id": { "type": "string" }, "duration_ms": { "type": "integer" }, "effective_subject_id": { "type": "string" }, "error_summary": { "type": "string" }, "interaction_id": { "type": "string" }, "question_preview": { "type": "string" }, "request_id": { "type": "string" }, "result_preview": { "type": "string" }, "root_operation": { "type": "string" }, "root_service": { "type": "string" }, "span_count": { "type": "integer" }, "span_count_status": { "type": "string" }, "started_at": { "type": "string" }, "status": { "type": "string" }, "trace_id": { "type": "string" } } }, "evidencevo.TraceSummaryPage": { "type": "object", "properties": { "entries": { "type": "array", "items": { "$ref": "#/definitions/evidencevo.TraceSummary" } }, "next_cursor": { "type": "string" }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "partial": { "type": "boolean" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "total": { "type": "integer" }, "truncated": { "type": "boolean" } } }, "evidencevo.VisibilitySummary": { "type": "object", "properties": { "authorized_ref_count": { "type": "integer" }, "hidden_ref_count": { "type": "integer" }, "omitted_ref_count": { "type": "integer" }, "redacted_ref_count": { "type": "integer" }, "unauthorized_ref_count": { "type": "integer" }, "unresolved_ref_count": { "type": "integer" } } }, "httphandler.closeConversationRequest": { "type": "object", "properties": { "idempotency_key": { "type": "string" } } }, "httphandler.conversationPage": { "type": "object", "properties": { "entries": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.Conversation" } } } }, "httphandler.ensureConversationRequest": { "type": "object", "required": [ "external_conversation_key" ], "properties": { "external_conversation_key": { "type": "string" }, "idempotency_key": { "type": "string" }, "one_shot": { "type": "boolean" } } }, "httphandler.ensureOperationRequest": { "type": "object", "required": [ "input", "lease_epoch", "lease_token", "operation_key", "protocol", "source_module", "tool_name" ], "properties": { "capability_profile": { "$ref": "#/definitions/sessionvo.CapabilityProfile" }, "causation_event_ids": { "type": "array", "items": { "type": "string" } }, "input": { "$ref": "#/definitions/sessionvo.PayloadEnvelope" }, "lease_epoch": { "type": "integer" }, "lease_token": { "type": "string" }, "operation_key": { "type": "string" }, "parent_operation_id": { "type": "string" }, "protocol": { "$ref": "#/definitions/sessionvo.OperationProtocol" }, "required": { "type": "boolean" }, "source_module": { "type": "string" }, "tool_name": { "type": "string" } } }, "httphandler.evidenceEventRequest": { "type": "object", "required": [ "bkn.trace.schema.version", "conversation_id", "emitted_at", "envelope", "event_id", "event_type", "interaction_id", "observed_at", "payload_hash", "producer_epoch", "producer_id", "producer_sequence", "producer_stream_id", "started_at" ], "properties": { "artifact_refs": { "type": "array", "items": { "type": "string" } }, "attempt": { "type": "integer" }, "bkn.trace.schema.version": { "type": "string" }, "business_refs": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.BusinessRef" } }, "causation_event_ids": { "type": "array", "items": { "type": "string" } }, "claims": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.Claim" } }, "conversation_id": { "type": "string" }, "emitted_at": { "type": "string" }, "envelope": { "type": "array", "items": { "type": "integer" } }, "event_id": { "type": "string" }, "event_type": { "type": "string" }, "evidence_refs": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.EvidenceRef" } }, "interaction_id": { "type": "string" }, "observed_at": { "type": "string" }, "operation_business_edges": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.OperationBusinessEdge" } }, "operation_id": { "type": "string" }, "payload_hash": { "type": "string" }, "producer_epoch": { "type": "integer" }, "producer_id": { "type": "string" }, "producer_sequence": { "type": "integer" }, "producer_stream_id": { "type": "string" }, "request_id": { "type": "string" }, "span_id": { "type": "string" }, "started_at": { "type": "string" }, "trace_id": { "type": "string" } } }, "httphandler.expectedOperationRequest": { "type": "object", "required": [ "operation_id", "required" ], "properties": { "operation_id": { "type": "string" }, "required": { "type": "boolean" } } }, "httphandler.expectedReceiptRequest": { "type": "object", "required": [ "receipt_id", "required" ], "properties": { "receipt_id": { "type": "string" }, "required": { "type": "boolean" } } }, "httphandler.finishAttemptRequest": { "type": "object", "required": [ "evidence_durability", "receipt_id", "request_id", "trace_id" ], "properties": { "artifact_refs": { "type": "array", "items": { "type": "string" } }, "business_refs": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.BusinessRef" } }, "error": { "$ref": "#/definitions/sessionvo.PayloadEnvelope" }, "evidence_durability": { "$ref": "#/definitions/sessionvo.EvidenceDurability" }, "evidence_expectation": { "$ref": "#/definitions/sessionvo.EvidenceExpectation" }, "observed_evidence_refs": { "type": "array", "items": { "type": "string" } }, "output": { "$ref": "#/definitions/sessionvo.PayloadEnvelope" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "receipt_id": { "type": "string" }, "request_id": { "type": "string" }, "retryable": { "type": "boolean" }, "span_id": { "type": "string" }, "trace_id": { "type": "string" } } }, "httphandler.interactionBusinessGraphResponse": { "type": "object", "properties": { "assembly": { "$ref": "#/definitions/assemblysvc.ProjectedResult" }, "assembly_revision": { "$ref": "#/definitions/sessionvo.AssemblyRevision" }, "conversation_id": { "type": "string" }, "evidence_status": { "$ref": "#/definitions/sessionvo.EvidenceStatus" }, "execution_status": { "$ref": "#/definitions/sessionvo.InteractionStatus" }, "interaction_id": { "type": "string" } } }, "httphandler.interactionLeaseRequest": { "type": "object", "required": [ "lease_epoch", "lease_token" ], "properties": { "lease_epoch": { "type": "integer" }, "lease_token": { "type": "string" } } }, "httphandler.lifecycleError": { "type": "object", "properties": { "code": { "type": "string", "enum": [ "conversation_required", "conversation_not_found", "conversation_closed", "conversation_expired", "conversation_owner_mismatch", "interaction_required", "interaction_in_progress", "interaction_terminal", "agent_name_conflict", "agent_name_invalid", "operation_required", "idempotency_conflict", "event_payload_conflict", "producer_sequence_conflict", "invalid_evidence_event", "receipt_pending", "terminal_conflict", "closure_manifest_invalid", "answer_artifact_storage_limit", "answer_artifact_handoff_disabled", "feature_not_installed", "trace_core_unavailable", "authorization_unavailable", "evidence_capture_denied", "evidence_capture_failed", "capability_not_licensed", "permission_denied", "resource_not_disclosed", "internal_error" ] }, "current_interaction_id": { "type": "string" }, "current_status": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" }, "required_action": { "type": "string" }, "retry_after_ms": { "type": "integer" }, "retryable": { "type": "boolean" } } }, "httphandler.lifecycleErrorEnvelope": { "type": "object", "properties": { "error": { "$ref": "#/definitions/httphandler.lifecycleError" } } }, "httphandler.managedFinishInteractionRequest": { "type": "object", "required": [ "idempotency_key", "outcome" ], "properties": { "answer_artifact": { "description": "AnswerArtifact is an opt-in EvidenceArtifact result object, at most 16 MiB, durably staged with the completed Interaction.", "type": "object" }, "answer_artifact_ref": { "type": "string" }, "claims": { "type": "array", "items": { "type": "string" } }, "idempotency_key": { "type": "string" }, "outcome": { "type": "string" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "reason": { "type": "string" } } }, "httphandler.operationCallFactsResponse": { "type": "object", "properties": { "entries": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.OperationCallFact" } }, "total": { "type": "integer" } } }, "httphandler.operationResult": { "type": "object", "required": [ "created", "execute", "operation", "receipt" ], "properties": { "created": { "type": "boolean" }, "execute": { "type": "boolean" }, "operation": { "$ref": "#/definitions/sessionvo.Operation" }, "receipt": { "$ref": "#/definitions/sessionvo.Receipt" } } }, "httphandler.requestPage": { "type": "object", "properties": { "entries": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.RequestSummary" } }, "next_cursor": { "type": "string" } } }, "httphandler.resumeConversationRequest": { "type": "object", "required": [ "conversation_id" ], "properties": { "conversation_id": { "type": "string" } } }, "httphandler.startInteractionRequest": { "type": "object", "required": [ "idempotency_key" ], "properties": { "agent_name": { "type": "string", "maxLength": 128 }, "idempotency_key": { "type": "string" }, "lease_seconds": { "type": "integer" }, "request_hash": { "type": "string" } } }, "httphandler.terminalInteractionRequest": { "type": "object", "required": [ "completion_manifest_version", "completion_reason", "lease_epoch", "lease_token", "terminal_idempotency_key" ], "properties": { "answer_artifact_ref": { "type": "string" }, "assembler_deadline": { "type": "string" }, "claims": { "type": "array", "items": { "type": "string" } }, "completion_manifest_version": { "type": "string" }, "completion_reason": { "type": "string" }, "expected_operations": { "type": "array", "items": { "$ref": "#/definitions/httphandler.expectedOperationRequest" } }, "expected_receipts": { "type": "array", "items": { "$ref": "#/definitions/httphandler.expectedReceiptRequest" } }, "lease_epoch": { "type": "integer" }, "lease_token": { "type": "string" }, "terminal_idempotency_key": { "type": "string" } } }, "ledgervo.DurableAck": { "type": "object", "properties": { "durable_ack": { "type": "boolean" }, "event_id": { "type": "string" }, "ingest_sequence": { "type": "integer" }, "ingested_at": { "type": "string" }, "replayed": { "type": "boolean" } } }, "oteltracevo.TraceGraphData": { "type": "object", "properties": { "edges": { "type": "array", "items": { "$ref": "#/definitions/oteltracevo.TraceGraphEdge" } }, "nodes": { "type": "array", "items": { "$ref": "#/definitions/oteltracevo.TraceGraphNode" } } } }, "oteltracevo.TraceGraphEdge": { "type": "object", "properties": { "child_span_id": { "type": "string" }, "edge_type": { "type": "string" }, "id": { "type": "string" }, "parent_span_id": { "type": "string" } } }, "oteltracevo.TraceGraphNode": { "type": "object", "properties": { "duration_nano": { "type": "integer" }, "end_nano": { "type": "integer" }, "error_message": { "type": "string" }, "kind": { "type": "string" }, "name": { "type": "string" }, "parent_span_id": { "type": "string" }, "service_name": { "type": "string" }, "span_id": { "type": "string" }, "start_nano": { "type": "integer" }, "status": { "type": "string" } } }, "oteltracevo.TraceGraphPage": { "type": "object", "properties": { "edge_count": { "type": "integer" }, "node_count": { "type": "integer" }, "truncated": { "type": "boolean" } } }, "oteltracevo.TraceGraphResponse": { "type": "object", "properties": { "data": { "$ref": "#/definitions/oteltracevo.TraceGraphData" }, "duration_nano": { "type": "integer" }, "page": { "$ref": "#/definitions/oteltracevo.TraceGraphPage" }, "partial": { "type": "boolean" }, "partial_reason": { "type": "array", "items": { "type": "string" } }, "status": { "type": "string" }, "trace_id": { "type": "string" } } }, "rdto.AccessProfileResponse": { "type": "object", "properties": { "access_scope_fingerprint": { "type": "string" }, "allowed_log_categories": { "type": "array", "items": { "type": "string" } }, "business_provenance_managed_networks": { "type": "boolean" }, "business_provenance_own": { "type": "boolean" }, "global_log_search": { "type": "boolean" }, "log_export": { "type": "boolean" }, "log_policy_read": { "type": "boolean" }, "log_sensitive_fields": { "type": "boolean" }, "management_audit": { "type": "boolean" }, "observability_archive_manage": { "type": "boolean" }, "security_audit": { "type": "boolean" }, "technical_trace": { "type": "boolean" }, "trace_evidence_configuration_read": { "type": "boolean" }, "trace_evidence_configuration_write": { "type": "boolean" } } }, "rdto.ErrorResponse": { "type": "object", "properties": { "code": { "type": "string" }, "details": {}, "error_code": { "type": "string" }, "message": { "type": "string" }, "trace_id": { "type": "string" } } }, "rdto.RecordIntegrityRetryStatusResponse": { "type": "object", "properties": { "attempts": { "type": "integer" }, "first_attempt_at": { "type": "string" }, "interaction_id": { "type": "string" }, "last_attempt_at": { "type": "string" }, "last_failure_reason": { "type": "string" }, "lease_until": { "type": "string" }, "next_attempt_at": { "type": "string" }, "reason": { "type": "string" }, "source_version": { "type": "integer" }, "status": { "type": "string", "enum": [ "pending", "active", "running", "retry_wait", "exhausted", "succeeded", "superseded" ] } } }, "rdto.TraceEvidenceConfigurationResponse": { "type": "object", "properties": { "acknowledgements": { "type": "array", "items": { "$ref": "#/definitions/capturepolicysvc.EndpointAcknowledgement" } }, "coverage_gap": { "type": "boolean" }, "desired_state": { "$ref": "#/definitions/capturepolicysvc.State" }, "effective_state": { "$ref": "#/definitions/capturepolicysvc.State" }, "last_stable_revision": { "type": "integer" }, "operation": { "$ref": "#/definitions/capturepolicysvc.Operation" }, "revision": { "type": "integer" } } }, "sessionvo.AnswerArtifactPersistence": { "type": "object", "properties": { "content_hash": { "type": "string" }, "event_id": { "type": "string" }, "state": { "type": "string", "enum": [ "pending", "settled", "dead" ] } } }, "sessionvo.AssemblyRevision": { "type": "object", "properties": { "artifact_manifest_hash": { "type": "string" }, "assembly_completeness": { "$ref": "#/definitions/sessionvo.EvidenceStatus" }, "completion_manifest_version": { "type": "string" }, "created_at": { "type": "string" }, "included_event_ids": { "type": "array", "items": { "type": "string" } }, "included_receipt_ids": { "type": "array", "items": { "type": "string" } }, "interaction_id": { "type": "string" }, "parent_revision_id": { "type": "string" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "revision_id": { "type": "string" }, "revision_no": { "type": "integer" }, "trigger": { "type": "string" } } }, "sessionvo.AttemptStatus": { "type": "string", "enum": [ "ready", "pending", "completed", "failed" ], "x-enum-varnames": [ "AttemptReady", "AttemptPending", "AttemptCompleted", "AttemptFailed" ] }, "sessionvo.BusinessRef": { "type": "object", "required": [ "ref_id", "ref_type", "version" ], "properties": { "as_of": { "type": "string" }, "display_hint": { "type": "string" }, "ref_id": { "description": "RefID uses the complete canonical shape defined by RefType, including every required scope segment.", "type": "string" }, "ref_type": { "$ref": "#/definitions/sessionvo.BusinessRefType" }, "version": { "type": "string" } } }, "sessionvo.BusinessRefType": { "type": "string", "enum": [ "knowledge_network", "object_type", "object_instance", "property", "relation_type", "data_resource", "metric", "logic", "function", "action_type", "action_instance" ], "x-enum-varnames": [ "BusinessRefKnowledgeNetwork", "BusinessRefObjectType", "BusinessRefObjectInstance", "BusinessRefProperty", "BusinessRefRelationType", "BusinessRefDataResource", "BusinessRefMetric", "BusinessRefLogic", "BusinessRefFunction", "BusinessRefActionType", "BusinessRefActionInstance" ] }, "sessionvo.CapabilityProfile": { "type": "object", "properties": { "canonical_tool_name": { "type": "string" }, "child_evidence_policy": { "type": "string" }, "evidence_contract": { "type": "string" }, "execution_role": { "type": "string" }, "failure_policy": { "type": "string" }, "input_schema_digest": { "type": "string" }, "manifest_id": { "type": "string" }, "manifest_version": { "type": "string" }, "mapper_id": { "type": "string" }, "mapper_version": { "type": "string" }, "minimum_trace_schema": { "type": "string" }, "output_schema_digest": { "type": "string" }, "reason": { "type": "string" }, "required_trace_fields": { "type": "array", "items": { "type": "string" } }, "resolution": { "type": "string" }, "tool_version": { "type": "string" } } }, "sessionvo.Claim": { "type": "object", "required": [ "claim_id", "claim_status", "claim_type", "content_artifact_ref", "materiality", "required_support_roles", "supports" ], "properties": { "claim_id": { "type": "string" }, "claim_status": { "description": "Status withdrawn preserves history but does not participate in current revision completeness.", "allOf": [ { "$ref": "#/definitions/sessionvo.ClaimStatus" } ] }, "claim_type": { "type": "string" }, "content_artifact_ref": { "type": "string" }, "materiality": { "$ref": "#/definitions/sessionvo.ClaimMateriality" }, "required_support_roles": { "type": "array", "items": { "type": "string" } }, "supports": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.ClaimSupport" } } } }, "sessionvo.ClaimMateriality": { "type": "string", "enum": [ "material", "supporting" ], "x-enum-varnames": [ "ClaimMaterial", "ClaimSupporting" ] }, "sessionvo.ClaimStatus": { "type": "string", "enum": [ "asserted", "withdrawn" ], "x-enum-varnames": [ "ClaimAsserted", "ClaimWithdrawn" ] }, "sessionvo.ClaimSupport": { "type": "object", "required": [ "content_hash", "role", "source_interaction_id", "source_revision_id", "status", "target_ref", "target_type", "version" ], "properties": { "content_hash": { "type": "string" }, "fragment_selector": { "type": "string" }, "reason": { "type": "string" }, "role": { "type": "string" }, "source_interaction_id": { "type": "string" }, "source_operation_id": { "type": "string" }, "source_revision_id": { "type": "string" }, "status": { "$ref": "#/definitions/sessionvo.SupportStatus" }, "target_ref": { "type": "string" }, "target_type": { "$ref": "#/definitions/sessionvo.SupportTargetType" }, "version": { "type": "string" } } }, "sessionvo.ClosureManifest": { "type": "object", "required": [ "completion_manifest_version", "completion_reason" ], "properties": { "answer_artifact_persistence": { "$ref": "#/definitions/sessionvo.AnswerArtifactPersistence" }, "answer_artifact_ref": { "type": "string" }, "assembler_deadline": { "type": "string" }, "claims": { "type": "array", "items": { "type": "string" } }, "completion_manifest_version": { "type": "string" }, "completion_reason": { "type": "string" }, "expected_operations": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.ExpectedOperation" } }, "expected_receipts": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.ExpectedReceipt" } }, "system_partial_reasons": { "type": "array", "items": { "type": "string" } } } }, "sessionvo.Conversation": { "type": "object", "required": [ "conversation_id", "created_at", "external_conversation_key", "generation", "one_shot", "owner", "row_version", "status", "updated_at" ], "properties": { "actor_name_snapshot": { "type": "string" }, "agent_name": { "type": "string" }, "business_context": { "type": "string" }, "closed_at": { "type": "string" }, "conversation_id": { "type": "string" }, "created_at": { "type": "string" }, "creation_auth_method": { "type": "string" }, "creation_request_id": { "type": "string" }, "external_conversation_key": { "type": "string" }, "generation": { "type": "integer" }, "one_shot": { "type": "boolean" }, "owner": { "$ref": "#/definitions/sessionvo.Owner" }, "row_version": { "type": "integer" }, "status": { "$ref": "#/definitions/sessionvo.ConversationStatus" }, "updated_at": { "type": "string" } } }, "sessionvo.ConversationStatus": { "type": "string", "enum": [ "active", "closed", "expired" ], "x-enum-varnames": [ "ConversationActive", "ConversationClosed", "ConversationExpired" ] }, "sessionvo.EvidenceCompletion": { "type": "object", "properties": { "expectation": { "$ref": "#/definitions/sessionvo.EvidenceExpectation" }, "original_durability": { "$ref": "#/definitions/sessionvo.EvidenceDurability" }, "original_observed_refs": { "type": "array", "items": { "type": "string" } }, "original_partial_reasons": { "type": "array", "items": { "type": "string" } }, "rejected_expectation_hash": { "type": "string" }, "rejection_reason": { "type": "string" } } }, "sessionvo.EvidenceDurability": { "type": "string", "enum": [ "pending", "durable", "failed" ], "x-enum-varnames": [ "DurabilityPending", "DurabilityDurable", "DurabilityFailed" ] }, "sessionvo.EvidenceExpectation": { "type": "object", "properties": { "closed": { "type": "boolean" }, "events": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.ExpectedEvidenceEvent" } }, "version": { "type": "integer" } } }, "sessionvo.EvidenceRef": { "type": "object", "required": [ "content_hash", "evidence_ref", "ref_type", "source_interaction_id", "source_revision_id", "version" ], "properties": { "artifact_ref": { "type": "string" }, "as_of": { "type": "string" }, "content_hash": { "type": "string" }, "evidence_ref": { "type": "string" }, "fragment_selector": { "type": "string" }, "ref_type": { "$ref": "#/definitions/sessionvo.EvidenceRefType" }, "source_interaction_id": { "type": "string" }, "source_operation_id": { "type": "string" }, "source_revision_id": { "type": "string" }, "version": { "type": "string" } } }, "sessionvo.EvidenceRefType": { "type": "string", "enum": [ "event", "artifact", "artifact_fragment", "operation_output", "claim" ], "x-enum-varnames": [ "EvidenceRefEvent", "EvidenceRefArtifact", "EvidenceRefArtifactFragment", "EvidenceRefOperationOutput", "EvidenceRefClaim" ] }, "sessionvo.EvidenceStatus": { "type": "string", "enum": [ "not_applicable", "assembling", "complete", "partial", "failed" ], "x-enum-varnames": [ "EvidenceNotApplicable", "EvidenceAssembling", "EvidenceComplete", "EvidencePartial", "EvidenceFailed" ] }, "sessionvo.ExpectedEvidenceEvent": { "type": "object", "properties": { "drop_reason": { "type": "string" }, "event_id": { "type": "string" }, "event_type": { "type": "string" }, "payload_hash": { "type": "string" }, "producer_id": { "type": "string" }, "publish_disposition": { "type": "string" } } }, "sessionvo.ExpectedOperation": { "type": "object", "required": [ "operation_id", "required" ], "properties": { "operation_id": { "type": "string" }, "required": { "type": "boolean" } } }, "sessionvo.ExpectedReceipt": { "type": "object", "required": [ "receipt_id", "required" ], "properties": { "receipt_id": { "type": "string" }, "required": { "type": "boolean" } } }, "sessionvo.Interaction": { "type": "object", "required": [ "conversation_id", "created_at", "evidence_status", "execution_status", "interaction_id", "lease_epoch", "lease_expires_at", "lease_token", "lease_version", "ordinal", "row_version", "updated_at" ], "properties": { "closure_manifest": { "$ref": "#/definitions/sessionvo.ClosureManifest" }, "conversation_id": { "type": "string" }, "created_at": { "type": "string" }, "evidence_status": { "$ref": "#/definitions/sessionvo.EvidenceStatus" }, "execution_status": { "$ref": "#/definitions/sessionvo.InteractionStatus" }, "interaction_id": { "type": "string" }, "lease_epoch": { "type": "integer" }, "lease_expires_at": { "type": "string" }, "lease_token": { "type": "string" }, "lease_version": { "type": "integer" }, "ordinal": { "type": "integer" }, "row_version": { "type": "integer" }, "terminal_at": { "type": "string" }, "updated_at": { "type": "string" } } }, "sessionvo.InteractionStatus": { "type": "string", "enum": [ "active", "completed", "failed", "canceled", "handed_off", "abandoned" ], "x-enum-varnames": [ "InteractionActive", "InteractionCompleted", "InteractionFailed", "InteractionCanceled", "InteractionHandedOff", "InteractionAbandoned" ] }, "sessionvo.Operation": { "type": "object", "required": [ "attempt", "attempt_status", "conversation_id", "created_at", "interaction_id", "operation_id", "operation_key", "retryable", "row_version", "tool_name", "updated_at" ], "properties": { "attempt": { "type": "integer" }, "attempt_status": { "$ref": "#/definitions/sessionvo.AttemptStatus" }, "causation_event_ids": { "type": "array", "items": { "type": "string" } }, "conversation_id": { "type": "string" }, "created_at": { "type": "string" }, "interaction_id": { "type": "string" }, "operation_id": { "type": "string" }, "operation_key": { "type": "string" }, "parent_operation_id": { "type": "string" }, "retryable": { "type": "boolean" }, "row_version": { "type": "integer" }, "tool_name": { "type": "string" }, "updated_at": { "type": "string" } } }, "sessionvo.OperationBusinessEdge": { "type": "object", "required": [ "business_ref", "observed_at", "operation_id", "role" ], "properties": { "business_ref": { "$ref": "#/definitions/sessionvo.BusinessRef" }, "observed_at": { "type": "string" }, "operation_id": { "type": "string" }, "role": { "$ref": "#/definitions/sessionvo.OperationBusinessRole" } } }, "sessionvo.OperationBusinessRole": { "type": "string", "enum": [ "read", "filter", "group", "aggregate", "input", "output", "modify", "recommend", "execute" ], "x-enum-varnames": [ "OperationRoleRead", "OperationRoleFilter", "OperationRoleGroup", "OperationRoleAggregate", "OperationRoleInput", "OperationRoleOutput", "OperationRoleModify", "OperationRoleRecommend", "OperationRoleExecute" ] }, "sessionvo.OperationCallFact": { "type": "object", "properties": { "attempt": { "type": "integer" }, "capability_profile": { "$ref": "#/definitions/sessionvo.CapabilityProfile" }, "conversation_id": { "type": "string" }, "error": { "$ref": "#/definitions/sessionvo.PayloadEnvelope" }, "evidence_completion": { "$ref": "#/definitions/sessionvo.EvidenceCompletion" }, "finished_at": { "type": "string" }, "input": { "$ref": "#/definitions/sessionvo.PayloadEnvelope" }, "interaction_id": { "type": "string" }, "operation_id": { "type": "string" }, "output": { "$ref": "#/definitions/sessionvo.PayloadEnvelope" }, "parent_operation_id": { "type": "string" }, "protocol": { "$ref": "#/definitions/sessionvo.OperationProtocol" }, "receipt_id": { "type": "string" }, "request_id": { "type": "string" }, "retryable": { "type": "boolean" }, "source_module": { "type": "string" }, "span_id": { "type": "string" }, "started_at": { "type": "string" }, "status": { "$ref": "#/definitions/sessionvo.AttemptStatus" }, "tool_name": { "type": "string" }, "trace_id": { "type": "string" } } }, "sessionvo.OperationProtocol": { "type": "string", "enum": [ "mcp", "sdk", "internal" ], "x-enum-varnames": [ "ProtocolMCP", "ProtocolSDK", "ProtocolInternal" ] }, "sessionvo.Owner": { "type": "object", "required": [ "application_principal_id", "effective_subject_id", "effective_subject_type" ], "properties": { "application_principal_id": { "type": "string" }, "delegation_id": { "type": "string" }, "effective_subject_id": { "type": "string" }, "effective_subject_type": { "$ref": "#/definitions/sessionvo.SubjectType" } } }, "sessionvo.PayloadEnvelope": { "type": "object", "properties": { "byte_length": { "type": "integer" }, "inline": { "type": "array", "items": { "type": "integer" } }, "media_type": { "type": "string" }, "mode": { "$ref": "#/definitions/sessionvo.PayloadMode" }, "omitted_reason": { "type": "string" }, "ref": { "type": "string" } } }, "sessionvo.PayloadMode": { "type": "string", "enum": [ "inline", "referenced", "omitted" ], "x-enum-varnames": [ "PayloadInline", "PayloadReferenced", "PayloadOmitted" ] }, "sessionvo.Receipt": { "type": "object", "required": [ "artifact_refs", "attempt", "business_refs", "causation_event_ids", "conversation_id", "evidence_durability", "interaction_id", "issued_at", "observed_evidence_refs", "operation_id", "operation_key", "owner", "partial_reasons", "receipt_id", "receipt_status", "request_id", "required", "row_version", "schema_version", "tool_name", "trace_id" ], "properties": { "artifact_refs": { "type": "array", "items": { "type": "string" } }, "attempt": { "type": "integer" }, "business_refs": { "type": "array", "items": { "$ref": "#/definitions/sessionvo.BusinessRef" } }, "causation_event_ids": { "type": "array", "items": { "type": "string" } }, "conversation_id": { "type": "string" }, "evidence_durability": { "$ref": "#/definitions/sessionvo.EvidenceDurability" }, "interaction_id": { "type": "string" }, "issued_at": { "type": "string" }, "observed_evidence_refs": { "type": "array", "items": { "type": "string" } }, "operation_id": { "type": "string" }, "operation_key": { "type": "string" }, "owner": { "$ref": "#/definitions/sessionvo.Owner" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "receipt_id": { "type": "string" }, "receipt_status": { "$ref": "#/definitions/sessionvo.ReceiptStatus" }, "request_id": { "type": "string" }, "required": { "type": "boolean" }, "row_version": { "type": "integer" }, "schema_version": { "type": "string" }, "terminal_at": { "type": "string" }, "tool_name": { "type": "string" }, "trace_id": { "type": "string" } } }, "sessionvo.ReceiptStatus": { "type": "string", "enum": [ "pending", "completed", "failed" ], "x-enum-varnames": [ "ReceiptPending", "ReceiptCompleted", "ReceiptFailed" ] }, "sessionvo.RequestSummary": { "type": "object", "properties": { "conversation_id": { "type": "string" }, "interaction_id": { "type": "string" }, "operation_count": { "type": "integer" }, "receipt_count": { "type": "integer" }, "request_id": { "type": "string" }, "trace_ids": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string" } } }, "sessionvo.SubjectType": { "type": "string", "enum": [ "user", "service" ], "x-enum-varnames": [ "SubjectUser", "SubjectService" ] }, "sessionvo.SupportStatus": { "type": "string", "enum": [ "adopted", "rejected" ], "x-enum-varnames": [ "SupportAdopted", "SupportRejected" ] }, "sessionvo.SupportTargetType": { "type": "string", "enum": [ "evidence", "claim", "artifact_fragment", "operation_output" ], "x-enum-varnames": [ "SupportEvidence", "SupportClaim", "SupportArtifactFragment", "SupportOperationOutput" ] }, "tracesvc.SpanDisplayRange": { "type": "object", "properties": { "browse_allowed": { "type": "boolean" }, "browse_reason": { "type": "string" }, "display_limit": { "type": "integer" }, "first_start_at": { "type": "string" }, "last_start_at": { "type": "string" }, "loaded_count": { "type": "integer" }, "raw_record_count": { "type": "integer" }, "raw_record_limit": { "type": "integer" }, "sort": { "type": "string" }, "total_accuracy": { "type": "string" }, "total_count": { "type": "integer" }, "truncated": { "type": "boolean" } } }, "tracesvc.SpanPage": { "type": "object", "properties": { "consistency": { "type": "string" }, "entries": { "type": "array", "items": { "$ref": "#/definitions/oteltracevo.TraceGraphNode" } }, "has_more": { "type": "boolean" }, "next_cursor": { "type": "string" }, "sort": { "type": "string" }, "trace_id": { "type": "string" } } }, "tracesvc.TechnicalOperation": { "type": "object", "properties": { "fact": { "$ref": "#/definitions/sessionvo.OperationCallFact" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "receipt": { "$ref": "#/definitions/sessionvo.Receipt" }, "state": { "type": "string" } } }, "tracesvc.TechnicalTraceDetail": { "type": "object", "properties": { "graph": { "$ref": "#/definitions/oteltracevo.TraceGraphResponse" }, "operations": { "type": "array", "items": { "$ref": "#/definitions/tracesvc.TechnicalOperation" } }, "partial": { "type": "boolean" }, "partial_reasons": { "type": "array", "items": { "type": "string" } }, "span_display": { "$ref": "#/definitions/tracesvc.SpanDisplayRange" }, "summary": { "$ref": "#/definitions/evidencevo.TraceSummary" } } } }, "securityDefinitions": { "BearerAuth": { "description": "Active OAuth bearer token. Lifecycle owner identity is derived by the server.", "type": "apiKey", "name": "Authorization", "in": "header" } } }