List AWS Reserved Instances

Returns a paginated list of Reserved Instances (RIs) for the specified AWS organization. Optionally filter by state, instance type, instance family, region, and offering class. Omit filters to return all RIs for the AWS organization.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^\d{12}$

12-digit AWS management (payer) account ID (the account that owns the AWS Organization) that scopes the request.

Query Params
string
enum

Filter by Reserved Instance lifecycle state. Omit to include all states.

Show Details
activeRI is active and providing coverage.
retiredRI term has ended (terminal state for RIs).
payment_pendingPurchase payment is pending.
payment_failedPurchase payment failed.
queuedRI is queued to start at a future time.
queued_deletedQueued RI that has been deleted before start.
Allowed:
string

Filter by exact EC2 instance type (for example, m5.large). Case-sensitive. Must match the instanceType value on the RI exactly.

string

Filter by EC2 instance family, the leading segment of instanceType before the dot (for example, m5 matches m5.large and m5.xlarge). Case-sensitive.

string

Filter by AWS region (for example, us-east-1). Case-sensitive. Must match the region stored on the RI.

string
enum

Filter by RI offering class. Omit to include both standard and convertible.

Show Details
standardStandard Reserved Instances (fixed instance attributes).
convertibleConvertible Reserved Instances (can be exchanged for other RI configurations).
Allowed:
string

Opaque cursor token returned by a previous list response. Omit to start from the beginning; an empty or absent token in a response means there are no more results. Do not parse it. A structurally invalid cursor returns 400 with code pagination_token_invalid; an expired cursor returns 400 with code pagination_token_expired — restart pagination from the beginning.

integer
1 to 500
Defaults to 50

Maximum number of items to return. Server may return fewer. Defaults to 50; maximum 500.

Headers
string

Customer (tenant) ID for the request. This is separate from authentication: you still pass your personal or service account API token in the Authorization header (Bearer <token>). See Get Started.

When to omit (most callers): If your personal or service account token belongs to a single customer, omit this header. The API resolves that customer from the token.

When to send: If your credential can access more than one customer, set X-Tenant-Id to the customer ID you want to act on. Omitting it returns 400 with code tenant_id_required. If the value conflicts with the tenants your credential may access, the request returns 400 with code tenant_id_mismatch. Prefer this header over the legacy customerContext query parameter, which only applies to legacy API keys and is ignored by personal and service account tokens.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json