Skip to main content
GET
/
v1
/
agents
/
{id}
Retrieve Agent
curl --request GET \
  --url https://api.example.com/v1/agents/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "avatar_id": "<string>",
  "system_prompt": "<string>",
  "language": "en",
  "greeting": "Hello!",
  "max_session_length_minutes": 30,
  "capabilities": [
    {
      "type": "webcam_vision"
    }
  ],
  "llm": {
    "type": "openai"
  }
}

Authorizations

x-api-key
string
header
required

Your Beyond Presence API Key.

Path Parameters

id
string
required

Agent ID.

Response

Requested Agent

Response model for an agent.

id
string
required

Unique identifier of the object in the database.

name
string
required

Display name to use. Also used when addressed in conversations.

Required string length: 1 - 100
avatar_id
string
required

ID of avatar to use.

Required string length: 1 - 100
system_prompt
string
required

System prompt to use.

Required string length: 1 - 10000
language
enum<string> | null

Language to use.

Available options:
ar,
bn,
bg,
zh,
cs,
da,
nl,
en,
en-AU,
en-GB,
en-US,
fi,
fr,
fr-CA,
fr-FR,
de,
el,
hi,
hu,
id,
it,
ja,
kk,
ko,
ms,
no,
pl,
pt,
pt-BR,
pt-PT,
ro,
ru,
sk,
es,
sv,
tr,
uk,
ur,
vi
Example:

"en"

greeting
string | null

What to say when a call starts.

Required string length: 1 - 1000
Example:

"Hello!"

max_session_length_minutes
integer | null

Maximum session length in minutes.

Required range: 0 < x <= 90
Example:

30

capabilities
(WebcamVisionAgentCapability · object | WakeupModeAgentCapability · object)[]

Extra capabilities to manage calls.

Agent capability to see user camera feed.

llm
OpenaiAgentLlm · object

Configuration for LLM to use.

Example:
{ "type": "openai" }