Observability
List conversations
Threads and sessions with activity in the window, newest activity first, keyset paged with after = the previous page’s next_cursor (which pins the first page’s window end).
GET
/
v1
/
observability
/
conversations
List conversations
curl --request GET \
--url https://api.veri.studio/v1/observability/conversations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/observability/conversations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/observability/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"has_more": true,
"data": [
{
"id": "<string>",
"kind": "<string>",
"agent": {
"key": "<string>",
"name": "<string>",
"kind": "<string>"
},
"status": "<string>",
"turns": 123,
"llm_calls": 123,
"tool_calls": 123,
"tool_errors": 123,
"errors": 123,
"prompt_tokens": 123,
"cached_prompt_tokens": 123,
"completion_tokens": 123,
"started_at": "2023-11-07T05:31:56Z",
"last_activity_at": "2023-11-07T05:31:56Z",
"span_strip": [
{
"kind": "<string>",
"ms": 123,
"error": true
}
],
"scores": {
"total": 123,
"failed": 123,
"evaluators": [
"<string>"
]
},
"title": "<string>",
"preview": "<string>",
"deployment_id": "<string>",
"thread_id": "<string>",
"session_id": "<string>",
"environment_id": "<string>",
"cost_usd": 123
}
],
"next_cursor": "<string>"
}Authorizations
Query Parameters
List conversations
curl --request GET \
--url https://api.veri.studio/v1/observability/conversations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/observability/conversations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/observability/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"has_more": true,
"data": [
{
"id": "<string>",
"kind": "<string>",
"agent": {
"key": "<string>",
"name": "<string>",
"kind": "<string>"
},
"status": "<string>",
"turns": 123,
"llm_calls": 123,
"tool_calls": 123,
"tool_errors": 123,
"errors": 123,
"prompt_tokens": 123,
"cached_prompt_tokens": 123,
"completion_tokens": 123,
"started_at": "2023-11-07T05:31:56Z",
"last_activity_at": "2023-11-07T05:31:56Z",
"span_strip": [
{
"kind": "<string>",
"ms": 123,
"error": true
}
],
"scores": {
"total": 123,
"failed": 123,
"evaluators": [
"<string>"
]
},
"title": "<string>",
"preview": "<string>",
"deployment_id": "<string>",
"thread_id": "<string>",
"session_id": "<string>",
"environment_id": "<string>",
"cost_usd": 123
}
],
"next_cursor": "<string>"
}
