GET
/
v1
/
usage
/
records
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "service_name": "FINE_TUNING_JOB",
      "usage_amount": 123,
      "usage_unit": "TOKEN",
      "cost": 123,
      "fine_tuning_job_name": "<string>"
    }
  ],
  "pagination": {
    "total_pages": 123,
    "current_page": 123,
    "items_per_page": 123
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

start_date
string
required
end_date
string
required
page
integer
default:1

Page number to retrieve

Required range: x >= 1
items_per_page
integer
default:20

Number of items to return per page

Required range: x >= 1

Response

200
application/json
Usage records retrieved successfully
data
object[]
pagination
object