Skip to main content
GET
List grants

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required
Pattern: ^crp_[a-zA-Z0-9]+$

Query Parameters

status
enum<string>

Return only grants with this status. Where the grant stands now. active grants have started and are neither expired nor voided; a fully used grant stays active with a remainingBalance of 0. scheduled grants start later. expired grants passed their expiry. voided grants were cancelled.

Available options:
active,
scheduled,
expired,
voided
limit
integer
default:50

Maximum grants to return.

Required range: 1 <= x <= 100
offset
integer
default:0

Zero-based offset for pagination.

Required range: x >= 0
at
string<date-time>

The instant to compute statuses and balances at. Defaults to the customer's test clock time if an active subscription has one, otherwise now.

Response

The pool's grants

object
enum<string>
default:list
required
Available options:
list
data
object[]
required
pagination
object
required

Offset-based pagination response.

asOf
string<date-time>
required

The instant the statuses and balances were computed at: the requested at, otherwise the customer's test clock time if an active subscription has one, otherwise now.