Debug Symbols API
Available in Telebugs 2.2.0 and later.
Use the Debug Symbols guide to prepare a matching
iOS dSYM. All paths below are relative to your Telebugs installation. Authenticate
with Authorization: Bearer <account API key>. The key’s user must be active and
belong to the project. SDK tokens cannot upload symbols.
The API uses debug-files in its paths; the application calls this feature
Debug symbols.
For existing build pipelines, the CLI upload workflow
supports dSYMs, --include-sources, duplicate detection, and waiting for
processing. It does not require a release. The endpoints below provide the
independent raw-file API.
Upload symbols
POST /api/telebugs/v1/projects/{project_id}/debug-files
Send the file bytes directly in the request body, with Content-Type: application/zip for zipped dSYMs or application/octet-stream for the individual
Mach-O symbol file from a dSYM’s Contents/Resources/DWARF/ directory.
A generated source bundle (.src.zip) can use either content type.
application/x-zip-compressed is also accepted. Multipart bodies and compressed
HTTP request bodies are not supported.
The optional X-Telebugs-Filename header supplies a plain filename of at most
255 bytes. Do not include a directory path. See the guide for a complete
CI upload example.
An accepted upload returns 202:
{
"files": [
{
"id": 42,
"debug_id": "12345678-1234-1234-1234-123456789abc",
"arch": "arm64",
"kind": "symbols",
"state": "pending",
"created": true
}
]
}
Each build UUID, architecture, and kind has its own record. kind is symbols
or sources; a source bundle coexists with its matching dSYM. A ZIP or universal binary
can return several records. Processing runs asynchronously; poll the list below
until the required files are ready. Uploading identical symbols again reuses
their records and can retry conversion. Different contents for an existing
project/UUID/architecture/kind return 409 instead of replacing the original.
List uploaded symbols
GET /api/telebugs/v1/projects/{project_id}/debug-files
GET /api/telebugs/v1/projects/{project_id}/debug-files?after={file_id}
Returns 200, with up to 100 records ordered by increasing ID:
{
"files": [
{
"id": 42,
"debug_id": "12345678-1234-1234-1234-123456789abc",
"arch": "arm64",
"kind": "symbols",
"name": "App.app.dSYM.zip",
"sha1": "0123456789abcdef0123456789abcdef01234567",
"state": "ready",
"error": null,
"created_at": "2026-11-20 12:00:00",
"byte_size": 1048576
}
],
"next_cursor": null
}
Pass a non-null next_cursor as the next request’s after value. Continue until
it is null; a full last page may be followed by an empty page. File states are
pending, ready, or failed. The error field contains a processing error
code when available. The examples use illustrative identifiers and sizes.
Delete symbols
DELETE /api/telebugs/v1/projects/{project_id}/debug-files/{file_id}
Requires an administrator who belongs to the project. Returns 204 with no body. Only the selected symbol or source-code record is removed. Previously resolved report locations and source snippets remain readable. Shared uploaded data is removed once no remaining record uses it. Other architectures and projects retain their symbols.
Retry a report
POST /api/telebugs/v1/projects/{project_id}/groups/{group_id}/reports/{report_id}/native_retry
Requires an administrator who belongs to the project. Send no request body. Returns 202:
{"report_id": 123, "state": "pending"}
Repeated requests while the report is pending do not create duplicate work. A report without preserved native frames returns 422. A dSYM cannot reconstruct addresses that were never captured. Normal uploads already retry reports waiting for matching symbols, so this endpoint is primarily for recovery.
Limits and errors
Each upload and individual symbol file is limited to 256 MiB. ZIPs may contain at most 2,000 entries, 64 symbol files, and 512 MiB of expanded data. See the format and storage limits.
Errors use the API’s problem response format.
| Status | Meaning and next action |
|---|---|
| 400 | Invalid filename or pagination cursor. Correct the request. |
| 401 | Missing or invalid account API key. |
| 403 | Administrator access required for deletion or report retry. |
| 404 | Project is inaccessible, or the requested file/report does not exist in it. |
| 409 | Different contents already exist for this UUID, architecture, and file kind. Check the exact build. |
| 413 | Upload exceeds the byte limit. Split the archive if it contains several dSYMs. |
| 415 | Unsupported media type or HTTP content encoding. Send raw file bytes. |
| 422 | Unsupported or invalid symbols, archive limits exceeded, or no native report frames to retry. |
| 429 | Another upload or symbol-processing session is busy. Honor Retry-After. |
| 503 | Temporary processing or storage failure. Retry the same file after the installation recovers. |
| 507 | Insufficient free disk space while preserving the configured reserve. |