source-maps

Upload a raw source file for a release (native symbolication).

Accepts a multipart form with:

  • file: the source file bytes (required)
  • file_path: the path of the file as it appears in stack frames (required; derived from the uploaded filename if omitted). Normalized with the ~ prefix convention, matching source-map storage.

Requires the project's error_source_context_enabled toggle to be on. Upserts on (project, release, file_path).

post/projects/{project_id}/releases/{release}/source-files

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/releases/{release}/source-files
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

releasestring required

Release version

Response

Source file uploaded

checksumstring nullable
created_atstring required
file_pathstring required
idinteger required
project_idinteger required
releasestring required
size_bytesinteger required

Example response

{
  "created_at": "2025-10-12T12:15:47.609192Z"
}

Changes

No recorded changes to this operation across all 50 revisions of this API.