Agent Operations
Manageand operate agents. These endpoints allow you to create, retrieve, update, delete, and interact with agents through chats and background tasks.
API Layer: Create a new Agent
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589Request model for creating a workflow. Only includes fields that should be provided by the frontend.
Source type: 'emoji' or 'url'
Raw icon value: emoji char, full URL, or gallery key
Hex background color behind the icon
#FFFWorkflow mode, e.g., chat or job
jobPossible values: Agent type (single-agent, multi-agent) - legacy types (flow, instruction, tool) are deprecated
single-agentPossible values: Workflow name
test_workflow_nameWorkflow description
""Example: test_descriptionList of tags
[]Example: test_tagIndicates if the item is marked as favorite
falseExtend properties
{}Successful Response
Validation Error
API Layer: Retrieve a list of Agents with pagination and filtering.
Current page number
1Items per page
20Filter by favorite status
Filter by tags
Filter by mode (flow-chat | flow-job | instruction-chat | multi-agent-flow-chat | multi-agent-flow-job | multi-agent-instruction-chat)
Filter by name (fuzzy match)
order by: 'recent'(default) or 'oldest'
recentExclude draft agents
falseFilter by agent ids
Filter by agent type ('single-agent' | 'multi-agent')
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589Successful Response
Validation Error
API Layer: Retrieve a Agent by ID
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589Successful Response
Validation Error
API Layer: Update an existing Agent
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589Type of icon used
emojiIcon representation
🤖Background color of the icon
#EFF1F5Workflow name
test_workflow_nameWorkflow description
test_descriptionList of tags
test_tagIndicates if the item is marked as favorite
Workflow status
ACTIVEAB test config ID
Indicates if AB testing is enabled
Extend properties
{}Usage guide
Successful Response
Validation Error
API Layer: Delete a Agent by ID
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589Successful Response
Validation Error
API Layer: Invoke a Agent
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589""Input variables
{"var1":"1","var2":2}false[]wfx{}Successful Response
Validation Error
API Layer: Resume Invoke a Agent
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589""Input variables
{"var1":"1","var2":2}false[]wfx{}Successful Response
Validation Error
API Layer: Invoke a Agent
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589""Input variables
{"var1":"1","var2":2}false[]wfx{}Successful Response
Validation Error
Last updated
Was this helpful?