API Reference
Log In
API Reference

Get return on investment by job type

Returns cost, value and return on investment for each job type over the date range, best ratio of value to cost first, with totals across all job types. Cost is in USD and is the sum of token cost, modality cost (image, video and audio), external tool cost and human cost. Return on investment is in percent.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date-time

Start of the date range, ISO 8601 in UTC, for example 2026-01-01T00:00:00Z. Defaults to 24 hours before endDate.

date-time

End of the date range, ISO 8601 in UTC. Defaults to now.

string
enum

Accepted for compatibility. This endpoint ignores it.

string

Keep only this job type. Case is ignored. Omit it for every job type.

string

Hashed id of the team to answer for. Optional. With a user token it may be any team the user belongs to; without it the user's default team answers. An API key always answers for its own team, and naming any other team is refused with 403.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json