Agents

Manage agent primitives.

List agents across the projects you can access, or edit definitions within a project. To start an agent run, use POST /runs with project_id and target: { type: "agent", id }.

Agents · Prompts · Tools · Skills · Resources · Tasks · Workflows

Agents

List agents you can access across projects. Each result includes the project needed to locate its definition.

Browse agent templates. Use agent installation to add a selected template.

Configure agent definitions, capabilities, labels, avatars, and installations. Use the run endpoints to start and monitor agent runs.

Read project capabilities and the capabilities enabled for an agent.

Search tools that can be attached to agents.

List, create, update, or delete labels on an agent.

Generate or read agent avatars.

Install or remove agents from selected projects.

EndpointMethodsDescription
/projects/{project_reference}/agentsGET, POSTList agents; Create agent
/agentsGETList agents across projects
/projects/{project_reference}/agents/{agent_id}/cardGETGet agent
/projects/{project_reference}/agents/{agent_id}GET, PUT, DELETEGet agent source; Update agent; Delete agent
/projects/{project_reference}/agents/{agent_id}/labelsGET, POSTList agent labels; Create agent label
/projects/{project_reference}/agents/{agent_id}/labels/{label_id}PUT, DELETEUpdate agent label; Delete agent label
/agent-templatesGETList agent templates
/projects/{project_reference}/agent-tool-referencesGETSearch attachable agent tools
/projects/{project_reference}/agents/{agent_id}/avatar.svgGETGet agent avatar
/projects/{project_reference}/agents/{agent_id}/avatarPOSTCreate agent avatar
/projects/{project_reference}/agents/{agent_id}/capabilitiesGETGet agent capabilities
/projects/{project_reference}/definitionsGETSearch project definitions
/projects/{project_reference}/capabilitiesGETGet capabilities
/projects/{project_reference}/agents/{agent_id}/installPOST, DELETEInstall agent; Uninstall agent
/projects/{project_reference}/agents/{agent_id}/install-selectedPOSTInstall agents

Prompts

Manage prompts stored in project source. List prompts, read their source, and edit supported fields for the selected source version.

EndpointMethodsDescription
/projects/{project_reference}/promptsGET, POSTList prompts; Create prompt
/projects/{project_reference}/prompts/{prompt_id}GET, PUT, DELETEGet prompt; Update prompt; Delete prompt
/projects/{project_reference}/prompts/{prompt_id}/sourceGETRead prompt source

Tools

Manage tool definitions in project source. Use integration tool endpoints to discover and invoke connected-service tools.

EndpointMethodsDescription
/projects/{project_reference}/toolsGET, POSTList tools; Create tool
/projects/{project_reference}/tools/{tool_id}GET, PUT, DELETEGet tool; Update tool; Delete tool
/projects/{project_reference}/tools/{tool_id}/sourceGETRead tool source

Skills

Manage skills stored in project source. List skills, read their source, and edit the fields supported by the selected source and definition format.

EndpointMethodsDescription
/projects/{project_reference}/skillsGET, POSTList skills; Create skill
/projects/{project_reference}/skills/{skill_id}GET, PUT, DELETEGet skill; Update skill; Delete skill
/projects/{project_reference}/skills/{skill_id}/sourceGETRead skill source

Resources

Create and edit project resources, the MCP resource definitions stored in project source, and read their source. Manage servers and other deployment infrastructure through the Deployment API.

EndpointMethodsDescription
/projects/{project_reference}/resourcesGET, POSTList project resources; Create project resource
/projects/{project_reference}/resources/{resource_id}GET, PUT, DELETEGet project resource; Update project resource; Delete project resource
/projects/{project_reference}/resources/{resource_id}/sourceGETRead project resource source

Tasks

Manage task definitions stored in project source. List definitions, read their source, and edit supported fields. To start a task run, use POST /runs with project_id and target: { type: "task", id }.

EndpointMethodsDescription
/projects/{project_reference}/tasksGET, POSTList tasks; Create task
/projects/{project_reference}/tasks/{task_id}GET, PATCH, DELETEGet task; Update task; Delete task
/projects/{project_reference}/tasks/{task_id}/sourceGETRead task source

Workflows

Manage workflow definitions stored in project source. List definitions, read their source, and edit supported fields. To start a workflow run, use POST /runs with project_id and target: { type: "workflow", id }.

EndpointMethodsDescription
/projects/{project_reference}/workflowsGET, POSTList workflows; Create workflow
/projects/{project_reference}/workflows/{workflow_id}GET, PATCH, DELETEGet workflow; Update workflow; Delete workflow
/projects/{project_reference}/workflows/{workflow_id}/sourceGETRead workflow source

Back to REST API reference