agent_config
Handler for POST /api/v2/agents/agent_config - Per-agent UI config.
Code
agent_config › Request Body
agentFrontend chat-mode key identifying the target agent (mapped server-side to the internal agent name).
agent_config › Responses
agent_create_job
Handler for POST /api/v2/agents/agent_create_job - Create an async job.
Code
agent_create_job › Request Body
agentFrontend chat-mode key identifying the target agent. Only agents that expose async jobs are valid.
job_nameType of job to execute.
promptUser instructions for the job.
Additional context parameters. For the Rules agent, policy_type_id is required (enforced server-side); for the Lines agent it is optional.
File attachments for processing.
agent_create_job › Responses
agent_delete_session
Handler for POST /api/v2/agents/agent_delete_session - Delete a session.
Code
agent_delete_session › Request Body
agentFrontend chat-mode key identifying the target agent (mapped server-side to the internal agent name).
session_idSession identifier to delete.
agent_delete_session › Responses
Delete confirmation payload from the agent service.
agent_get_job
Handler for POST /api/v2/agents/agent_get_job - Fetch a single job.
Code
agent_get_job › Request Body
agentFrontend chat-mode key identifying the target agent. Only agents that expose async jobs are valid.
job_idUUID of the job to retrieve.
agent_get_job › Responses
dataThe full AIAgentJobModel object when the job is found, or an empty array [] when it is not.
agent_list_jobs
Handler for POST /api/v2/agents/agent_list_jobs - List jobs.
Code
agent_list_jobs › Request Body
agentFrontend chat-mode key identifying the target agent. Only agents that expose async jobs are valid.
statusFilter by job status.
limitMaximum number of jobs to return.
agent_list_jobs › Responses
agent_resume_job
Handler for POST /api/v2/agents/agent_resume_job - Resume a paused job.
Code
agent_resume_job › Request Body
agentFrontend chat-mode key identifying the target agent. Only agents that expose async jobs are valid.
job_idUUID of the paused job to resume.
messageFree text response (for free_text input type).
selected_optionID of selected option (for form_selection input type).
Freeform data (for missing_data input type).
agent_resume_job › Responses
agent_session_messages
Handler for POST /api/v2/agents/agent_session_messages - Get session messages.
Code
agent_session_messages › Request Body
agentFrontend chat-mode key identifying the target agent (mapped server-side to the internal agent name).
session_idSession identifier whose messages should be returned.
agent_session_messages › Responses
agent_sessions
Handler for POST /api/v2/agents/agent_sessions - List chat sessions.
Code
agent_sessions › Request Body
agentFrontend chat-mode key identifying the target agent (mapped server-side to the internal agent name).
limitMaximum number of sessions to return (defaults to 100).
agent_sessions › Responses
Conversation sessions for the logged-in user.
agent_status
Handler for POST /api/v2/agents/agent_status.
Code
agent_status › Request Body
agentFrontend chat-mode key identifying the target agent (mapped server-side to the internal agent name).
agent_status › Responses
claims
Handler for POST /api/v2/agents/claims - Non-streaming chat.
Code
claims › Request Body
api_keyAPI key for BriteCore authentication
promptThe user's message/question
Session ID for conversation continuity
Additional context information
claims › Responses
successmessageserrorError message if request failed
claims_analytics
Handler for POST /api/v2/agents/claims_analytics - Non-streaming chat.
Code
claims_analytics › Request Body
api_keyAPI key for BriteCore authentication
promptThe user's message/question about claims data
session_idSession ID for conversation continuity
contextContext data (JSON string with metrics, filters, claims data, etc.)
claims_analytics › Responses
successmessageserrorError message if request failed
claims_analytics_stream
Handler for POST /api/v2/agents/claims_analytics_stream - SSE streaming chat.
Code
claims_analytics_stream › Request Body
api_keyAPI key for BriteCore authentication
promptThe user's message/question about claims data
session_idSession ID for conversation continuity
contextContext data (JSON string with metrics, filters, claims data, etc.)
claims_analytics_stream › Responses
successmessagedataclaims_stream
Handler for POST /api/v2/agents/claims_stream - SSE streaming chat.
Code
claims_stream › Request Body
api_keyAPI key for authentication
promptThe user's message/question
Session ID for conversation continuity
Additional context information
claims_stream › Responses
successmessagedatadocuments_templates
Handler for POST /api/v2/agents/documents_templates - Non-streaming chat.
Code
documents_templates › Request Body
api_keyAPI key for BriteCore authentication
promptThe user's message/question
Session ID for conversation continuity
Template editor context (entity type, policy number, policy type, deliverable ID) - human-readable summary for the LLM.
JSON-encoded structured editor params for the agent state. Document Templates uses keys: deliverable_id, entity_number, entity_type, policy_type_name. Forwarded verbatim to AIAgents' initial_state_params; each agent's merge_initial_params hook decides what to do with it.
documents_templates › Responses
successmessageserrorError message if request failed
documents_templates_carbone_context
Handler for POST /api/v2/agents/documents_templates_carbone_context.
Code
documents_templates_carbone_context › Request Body
api_keyAPI key for BriteCore authentication
Policy or claim number. When present, returns the live SQLRunner-derived context for that entity. When absent, returns the canonical example context shipped with BriteCore.
Either 'policy' or 'claim'. Defaults to 'policy'. Authoritative only when entity_number is provided; the MCP server omits it otherwise. In example mode the DELIVERABLE decides which fixture is returned (see deliverable_id), so a claim template is not served the policy example just because the caller defaulted.
XReportLocation id of the deliverable being authored. Drives the calculated-field schema scope: globals only when absent, globals plus template-scoped fields when present. In example mode it also decides which fixture is returned - the deliverable's own module (policies/claims) wins over entity_type.
The Carbone-template page's policy-type dropdown selection. EXAMPLE MODE: this is what makes the returned items this site's rather than the fixture's - they are generated from that policy type's configured policy_type_items, with the real names a [name='...'] filter must match. LIVE MODE: a validator only. Absent, the fixture's own items are returned.
Business location narrowing policy_type_name to one location's configuration. Absent ('All Locations Default') the name may resolve several policy types across locations and their configured items are merged.
documents_templates_carbone_context › Responses
successmessagesThe Carbone context (live or example). Includes a _schema map describing fields whose meaning is not obvious from the key name, and, when a policy type resolved in example mode, the two grounding sidecars below. All three are underscore-prefixed so the MCP's field-summary builder skips them as mappable paths.
documents_templates_download
Handler for GET /api/v2/agents/documents_templates_download - File download proxy.
Code
documents_templates_download › Request Body
api_keyAPI key for BriteCore authentication
session_idAgent session ID (returned in the SSE start event)
filenameFile to download (e.g., document_template.docx). Must not contain path traversal characters (.. / )
documents_templates_download › Responses
successmessagedatadocuments_templates_stream
Handler for POST /api/v2/agents/documents_templates_stream - SSE streaming chat.
Code
documents_templates_stream › Request Body
api_keyAPI key for authentication
promptThe user's message/question
Session ID for conversation continuity
Template editor context (entity type, policy number, policy type, deliverable ID) - human-readable summary for the LLM.
JSON-encoded structured editor params for the agent state. Document Templates uses keys: deliverable_id, entity_number, entity_type, policy_type_name. Forwarded verbatim to AIAgents' initial_state_params; each agent's merge_initial_params hook decides what to do with it.
documents_templates_stream › Responses
successmessagedatafnol
Handler for POST /api/v2/agents/fnol - Non-streaming chat.
Code
fnol › Request Body
api_keyAPI key for BriteCore authentication
promptThe user's message/question
session_idSession ID for conversation continuity
contextAdditional context information
fnol › Responses
successmessageserrorError message if request failed
fnol_stream
Handler for POST /api/v2/agents/fnol_stream - SSE streaming chat.
Code
fnol_stream › Request Body
api_keyAPI key for authentication
promptThe user's message/question
session_idSession ID for conversation continuity
contextAdditional context information
fnol_stream › Responses
successmessagedatainit_quote_session
Handler for POST /api/v2/agents/init_quote_session - Initialize quote session.
Code
init_quote_session › Request Body
statepolicy_type_idpolicy_type_namepolicy_type_kindunderlying_policy_idsline_nameeffective_dateterm_typeknockout_answersinit_quote_session › Responses
successmessagedataquote
Handler for POST /api/v2/agents/quote - Non-streaming chat.
Code
quote › Request Body
api_keyAPI key for BriteCore authentication
promptThe user's message/question
session_idSession ID for conversation continuity
contextAdditional context information
quote › Responses
successmessagedataquote_stream
Handler for POST /api/v2/agents/quote_stream - SSE streaming chat.
Code
quote_stream › Request Body
api_keyAPI key for BriteCore authentication
promptThe user's message/question
session_idSession ID for conversation continuity
contextAdditional context information
quote_stream › Responses
successmessagedatareport_copilot_attach_entity
Handler for POST /api/v2/agents/report_copilot_attach_entity.
Code
report_copilot_attach_entity › Request Body
session_idSession identifier of the conversation to attach to.
entity_typeOpaque external entity type owned by the calling agent (e.g. 'report' for the Report Copilot saved-report use case). Max 64 chars.
entity_idOpaque external entity id (e.g. the BriteCore report uuid). Max 128 chars.
report_copilot_attach_entity › Responses
Attach confirmation payload from the AIAgents service.
report_copilot_capabilities
Handler for POST /api/v2/agents/report_copilot_capabilities.
Code
report_copilot_capabilities › Request Body
report_copilot_capabilities › Responses
Capability flags describing which report agent the site is running.
report_copilot_client_error
Handler for POST /api/v2/agents/report_copilot_client_error.
Code
report_copilot_client_error › Request Body
error_classWhich user-visible error site this was. Any value is accepted: one outside the recognised set below is recorded as 'other' rather than rejected, so a frontend that adds a site before the backend knows about it still counts. Recognised values: agent_frame, stream_connection, request_failed, file_too_large, file_read_failed, migration_response_invalid, other.
failure_classOnly read for 'agent_frame', where the browser echoes back the class the proxy put on the error frame. Same key and closed set as the proxy turn metric's failure_class, so the two series join. Anything else is bounded to 'other', an unparseable value to 'invalid'.
upstream_failure_classOnly read for 'agent_frame', where the browser echoes back the class the agent assigned. Present only when the failure originated upstream rather than in the proxy. Bounded to the agent's own closed set.
report_copilot_client_error › Responses
The metric tags recorded for this error.
report_copilot_delete_session
Handler for POST /api/v2/agents/report_copilot_delete_session - Delete a session.
Code
report_copilot_delete_session › Request Body
session_idSession identifier to delete.
report_copilot_delete_session › Responses
Delete confirmation payload from the agent service.
report_copilot_session_messages
Handler for POST /api/v2/agents/report_copilot_session_messages - Get session messages.
Code
report_copilot_session_messages › Request Body
session_idSession identifier whose messages should be returned.
report_copilot_session_messages › Responses
report_copilot_session_state
Handler for POST /api/v2/agents/report_copilot_session_state - Get UI-restore state.
Code
report_copilot_session_state › Request Body
session_idSession identifier whose state snapshot should be returned.
report_copilot_session_state › Responses
report_copilot_sessions
Handler for POST /api/v2/agents/report_copilot_sessions - List chat sessions.
Code
report_copilot_sessions › Request Body
limitMaximum number of sessions to return (defaults to 100).
entity_typeOptional opaque entity type to filter by (e.g. 'report'). Must be supplied with entity_id.
entity_idOptional opaque entity id to filter by, paired with entity_type.
report_copilot_sessions › Responses
Conversation sessions for the logged-in user.
report_copilot_stream
Handler for POST /api/v2/agents/report_copilot_stream - SSE streaming chat.
Code
report_copilot_stream › Request Body
promptsession_idcontextinitial_state_paramsfile_base64file_namefile_typereport_copilot_stream › Responses
successmessagedata