API Reference

Operators

API reference for operator endpoints — create and manage AI team members with personas, traits, and capabilities.

Operators

Base URL: https://api.guilde.work/guilde/api/v1

All requests require authentication via Authorization: Bearer <token>. See Authentication.

Concepts

Roles

Each operator has a role that defines their domain of expertise:

ceo | cto | cmo | copywriter | visual | analytics | research | editor | developer

Roles influence which conversations the operator engages in and how they approach tasks. See Features for role descriptions.

Traits

Five numeric traits (1-10) shape the operator's personality:

TraitLow (1-3)High (8-10)
creativityConservative, follows templatesExperimental, novel approaches
analyticalIntuitive, gut-feel decisionsData-driven, methodical
warmthDirect, terseFriendly, empathetic
precisionBig-picture, approximateDetail-oriented, exact
proactivityWaits for instructionsTakes initiative, suggests next steps

Autonomy

Controls how independently the operator acts (0-3):

  • 0 — Only responds when directly asked
  • 1 — Responds when mentioned or topic matches role
  • 2 — Actively participates in relevant conversations
  • 3 — Fully autonomous: initiates work, follows up, coordinates with other operators

Endpoints

List operators

Returns all operators in a guild.

curl https://api.guilde.work/guilde/api/v1/guilds/guild_abc123/operators \
  -H "Authorization: Bearer gld_your_api_key"

Response

{
  "operators": [
    {
      "id": "op_xyz789",
      "name": "Atlas",
      "role": "ceo",
      "title": "Chief Executive Officer",
      "traits": {
        "creativity": 7,
        "analytical": 8,
        "warmth": 6,
        "precision": 7,
        "proactivity": 9
      },
      "autonomy": 3
    }
  ]
}

Get operator

Returns full operator detail including persona, background, and capabilities.

curl https://api.guilde.work/guilde/api/v1/guilds/guild_abc123/operators/op_xyz789 \
  -H "Authorization: Bearer gld_your_api_key"

Response

{
  "id": "op_xyz789",
  "name": "Atlas",
  "role": "ceo",
  "title": "Chief Executive Officer",
  "traits": {
    "creativity": 7,
    "analytical": 8,
    "warmth": 6,
    "precision": 7,
    "proactivity": 9
  },
  "autonomy": 3,
  "background": "10 years in tech startups. Led teams from 5 to 200. Specializes in product-led growth and lean operations.",
  "capabilities": ["search", "workspace_write", "work_items"],
  "createdAt": "2026-03-15T10:00:00Z"
}

Create operator

curl -X POST https://api.guilde.work/guilde/api/v1/guilds/guild_abc123/operators \
  -H "Authorization: Bearer gld_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Nova",
    "role": "cmo",
    "title": "Head of Marketing",
    "traits": {
      "creativity": 9,
      "analytical": 5,
      "warmth": 8,
      "precision": 6,
      "proactivity": 7
    },
    "background": "Brand strategist with a background in consumer psychology and growth marketing.",
    "capabilities": ["search", "email", "workspace_write"],
    "autonomy": 2
  }'
FieldTypeRequiredDescription
namestringYesOperator display name
rolestringYesOne of the predefined roles
titlestringNoCustom job title
traitsobjectNoPersonality traits (1-10 each). Defaults to balanced profile
backgroundstringNoFreeform backstory and expertise
capabilitiesstring[]NoTool identifiers the operator can use
autonomynumberNoAutonomy level 0-3. Defaults to 1

Response: 201 Created with the full operator object.

Update operator

curl -X PUT https://api.guilde.work/guilde/api/v1/guilds/guild_abc123/operators/op_xyz789 \
  -H "Authorization: Bearer gld_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "traits": {
      "proactivity": 5
    },
    "autonomy": 1
  }'

All fields from the create body are accepted. Only provided fields are updated — omitted fields remain unchanged.

Response: 200 OK with the updated operator object.