source-maps

Upload a source map for a release.

Accepts a multipart form with:

  • file: The .map file (required)
  • file_path: The URL path of the minified file as it appears in stack traces (required). Uses the ~ prefix convention (e.g., "~/assets/main.js"). If a full URL is provided, it will be normalized automatically.
  • dist: Optional distribution identifier

If a source map already exists for the same (project, release, file_path), it is replaced.

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

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-maps
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

releasestring required

Release version

Response

Source map uploaded

checksumstring nullable
created_atstring required
diststring nullable
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.