Skip to navigation

List Bills

View as Markdown

Lists bills.

Requires the can_view_bill permission on the key owner’s role.

Keys: secret key only.

Authentication

AuthorizationBearer

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

identitystring
The identity for the active workspace.

Query parameters

sizeintegerOptional
Optional. Number of records to return per page. Defaults to 20, capped at 50.
last_idstringOptional

Optional. The last_id from the previous page’s response. Omit to fetch the first page. Must be sent together with keyset.

keysetstringOptional

Optional. The keyset from the previous page’s response. Must be sent together with last_id.

Response

OK
datalist of objects
pageinteger
countinteger
pagesinteger
statusboolean
messagestring
keysetstring or nullOptional

Send back as keyset, with last_id, to get the next page. null when there are no more records.

last_idstring or nullOptionalformat: "uuid"

Send back as last_id, with keyset, to get the next page. null when there are no more records.

Errors

401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error