LLM And Agent APIs

These APIs cover Adam chat, tool execution, approvals, autonomous agents, A2A delegation, the LLM gateway, and OpenAI-compatible proxy routes.

Route Map

Chat And Tool Execution

MethodRoutePurpose
POST/api/v1/llm/chatStart or continue a chat turn.
POST/api/v1/llm/chat/streamStream chat output.
POST/api/v1/llm/chat/cancelCancel an active chat.
POST/api/v1/llm/chat/tool_decisionSubmit an operator tool approval decision.
POST/api/v1/llm/chat/tool_resultSubmit a tool result.
POST/api/v1/llm/chat/tool_form_submitSubmit a secure form result.
GET/api/v1/llm/orchestration/statusReturn orchestration runtime status.
GET/api/v1/llm/secure-forms/{form_id}Return a secure form specification.

Approvals

MethodRoutePurpose
GET/api/v1/llm/approvalsList pending approvals.
POST/api/v1/llm/approvals/{approval_id}/approveApprove a pending request.
POST/api/v1/llm/approvals/{approval_id}/rejectReject a pending request.
POST/api/v1/llm/approvals/{approval_id}/delegateDelegate approval to another principal.

Agents And A2A

MethodRoutePurpose
GET/api/v1/llm/agentsList agents.
POST/api/v1/llm/agentsCreate an agent.
GET/api/v1/llm/agents/{agent_id}Get an agent.
GET/api/v1/llm/agents/{agent_id}/statusGet agent status.
PATCH/api/v1/llm/agents/{agent_id}/statusUpdate agent status.
GET/api/v1/llm/agents/{agent_id}/runsList agent runs.
GET/api/v1/llm/agents/{agent_id}/runs/{run_id}/logsReturn agent run logs.
GET/api/v1/llm/agents/{agent_id}/metricsReturn agent metrics.
GET/api/v1/llm/agents/metrics/summaryReturn organization agent metrics.
GET/api/v1/llm/agents/{agent_id}/cardReturn an A2A agent card.
POST/api/v1/llm/agents/{agent_id}/cardUpsert an A2A agent card.
POST/api/v1/llm/a2a/delegateDelegate a task through A2A.
GET/api/v1/llm/a2a/tasks/{task_id}Return A2A task status.

Investigation Runs

MethodRoutePurpose
POST/api/v1/llm/agents/investigateStart an investigation run.
GET/api/v1/llm/agents/investigate/{run_id}/statusReturn investigation status.
GET/api/v1/llm/agents/investigate/{run_id}/evidenceReturn investigation evidence.

Agent Gateway

MethodRoutePurpose
GET/api/v1/llm/agent-gateway/connectionsList gateway connections.
POST/api/v1/llm/agent-gateway/connectionsRegister a gateway connection.
POST/api/v1/llm/agent-gateway/connections/{session_id}/heartbeatRecord connection heartbeat.
POST/api/v1/llm/agent-gateway/connections/{session_id}/usageRecord connection usage.
POST/api/v1/llm/agent-gateway/connections/{session_id}/drainMark a connection draining.
DELETE/api/v1/llm/agent-gateway/connections/{session_id}Disconnect a session.
GET/api/v1/llm/agent-gateway/usageList gateway usage.
GET/api/v1/llm/agent-gateway/agents/{agent_id}/routeResolve agent routing.

Gateway Governance And Proxy

