GET
/
api
/
v0
/
invoices
search invoices
curl --request GET \
  --url https://console.vast.ai/api/v0/invoices \
  --header 'Authorization: Bearer <token>'
[
  {
    "type": "charge",
    "description": "Instance 123 GPU charge: hours * $/hr",
    "timestamp": 1633036800,
    "quantity": "10.000",
    "rate": "0.1000",
    "amount": "1.000",
    "instance_id": 123
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

select_filters
object

Filters to apply to the invoice selection.

type
string

Type of invoices to retrieve (e.g., charge).

Response

Success response

type
string
Example:

"charge"

description
string
Example:

"Instance 123 GPU charge: hours * $/hr"

timestamp
integer
Example:

1633036800

quantity
string
Example:

"10.000"

rate
string
Example:

"0.1000"

amount
string
Example:

"1.000"

instance_id
integer
Example:

123