POST
/
orchestrate
/
agents
/
create-from-template
curl --request POST \
  --url http://localhost/api/v1/orchestrate/agents/create-from-template \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "category": "<string>",
  "version": "<string>",
  "description": "<string>",
  "spec": {
    "name": "<string>",
    "display_name": "<string>",
    "description": "<string>",
    "instructions": "<string>",
    "tools": [
      "<string>"
    ],
    "collaborators": [
      "<string>"
    ],
    "llm": "<string>",
    "style": "default",
    "supported_apps": [
      "slack/askhr"
    ],
    "glossary": [
      "<string>"
    ],
    "guidelines": [
      "<string>"
    ],
    "knowledge_base": [
      "<string>"
    ],
    "hidden": false,
    "structured_output": {},
    "custom_join_tool": "<string>",
    "agent_mapping": {}
  },
  "dependencies": {}
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

parent_agent_id

Body

application/json

Schema for creating an agent from template.

Response

200
application/json

Successful Response

The response is of type any.