Authentication
Send requests tohttps://agent-prod.studio.lyzr.ai with your Lyzr API key in the x-api-key header. Send JSON request bodies with Content-Type: application/json.
Connection endpoints
See request body examples for API-key and OAuth connections.
Select a connection for inference
Passprovider_overrides to Chat With Agent or Stream Chat With Agent. The map key is the MCP server ID; the value is the credential_id of a usable connection owned by the caller:
persist_auth: false); tools using creator credentials ignore the override. An invalid explicit connection returns HTTP 401 with detail.reason_code: "personal_connection_required" rather than falling back to another account.