Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Api Guide?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/redhat-community-ai-tools-api-guide)
---
name: api-guide
description: Answer questions about the internal REST API. Use when the user asks how to call an endpoint.
---
# Internal API guide
Every endpoint of the internal API, in one file. Look up the endpoint, then answer.
## Users
### List users
`GET /v2/users`
List users for the current organization. The caller needs the `users:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | integer | no | Returned in list responses. |
| `name` | string | yes | Used for filtering. |
| `created_at` | string | no | Used for filtering. |
| `updated_at` | string | yes | Read only. |
| `owner_id` | string | no | One of: active, archived, deleted. |
| `status` | string | yes | Read only. |
| `tags` | object | no | Read only. |
| `metadata` | object | yes | Set by the server. |
### Get users
`GET /v2/users/{id}`
Get users for the current organization. The caller needs the `users:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | no | Read only. |
| `name` | integer | yes | Used for filtering. |
| `created_at` | integer | no | One of: active, archived, deleted. |
| `updated_at` | integer | yes | Used for filtering. |
| `owner_id` | timestamp | yes | Read only. |
| `status` | object | yes | Free text, at most 255 characters. |
| `tags` | string | yes | Used for filtering. |
| `metadata` | string | yes | One of: active, archived, deleted. |
### Create users
`POST /v2/users`
Create users for the current organization. The caller needs the `users:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | no | Used for filtering. |
| `name` | array | no | Free text, at most 255 characters. |
| `created_at` | integer | yes | Returned in list responses. |
| `updated_at` | integer | yes | Used for filtering. |
| `owner_id` | timestamp | no | Free text, at most 255 characters. |
| `status` | array | no | Used for filtering. |
| `tags` | string | yes | Used for filtering. |
| `metadata` | array | yes | Free text, at most 255 characters. |
### Update users
`PATCH /v2/users/{id}`
Update users for the current organization. The caller needs the `users:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Read only. |
| `name` | string | no | Free text, at most 255 characters. |
| `created_at` | timestamp | no | Used for filtering. |
| `updated_at` | array | yes | Read only. |
| `owner_id` | timestamp | no | Returned in list responses. |
| `status` | string | yes | Returned in list responses. |
| `tags` | timestamp | no | Free text, at most 255 characters. |
| `metadata` | array | no | Read only. |
### Delete users
`DELETE /v2/users/{id}`
Delete users for the current organization. The caller needs the `users:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | yes | Used for filtering. |
| `name` | string | no | Read only. |
| `created_at` | integer | no | Set by the server. |
| `updated_at` | integer | no | One of: active, archived, deleted. |
| `owner_id` | array | yes | Set by the server. |
| `status` | array | no | Used for filtering. |
| `tags` | timestamp | yes | One of: active, archived, deleted. |
| `metadata` | object | no | Returned in list responses. |
### Archive users
`POST /v2/users/{id}` + `/archive`
Archive users for the current organization. The caller needs the `users:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | no | Set by the server. |
| `name` | integer | yes | Set by the server. |
| `created_at` | integer | yes | Returned in list responses. |
| `updated_at` | integer | yes | One of: active, archived, deleted. |
| `owner_id` | object | yes | Free text, at most 255 characters. |
| `status` | timestamp | yes | Set by the server. |
| `tags` | array | no | Used for filtering. |
| `metadata` | object | no | Set by the server. |
### Restore users
`POST /v2/users/{id}` + `/restore`
Restore users for the current organization. The caller needs the `users:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | One of: active, archived, deleted. |
| `name` | array | no | Read only. |
| `created_at` | array | no | Read only. |
| `updated_at` | integer | yes | Set by the server. |
| `owner_id` | array | yes | Read only. |
| `status` | timestamp | yes | Read only. |
| `tags` | string | yes | Used for filtering. |
| `metadata` | string | no | Used for filtering. |
### Export users
`GET /v2/users`
Export users for the current organization. The caller needs the `users:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | Used for filtering. |
| `name` | array | yes | Returned in list responses. |
| `created_at` | timestamp | no | Used for filtering. |
| `updated_at` | timestamp | no | Read only. |
| `owner_id` | string | no | One of: active, archived, deleted. |
| `status` | array | no | Free text, at most 255 characters. |
| `tags` | string | yes | Read only. |
| `metadata` | timestamp | no | One of: active, archived, deleted. |
## Teams
### List teams
`GET /v2/teams`
List teams for the current organization. The caller needs the `teams:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | Set by the server. |
| `name` | object | no | Set by the server. |
| `created_at` | object | yes | Used for filtering. |
| `updated_at` | timestamp | yes | Returned in list responses. |
| `owner_id` | timestamp | no | Set by the server. |
| `status` | timestamp | yes | Used for filtering. |
| `tags` | object | no | Returned in list responses. |
| `metadata` | integer | yes | Set by the server. |
### Get teams
`GET /v2/teams/{id}`
Get teams for the current organization. The caller needs the `teams:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | integer | yes | Used for filtering. |
| `name` | array | no | Returned in list responses. |
| `created_at` | string | yes | Free text, at most 255 characters. |
| `updated_at` | array | no | Set by the server. |
| `owner_id` | object | no | One of: active, archived, deleted. |
| `status` | timestamp | no | Read only. |
| `tags` | integer | yes | Set by the server. |
| `metadata` | array | yes | Free text, at most 255 characters. |
### Create teams
`POST /v2/teams`
Create teams for the current organization. The caller needs the `teams:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | yes | One of: active, archived, deleted. |
| `name` | timestamp | yes | Returned in list responses. |
| `created_at` | string | no | Returned in list responses. |
| `updated_at` | integer | no | Set by the server. |
| `owner_id` | array | no | Read only. |
| `status` | array | no | One of: active, archived, deleted. |
| `tags` | string | yes | Set by the server. |
| `metadata` | integer | yes | Set by the server. |
### Update teams
`PATCH /v2/teams/{id}`
Update teams for the current organization. The caller needs the `teams:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | integer | no | Returned in list responses. |
| `name` | timestamp | yes | Used for filtering. |
| `created_at` | object | yes | Read only. |
| `updated_at` | string | yes | Used for filtering. |
| `owner_id` | integer | no | Set by the server. |
| `status` | integer | yes | Free text, at most 255 characters. |
| `tags` | integer | no | Used for filtering. |
| `metadata` | integer | no | Free text, at most 255 characters. |
### Delete teams
`DELETE /v2/teams/{id}`
Delete teams for the current organization. The caller needs the `teams:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | integer | yes | Returned in list responses. |
| `name` | timestamp | no | Returned in list responses. |
| `created_at` | object | no | Used for filtering. |
| `updated_at` | integer | yes | Used for filtering. |
| `owner_id` | object | yes | One of: active, archived, deleted. |
| `status` | integer | yes | Set by the server. |
| `tags` | integer | yes | One of: active, archived, deleted. |
| `metadata` | object | yes | Used for filtering. |
### Archive teams
`POST /v2/teams/{id}` + `/archive`
Archive teams for the current organization. The caller needs the `teams:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | no | Read only. |
| `name` | object | yes | Set by the server. |
| `created_at` | integer | no | Read only. |
| `updated_at` | string | no | Used for filtering. |
| `owner_id` | string | yes | One of: active, archived, deleted. |
| `status` | timestamp | yes | Returned in list responses. |
| `tags` | timestamp | no | Used for filtering. |
| `metadata` | object | no | Used for filtering. |
### Restore teams
`POST /v2/teams/{id}` + `/restore`
Restore teams for the current organization. The caller needs the `teams:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | no | Used for filtering. |
| `name` | integer | no | Set by the server. |
| `created_at` | array | yes | One of: active, archived, deleted. |
| `updated_at` | array | no | Read only. |
| `owner_id` | integer | no | Read only. |
| `status` | integer | no | Read only. |
| `tags` | integer | no | Set by the server. |
| `metadata` | timestamp | yes | One of: active, archived, deleted. |
### Export teams
`GET /v2/teams`
Export teams for the current organization. The caller needs the `teams:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | no | One of: active, archived, deleted. |
| `name` | integer | yes | Set by the server. |
| `created_at` | array | no | Free text, at most 255 characters. |
| `updated_at` | array | yes | Free text, at most 255 characters. |
| `owner_id` | timestamp | yes | Returned in list responses. |
| `status` | timestamp | yes | Free text, at most 255 characters. |
| `tags` | object | no | One of: active, archived, deleted. |
| `metadata` | string | no | Free text, at most 255 characters. |
## Projects
### List projects
`GET /v2/projects`
List projects for the current organization. The caller needs the `projects:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | Read only. |
| `name` | integer | yes | Read only. |
| `created_at` | timestamp | no | Read only. |
| `updated_at` | integer | no | Set by the server. |
| `owner_id` | array | no | One of: active, archived, deleted. |
| `status` | integer | no | Returned in list responses. |
| `tags` | timestamp | yes | Free text, at most 255 characters. |
| `metadata` | string | yes | One of: active, archived, deleted. |
### Get projects
`GET /v2/projects/{id}`
Get projects for the current organization. The caller needs the `projects:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | yes | Returned in list responses. |
| `name` | string | no | Read only. |
| `created_at` | object | yes | Read only. |
| `updated_at` | timestamp | yes | One of: active, archived, deleted. |
| `owner_id` | string | no | Used for filtering. |
| `status` | array | no | Used for filtering. |
| `tags` | integer | yes | Used for filtering. |
| `metadata` | integer | yes | Set by the server. |
### Create projects
`POST /v2/projects`
Create projects for the current organization. The caller needs the `projects:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | Set by the server. |
| `name` | timestamp | no | Used for filtering. |
| `created_at` | integer | no | One of: active, archived, deleted. |
| `updated_at` | object | yes | Free text, at most 255 characters. |
| `owner_id` | timestamp | yes | Free text, at most 255 characters. |
| `status` | string | yes | Read only. |
| `tags` | object | yes | Used for filtering. |
| `metadata` | array | yes | One of: active, archived, deleted. |
### Update projects
`PATCH /v2/projects/{id}`
Update projects for the current organization. The caller needs the `projects:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Used for filtering. |
| `name` | array | no | Returned in list responses. |
| `created_at` | integer | yes | Free text, at most 255 characters. |
| `updated_at` | integer | yes | One of: active, archived, deleted. |
| `owner_id` | timestamp | yes | Set by the server. |
| `status` | string | yes | Returned in list responses. |
| `tags` | timestamp | no | Set by the server. |
| `metadata` | string | yes | Returned in list responses. |
### Delete projects
`DELETE /v2/projects/{id}`
Delete projects for the current organization. The caller needs the `projects:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | no | Used for filtering. |
| `name` | integer | no | Read only. |
| `created_at` | array | yes | Set by the server. |
| `updated_at` | timestamp | no | Read only. |
| `owner_id` | timestamp | no | Free text, at most 255 characters. |
| `status` | object | no | Set by the server. |
| `tags` | string | no | Set by the server. |
| `metadata` | timestamp | yes | Read only. |
### Archive projects
`POST /v2/projects/{id}` + `/archive`
Archive projects for the current organization. The caller needs the `projects:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | yes | One of: active, archived, deleted. |
| `name` | timestamp | yes | Set by the server. |
| `created_at` | object | yes | Read only. |
| `updated_at` | timestamp | yes | Set by the server. |
| `owner_id` | array | yes | One of: active, archived, deleted. |
| `status` | string | no | Free text, at most 255 characters. |
| `tags` | integer | yes | Used for filtering. |
| `metadata` | object | yes | Returned in list responses. |
### Restore projects
`POST /v2/projects/{id}` + `/restore`
Restore projects for the current organization. The caller needs the `projects:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | no | Set by the server. |
| `name` | timestamp | yes | Read only. |
| `created_at` | object | no | Returned in list responses. |
| `updated_at` | object | yes | Used for filtering. |
| `owner_id` | object | yes | Returned in list responses. |
| `status` | object | yes | Read only. |
| `tags` | string | yes | Set by the server. |
| `metadata` | timestamp | yes | One of: active, archived, deleted. |
### Export projects
`GET /v2/projects`
Export projects for the current organization. The caller needs the `projects:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | Returned in list responses. |
| `name` | string | yes | One of: active, archived, deleted. |
| `created_at` | timestamp | yes | One of: active, archived, deleted. |
| `updated_at` | string | yes | Returned in list responses. |
| `owner_id` | object | yes | Returned in list responses. |
| `status` | array | no | Read only. |
| `tags` | timestamp | yes | Returned in list responses. |
| `metadata` | integer | yes | Returned in list responses. |
## Issues
### List issues
`GET /v2/issues`
List issues for the current organization. The caller needs the `issues:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Read only. |
| `name` | array | no | Read only. |
| `created_at` | object | yes | Read only. |
| `updated_at` | object | yes | Free text, at most 255 characters. |
| `owner_id` | timestamp | no | Used for filtering. |
| `status` | object | yes | Read only. |
| `tags` | array | yes | One of: active, archived, deleted. |
| `metadata` | timestamp | yes | Returned in list responses. |
### Get issues
`GET /v2/issues/{id}`
Get issues for the current organization. The caller needs the `issues:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Returned in list responses. |
| `name` | object | no | One of: active, archived, deleted. |
| `created_at` | array | no | Read only. |
| `updated_at` | object | yes | Free text, at most 255 characters. |
| `owner_id` | string | no | Read only. |
| `status` | timestamp | no | Read only. |
| `tags` | object | no | Free text, at most 255 characters. |
| `metadata` | array | yes | Set by the server. |
### Create issues
`POST /v2/issues`
Create issues for the current organization. The caller needs the `issues:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | Set by the server. |
| `name` | object | no | Free text, at most 255 characters. |
| `created_at` | integer | no | Read only. |
| `updated_at` | timestamp | yes | One of: active, archived, deleted. |
| `owner_id` | array | no | Read only. |
| `status` | integer | yes | One of: active, archived, deleted. |
| `tags` | array | no | Free text, at most 255 characters. |
| `metadata` | integer | no | Free text, at most 255 characters. |
### Update issues
`PATCH /v2/issues/{id}`
Update issues for the current organization. The caller needs the `issues:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | yes | Free text, at most 255 characters. |
| `name` | string | no | Free text, at most 255 characters. |
| `created_at` | array | yes | Set by the server. |
| `updated_at` | string | no | Free text, at most 255 characters. |
| `owner_id` | timestamp | yes | One of: active, archived, deleted. |
| `status` | array | yes | Free text, at most 255 characters. |
| `tags` | array | no | Read only. |
| `metadata` | timestamp | yes | Read only. |
### Delete issues
`DELETE /v2/issues/{id}`
Delete issues for the current organization. The caller needs the `issues:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | integer | yes | Free text, at most 255 characters. |
| `name` | array | no | Set by the server. |
| `created_at` | timestamp | no | Read only. |
| `updated_at` | array | yes | Returned in list responses. |
| `owner_id` | string | yes | Returned in list responses. |
| `status` | array | no | Used for filtering. |
| `tags` | integer | no | One of: active, archived, deleted. |
| `metadata` | string | yes | Set by the server. |
### Archive issues
`POST /v2/issues/{id}` + `/archive`
Archive issues for the current organization. The caller needs the `issues:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Free text, at most 255 characters. |
| `name` | timestamp | no | Returned in list responses. |
| `created_at` | timestamp | no | Returned in list responses. |
| `updated_at` | integer | no | One of: active, archived, deleted. |
| `owner_id` | object | no | Read only. |
| `status` | integer | yes | Read only. |
| `tags` | integer | no | Used for filtering. |
| `metadata` | integer | no | Free text, at most 255 characters. |
### Restore issues
`POST /v2/issues/{id}` + `/restore`
Restore issues for the current organization. The caller needs the `issues:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | yes | Used for filtering. |
| `name` | integer | yes | Read only. |
| `created_at` | integer | no | Used for filtering. |
| `updated_at` | string | no | Set by the server. |
| `owner_id` | timestamp | no | Used for filtering. |
| `status` | integer | yes | Returned in list responses. |
| `tags` | array | no | One of: active, archived, deleted. |
| `metadata` | object | yes | One of: active, archived, deleted. |
### Export issues
`GET /v2/issues`
Export issues for the current organization. The caller needs the `issues:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | yes | One of: active, archived, deleted. |
| `name` | timestamp | no | Set by the server. |
| `created_at` | object | yes | Read only. |
| `updated_at` | timestamp | yes | One of: active, archived, deleted. |
| `owner_id` | array | no | One of: active, archived, deleted. |
| `status` | timestamp | yes | Set by the server. |
| `tags` | string | no | Returned in list responses. |
| `metadata` | array | no | Read only. |
## Comments
### List comments
`GET /v2/comments`
List comments for the current organization. The caller needs the `comments:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | One of: active, archived, deleted. |
| `name` | integer | yes | Set by the server. |
| `created_at` | integer | yes | Used for filtering. |
| `updated_at` | string | no | Read only. |
| `owner_id` | object | yes | Read only. |
| `status` | integer | yes | Used for filtering. |
| `tags` | string | no | Set by the server. |
| `metadata` | timestamp | no | Returned in list responses. |
### Get comments
`GET /v2/comments/{id}`
Get comments for the current organization. The caller needs the `comments:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | Free text, at most 255 characters. |
| `name` | object | yes | One of: active, archived, deleted. |
| `created_at` | timestamp | yes | Used for filtering. |
| `updated_at` | string | yes | Used for filtering. |
| `owner_id` | timestamp | no | Free text, at most 255 characters. |
| `status` | timestamp | yes | One of: active, archived, deleted. |
| `tags` | object | yes | Used for filtering. |
| `metadata` | integer | yes | One of: active, archived, deleted. |
### Create comments
`POST /v2/comments`
Create comments for the current organization. The caller needs the `comments:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | Set by the server. |
| `name` | array | no | Read only. |
| `created_at` | timestamp | yes | Returned in list responses. |
| `updated_at` | array | no | Set by the server. |
| `owner_id` | array | yes | Returned in list responses. |
| `status` | timestamp | no | Free text, at most 255 characters. |
| `tags` | array | yes | Read only. |
| `metadata` | timestamp | yes | Set by the server. |
### Update comments
`PATCH /v2/comments/{id}`
Update comments for the current organization. The caller needs the `comments:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | integer | no | Set by the server. |
| `name` | integer | no | Set by the server. |
| `created_at` | timestamp | no | Read only. |
| `updated_at` | object | no | Used for filtering. |
| `owner_id` | integer | yes | One of: active, archived, deleted. |
| `status` | array | yes | Used for filtering. |
| `tags` | integer | no | Read only. |
| `metadata` | integer | yes | Used for filtering. |
### Delete comments
`DELETE /v2/comments/{id}`
Delete comments for the current organization. The caller needs the `comments:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | yes | Returned in list responses. |
| `name` | string | yes | One of: active, archived, deleted. |
| `created_at` | array | no | Returned in list responses. |
| `updated_at` | string | yes | Set by the server. |
| `owner_id` | timestamp | yes | Set by the server. |
| `status` | object | no | Read only. |
| `tags` | timestamp | no | Free text, at most 255 characters. |
| `metadata` | timestamp | no | Set by the server. |
### Archive comments
`POST /v2/comments/{id}` + `/archive`
Archive comments for the current organization. The caller needs the `comments:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | Free text, at most 255 characters. |
| `name` | string | no | One of: active, archived, deleted. |
| `created_at` | string | yes | One of: active, archived, deleted. |
| `updated_at` | timestamp | no | One of: active, archived, deleted. |
| `owner_id` | string | yes | Returned in list responses. |
| `status` | array | yes | Free text, at most 255 characters. |
| `tags` | object | no | Set by the server. |
| `metadata` | timestamp | no | Returned in list responses. |
### Restore comments
`POST /v2/comments/{id}` + `/restore`
Restore comments for the current organization. The caller needs the `comments:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | no | Set by the server. |
| `name` | array | yes | One of: active, archived, deleted. |
| `created_at` | string | no | Read only. |
| `updated_at` | string | no | Set by the server. |
| `owner_id` | string | no | Free text, at most 255 characters. |
| `status` | timestamp | no | Used for filtering. |
| `tags` | string | no | Returned in list responses. |
| `metadata` | timestamp | no | Free text, at most 255 characters. |
### Export comments
`GET /v2/comments`
Export comments for the current organization. The caller needs the `comments:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | Read only. |
| `name` | integer | yes | One of: active, archived, deleted. |
| `created_at` | array | no | Free text, at most 255 characters. |
| `updated_at` | array | no | Set by the server. |
| `owner_id` | array | yes | Read only. |
| `status` | timestamp | yes | Used for filtering. |
| `tags` | integer | no | Free text, at most 255 characters. |
| `metadata` | array | no | Used for filtering. |
## Labels
### List labels
`GET /v2/labels`
List labels for the current organization. The caller needs the `labels:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | One of: active, archived, deleted. |
| `name` | integer | yes | One of: active, archived, deleted. |
| `created_at` | string | yes | One of: active, archived, deleted. |
| `updated_at` | object | no | Set by the server. |
| `owner_id` | array | yes | Read only. |
| `status` | timestamp | yes | Set by the server. |
| `tags` | string | no | One of: active, archived, deleted. |
| `metadata` | array | yes | Set by the server. |
### Get labels
`GET /v2/labels/{id}`
Get labels for the current organization. The caller needs the `labels:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Used for filtering. |
| `name` | integer | yes | Free text, at most 255 characters. |
| `created_at` | timestamp | no | Used for filtering. |
| `updated_at` | timestamp | no | Free text, at most 255 characters. |
| `owner_id` | timestamp | yes | One of: active, archived, deleted. |
| `status` | integer | yes | Set by the server. |
| `tags` | integer | yes | Free text, at most 255 characters. |
| `metadata` | object | yes | Free text, at most 255 characters. |
### Create labels
`POST /v2/labels`
Create labels for the current organization. The caller needs the `labels:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Set by the server. |
| `name` | object | yes | Returned in list responses. |
| `created_at` | string | no | Read only. |
| `updated_at` | string | yes | One of: active, archived, deleted. |
| `owner_id` | integer | no | Free text, at most 255 characters. |
| `status` | string | no | Set by the server. |
| `tags` | string | yes | Set by the server. |
| `metadata` | object | yes | Read only. |
### Update labels
`PATCH /v2/labels/{id}`
Update labels for the current organization. The caller needs the `labels:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | One of: active, archived, deleted. |
| `name` | object | no | Returned in list responses. |
| `created_at` | string | yes | Returned in list responses. |
| `updated_at` | object | no | Set by the server. |
| `owner_id` | string | no | Free text, at most 255 characters. |
| `status` | integer | yes | Set by the server. |
| `tags` | timestamp | yes | Used for filtering. |
| `metadata` | integer | yes | Free text, at most 255 characters. |
### Delete labels
`DELETE /v2/labels/{id}`
Delete labels for the current organization. The caller needs the `labels:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 600 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | yes | Used for filtering. |
| `name` | timestamp | yes | Set by the server. |
| `created_at` | string | no | Used for filtering. |
| `updated_at` | array | yes | One of: active, archived, deleted. |
| `owner_id` | string | no | Returned in list responses. |
| `status` | object | yes | Returned in list responses. |
| `tags` | object | yes | Returned in list responses. |
| `metadata` | integer | no | Returned in list responses. |
### Archive labels
`POST /v2/labels/{id}` + `/archive`
Archive labels for the current organization. The caller needs the `labels:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Returned in list responses. |
| `name` | timestamp | no | Read only. |
| `created_at` | timestamp | no | One of: active, archived, deleted. |
| `updated_at` | array | yes | Free text, at most 255 characters. |
| `owner_id` | integer | no | Returned in list responses. |
| `status` | array | yes | Read only. |
| `tags` | array | yes | One of: active, archived, deleted. |
| `metadata` | string | yes | One of: active, archived, deleted. |
### Restore labels
`POST /v2/labels/{id}` + `/restore`
Restore labels for the current organization. The caller needs the `labels:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | yes | Set by the server. |
| `name` | string | yes | Used for filtering. |
| `created_at` | integer | no | Read only. |
| `updated_at` | object | no | Returned in list responses. |
| `owner_id` | object | yes | Set by the server. |
| `status` | timestamp | no | Set by the server. |
| `tags` | object | yes | Read only. |
| `metadata` | string | no | One of: active, archived, deleted. |
### Export labels
`GET /v2/labels`
Export labels for the current organization. The caller needs the `labels:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | yes | Read only. |
| `name` | array | no | Read only. |
| `created_at` | object | no | Read only. |
| `updated_at` | object | yes | Returned in list responses. |
| `owner_id` | integer | no | Used for filtering. |
| `status` | integer | no | Set by the server. |
| `tags` | object | yes | Read only. |
| `metadata` | array | yes | One of: active, archived, deleted. |
## Releases
### List releases
`GET /v2/releases`
List releases for the current organization. The caller needs the `releases:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | Set by the server. |
| `name` | integer | yes | Used for filtering. |
| `created_at` | string | no | Read only. |
| `updated_at` | array | no | Used for filtering. |
| `owner_id` | timestamp | no | Free text, at most 255 characters. |
| `status` | object | yes | One of: active, archived, deleted. |
| `tags` | array | no | One of: active, archived, deleted. |
| `metadata` | object | no | Set by the server. |
### Get releases
`GET /v2/releases/{id}`
Get releases for the current organization. The caller needs the `releases:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 60 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | no | One of: active, archived, deleted. |
| `name` | integer | no | Used for filtering. |
| `created_at` | array | yes | One of: active, archived, deleted. |
| `updated_at` | array | yes | Read only. |
| `owner_id` | integer | no | One of: active, archived, deleted. |
| `status` | timestamp | yes | One of: active, archived, deleted. |
| `tags` | object | yes | Read only. |
| `metadata` | integer | yes | Returned in list responses. |
### Create releases
`POST /v2/releases`
Create releases for the current organization. The caller needs the `releases:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | yes | Read only. |
| `name` | object | no | Returned in list responses. |
| `created_at` | integer | yes | Read only. |
| `updated_at` | object | yes | Set by the server. |
| `owner_id` | integer | no | Free text, at most 255 characters. |
| `status` | integer | yes | Read only. |
| `tags` | timestamp | no | Set by the server. |
| `metadata` | timestamp | no | One of: active, archived, deleted. |
### Update releases
`PATCH /v2/releases/{id}`
Update releases for the current organization. The caller needs the `releases:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | timestamp | no | Set by the server. |
| `name` | object | no | Used for filtering. |
| `created_at` | object | yes | Free text, at most 255 characters. |
| `updated_at` | timestamp | yes | Set by the server. |
| `owner_id` | integer | no | Set by the server. |
| `status` | timestamp | no | One of: active, archived, deleted. |
| `tags` | integer | no | Read only. |
| `metadata` | object | yes | Returned in list responses. |
### Delete releases
`DELETE /v2/releases/{id}`
Delete releases for the current organization. The caller needs the `releases:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | yes | Free text, at most 255 characters. |
| `name` | object | no | Returned in list responses. |
| `created_at` | timestamp | no | One of: active, archived, deleted. |
| `updated_at` | timestamp | yes | Free text, at most 255 characters. |
| `owner_id` | timestamp | yes | One of: active, archived, deleted. |
| `status` | integer | yes | Used for filtering. |
| `tags` | string | no | Used for filtering. |
| `metadata` | timestamp | no | Returned in list responses. |
### Archive releases
`POST /v2/releases/{id}` + `/archive`
Archive releases for the current organization. The caller needs the `releases:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | Set by the server. |
| `name` | integer | no | Used for filtering. |
| `created_at` | array | no | Used for filtering. |
| `updated_at` | timestamp | yes | Set by the server. |
| `owner_id` | array | yes | Used for filtering. |
| `status` | string | yes | Read only. |
| `tags` | string | no | Free text, at most 255 characters. |
| `metadata` | string | no | Used for filtering. |
### Restore releases
`POST /v2/releases/{id}` + `/restore`
Restore releases for the current organization. The caller needs the `releases:write` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 120 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | array | no | Used for filtering. |
| `name` | integer | yes | Free text, at most 255 characters. |
| `created_at` | object | no | Set by the server. |
| `updated_at` | integer | yes | Set by the server. |
| `owner_id` | integer | no | Read only. |
| `status` | string | yes | Returned in list responses. |
| `tags` | timestamp | no | Free text, at most 255 characters. |
| `metadata` | string | yes | Returned in list responses. |
### Export releases
`GET /v2/releases`
Export releases for the current organization. The caller needs the `releases:read` scope. Results are paginated with `page` and `per_page` (default 50, maximum 200). Errors use the standard error body with `code`, `message` and `request_id`. Rate limit: 300 requests per minute per token. Retry on 429 after the number of seconds in `Retry-After`.
| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | object | no | Used for filtering. |
| `name` | object | no | Set by the server. |
| `created_at` | integer | yes | Read only. |
| `updated_at` | string | yes | One of: active, archived, deleted. |
| `owner_id` | integer | yes | Set by the server. |
| `status` | string | yes | Read only. |
| `tags` | object | yes | Set by the server. |
| `metadata` | array | yes | Used for filtering. |