MethodRoutePurpose
GET/api/v1/llm/gateway/dashboardReturn gateway dashboard data.
GET/api/v1/llm/gateway/requestsReturn gateway request history.
GET/api/v1/llm/gateway/tracesReturn gateway traces.
GET/api/v1/llm/gateway_snapshotReturn gateway control-plane snapshot.
GET/api/v1/llm/api_keysList gateway API keys.
POST/api/v1/llm/api_keysCreate a gateway API key.
PATCH/api/v1/llm/api_keys/{key_id}Update a gateway API key.
DELETE/api/v1/llm/api_keys/{key_id}Delete a gateway API key.
GET/api/v1/llm/pii_dictionaryReturn organization PII dictionary.
PUT/api/v1/llm/pii_dictionaryReplace organization PII dictionary.
GET/api/v1/llm/content_policy_profilesList reusable content policy profiles.
PUT/api/v1/llm/content_policy_profilesCreate or update a content policy profile.
GET/api/v1/llm/content_policy_profiles/{profile_uuid}Get one content policy profile.
DELETE/api/v1/llm/content_policy_profiles/{profile_uuid}Delete a content policy profile.
GET/api/v1/llm/policy_bindingsList policy bindings.
PUT/api/v1/llm/policy_bindingsCreate or update a policy binding.
GET/api/v1/llm/policy_bindings/{binding_uuid}Get one policy binding.
DELETE/api/v1/llm/policy_bindings/{binding_uuid}Delete a policy binding.
GET/api/v1/llm/access_boundariesList access boundaries.
PUT/api/v1/llm/access_boundariesCreate or update an access boundary.
GET/api/v1/llm/access_boundaries/{boundary_uuid}Get one access boundary.
DELETE/api/v1/llm/access_boundaries/{boundary_uuid}Delete an access boundary.
GET/api/v1/llm/governance_exportsList promptless governance exports.
POST/api/v1/llm/governance_exportsCreate a promptless governance export.
GET/api/v1/llm/governance_exports/{export_uuid}Get one governance export.
GET/api/v1/llm/governance_lineageList promptless lineage events.
POST/api/v1/llm/governance_lineageCreate a lineage event.
GET/api/v1/llm/governance_lineage/{lineage_uuid}Get one lineage event.
GET/api/v1/llm/governance_replay_jobsList promptless replay jobs.
PUT/api/v1/llm/governance_replay_jobsCreate or update a replay job.
GET/api/v1/llm/governance_replay_jobs/{replay_job_uuid}Get one replay job.
DELETE/api/v1/llm/governance_replay_jobs/{replay_job_uuid}Delete a replay job.
GET/api/v1/llm/governance_feature_records/{feature_kind}List promptless feature records for a feature kind.
PUT/api/v1/llm/governance_feature_records/{feature_kind}Create or update a feature record.
GET/api/v1/llm/governance_feature_records/{feature_kind}/{record_uuid}Get one feature record.
DELETE/api/v1/llm/governance_feature_records/{feature_kind}/{record_uuid}Delete a feature record.
POST/api/v1/llm/governance_feature_records/approval_request/{record_uuid}/approveApprove a pending approval-request record.
POST/api/v1/llm/governance_feature_records/approval_request/{record_uuid}/rejectReject a pending approval-request record.

OpenAI-compatible proxy routes are mounted separately:

MethodRoutePurpose
POST/proxy/v1/chat/completionsOpenAI-compatible chat completions.
POST/proxy/v1/responsesOpenAI-compatible responses.
GET/proxy/v1/modelsOpenAI-compatible model listing.

Gateway Key Governance Configuration

Gateway key create and update requests can include built-in policy fields, key-specific custom terms, and template-backed lookup configuration.

json
{
  "name": "document-summary-gateway",
  "endpoint_id": "local-ollama",
  "model_allowlist": ["llama3.1"],
  "custom_pii_terms": [
    {
      "value": "SIU-INV-4419",
      "label": "investigation_id",
      "action": "redact"
    }
  ],
  "pii_lookup_templates": [
    {
      "template_id": "lookup-customer-account-pii",
      "input_fields": [
        {
          "name": "account_id",
          "source": "user_message_regex",
          "pattern": "(?i)account(?: id)?[:# ]+(?P<value>[A-Z0-9-]+)",
          "required": true,
          "value_type": "string"
        }
      ],
      "records_path": "",
      "redaction_fields": [
        {
          "path": "/full_name",
          "label": "customer",
          "action": "redact"
        }
      ],
      "max_rows": 1,
      "error_mode": "block"
    }
  ],
  "work_metadata": {
    "workflow": "document_summary"
  }
}

