---
title: "Upload a source map artifact"
method: POST
path: "/api/v1/projects/{projectId}/sourcemaps"
tags: ["Projects"]
---

# Upload a source map artifact

`POST /api/v1/projects/{projectId}/sourcemaps`

Uploads a compressed source map artifact for later issue symbolication. Accepts either a project-scoped `sl_public_*` ingest key for this project or a server-side `sl_management_*` key for the org.

## Path parameters

- `projectId` string, uuid, required

## Request body

- object
  - `platform` string, required
  - `release` string, required
  - `dist` string
  - `debugId` string
  - `bundleFile` string
  - `mapFile` string, required
  - `sourceMap` string, required
  - `sourceMapHash` string, required
  - `sourceMapBytes` integer, required

## Response `200`

Source map stored

- object
  - `ok` true, required

## Other responses

- `400` — Malformed input
- `401` — Missing / wrong-type / revoked token
- `404` — Resource not found in this org

---

[API](https://skmtc.net/superlog/apis/superlog-management-api.md) · [All operations](https://skmtc.net/superlog/apis/superlog-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/superlog/superlog-management-api/revisions/2f60b7ba8dc6/schema)
