Agents
Create Agent
Changed onCreate a new agent.
post/v1/agents
Request
- Base URLhttps://api.bey.dev
- URLhttps://api.bey.dev/v1/agents
- AuthAPI key in header x-api-key
Request body
Example request
{
"name": "Jarvis",
"avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
"system_prompt": "You are a helpful assistant.",
"greeting": "Hello!",
"max_session_length_minutes": 30
}Response
Created Agent with ID
Example response
{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"name": "Jarvis",
"avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
"system_prompt": "You are a helpful assistant.",
"greeting": "Hello!",
"max_session_length_minutes": 30
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info