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
Example response
{
"created_at": "2025-10-12T12:15:47.609192Z"
}Changes
No recorded changes to this operation across all 50 revisions of this API.