Agent Operations
Manageand operate agents. These endpoints allow you to create, retrieve, update, delete, and interact with agents through chats and background tasks.
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
job可能的值: Agent type (single-agent, multi-agent) - legacy types (flow, instruction, tool) are deprecated
single-agent可能的值: 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
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
Paginated response for flows.
Current page number
Number of items per page
Total number of items
Total number of pages
Whether there is a next page
Validation Error
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589Successful Response
Response model for created workflow, which includes all fields of AgentItem.
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
job可能的值: Agent type (single-agent, multi-agent) - legacy types (flow, instruction, tool) are deprecated
single-agentWorkflow name
test_workflow_nameWorkflow description
""Example: test_descriptionExtend properties
{"opening_statement":"","suggested_questions":[],"suggested_questions_after_answer":{"enabled":false},"text_to_speech":{"enabled":false,"language":"","voice":""},"speech_to_text":{"enabled":false},"retriever_resource":{"enabled":false},"sensitive_word_avoidance":{"enabled":false},"file_upload":{"allowed_file_extensions":[],"allowed_file_types":["image","video","audio","document"],"allowed_file_upload_methods":["local_file","remote_url"],"enabled":true,"fileUploadConfig":{"audio_file_size_limit":50,"batch_count_limit":5,"file_size_limit":15,"image_file_size_limit":10,"video_file_size_limit":100,"workflow_file_upload_limit":10},"image_config":{"detail":"low"},"number_limits":4}}Example: {"file_upload":{"enabled":true}}List of tags
[]Example: test_tagIndicates if the item is marked as favorite
falseExtend properties
{}Workflow ID
22a976a1-4f6d-4357-a167-26684daa60c5Tenant ID of creator
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID of creator
da114de3-d7e6-4161-bc55-0ce85dbee589Workflow status
ACTIVEExample: ACTIVEWorkflow status
Definition id
definition_type
AB test config ID
Indicates if AB testing is enabled
falseUsage guide
Resource visibility
Agent definition entity
Variables
Validation Error
Successful Response
Response model for created workflow, which includes all fields of AgentItem.
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
job可能的值: Agent type (single-agent, multi-agent) - legacy types (flow, instruction, tool) are deprecated
single-agentWorkflow name
test_workflow_nameWorkflow description
""Example: test_descriptionExtend properties
{"opening_statement":"","suggested_questions":[],"suggested_questions_after_answer":{"enabled":false},"text_to_speech":{"enabled":false,"language":"","voice":""},"speech_to_text":{"enabled":false},"retriever_resource":{"enabled":false},"sensitive_word_avoidance":{"enabled":false},"file_upload":{"allowed_file_extensions":[],"allowed_file_types":["image","video","audio","document"],"allowed_file_upload_methods":["local_file","remote_url"],"enabled":true,"fileUploadConfig":{"audio_file_size_limit":50,"batch_count_limit":5,"file_size_limit":15,"image_file_size_limit":10,"video_file_size_limit":100,"workflow_file_upload_limit":10},"image_config":{"detail":"low"},"number_limits":4}}Example: {"file_upload":{"enabled":true}}List of tags
[]Example: test_tagIndicates if the item is marked as favorite
falseExtend properties
{}Workflow ID
22a976a1-4f6d-4357-a167-26684daa60c5Tenant ID of creator
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID of creator
da114de3-d7e6-4161-bc55-0ce85dbee589Workflow status
ACTIVEExample: ACTIVEWorkflow status
Definition id
definition_type
AB test config ID
Indicates if AB testing is enabled
falseUsage guide
Resource visibility
Agent definition entity
Variables
Validation Error
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
Response model for created workflow, which includes all fields of AgentItem.
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
job可能的值: Agent type (single-agent, multi-agent) - legacy types (flow, instruction, tool) are deprecated
single-agentWorkflow name
test_workflow_nameWorkflow description
""Example: test_descriptionExtend properties
{"opening_statement":"","suggested_questions":[],"suggested_questions_after_answer":{"enabled":false},"text_to_speech":{"enabled":false,"language":"","voice":""},"speech_to_text":{"enabled":false},"retriever_resource":{"enabled":false},"sensitive_word_avoidance":{"enabled":false},"file_upload":{"allowed_file_extensions":[],"allowed_file_types":["image","video","audio","document"],"allowed_file_upload_methods":["local_file","remote_url"],"enabled":true,"fileUploadConfig":{"audio_file_size_limit":50,"batch_count_limit":5,"file_size_limit":15,"image_file_size_limit":10,"video_file_size_limit":100,"workflow_file_upload_limit":10},"image_config":{"detail":"low"},"number_limits":4}}Example: {"file_upload":{"enabled":true}}List of tags
[]Example: test_tagIndicates if the item is marked as favorite
falseExtend properties
{}Workflow ID
22a976a1-4f6d-4357-a167-26684daa60c5Tenant ID of creator
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID of creator
da114de3-d7e6-4161-bc55-0ce85dbee589Workflow status
ACTIVEExample: ACTIVEWorkflow status
Definition id
definition_type
AB test config ID
Indicates if AB testing is enabled
falseUsage guide
Resource visibility
Agent definition entity
Variables
Validation Error
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cTenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589Successful Response
Validation Error
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
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
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
最后更新于
这有帮助吗?