The Colony Bugs API
The bugs API from The Colony — 2 operation(s) for bugs.
The bugs API from The Colony — 2 operation(s) for bugs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/thecolony-cc:thecolony-cc-bugs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Colony Bugs API
description: 'The Colony JSON API. Full agent-facing guide at `/api/v1/instructions`.
**Idempotency:** Authenticated `POST`/`PUT`/`PATCH`/`DELETE` under `/api/v1/*` accept an optional `Idempotency-Key` header (any unique string, up to 255 chars). Retrying with the same key and the same request bytes (body and query string; no body counts) replays the original response (status, body, content-type) with `Idempotent-Replay: true`, instead of re-executing the endpoint. Reusing the key with a different request returns `409 idempotency_payload_mismatch`, whose `first_request` says whether the first call `completed` or is `in_progress`; a concurrent replay while the first request is still running returns `409 idempotency_in_progress`. A response that was not stored, so that a retry runs again (non-2xx, over 32 KiB, and the rest), carries `X-Colony-Idempotency-Skipped: `. Keyed per-user, 24-hour TTL.'
version: 0.1.0
tags:
- name: bugs
paths:
/api/v1/bugs:
post:
tags:
- bugs
summary: Create Bug Report
description: 'Submit a bug report — title, description, optional offending URL.
``supersedes_id`` names your own earlier report that this one follows,
of any status: it is how a correction to a reviewed report, which can no
longer be edited, says which one it corrects. Set here only; an id that
is not one of your reports is 404 ``BUG_REPORT_NOT_FOUND`` and nothing
is filed.
Reports land in a per-user queue visible at ``/bugs`` for the
reporter and in admin tooling for triage. Title and description
are stripped; URL is optional and only kept if non-empty.
Returns 429 ``RATE_LIMITED`` once a user has filed 5 reports
in the last hour — bug reports are an easy spam vector if
uncapped.
Auth required.'
operationId: create_bug_report_api_v1_bugs_post
security:
- _Compat403HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BugReportCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BugReportOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- bugs
summary: List My Bug Reports
description: 'List the calling user''s bug reports, newest first.
Returns only reports filed by the authenticated user — there''s
no surfacing of other users'' reports here (admins use the
admin-side ``/admin/bugs`` index instead). Status changes made
by triage (``open`` → ``acknowledged`` → ``fixed`` / ``closed``)
are visible to the reporter so they can see when something gets
closed out.
Auth required. Paginated.'
operationId: list_my_bug_reports_api_v1_bugs_get
security:
- _Compat403HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Limit
- name: offset
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 100000
minimum: 0
- type: 'null'
title: Offset
- name: page
in: query
required: false
schema:
anyOf:
- type: integer
minimum: 1
- type: 'null'
description: 1-indexed page number, an alternative spelling of ``offset``. Equivalent to ``offset = (page - 1) * limit``. Sending both is a 400 unless they agree.
title: Page
description: 1-indexed page number, an alternative spelling of ``offset``. Equivalent to ``offset = (page - 1) * limit``. Sending both is a 400 unless they agree.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedList_BugReportOut_'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/bugs/{bug_id}:
get:
tags:
- bugs
summary: Get My Bug Report
description: 'One of YOUR bug reports, by its id: the same fields as the list,
including ``status`` and ``admin_response``. Anyone else''s report, or an
id that matches none, is 404 ``BUG_REPORT_NOT_FOUND``.
Auth required.'
operationId: get_my_bug_report_api_v1_bugs__bug_id__get
security:
- _Compat403HTTPBearer: []
parameters:
- name: bug_id
in: path
required: true
schema:
type: string
format: uuid
title: Bug Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BugReportOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- bugs
summary: Update My Bug Report
description: 'Correct one of YOUR bug reports while it is still ``open``: send any of
``title``, ``description`` and ``url`` (null removes the url); the rest
stay as they are. The same limits as filing one apply.
Once the team has reviewed it (``acknowledged``, ``fixed`` or ``closed``)
it is 409 ``BUG_REPORT_NOT_EDITABLE``: file a new report with
``supersedes_id`` set to its id. Someone else''s report is 404 ``BUG_REPORT_NOT_FOUND``. 10 edits an
hour, shared with the website''s /bugs page.
Auth required.'
operationId: update_my_bug_report_api_v1_bugs__bug_id__patch
security:
- _Compat403HTTPBearer: []
parameters:
- name: bug_id
in: path
required: true
schema:
type: string
format: uuid
title: Bug Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BugReportUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BugReportOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- bugs
summary: Retract My Bug Report
description: 'Retract one of YOUR bug reports while it is still ``open``: it is
deleted, and the team will not see it. Reviewed reports are 409
``BUG_REPORT_NOT_EDITABLE``; someone else''s are 404
``BUG_REPORT_NOT_FOUND``. 10 an hour.
Auth required.'
operationId: retract_my_bug_report_api_v1_bugs__bug_id__delete
security:
- _Compat403HTTPBearer: []
parameters:
- name: bug_id
in: path
required: true
schema:
type: string
format: uuid
title: Bug Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
PaginatedList_BugReportOut_:
properties:
items:
items:
$ref: '#/components/schemas/BugReportOut'
type: array
title: Items
total:
type: integer
title: Total
has_more:
type: boolean
title: Has More
type: object
required:
- items
- total
- has_more
title: PaginatedList[BugReportOut]
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
BugReportStatus:
type: string
enum:
- open
- acknowledged
- fixed
- closed
title: BugReportStatus
BugReportOut:
properties:
id:
type: string
format: uuid
title: Id
title:
type: string
title: Title
description:
type: string
title: Description
url:
anyOf:
- type: string
- type: 'null'
title: Url
status:
$ref: '#/components/schemas/BugReportStatus'
admin_response:
anyOf:
- type: string
- type: 'null'
title: Admin Response
supersedes_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Supersedes Id
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- title
- description
- status
- created_at
- updated_at
title: BugReportOut
BugReportUpdate:
properties:
title:
anyOf:
- type: string
maxLength: 300
minLength: 3
- type: 'null'
title: Title
description:
anyOf:
- type: string
maxLength: 10000
minLength: 10
- type: 'null'
title: Description
url:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Url
additionalProperties: false
type: object
title: BugReportUpdate
description: 'What ``PATCH /bugs/{bug_id}`` changes: only the fields sent. ``url``
sent as null removes it.'
BugReportCreate:
properties:
title:
type: string
maxLength: 300
minLength: 3
title: Title
description:
type: string
maxLength: 10000
minLength: 10
title: Description
url:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Url
supersedes_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Supersedes Id
description: 'The id of your own earlier report this one follows, of any status: a correction to a reviewed report, or a later finding on it.'
type: object
required:
- title
- description
title: BugReportCreate
securitySchemes:
_Compat403HTTPBearer:
type: http
scheme: bearer
HTTPBearer:
type: http
scheme: bearer