curl --request POST \
--url 'https://api.unify.ai/v0/assistant' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{
"first_name": "Ada",
"surname": "Lovelace",
"age": 28,
"weekly_limit": 15.75,
"max_parallel": 2
}'
{
"agent_id": "123",
"first_name": "Alice",
"surname": "Smith",
"age": 25,
"weekly_limit": 40.0,
"max_parallel": 3,
"created_at": "2025-04-25T12:00:00Z",
"updated_at": "2025-04-25T12:00:00Z"
}
Creates a new assistant for the authenticated user with the specified configuration.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
First name of the assistant
Weekly time limit for the assistant in hours
Maximum number of parallel tasks the assistant can handle
curl --request POST \
--url 'https://api.unify.ai/v0/assistant' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{
"first_name": "Ada",
"surname": "Lovelace",
"age": 28,
"weekly_limit": 15.75,
"max_parallel": 2
}'
{
"agent_id": "123",
"first_name": "Alice",
"surname": "Smith",
"age": 25,
"weekly_limit": 40.0,
"max_parallel": 3,
"created_at": "2025-04-25T12:00:00Z",
"updated_at": "2025-04-25T12:00:00Z"
}