Debriefer

Update an agent

PATCH
/api/v1/agents/{id}

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://loading/api/v1/agents/agt_1234567890abcdef" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "organization_id": "string",
  "test_mode": true,
  "name": "string",
  "description": "string",
  "persona": {
    "system_prompt": "string",
    "tone": "conversational",
    "language": "string"
  },
  "voice": {
    "provider": "string",
    "voice_id": "string",
    "speed": 0.5
  },
  "techniques": [
    "funnel"
  ],
  "probing_depth": "light",
  "boundaries": {
    "max_follow_ups_per_question": 0,
    "off_topic_handling": "gentle_redirect",
    "sensitive_topics": [
      "string"
    ]
  },
  "model_config": {
    "generation": {
      "provider": "anthropic",
      "model": "string"
    },
    "assessment": {
      "provider": "anthropic",
      "model": "string"
    }
  },
  "metadata": {
    "property1": null,
    "property2": null
  },
  "created_at": "string",
  "updated_at": "string",
  "object": "agent"
}
Empty