Agents
AgentService manages AI agents at the WORKSPACE level. Agents are workspace-scoped resources that define AI behavior and tool access. All operations are implicitly scoped to the workspace determined by the JWT token.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List agents
Create a new agent
Get an agent by ID
Delete an agent
Update an agent
ModelsExpand Collapse
Agent = object { metadata, spec, info }
Agent resource
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
Agent specification (user-provided configuration)
AgentInfo contains simple information about an agent for display or quick reference
Profile represents a human user at the account level. Profiles are account-scoped resources that can be associated with multiple workspaces through the Actor model. Authentication for profiles is handled via SSO/OAuth (WorkOS).
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
AgentInfo = object { createdBy, variationCount }
AgentInfo contains simple information about an agent for display or quick reference
Profile represents a human user at the account level. Profiles are account-scoped resources that can be associated with multiple workspaces through the Actor model. Authentication for profiles is handled via SSO/OAuth (WorkOS).
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
AgentSpec = object { status, variationSelectionMode, description, webhookEventsUrl }
Agent specification (user-provided configuration)
AgentsWebhook Deliveries
AgentService manages AI agents at the WORKSPACE level. Agents are workspace-scoped resources that define AI behavior and tool access. All operations are implicitly scoped to the workspace determined by the JWT token.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List webhook deliveries
ModelsExpand Collapse
WebhookDelivery = object { data, metadata }
Webhook delivery data
eventType: "OBJECTIVE_EVENT_TYPE_UNSPECIFIED" or "OBJECTIVE_EVENT_TYPE_USER_MESSAGE" or "OBJECTIVE_EVENT_TYPE_TOOL_APPROVAL_REQUESTED" or 9 more
The type of objective event that triggered this webhook delivery
httpStatusCode: number
Response details (no response_body to avoid storing large payloads)
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
WebhookDeliveryData = object { agentId, attemptCount, eventType, 11 more }
eventType: "OBJECTIVE_EVENT_TYPE_UNSPECIFIED" or "OBJECTIVE_EVENT_TYPE_USER_MESSAGE" or "OBJECTIVE_EVENT_TYPE_TOOL_APPROVAL_REQUESTED" or 9 more
The type of objective event that triggered this webhook delivery
httpStatusCode: number
Response details (no response_body to avoid storing large payloads)