API Reference
Libraries
API Overview
Account
AccountService manages account-level operations. Accounts are the top-level organizational unit in the system. All operations are scoped to the authenticated account determined by the JWT token.
Authentication: Bearer token (JWT) Scope: Account-level operations
Rotates the webhook signing key for the account
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
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
Agent Variations
List variations
Create a new variation
Get a variation by ID
Delete a variation
Update a variation
Add an assignment to a variation
Remove an assignment from a variation
Objectives
List objectives
Create a new objective
Get an objective by ID
List objective events
Continue an objective
Cancel an objective
Compact an objective
List objective context windows
ObjectivesTools
List objective tools
ObjectivesTool Calls
List objective tool calls
Approve a tool call
Deny a tool call
ObjectivesTasks
List objective tasks
Get an objective task by ID
ObjectivesFeedback
Submit feedback for an objective
List feedback for an objective
Memory Layers
MemoryService manages memory layers and their entries at the WORKSPACE level. Layers are named containers that can be composed into an objective's memory stack; entries are the keyed values within a layer.
All operations are implicitly scoped to the workspace determined by the JWT token. System-managed layers (e.g., episodic layers created by the runtime) cannot be mutated through this API.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List memory layers
Create a new memory layer
Get a memory layer by ID
Update a memory layer
Delete a memory layer
Memory LayersEntries
MemoryService manages memory layers and their entries at the WORKSPACE level. Layers are named containers that can be composed into an objective's memory stack; entries are the keyed values within a layer.
All operations are implicitly scoped to the workspace determined by the JWT token. System-managed layers (e.g., episodic layers created by the runtime) cannot be mutated through this API.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List memory entries
Create a new memory entry
Get a memory entry by ID
Update a memory entry
Delete a memory entry
Uploads
UploadService issues short-lived presigned URLs for direct client-to-object- storage uploads at the WORKSPACE level. Created uploads can be referenced by id when creating or updating resources that accept binary content (e.g., MemoryEntry).
Authentication: Bearer token (JWT) Scope: Workspace-level operations
Create an upload
Get an upload by ID
Models
ModelService manages LLM models at the WORKSPACE level. Models represent available LLM providers and families (e.g., "anthropic/claude-sonnet-4.6"). Models are seeded into workspaces and can be enabled or disabled. All operations are implicitly scoped to the workspace determined by the JWT token.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List models
Get a model by ID
Set model status
Search
Search for tools or tool sets
Tool Sets
ToolService manages tool sets and tools at the WORKSPACE level. Tool sets group related tools, and tools define specific capabilities for agents. All operations are implicitly scoped to the workspace determined by the JWT token.
Note: When a ToolSet has managed=true, only API Key actors can modify its tools. Profile actors (humans) are restricted from modifying managed tool sets.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List tool sets
Create a new tool set
Get a tool set by ID
Update a tool set
Delete a tool set
List tool set events
Tool SetsTools
ToolService manages tool sets and tools at the WORKSPACE level. Tool sets group related tools, and tools define specific capabilities for agents. All operations are implicitly scoped to the workspace determined by the JWT token.
Note: When a ToolSet has managed=true, only API Key actors can modify its tools. Profile actors (humans) are restricted from modifying managed tool sets.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List tools
Create a new tool
Get a tool by ID
Update a tool
Delete a tool
API Keys
APIKeyService manages workspace-scoped API Keys. Each API key belongs to a single workspace, ensuring isolation between environments.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List API keys
Create a new API key
Get an API key by ID
Delete an API key
Update an API key
Rotate an API key
Workspace Secrets
List workspace secrets
Create a new workspace secret
Get a workspace secret by ID
Delete a workspace secret
Update a workspace secret
Workspaces
WorkspaceService manages workspaces at the ACCOUNT level. This service is responsible for creating and listing workspaces within an account. Workspaces provide organizational grouping for resources within an account.
Authentication: Bearer token (JWT) Scope: Account-level operations (manages workspaces themselves, not resources within workspaces)