Skip to main content
POST
/
api
/
v2
/
projects
/
{project_id}
/
completions
/
statistics
Get All Completion Statistics
curl --request POST \
  --url https://api.example.com/api/v2/projects/{project_id}/completions/statistics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to_date": null,
  "from_date": null
}
'
{
  "summary_info": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Body

application/json
to_date
string | null
from_date
string | null

Response

200 - application/json

CompletionSummaryStatsInfo(summary_info: dict[str, dict[str, server.evaluations.evaluations_types.EvaluationSummaryByEvalType]])

summary_info
Summary Info · object
required