Skip to main content
GET

Authorizations

Authorization
string
header
required

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

Query Parameters

start_time
string<date-time>

Inclusive lower bound, ISO 8601 with timezone offset or Z (a naive timestamp returns 400). Defaults to end_time − 30 days when omitted. Snapped down to the containing UTC hour before querying. A range longer than 366 days returns 400. Either bound may be supplied alone.

end_time
string<date-time>

Exclusive upper bound, ISO 8601 with timezone offset or Z (a naive timestamp returns 400). Defaults to now (UTC) when omitted. Snapped up to the next UTC hour boundary before querying. The current partial hour is always empty — cost rows are written at the close of each hour. start_time >= end_time returns 400.

group_by
enum<string>
default:both

Controls the grouping granularity of items[]. One of:

  • both (default) — one item per (application, evaluator rule).
  • application_id — one item per application, costs summed across all evaluator rules in that application.
  • project_id — one item per project, costs summed across all applications and evaluator rules in that project.
Available options:
project_id,
application_id,
both
project_id
string<uuid>

Filter results to a single project. A project in your organization that you cannot read returns an empty 200. An unknown or other-organization ID returns 400, except for a caller who can read no projects, who gets an empty 200 for any well-formed ID.

application_id
string<uuid>

Filter results to a single application. An application in your organization that you cannot read returns an empty 200. An unknown or other-organization ID returns 400, except for a caller who can read no projects, who gets an empty 200 for any well-formed ID.

limit
integer
default:100

Page size. Defaults to 100. Maximum 500 — requests above 500 return 400.

Required range: 1 <= x <= 500
offset
integer

Offset for the pagination

Response

Paginated evaluator cost items for the requested window. Returns an empty items array (not an error) when there is no data or the caller has no authorized applications.

Response object for paginated API responses.

data
object
required

Paginated evaluator cost roll-up. Extends the standard PaginatedApiResponse data envelope with an items array and a meta block.

api_version
enum<string>
default:3.0

API version of the response.

Available options:
2.0,
3.0
kind
enum<string>
default:PAGINATED

Type of response, indicating a paginated response.

Available options:
PAGINATED