> ## Documentation Index
> Fetch the complete documentation index at: https://interfere.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate a source-map batch and return its upload URLs



## OpenAPI

````yaml https://api.interfere.com/openapi.json post /v3/releases/{releaseSlug}/source-maps/sign
openapi: 3.0.0
info:
  title: Interfere API
  termsOfService: https://interfere.com/legal/terms-of-service
  contact:
    email: support@interfere.com
    name: Interfere Support
    url: https://interfere.com/~/*/settings/support
  license:
    name: All Rights Reserved
  description: >-
    Interfere empowers engineers, product managers and designers with real-time
    understanding of previously unseen bugs and issues.
  version: 3.0.0
servers:
  - url: https://api.interfere.com
    description: This environment
security: []
tags:
  - name: Drain
    description: Drain API
  - name: Releases
    description: Build-time release API
  - name: Replay
    description: Session replay chunk ingest API
  - name: Sessions
    description: Session and end-user identity API
  - name: Updates
    description: Desktop app update API
  - name: Traces
    description: Trace waterfall read API
externalDocs:
  url: https://interfere.com/docs
  description: Interfere Documentation
paths:
  /v3/releases/{releaseSlug}/source-maps/sign:
    post:
      tags:
        - Releases
      summary: Validate a source-map batch and return its upload URLs
      operationId: signSourceMapUploads
      parameters:
        - schema:
            type: string
            pattern: ^rel_.*$
          required: true
          name: releaseSlug
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignSourceMapsRequest'
      responses:
        '200':
          description: Per-file upload URLs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignSourceMapsResponse'
        '401':
          description: Missing or invalid secret key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyAuthProblem'
        '403':
          description: Secret key lacks the `release:write` scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyScopeProblem'
        '422':
          description: The sign request was rejected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignSourceMapsProblem'
        '503':
          description: >-
            A dependency failed while recording the release; retry with backoff
            after the Retry-After delay
          headers:
            Retry-After:
              schema:
                type: string
                description: Seconds to wait before retrying
              required: true
              description: Seconds to wait before retrying
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleaseUnavailableProblem'
      security:
        - apiKey: []
        - apiKeyHeader: []
components:
  schemas:
    SignSourceMapsRequest:
      type: object
      properties:
        files:
          type: array
          items:
            $ref: '#/components/schemas/SignSourceMapFile'
      required:
        - files
      description: >-
        Per-file metadata the SDK uses to obtain presigned PUT URLs. The server
        validates per-file size and total file count, then issues short-lived
        URLs scoped to the release's R2 prefix. The SDK uploads to R2 directly
        and follows up with a `complete` call to materialize the manifest.
    SignSourceMapsResponse:
      type: object
      properties:
        uploads:
          type: array
          items:
            $ref: '#/components/schemas/SignSourceMapUpload'
        expiresAt:
          type: integer
      required:
        - uploads
        - expiresAt
      description: SignSourceMapsResponse
    ApiKeyAuthProblem:
      type: object
      properties:
        code:
          type: string
          enum:
            - AUTH_MISSING
            - AUTH_AK_INVALID
        message:
          type: string
        service:
          type: string
          enum:
            - collector
            - gateway
            - operation
            - intelligence
      required:
        - code
    ApiKeyScopeProblem:
      type: object
      properties:
        code:
          type: string
          enum:
            - AUTH_AK_SCOPE_MISMATCH
        message:
          type: string
        service:
          type: string
          enum:
            - collector
            - gateway
            - operation
            - intelligence
      required:
        - code
    SignSourceMapsProblem:
      type: object
      properties:
        code:
          type: string
          enum:
            - RELEASE_NOT_FOUND
            - RELEASE_SIGN_EMPTY
            - RELEASE_SIGN_TOO_MANY_FILES
            - RELEASE_SIGN_FILE_TOO_LARGE
            - RELEASE_SIGN_DUPLICATE_PATH
        message:
          type: string
        service:
          type: string
          enum:
            - collector
            - gateway
            - operation
            - intelligence
      required:
        - code
    ReleaseUnavailableProblem:
      type: object
      properties:
        code:
          type: string
          enum:
            - INGEST_INFRA_UNAVAILABLE
        message:
          type: string
        service:
          type: string
          enum:
            - collector
            - gateway
            - operation
            - intelligence
      required:
        - code
    SignSourceMapFile:
      type: object
      properties:
        path:
          type: string
          minLength: 1
        sizeBytes:
          type: integer
          minimum: 0
        hasSourcesContent:
          type: boolean
        hasNames:
          type: boolean
        hasFile:
          type: boolean
        mappingsPresent:
          type: boolean
      required:
        - path
        - sizeBytes
        - hasSourcesContent
        - hasNames
        - hasFile
        - mappingsPresent
      description: SignSourceMapFile
    SignSourceMapUpload:
      type: object
      properties:
        path:
          type: string
        objectKey:
          type: string
        presignedUrl:
          type: string
      required:
        - path
        - objectKey
        - presignedUrl
      description: SignSourceMapUpload
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        Build-time secret key of the surface, as issued in the Interfere
        dashboard
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Build-time secret key of the surface, unwrapped; for clients that cannot
        set an Authorization header

````