Agents

Agents

An agent belongs to one workspace and combines a model, a prompt, tools, skills, files and connections; each run acts as the caller in that workspace.

Building blocks

PartField
Modelmodel_config_id
Promptsystem_prompt (required); optional prompt_template_id
Runtime toolstool_names
Reusable instructionsenabled_skill_slugs, enabled_skill_set_slugs
Files knowledgeenabled_file_scope
Data and SaaS accessenabled_connection_ids
Remote toolsenabled_mcp_connection_ids

Agents in a workspace

GET /api/v1/agents-v2/agents/ returns the workspace's own agents and the platform agents installed in it. Add ?show_platform=true to include every other platform agent, with installed: false.

FieldMeaning
idIdentifies the agent in run and edit calls. Names can repeat; ids cannot
scope_visibilityspace: the workspace's own agent, and space_slug names the workspace. global: a platform agent from the Alomana catalog
installedFor a platform agent, whether it is installed in this workspace
is_defaultThe workspace's default agent, which POST /api/v1/agents-v2/agents/run-stream/ runs
is_workspace_requiredAlo, App Builder and Agent Builder: installed in every workspace and cannot be removed
catalog_kindCatalog metadata, not ownership. Use scope_visibility to tell the workspace's agents from platform agents

Authentication

Every request sends X-Space-Slug and one credential; see Authentication and API keys.

TaskAuth
Create, edit, delete and fork agents, from JSON or a ZIP bundle; export oneKey or bearer
Skills, skill sets, prompt templates and marketplace skillsKey or bearer
Run an agent; follow, read and cancel background runsKey or bearer
Apps: edit, open, secrets, copy and syncKey or bearer
Scheduled tasks; Slack installations: list, rename, removeKey or bearer
Chats: list, read, rename, delete and share; list or delete a chat's sandbox files; run a scheduled task now; install SlackBearer only

An API key on a bearer-only route gets 401 {"detail": "Not authenticated"}.

On this page