Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.pandaprobe.com/llms.txt

Use this file to discover all available pages before exploring further.

The PandaProbe API provides programmatic access to traces, sessions, and evaluations. All endpoints are served over HTTPS. Every endpoint page in this reference includes an interactive playground — you can fill in parameters and send real requests directly from the docs.

Base URL

https://api.pandaprobe.com

Authentication

PandaProbe supports two authentication methods depending on the endpoint type.

Bearer JWT (management endpoints)

Used for organization management, project management, API key management, and user profile. Send the token from your identity provider in the Authorization header:
Authorization: Bearer <token>
Some endpoints also accept an optional X-Organization-ID header to specify which organization to operate on (defaults to your first membership).

API Key (data-plane endpoints)

Used for trace ingestion, trace/session queries, and evaluations. Send your org-scoped API key via the X-API-Key header along with X-Project-Name to scope the request to a project:
X-API-Key: pp_abc123...
X-Project-Name: my-project
Projects are auto-created on first use if they don’t exist yet.

Bearer JWT (data-plane endpoints)

You can also use Bearer JWT for data-plane endpoints by providing X-Project-ID instead of X-Project-Name:
Authorization: Bearer <token>
X-Project-ID: 550e8400-e29b-41d4-a716-446655440000
If both Authorization: Bearer and X-API-Key are present in a request, the API key takes precedence.

Summary

Endpoint categoryAuth methodRequired headers
Organizations, Projects, API Keys, UserBearer JWTAuthorization: Bearer <token>
Traces, Sessions, EvaluationsAPI KeyX-API-Key, X-Project-Name
Traces, Sessions, EvaluationsBearer JWTAuthorization: Bearer <token>, X-Project-ID

Pagination

List endpoints return a PaginatedResponse wrapper:
{
  "items": [...],
  "total": 150,
  "limit": 50,
  "offset": 0
}
Control pagination with query parameters:
ParameterDefaultRangeDescription
limit501–200Number of items per page
offset00+Number of items to skip

Error handling

The API returns structured JSON errors:
{
  "detail": "Project not found or does not belong to your organization."
}
Validation errors include field-level detail:
{
  "detail": "Validation error",
  "errors": [
    {"field": "name", "message": "String should have at least 1 character"}
  ]
}

HTTP status codes

CodeMeaning
200Success
201Resource created
202Accepted (async processing)
204Deleted (no content)
400Bad request
401Authentication required or invalid
403Insufficient permissions
404Resource not found
409Conflict (e.g., duplicate name)
422Validation error
429Rate limit exceeded

Rate limits

Certain endpoints enforce per-client rate limits:
EndpointLimit
POST /traces100/min
POST /evaluations/trace-runs50/min
POST /evaluations/session-runs50/min
POST /evaluations/monitors/{id}/trigger10/min
Rate-limited responses return 429 Too Many Requests with a Retry-After header.