Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.pandaprobe.com/sessions \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.pandaprobe.com/sessions" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.pandaprobe.com/sessions', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.pandaprobe.com/sessions" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer <token>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
{ "items": [ { "session_id": "<string>", "trace_count": 123, "first_trace_at": "<string>", "last_trace_at": "<string>", "total_latency_ms": 123, "has_error": true, "user_id": "<string>", "tags": [ "<string>" ], "total_span_count": 0, "total_tokens": 0, "total_cost": 0 } ], "total": 123, "limit": 123, "offset": 123 }
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
List sessions for the current project.
Auth: Bearer + X-Project-ID | X-API-Key + X-Project-Name
Bearer
X-Project-ID
X-API-Key
X-Project-Name
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 <= x <= 200
x >= 0
ILIKE filter on session_id
Columns available for sorting session list results.
recent
trace_count
latency
cost
Generic ascending / descending sort direction.
asc
desc
Successful Response
Show child attributes