Agents
AI agent management and execution
List all registered agents with their status
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
List of agents
Manually trigger an agent execution
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Request Body
application/jsonRequiredagentTypeRequiredstringType of agent to trigger
"DEAL_HEALTH" | "PIPELINE_ACCELERATION" | "ACCOUNT_INTELLIGENCE" | "OUTREACH_OPTIMIZATION" | "MEETING_PREP" | "COACHING" | "COMPETITIVE_INTELLIGENCE" | "NEXT_BEST_ACTION" | "WIN_CYCLE_ANALYZER" | "DATA_ENRICHMENT" | "WORKFLOW_AUTOMATION" | "LISTENING" | "REASONING" | "LEARN_MORE" | "EMAIL_ACTION" | "CRM_ACTION" | "MEETING_ACTION"entityTypestringEntity type to target (Lead, Opportunity, Account, etc.)
entityIdstringEntity ID to target
prioritystringExecution priority
"LOW" | "MEDIUM" | "HIGH" | "URGENT"metadataobjectAdditional metadata for the agent
Header Parameters
Idempotency-KeystringUnique key (a UUID is ideal) that makes this write safe to retry for 24 hours: a retry with the same body replays the original response (Idempotent-Replayed: true); the same key with a different body is a 409.
255Agent triggered
Whether agents run for the caller's organization
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Turn agents on or off for one organization (org OWNER/ADMIN for their own org, system ADMIN for any)
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Request Body
application/jsonRequiredagentsEnabledRequiredbooleanWhether agents may run for the organization
organizationIdstringTarget organization (system ADMIN only; defaults to the session org)
Header Parameters
Idempotency-KeystringUnique key (a UUID is ideal) that makes this write safe to retry for 24 hours: a retry with the same body replays the original response (Idempotent-Replayed: true); the same key with a different body is a 409.
255Get current queue status
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Queue status
Get pending alerts count by priority
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Pending alerts summary
Get alerts for the current user
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Query Parameters
agentTypestringFilter by agent type
"DEAL_HEALTH" | "PIPELINE_ACCELERATION" | "ACCOUNT_INTELLIGENCE" | "OUTREACH_OPTIMIZATION" | "MEETING_PREP" | "COACHING" | "COMPETITIVE_INTELLIGENCE" | "NEXT_BEST_ACTION" | "WIN_CYCLE_ANALYZER" | "DATA_ENRICHMENT" | "WORKFLOW_AUTOMATION" | "LISTENING" | "REASONING" | "LEARN_MORE" | "EMAIL_ACTION" | "CRM_ACTION" | "MEETING_ACTION"statusstring"PENDING" | "ACKNOWLEDGED" | "ACTIONED" | "DISMISSED" | "EXPIRED"prioritystring"LOW" | "MEDIUM" | "HIGH" | "URGENT"entityTypestringEntity type filter
entityIdstringEntity ID filter
daysnumberNumber of days to look back
7limitnumberMax results
50List of alerts
Update alert status (acknowledge, action, dismiss)
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Request Body
application/jsonRequiredstatusRequiredstringNew alert status
"ACKNOWLEDGED" | "ACTIONED" | "DISMISSED"notesstringNotes about the action taken
Path Parameters
alertIdRequiredstringHeader Parameters
Idempotency-KeystringUnique key (a UUID is ideal) that makes this write safe to retry for 24 hours: a retry with the same body replays the original response (Idempotent-Replayed: true); the same key with a different body is a 409.
255Alert updated
Delete an alert
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Path Parameters
alertIdRequiredstringAlert deleted
Agent-proposed actions for the caller's org
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Query Parameters
statusstring"PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "EXECUTING" | "COMPLETED" | "FAILED"actionTypestringAction type filter
daysnumberNumber of days to look back
7limitnumberMax results
50List of actions
Action counts by status for the caller's org (30d)
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Approve (and execute) or reject a pending action
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Request Body
application/jsonRequiredapprovedRequiredbooleanWhether to approve or reject the action
rejectionReasonstringReason for rejection (if rejected)
Path Parameters
actionIdRequiredstringHeader Parameters
Idempotency-KeystringUnique key (a UUID is ideal) that makes this write safe to retry for 24 hours: a retry with the same body replays the original response (Idempotent-Replayed: true); the same key with a different body is a 409.
255Action updated
Re-run a failed action
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Path Parameters
actionIdRequiredstringHeader Parameters
Idempotency-KeystringUnique key (a UUID is ideal) that makes this write safe to retry for 24 hours: a retry with the same body replays the original response (Idempotent-Replayed: true); the same key with a different body is a 409.
255Get agent execution history
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Query Parameters
agentTypestring"DEAL_HEALTH" | "PIPELINE_ACCELERATION" | "ACCOUNT_INTELLIGENCE" | "OUTREACH_OPTIMIZATION" | "MEETING_PREP" | "COACHING" | "COMPETITIVE_INTELLIGENCE" | "NEXT_BEST_ACTION" | "WIN_CYCLE_ANALYZER" | "DATA_ENRICHMENT" | "WORKFLOW_AUTOMATION" | "LISTENING" | "REASONING" | "LEARN_MORE" | "EMAIL_ACTION" | "CRM_ACTION" | "MEETING_ACTION"statusstring"PENDING" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED" | "RATE_LIMITED"daysnumberNumber of days to look back
7limitnumberMax results
50Execution history
Get details of a specific execution
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Path Parameters
executionIdRequiredstringExecution details
Get status of a specific agent
Authorization
AuthorizationRequiredBearer <token>Session token from the SalesOS web app.
In: header
X-API-Key<token>API key from Settings → API Keys. Authorization: ApiKey <key> is also accepted. Each operation lists the scope it needs under x-api-key-scopes.
In: header
Path Parameters
agentTypeRequiredstringAgent status