List accessible instances
Returns the list of instance IDs accessible by your API credentials.
Use this endpoint to discover which instances are available before querying performance data.
Query Parameters
- Type: numberlimitmin:1max:100
Maximum number of items to return per page. Choose any value on the first request, then keep it unchanged on every subsequent request that passes a
nextCursorfrom this endpoint. To change the page size, start a new walk by omittingnextCursor. - Type: string | nullnext
Cursor Opaque cursor returned by the previous page. Omit on the first request. Cursors are tied to the query parameters of the request that produced them; to paginate, keep every parameter identical across requests and only vary
nextCursor. To change filters, sort, orlimit, start a new walk by omittingnextCursor.
Responses
- application/json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
Request Example for get/v2/instances
curl 'https://reporting.api.later.com/v2/instances?limit=50&nextCursor=null' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": {
"instanceIds": [
"instance_abc",
"instance_def"
]
},
"nextCursor": "eyJ2ZXJzaW9uIjoxfQ"
}