cost

List Cost Entries

List cost log entries with optional filters.

Access: Admin only (cost data is sensitive per spec section 7.2).

get/api/cost

Request

  • Base URL
    https://api.rethoric.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

categorystring nullable

Filter by category: enrichment, llm, infra, sending

record_idstring uuid nullable

Filter by associated record UUID

date_fromstring date-time nullable

Include entries after this datetime (ISO 8601)

date_tostring date-time nullable

Include entries before this datetime (ISO 8601)

pageinteger
limitinteger

Response

Successful Response

totalinteger required

Total records matching the query (before pagination)

pageinteger required

Current page number (1-indexed)

limitinteger required

Records per page (default 50, max 200)

has_moreboolean required

True if (page * limit) < total

Changes

No recorded changes to this operation across all 4 revisions of this API.