Skip to main content


All GET endpoints that return an array of resources are paginated.

Lune supports cursor-based pagination. This means that, to get all objects, you must paginate through the results by providing the last resource id as a after query parameter.

Each result includes a has_more boolean field. If this is true, then the next page requested will return additional results.

By default, each page returns 10 objects, however, by setting limit you can request up to 100 objects.

  • Request
  • curl \
      -H "Authorization: Bearer $API_KEY"
  • Response
  • {
      "has_more": false,
      "data": [
          "id": "34e9a1c3e12fc0a45d08b4a956a626a16862230b",
          "id": "48601af52aef3968e4730fbf60589e2e2852ed23",