Skip to main content
GET
/
v3beta1
/
enterprise
/
consumption
/
cycles
Get Consumption Cycles
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/consumption/cycles
{
  "items": [
    {
      "before": 123,
      "after": 123
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}

Query Parameters

qs
object
required
enterprise_id
string | null
org_id
string | null

Response

Successful Response

items
ConsumptionCycle · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).