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
ModelsExpand Collapse
agent: object { metadata, spec, info }
Agent resource
metadata: object { id, accountId, createdAt, 5 more }
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
spec: object { status, variationSelectionMode, description, webhookEventsUrl }
Agent specification (user-provided configuration)
info: optional object { createdBy, variationCount }
AgentInfo contains simple information about an agent for display or quick reference
createdBy: optional object { metadata, spec }
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).
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
agent_info: object { createdBy, variationCount }
AgentInfo contains simple information about an agent for display or quick reference
createdBy: optional object { metadata, spec }
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).
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
agent_spec: 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
webhook_delivery: object { data, metadata }
data: object { agentId, attemptCount, eventType, 11 more }
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
metadata: object { id, accountId, createdAt, 4 more }
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
webhook_delivery_data: 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