Handle Requests
POST /a2a/cio/
Handles incoming POST requests to the main A2A endpoint.
Parses the request body as JSON, validates it against A2A request types, dispatches it to the appropriate handler method, and returns the response. Handles JSON parsing errors, validation errors, and other exceptions, returning appropriate JSON-RPC error responses.
Args: request: The incoming Starlette Request object.
Returns: A Starlette Response object (JSONResponse or EventSourceResponse).
Raises: (Implicitly handled): Various exceptions are caught and converted into JSON-RPC error responses by this method.
Authorizations
Request Body required
A2ARequest
Placeholder injected by scripts/sync_openapi_docs.sh because the backend OpenAPI schema referenced #/components/schemas/A2ARequest without registering a corresponding Pydantic model. Replace this placeholder by defining the missing model in the backend.
object
Responses
200
Successful Response