Billing

Get hourly cost rows for a single agent

Return hourly cost rows for a single agent in the caller's org.

The agent must belong to the caller's org; otherwise a 404 is returned (existence is not leaked across org boundaries). Delegates to :func:~app.services.billing._queries.get_costs_by_agent_detail.

get/billing/agents/{agent_id}/cost

Request

  • Base URL: https://api-docs.jackhamr.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api-docs.jackhamr.ai/billing/agents/{agent_id}/cost
  • Auth: none declared

Path parameters

agent_idstring required

Query parameters

period_startstring date-time nullable

Start of period (ISO 8601)

period_endstring date-time nullable

End of period (ISO 8601)

Response

Successful Response

datestring date-time required
compute_costnumber
ram_costnumber
storage_costnumber
llm_costnumber
data_transfer_costnumber
total_costnumber

Changes

No recorded changes to this operation across all 1 revision of this API.