PATCH
/
v0
/
assistant
/
{assistant_id}
/
config
curl --request PATCH \
  --url 'https://api.unify.ai/v0/assistant/<assistant_id>/config' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{
    "weekly_limit": 20.5,
    "max_parallel": 3
}'
{
    "agent_id": "123",
    "first_name": "Alice",
    "surname": "Smith",
    "age": 25,
    "weekly_limit": 45.0,
    "max_parallel": 4,
    "created_at": "2025-04-25T12:00:00Z",
    "updated_at": "2025-04-25T14:30:00Z"
}

Updates the configuration parameters of an existing assistant.

Authorizations

Authorization
string
required

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

Path Parameters

assistant_id
integer
required

Body

weekly_limit
number | null

Weekly time limit for the assistant in hours

max_parallel
integer | null

Maximum number of parallel tasks the assistant can handle

curl --request PATCH \
  --url 'https://api.unify.ai/v0/assistant/<assistant_id>/config' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{
    "weekly_limit": 20.5,
    "max_parallel": 3
}'
{
    "agent_id": "123",
    "first_name": "Alice",
    "surname": "Smith",
    "age": 25,
    "weekly_limit": 45.0,
    "max_parallel": 4,
    "created_at": "2025-04-25T12:00:00Z",
    "updated_at": "2025-04-25T14:30:00Z"
}