EaserixDocs
DevelopersAPI referenceTasksCycles

List cycles

Cycles across the org's teams, highest number first. Filter with team_id. No create here. Cycles are roller-owned: a team gets them by turning on `cyclesEnabled` in PATCH /v1/teams/{id}/settings, and a background job creates, numbers and dates every one from that team's cadence. A create route used to exist and was removed — a hand-made cycle could straddle a boundary the scheduler was about to place there itself.

View as Markdown
GET
/v1/cycles
AuthorizationBearer <token>

In: header

Query Parameters

team_id?string

Restrict to one team.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/cycles"
{  "cycles": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",      "number": 0,      "name": "string",      "startsAt": "2019-08-24",      "endsAt": "2019-08-24"    }  ]}