Skip to main content
PUT
/
api
/
crew-templates
/
{template_id}
Update Template
curl --request PUT \
  --url https://api.example.com/api/crew-templates/{template_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "crew_config": {
    "agents": [
      {
        "role": "<string>",
        "goal": "<string>",
        "backstory": "<string>",
        "id": "<string>",
        "verbose": false,
        "allow_delegation": false,
        "tools": [],
        "use_default_mcps": true
      }
    ],
    "tasks": [
      {
        "description": "<string>",
        "agent_index": 0,
        "expected_output": "",
        "tools": []
      }
    ],
    "id": "<string>",
    "verbose": false,
    "process": "sequential"
  },
  "description": "",
  "tags": [
    "<string>"
  ],
  "is_shared": false
}
'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "crew_config": {
    "agents": [
      {
        "role": "<string>",
        "goal": "<string>",
        "backstory": "<string>",
        "id": "<string>",
        "verbose": false,
        "allow_delegation": false,
        "tools": [],
        "use_default_mcps": true
      }
    ],
    "tasks": [
      {
        "description": "<string>",
        "agent_index": 0,
        "expected_output": "",
        "tools": []
      }
    ],
    "id": "<string>",
    "verbose": false,
    "process": "sequential"
  },
  "tags": [
    "<string>"
  ],
  "is_shared": true,
  "created_by": "<string>",
  "updated_by": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

template_id
string<uuid>
required

Body

application/json

Request model for creating or updating a crew template.

name
string
required

Human-readable template name.

crew_config
CrewConfig · object
required

The full crew configuration to save.

description
string
default:""

Optional description.

tags
string[]

Tags for categorization.

is_shared
boolean
default:false

Whether this template is visible to all users.

Response

Successful Response

Response model for a crew template returned from the API.

id
string
required
name
string
required
description
string
required
crew_config
CrewConfig · object
required

Configuration model for a CrewAI crew with agents and tasks.

Attributes: id (str | None): Optional unique identifier for the crew. agents (List[AgentConfig]): List of agent configurations that make up the crew. tasks (List[TaskConfig]): List of task configurations to be executed by the crew. verbose (bool): Whether to enable detailed logging output. Defaults to False. process (str): Execution process type for tasks. Defaults to "sequential".

tags
string[]
required
is_shared
boolean
required
created_by
string
required
updated_by
string
required
created_at
string
required
updated_at
string
required