API ReferenceAgents

Update agent

Update agent runtime fields (not workflow skeleton).

PATCH
/api/v1/console/agents/{agentId}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Team API key (prefix sk_). You may also send the key via X-Api-Key header.

In: header

Path Parameters

agentId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/api/v1/console/agents/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "message": "Success",  "data": {    "id": "string",    "name": "string",    "description": "string",    "workflow_id": "string",    "language": "en",    "persona": "professional",    "timezone": "UTC",    "logo": "http://example.com",    "business_name": "string",    "business_address": "string",    "business_email": "string",    "business_description": "string",    "test_channel_code": "string",    "status": "development",    "status_reason": "string",    "escalation_email": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}