Download OpenAPI specification:
Bugsink API Documentation
List events for an issue. The list response omits the full event data payload.
| cursor | string The pagination cursor value. |
| issue required | string Filter events by issue UUID or friendly ID (required). |
| order | string Enum: "asc" "desc" Sort order of digest_order (default: desc). |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ingested_at": "2019-08-24T14:15:22Z",
- "digested_at": "2019-08-24T14:15:22Z",
- "issue": "984f8aab-1dc8-4804-8ae1-d0944856240b",
- "grouping": 0,
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "project": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "digest_order": 9223372036854776000
}
]
}Retrieve an event by internal Bugsink event UUID. The detail response includes the full data payload.
| id required | string <uuid> Bugsink-internal |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ingested_at": "2019-08-24T14:15:22Z",
- "digested_at": "2019-08-24T14:15:22Z",
- "issue": "984f8aab-1dc8-4804-8ae1-d0944856240b",
- "grouping": 0,
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "project": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "digest_order": 9223372036854776000,
- "data": null,
- "stacktrace_md": "string"
}Add a comment to an issue. issue accepts an issue UUID or friendly ID.
| issue required | string |
| comment required | string |
{- "issue": "string",
- "comment": "string"
}{- "id": 0,
- "issue": "string",
- "project": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "user": 0
}List issues for a project.
| cursor | string The pagination cursor value. |
| order | string Enum: "asc" "desc" Sort order (default: asc). |
| project required | integer Filter issues by project id (required). |
| sort | string Enum: "digest_order" "last_seen" Sort mode (default: digest_order). |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}
]
}Retrieve an issue by issue UUID or friendly ID.
| id required | string <uuid> A UUID string identifying this issue. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}Mute this issue.
| id required | string <uuid> A UUID string identifying this issue. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}Mute this issue for a relative period, e.g. for 3 days.
| id required | string <uuid> A UUID string identifying this issue. |
| period_name required | string (PeriodNameEnum) Enum: "year" "month" "week" "day" "hour" "minute"
|
| nr_of_periods required | integer >= 1 |
{- "period_name": "year",
- "nr_of_periods": 1
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}Mute this issue until a threshold is reached, e.g. more than 10 events in 1 hour.
| id required | string <uuid> A UUID string identifying this issue. |
| period_name required | string (PeriodNameEnum) Enum: "year" "month" "week" "day" "hour" "minute"
|
| nr_of_periods required | integer >= 1 |
| gte_threshold required | integer >= 1 |
{- "period_name": "year",
- "nr_of_periods": 1,
- "gte_threshold": 1
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}Mark this issue as resolved.
| id required | string <uuid> A UUID string identifying this issue. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}Mark this issue as resolved in the latest release.
| id required | string <uuid> A UUID string identifying this issue. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}Mark this issue as resolved by the next release.
| id required | string <uuid> A UUID string identifying this issue. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}Unmute this issue.
| id required | string <uuid> A UUID string identifying this issue. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "friendly_id": "string",
- "project": 0,
- "digest_order": 9223372036854776000,
- "last_seen": "2019-08-24T14:15:22Z",
- "first_seen": "2019-08-24T14:15:22Z",
- "digested_event_count": -9223372036854776000,
- "stored_event_count": 0,
- "calculated_type": "string",
- "calculated_value": "string",
- "transaction": "string",
- "is_resolved": true,
- "is_resolved_by_next_release": true,
- "is_muted": true
}List projects ordered by name.
| cursor | string The pagination cursor value. |
| team | string <uuid> Optional filter by team UUID. |
{- "results": [
- {
- "id": 0,
- "team": "95527efb-6695-4aae-916e-c9869b1fb2bd",
- "name": "string",
- "slug": "string",
- "dsn": "string",
- "digested_event_count": 0,
- "stored_event_count": 0,
- "alert_on_new_issue": true,
- "alert_on_regression": true,
- "alert_on_unmute": true,
- "visibility": "joinable",
- "retention_max_event_count": 9223372036854776000
}
]
}Create a project. team is the team UUID. visibility and alert settings are optional.
| team required | string <uuid> |
| name required | string <= 255 characters |
| visibility | string (ProjectVisibilityEnum) Enum: "joinable" "discoverable" "team_members"
|
| alert_on_new_issue | boolean |
| alert_on_regression | boolean |
| alert_on_unmute | boolean |
| retention_max_event_count | integer <int64> [ 0 .. 9223372036854776000 ] |
{- "team": "95527efb-6695-4aae-916e-c9869b1fb2bd",
- "name": "string",
- "visibility": "joinable",
- "alert_on_new_issue": true,
- "alert_on_regression": true,
- "alert_on_unmute": true,
- "retention_max_event_count": 9223372036854776000
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "team": "95527efb-6695-4aae-916e-c9869b1fb2bd",
- "name": "string",
- "visibility": "joinable",
- "alert_on_new_issue": true,
- "alert_on_regression": true,
- "alert_on_unmute": true,
- "retention_max_event_count": 9223372036854776000
}Retrieve a project by integer project ID. Use expand=team to include the team object.
| id required | integer A unique integer value identifying this project. |
| expand | string Value: "team" Optional related object expansion. |
{- "id": 0,
- "team": "95527efb-6695-4aae-916e-c9869b1fb2bd",
- "name": "string",
- "slug": "string",
- "dsn": "string",
- "digested_event_count": 0,
- "stored_event_count": 0,
- "alert_on_new_issue": true,
- "alert_on_regression": true,
- "alert_on_unmute": true,
- "visibility": "joinable",
- "retention_max_event_count": 9223372036854776000
}Partially update a project by integer project ID.
| id required | integer A unique integer value identifying this project. |
| team | string <uuid> |
| name | string <= 255 characters |
| visibility | string (ProjectVisibilityEnum) Enum: "joinable" "discoverable" "team_members"
|
| alert_on_new_issue | boolean |
| alert_on_regression | boolean |
| alert_on_unmute | boolean |
| retention_max_event_count | integer <int64> [ 0 .. 9223372036854776000 ] |
{- "team": "95527efb-6695-4aae-916e-c9869b1fb2bd",
- "name": "string",
- "visibility": "joinable",
- "alert_on_new_issue": true,
- "alert_on_regression": true,
- "alert_on_unmute": true,
- "retention_max_event_count": 9223372036854776000
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "team": "95527efb-6695-4aae-916e-c9869b1fb2bd",
- "name": "string",
- "visibility": "joinable",
- "alert_on_new_issue": true,
- "alert_on_regression": true,
- "alert_on_unmute": true,
- "retention_max_event_count": 9223372036854776000
}List releases for a project. Pass the integer project ID in the required project query parameter.
| cursor | string The pagination cursor value. |
| project required | integer Filter releases by project id (required). |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": 0,
- "version": "string",
- "date_released": "2019-08-24T14:15:22Z"
}
]
}Create a release for a project. project is the integer project ID. version is the release version string.
| project required | integer |
| version required | string |
| timestamp | string <date-time> |
{- "project": 1,
- "version": "my-package@1.2.3"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": 0,
- "version": "string",
- "date_released": "2019-08-24T14:15:22Z",
- "semver": "string",
- "is_semver": true,
- "sort_epoch": 0
}Retrieve a release by release UUID.
| id required | string <uuid> A UUID string identifying this release. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": 0,
- "version": "string",
- "date_released": "2019-08-24T14:15:22Z",
- "semver": "string",
- "is_semver": true,
- "sort_epoch": 0
}Create a team. visibility is optional and defaults to discoverable.
| name required | string <= 255 characters |
| visibility | string (TeamVisibilityEnum) Enum: "joinable" "discoverable" "hidden"
|
{- "name": "string",
- "visibility": "joinable"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "visibility": "joinable"
}Partially update a team by UUID.
| id required | string <uuid> A UUID string identifying this team. |
| name | string <= 255 characters |
| visibility | string (TeamVisibilityEnum) Enum: "joinable" "discoverable" "hidden"
|
{- "name": "string",
- "visibility": "joinable"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "visibility": "joinable"
}/api/0 and /api/{project_pk}/ paths exist for Sentry-SDK / sentry-cli compatibility (as opposed to the /api/canonical/ paths which are Bugsink-specific).
This endpoint exists because sentry-cli probes Sentry's API root during its login flow. Bugsink returns the minimal Sentry-like org-token response needed for sentry-cli to accept a Bugsink auth token for release and sourcemap upload commands.
{- "version": "string",
- "auth": {
- "scopes": [
- "string"
]
}, - "user": null
}This endpoint exists for sentry-cli sourcemap upload support. See the Bugsink sourcemaps documentation.
| organization_slug required | string Organization slug accepted for sentry-cli compatibility. |
{- "chunkSize": 0,
- "maxRequestSize": 0,
- "maxFileSize": 0,
- "concurrency": 0,
- "chunksPerRequest": 0,
- "hashAlgorithm": "string",
- "compression": [
- "string"
], - "accept": [
- "string"
]
}This endpoint exists for sentry-cli sourcemap upload support. It accepts chunk files named by sha1 checksum. See the Bugsink sourcemaps documentation.
| organization_slug required | string Organization slug accepted for sentry-cli compatibility. |
Multipart form data with file and/or file_gzip file fields.
| property name* additional property | any |
{- "message": "string",
- "detail": "string",
- "error": "string"
}This endpoint exists for sentry-cli sourcemap upload support. It reports missing chunks or queues artifact bundle assembly. See the Bugsink sourcemaps documentation.
| organization_slug required | string Organization slug accepted for sentry-cli compatibility. |
| checksum required | string |
| chunks required | Array of strings |
| projects required | Array of strings |
| property name* additional property | any |
{- "checksum": "string",
- "chunks": [
- "string"
], - "projects": [
- "string"
]
}{- "state": "string",
- "missingChunks": [
- "string"
]
}This endpoint exists for Sentry native debug file upload compatibility through sentry-cli. Bugsink uses the same file upload machinery as sourcemaps where possible.
| organization_slug required | string Organization slug accepted for sentry-cli compatibility. |
| project_slug required | string Existing Bugsink project slug. |
additional property | object |
{- "property1": {
- "chunks": [
- "string"
], - "name": "string",
- "debug_id": "string"
}, - "property2": {
- "chunks": [
- "string"
], - "name": "string",
- "debug_id": "string"
}
}{- "property1": {
- "state": "string",
- "missingChunks": [
- "string"
]
}, - "property2": {
- "state": "string",
- "missingChunks": [
- "string"
]
}
}This endpoint exists for Sentry SDK compatibility. Authenticate with Sentry SDK auth: X-Sentry-Auth or ?sentry_key=.... This is Sentry's deprecated event ingestion endpoint, kept for compatibility with older SDKs. Prefer the envelope endpoint when using SDKs that support it.
| project_pk required | integer Integer Bugsink project id. |
Sentry event JSON.
| property name* additional property | any |
{ }{- "id": "string"
}This endpoint exists for Sentry SDK compatibility. Authenticate with Sentry SDK auth: X-Sentry-Auth or ?sentry_key=.... This is the primary Sentry SDK ingestion endpoint. Envelope DSN authentication is also accepted when present in the envelope headers.
| project_pk required | integer Integer Bugsink project id. |
Sentry envelope payload.
{- "message": "string",
- "detail": "string",
- "error": "string"
}This endpoint exists for Sentry SDK compatibility. Authenticate with Sentry SDK auth: X-Sentry-Auth or ?sentry_key=.... This endpoint exists for Sentry native/minidump upload compatibility.
| project_pk required | integer Integer Bugsink project id. |
Multipart form data containing upload_file_minidump.
| upload_file_minidump required | string <binary> |
| property name* additional property | any |
{- "id": "string"
}Native support for browser CSP violation reports emitted through the report-uri directive. Reports are translated into Bugsink events and processed through the normal ingest pipeline.
This endpoint accepts browser-emitted CSP violation reports from the report-uri directive. Authenticate with ?sentry_key=...; browsers cannot set custom auth headers on CSP report posts.
| project_pk required | integer Integer Bugsink project id. |
CSP report JSON.
required | object |
| property name* additional property | any |
{- "message": "string",
- "detail": "string",
- "error": "string"
}