API Reference
Libraries
API Overview
Account
Manage the authenticated account. Accounts are the top-level organizational unit and contain one or more workspaces.
Rotates the webhook signing key for the account
Agents
Manage AI agents within a workspace. Agents define AI behavior and tool access.
List agents
Create a new agent
Get an agent by ID
Delete an agent
Update an agent
AgentsFeedback
Manage AI agents within a workspace. Agents define AI behavior and tool access.
List feedback for an agent
AgentsWebhook Deliveries
Manage AI agents within a workspace. Agents define AI behavior and tool access.
List webhook deliveries
AgentsVariations
Manage variations of an agent and their tool, sub-agent, and memory layer assignments.
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
Attach a memory layer to a variation
Update a variation's memory layer assignment
Remove a memory layer assignment from a variation
AgentsSchedules
Manage recurring schedules attached to agents. Schedules trigger objectives on a cadence defined by AgentScheduleSpec.Schedule.
List schedules
Create a new schedule
Get a schedule by ID
Delete a schedule
Update a schedule
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
Manage memory layers and their entries. Layers are named containers that can be composed into an objective’s memory stack; entries are the keyed values within a layer. System-managed layers (e.g., episodic layers created by the runtime) cannot be mutated through this API.
List memory layers
Create a new memory layer
Get a memory layer by ID
Update a memory layer
Delete a memory layer
Memory LayersEntries
Manage memory layers and their entries. Layers are named containers that can be composed into an objective’s memory stack; entries are the keyed values within a layer. System-managed layers (e.g., episodic layers created by the runtime) cannot be mutated through this API.
List memory entries
Create a new memory entry
Get a memory entry by ID
Update a memory entry
Delete a memory entry
Uploads
Issue short-lived presigned URLs for direct client-to-object-storage uploads. Created uploads can be referenced by id when creating or updating resources that accept binary content (e.g., MemoryEntry).
Create an upload
Get an upload by ID
Models
Manage LLM models available to a workspace. Models represent provider and family pairs (e.g., “anthropic/claude-sonnet-4.6”). Workspaces are seeded with the supported models and you can enable or disable each one.
List models
Get a model by ID
Set model status
Search
Search for tools or tool sets
Tool Sets
Manage tool sets and the tools they contain. Tool sets group related tools, and tools define specific capabilities available to agents.
When a tool set is managed, only API key actors can modify its tools; human (profile) actors cannot.
List tool sets
Create a new tool set
Get a tool set by ID
Update a tool set
Delete a tool set
Get consumed OpenAPI spec
List tool set events
Tool SetsTools
Manage tool sets and the tools they contain. Tool sets group related tools, and tools define specific capabilities available to agents.
When a tool set is managed, only API key actors can modify its tools; human (profile) actors cannot.
List tools
Create a new tool
Get a tool by ID
Update a tool
Delete a tool
API Keys
Issue, rotate, and revoke API keys for the account, and grant or revoke each key’s access to individual workspaces.
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
API KeysAccess
Issue, rotate, and revoke API keys for the account, and grant or revoke each key’s access to individual workspaces.
Grant an API key access to a workspace
Revoke an API key's access to a workspace
List the workspaces an API key has access to
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
Manage workspaces within an account. Workspaces provide organizational grouping and isolation for resources such as agents, tools, and API keys.
This is the workspace-scoped, end-user surface. Administrative operations (create / archive workspaces, manage members) live in WorkspaceAdminService under /v1/account/workspaces and require the admin role.
List workspaces
Get the current workspace
Workspace Admin
Administer workspaces across the account: create and archive workspaces and manage their membership. These operations are account-scoped and require the admin role (a token whose profile holds the WorkOS admin role); they live under /v1/account/workspaces rather than the workspace-scoped /v1/workspaces tree so an admin can manage any workspace in the account, including ones they are not themselves a member of.
List all workspaces in the account
Create a workspace
Get a workspace by ID
Update a workspace
Archive a workspace
Workspace AdminMembers
Administer workspaces across the account: create and archive workspaces and manage their membership. These operations are account-scoped and require the admin role (a token whose profile holds the WorkOS admin role); they live under /v1/account/workspaces rather than the workspace-scoped /v1/workspaces tree so an admin can manage any workspace in the account, including ones they are not themselves a member of.
List workspace members
Add a member to a workspace
Remove a member from a workspace
Workspace AdminProfiles
Administer workspaces across the account: create and archive workspaces and manage their membership. These operations are account-scoped and require the admin role (a token whose profile holds the WorkOS admin role); they live under /v1/account/workspaces rather than the workspace-scoped /v1/workspaces tree so an admin can manage any workspace in the account, including ones they are not themselves a member of.
Search account profiles
Webhooks
Unwrap
Unsafe Unwrap
Bulk Workspace Resources
Apply a declarative bundle of workspace resources — tool sets, memory layers, agents, variations, assignments, and schedules — in a single asynchronous operation.
Apply a workspace resource bundle
Get a bulk workspace apply operation
List bulk workspace apply operations
Bulk Workspace ResourcesResults
Apply a declarative bundle of workspace resources — tool sets, memory layers, agents, variations, assignments, and schedules — in a single asynchronous operation.