Andy Developer Docs

Workspaces and Agents

Create and operate Andy's tenant and advisory Agent resources.

Outcome

Inspect one Workspace, then create and configure an Agent inside its tenant boundary.

Prerequisites

  • A ready User session or allowed Workspace API Key.
  • The exact Workspace ID or slug.

Copy-paste workflow

andy workspace list --json
andy workspace inspect --workspace <workspace-id> --json
andy workspace entitlements --workspace <workspace-id> --json
andy agent create --workspace <workspace-id> --name "Support Agent" --language en --json
andy agent configure --workspace <workspace-id> --agent <agent-id> --instructions "Answer only from reviewed Knowledge." --json
andy agent configure --workspace <workspace-id> --agent <agent-id> --tone formal --creativity predictable --json
andy agent configure --workspace <workspace-id> --agent <agent-id> --paused true --json

--paused true pauses an Agent without deleting it or disconnecting a Channel, as the switch beside "Probar agente" does in the App: messages are still stored and your team can reply, but the Agent sends no automatic reply and makes no booking in chat. Test Chat and the Booking Page keep working. --paused false resumes it; messages that arrived while it was paused get no automatic reply. agent inspect shows configuration.pausedAt.

A Workspace owns membership, roles, Entitlements, Limits, API Keys, Agents, and Usage. An Agent owns reviewed Knowledge, Public Chat, and Widget configuration. Agent deletion is soft and requires its exact ID plus confirmation:

andy agent delete --workspace <workspace-id> --agent <agent-id> --yes --json

Machine-readable verification

andy workspace inspect --workspace <workspace-id> --json
andy agent inspect --workspace <workspace-id> --agent <agent-id> --json

Confirm the returned workspace.id, agent.workspaceId, agent.status, and meta.requestId. All reads and writes recheck identity, role, scope, Entitlement, ownership, and Limits.

Next step

Add reviewed sources through Knowledge.

On this page