GET
/
api
/
v1
/
token-usage
/
by-agent
Get Usage By Agent
curl --request GET \
  --url https://api.jobsim.work/api/v1/token-usage/by-agent \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

days
integer
default:30

Number of days to look back

Required range: 1 <= x <= 365
organization_id
string | null

Response

Successful Response