List Realtime Sessions.
GEThttps://api.gabber.dev/v1/realtime/list
List all Realtime Sessions.
Request
Query Parameters
page string
Page token for pagination
Header Parameters
x-human-id string
When using x-api-key authentication, this header is used to scope requests to a specific human.
Responses
- 200
- 400
- 500
Realtime Sessions fetched successfully
- application/json
- Schema
- Example (auto)
Schema
next_pagestring
The token for the next page of results, or null if there are no more pages.
total_countintegerrequired
The total number of items.
values object[]required
{
"next_page": "string",
"total_count": 0,
"values": [
{
"id": "string",
"state": "ended",
"created_at": "2024-07-29T15:51:28.071Z",
"ended_at": "2024-07-29T15:51:28.071Z",
"project": "string",
"human": "string",
"simulated": true,
"config": {
"general": {
"time_limit_s": 0,
"save_messages": true
},
"input": {
"interruptable": true,
"parallel_listening": false
},
"generative": {
"llm": {
"created_at": "2024-07-29T15:51:28.071Z",
"id": "string",
"name": "string",
"project": "string",
"type": "string",
"compliance": true,
"description": "string"
},
"voice_override": {
"created_at": "2024-07-29T15:51:28.071Z",
"id": "string",
"name": "string",
"language": "string",
"service": "string",
"model": "string",
"voice": "string",
"embeddings": [
0
],
"cartesia_voice_id": "string",
"elevenlabs_voice_id": "string",
"project": "string",
"human": "string",
"preview_url": "string",
"pricing": {
"price_per_second": "string",
"currency": "string",
"product_name": "string"
},
"tags": [
{
"name": "string",
"human_name": "string"
}
],
"_extra": {}
},
"persona": {
"created_at": "2024-07-29T15:51:28.071Z",
"description": "string",
"id": "string",
"image_url": "string",
"name": "string",
"project": "string",
"human": "string",
"gender": "male",
"tags": [
{
"human_name": "string",
"name": "string"
}
],
"voice": "string"
},
"scenario": {
"created_at": "2024-07-29T15:51:28.071Z",
"id": "string",
"name": "string",
"project": "string",
"prompt": "string",
"human": "string"
},
"context": {
"id": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"project": "string",
"human": "string",
"latest_messages": [
{
"id": "string",
"speaking_ended_at": "2024-07-29T15:51:28.071Z",
"speaking_started_at": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z",
"role": "assistant",
"realtime_session": "string",
"content": [
{
"type": "text",
"text": "string"
}
],
"tool_calls": [
{
"id": "string",
"type": "function",
"function": {
"name": "string",
"arguments": {}
}
}
]
}
]
},
"tool_definitions": [
{
"id": "string",
"name": "string",
"description": "string",
"parameters": [
{
"name": "string",
"description": "string",
"type": "string",
"required": true,
"default": "string"
}
],
"call_settings": {
"id": "string",
"destination": {
"type": "web_request",
"url": "string"
}
}
}
],
"_extra": {}
},
"output": {
"stream_transcript": true,
"speech_synthesis_enabled": true,
"answer_message": "string"
}
},
"data": [
{
"type": "caller_phone_number",
"value": "string"
}
],
"_extra": {}
}
]
}
Bad request
- application/json
- Schema
- Example (auto)
Schema
typestring
The type of the error.
Possible values: [usage_limit_exceeded
, project_disabled
, moderation_error
, invalid_input
]
messagestring
A human-readable message describing the error.
{
"type": "usage_limit_exceeded",
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (auto)
Schema
errorstring
Error message.
{
"error": "string"
}
Authorization: x-api-key
name: x-api-keytype: apiKeyin: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.gabber.dev/v1/realtime/list");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("x-api-key", "<x-api-key>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear