List issues

GET
/api/v1/issues

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key created in Capy under Settings → API.

Query parameters

projectId?string
status?string

Open (the default), closed, or all. stateIds narrows further.

One of"open""closed""all"
stateIds?string|array<string>
priorities?|array<>
assignee?string

The assignee: a user id, a thread id, me for the key's own user, or none.

creator?string

The creator: a user id, a thread id, me for the key's own user, or none.

mentioned?

Issues that mention the key's user.

labelIds?|array<string>

Issues carrying any of these labels.

parent?string

The sub-issues of this issue code.

due?|array<>
hasPullRequest?string
One of"true""false"
search?string

Words in the issue, or an issue number or code.

Length1 <= length <= 100
limit?integer
Range1 <= value <= 200
cursor?string
Match^[0-3]:\d{1,10}$

Response body

IssuePage

application/json
  1. response
items*array<>
cursor*|null
curl -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"}
Open in Capy