Skip to main content
POST
/
api
/
v2
/
projects
/
{project_id}
/
completions
/
statistics
/
{prompt_template_id}
Get Completion Statistics
curl --request POST \
  --url https://{host}.freeplay.ai/api/v2/projects/{project_id}/completions/statistics/{prompt_template_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to_date": "<string>",
  "from_date": "<string>"
}
'
{
  "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
prompt_template_id
string
required

Body

application/json
to_date
string | null
from_date
string | null

Response

200 - application/json
summary_info
Summary Info · object
required