Core concepts
The objects you meet in the API and how they relate: workspaces, agents, policy decisions, runs, receipts, placements and audit.
You can integrate with a handful of nouns. This page defines each one in the terms the API uses and links to its reference.
Workspace and members
A workspace is your organization's isolated environment. Agents, connections, receipts and audit entries belong to exactly one workspace, and every request is scoped to the workspace of the credential that made it. Requests never name a workspace; the server derives it from the credential. In responses the workspace appears as tenant.
Members sign in to the web workspace. Workspace admins also manage keys, models, budgets, retention and agent activation. An API key acts for the workspace with fixed scopes (read, run, admin) and never holds the workspace admin role. See Authentication and the Workspace API.
Agents, lifecycle and versions
An agent is a named configuration: purpose, authority level, data classes, model, skills, knowledge layers and connections. Its status is one of five values.
| Status | Meaning |
|---|---|
draft | Being edited. Reachable again from every other status. |
in_review | Submitted for review. |
approved | A workspace admin approved it after the required containment checks passed; a failed check refuses the change with 422. An agent created unchanged from a pre-approved template also starts here. |
published | A reviewed version is active. |
revoked | Withdrawn. Runs are refused. |
A new agent becomes published only when a workspace admin activates a reviewed version. From then on runs are held to that frozen active version: later edits to the draft do not widen what a run may do until a new version is activated. Admins can restrict, pause or revoke it. These pages call an agent that runs from an active version an activated agent.
The API reports activation as grantLifecycle (managed or legacy_unadopted) and activeGrant.state (available, paused, revoked or not_active). An activated agent reports managed. An agent published before managed activation existed keeps the published label and reports legacy_unadopted. API keys can read agents and their version history but cannot create, edit or transition them. See the Agents API.
Authority and the policy decision
Each agent has an authority level: answer, draft, recommend, prepare_action, execute_with_approval or execute_automatically. A level is a ceiling on what the agent may do. It is not a standing permission: every operation is still decided on its own.
- Default deny. Nothing is allowed unless it is granted.
- Every applicable layer must grant. The workspace, the agent version, the role, the user and, where they apply, the connection and local-permission layers must each allow the action. A layer that does not govern the action is left out; it does not count as a refusal.
- Any deny blocks. Rules about regulation, security, device posture and data classification can only refuse or add conditions. They never grant.
- Obligations are conditions attached to an allowed operation, such as
logging,approval,redactionorconfidence_label.
The result is an explainable decision: allow or deny, a reason_code, the layers that failed to grant, the deny rules that matched and the obligations attached. Governance and evidence describes the model; the Quickstart shows a decision.
Runs and receipts
A run is one request to an agent. A run writes a receipt when it completes, and also when policy, lifecycle or budget refuses it. The receipt holds the prompt and output, the model, the policy decision, placements, token counts, cost and latency where known, connector calls, a step timeline, and rawUploaded, which records whether raw documents were uploaded. A receipt also carries an assurance tier that separates runs the server enforced from records a device reported. See the Runs API and the Receipts API.
Placements
A placement is where an operation executes. Agent runs use cloud_model, cloud_connector, cloud_connector_write and local, which is the user's device. Data classes (public, internal, confidential, restricted, secrets) constrain placement: a run of an agent configured for restricted or secrets data is refused a cloud placement. The class is the one configured on the agent. The platform does not inspect content to classify it.
Connections, knowledge and skills
A connection links the workspace to an external system, such as Salesforce Marketing Cloud Engagement or Jira. A workspace admin authorizes it in the browser; credentials are stored encrypted and never returned. Binding a connection to an agent lets the agent call that system's tools, and each tool call is still decided individually. See the Integrations API and Connecting agents to MCP servers.
Knowledge is organized in five layers that an agent can include as context: domain, company (the key tenant in the API), role, user and task. Skills are reusable playbooks added to an agent's instructions. Neither grants authority. See the Knowledge and skills API.
Approvals and audit
Approval is enforced on individual connector tool calls. A call that requires approval does not execute until a workspace admin other than the requester approves it in the Review Queue. Only background runs can wait for that; synchronous and streaming runs refuse the call and carry on without it. A run's own decision can also list an approval obligation. On a run that makes no tool call, the obligation is recorded and nothing is held. API keys cannot approve or deny.
The audit log records governance actions, such as runs, key creation, configuration changes and approvals, as a hash-chained trail that a workspace admin can verify. Approvals and the audit log are documented in the Receipts API, and Export evidence for review shows how to read them.
How concepts map to the API
| Concept | Reference |
|---|---|
| Workspace, keys, settings | Workspace, Authentication |
| Agents and versions | Agents |
| Runs, streaming, background jobs, conversations | Runs |
| Receipts, approvals and audit | Receipts |
| Connections | Integrations, Connecting agents to MCP servers |
| Knowledge and skills | Knowledge and skills |
| Datasets and experiments | Evaluations |
| Monitoring and alerts | Monitoring |
Not every capability is reachable from every surface. Availability lists what is available over the REST API and through the MCP server.
Next steps
Something missing or unclear? Tell us and we will improve this page.