List issues
bearerAuthAuthorizationBearer <token>An API key created in Capy under Settings → API.
projectId?stringprojectIds?|array<string>Issues in any of these projects.
projectIdsNot?With projectId or projectIds: issues in every other project the key can read instead.
status?stringOpen (the default), closed, or all. stateIds narrows further.
"open""closed""all"stateIds?string|array<string>stateIdsNot?With stateIds: issues in every other state that status allows instead.
priorities?|array<>prioritiesNot?With priorities: issues at every other priority instead.
match?stringHow assignee, creator, mentioned, subscribed and hasPullRequest combine: all (the default) or any.
"all""any"assignee?|array<string>Issues whose assignee is any of these: a user id, a thread id, me for the key's own user, or none.
assigneeNot?With assignee: issues assigned to none of them instead.
creator?|array<string>Issues whose creator is any of these: a user id, a thread id, me for the key's own user, or none.
creatorNot?With creator: issues created by none of them instead.
subscribed?|array<string>Issues any of these people subscribe to: a user id, or me for the key's own user.
subscribedNot?With subscribed: issues none of those people subscribe to instead.
mentioned?|array<string>Issues that mention any of these people: a user id, or me for the key's own user. true is me.
mentionedNot?With mentioned: issues that mention none of those people instead.
labelIds?|array<string>Issues carrying these labels, as labelMatch says.
labelMatch?stringWith labelIds: any (the default) carries at least one, all carries every one, none carries none of them. none with every label lists unlabelled issues.
"any""all""none"parent?stringThe sub-issues of this issue code.
due?|array<>Issues due today, tomorrow, this_week (today through Sunday), next_week, this_month (today through the month's end), overdue, or none. Several, and a dueFrom/dueTo range, match any of them. Dates follow today.
dueFrom?stringIssues due on or after this date (YYYY-MM-DD), inclusive.
dueTo?stringIssues due on or before this date (YYYY-MM-DD), inclusive.
dueNot?With due, dueFrom or dueTo: issues that match none of them instead.
today?stringThe caller's local date for due; defaults to today's UTC date.
hasPullRequest?string"true""false"relations?|array<>Issues that are every one of these: parent (has sub-issues), sub_issue (has a parent), blocked (has an open blocker), blocking (blocks an open issue), related (has a related issue), or has_relations (any blocking or related link).
excludedRelations?|array<>Issues that are none of these, in the same values as relations.
search?stringWords in the issue, or an issue number or code.
1 <= length <= 100limit?integer1 <= value <= 200cursor?string^[0-3]:\d{1,10}$IssuePage
application/json- response
items*array<>cursor*|nullcurl -X GET 'https://api.capy.ai/api/v1/issues'{ "items": [ { "id": "string", "code": "string", "number": 0, "projectId": "string", "title": "string", "state": { "id": "string", "name": "string", "type": "open" }, "priority": "urgent", "dueAt": "string", "parentId": "string", "visibility": "org", "assignees": [ { "kind": "user", "id": "string", "code": "string" } ], "labels": [ { "id": "string", "name": "string" } ], "subIssueCount": 0, "closedSubIssueCount": 0, "openBlockerCount": 0, "createdAt": "string", "updatedAt": "string", "closedAt": "string" } ], "cursor": "string"}