pii_lookup_templates references saved Eve Read templates. Lookup-derived values are request-scoped and are not persisted back into organization or key dictionaries. Telemetry records safe identifiers, statuses, and counts only.

Governance Feature Kinds

The generic feature-record API accepts these feature kinds:

Feature kindUse it for
policy_simulationPromptless previews of stored content policies and access boundaries against safe request metadata.
approval_requestHuman approval or attestation records with guarded approve/reject transitions.
evidence_pack_templateReusable promptless export templates.
entitlement_sync_jobIdP, SCIM, or import sync metadata for auth-group membership.
resource_controlPromptless resource labels and allowed-group controls.
model_eval_jobModel evaluation or drift job metadata.
data_quality_checkEndpoint or template quality/provenance checks.
dashboard_viewCurated dashboard-view records over safe telemetry sources.
dlp_scanDLP scan metadata that reuses content profiles and safe counts.

Configuration And Catalogs

MethodRoutePurpose
GET/api/v1/llm/assistantsList assistants.
GET/api/v1/llm/system-promptsList system prompts.
GET/api/v1/llm/skillsList skills.
GET/api/v1/llm/endpointsList chat endpoints.
GET/api/v1/llm/recipesList recipes.
GET/api/v1/llm/marketplace/searchSearch marketplace skills.
GET/api/v1/llm/tools_endpointsList tool endpoints.
POST/api/v1/llm/tools_endpointsRegister a tool endpoint.
DELETE/api/v1/llm/tools_endpoints/{endpoint_id}Delete a tool endpoint.
GET/api/v1/llm/toolsList tools.
GET/api/v1/llm/pricingReturn LLM pricing data.
GET/api/v1/llm/cost/timeseriesReturn cost time series.
GET/api/v1/llm/cost/work-metadataReturn cost metadata.

Credentials

MethodRoutePurpose
GET/api/v1/llm/credentialsList credentials.
POST/api/v1/llm/credentialsCreate a credential.
PATCH/api/v1/llm/credentials/{credential_id}Update a credential.
DELETE/api/v1/llm/credentials/{credential_id}Delete a credential.
POST/api/v1/llm/credentials/dbRegister a database credential.
GET/api/v1/llm/credentials/db/{endpoint_uuid}Get a database credential.
DELETE/api/v1/llm/credentials/db/{endpoint_uuid}Delete a database credential.

Projects, Conversations, And Notifications

MethodRoutePurpose
GET/api/v1/llm/conversationsList conversations.
GET/api/v1/llm/conversations/{conversation_id}Get conversation detail.
DELETE/api/v1/llm/conversations/{conversation_id}Delete a conversation.
GET/api/v1/llm/conversations/{conversation_id}/settingsGet conversation settings.
PATCH/api/v1/llm/conversations/{conversation_id}/settingsUpdate conversation settings.
PATCH/api/v1/llm/conversations/{conversation_id}/projectAssign conversation to a project.
GET/api/v1/llm/projectsList projects.
POST/api/v1/llm/projectsCreate a project.
DELETE/api/v1/llm/projects/{project_uuid}Delete a project.
GET/api/v1/llm/notificationsList agent notifications.
POST/api/v1/llm/notifications/{notification_id}/readMark an agent notification read.

Admin LLM APIs

MethodRoutePurpose
GET/api/v1/admin/llm/system-promptsList admin system prompts.
PUT/api/v1/admin/llm/system-prompts/{prompt_key}Upsert an admin system prompt.
GET/api/v1/admin/llm/skillsList admin skills.
POST/api/v1/admin/llm/skillsCreate an admin skill.
PATCH/api/v1/admin/llm/skills/{skill_id}Update an admin skill.
DELETE/api/v1/admin/llm/skills/{skill_id}Delete an admin skill.
POST/api/v1/admin/llm/marketplace/importImport marketplace skills.
GET/api/v1/admin/llm/marketplace/updatesCheck marketplace updates.
POST/api/v1/admin/llm/marketplace/update/{skill_id}Update one marketplace skill.
Last updated: July 10, 2026