curl --request GET \
--url https://api.example.com/insight/{rec_id}/tokens \
--header 'Authorization: Bearer <token>'{
"expected_tokens": {
"price_with_transcript": 123,
"price_with_report": 123
}
}Get expected tokens for a record without loading heavy data.
This endpoint is optimized for batch token calculation scenarios. Returns only pricing information, not full record data.
Performance: ~1-2 seconds (vs 25+ seconds for full detailed record)
curl --request GET \
--url https://api.example.com/insight/{rec_id}/tokens \
--header 'Authorization: Bearer <token>'{
"expected_tokens": {
"price_with_transcript": 123,
"price_with_report": 123
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Response model for lightweight tokens endpoint.
Show child attributes
Was this page helpful?