Skip to content

Agents API

Manage content agents, their automation assignments, and execution lifecycle.

Prefix: /api/agents

Endpoints

Agent CRUD

MethodPathDescriptionRole
GET/List all agents for the current environmentEditor+
GET/{id}Get agent detailsEditor+
POST/Create a new agentEditor+
PUT/{id}Update agent configurationEditor+
DELETE/{id}Delete an agentEditor+

Assignments

MethodPathDescriptionRole
POST/{id}/assign-automationAssign a search phrase or web source to an agentEditor+
POST/{id}/assign-plannerAssign an SEO campaign planner to an agentEditor+
DELETE/{id}/unassignRemove all automation assignments from an agentEditor+

Execution

MethodPathDescriptionRole
POST/{id}/runStart agent execution (generates and publishes content)Editor+
POST/{id}/stopStop a running agentEditor+
POST/queue-allQueue all eligible agents for executionEditor+
POST/stop-allStop all running agentsEditor+

Stats & Sync

MethodPathDescriptionRole
GET/statsGet agent statistics (total, running, idle, errored)Editor+
POST/{id}/sync-avatarSync agent avatar from the publishing platformEditor+

UniSync Documentation