> ## 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.

# Sign source maps

> Initializes a source-map upload session and returns its expiry and file inventory.



## OpenAPI

````yaml https://api.interfere.com/openapi.json post /v3/releases/{releaseSlug}/source-maps/sign
openapi: 3.0.4
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
    url: https://interfere.com/legal/terms-of-service
  description: >-
    Register builds, ingest telemetry, and inspect application issues. Build
    operations authenticate with a secret surface key; SDK ingestion uses a
    publishable surface key. Dashboard operations require a Clerk session, and
    investigation endpoints require workload identity. Authentication
    alternatives are listed on each operation. Retry only when the operation
    contract permits it, preserving the original idempotency key.
  version: 3.0.0
servers:
  - url: https://api.interfere.com
    description: This environment
security: []
tags:
  - name: Releases
    description: Build registration and source-map uploads
  - name: Sessions
    description: Session identity, activity, and events
externalDocs:
  url: https://interfere.com/docs
  description: Interfere Documentation
paths:
  /v3/releases/{releaseSlug}/source-maps/sign:
    post:
      tags:
        - Releases
      summary: Sign source maps
      description: >-
        Initializes a source-map upload session and returns its expiry and file
        inventory.
      operationId: signSourceMapUploads
      parameters:
        - schema:
            pattern: ^rel_.*$
            type: string
          required: true
          name: releaseSlug
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignSourceMapsRequest'
      responses:
        '200':
          description: Upload session expiry and file inventory
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceMapUploadSessionResponse'
        '401':
          description: Missing or invalid secret key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyAuthProblem'
        '403':
          description: Secret key lacks the required scope or its network is blocked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyScopeProblem'
        '409':
          description: Release already has different source maps
          content:
            application/json:
              schema:
                properties:
                  code:
                    enum:
                      - RELEASE_UPLOAD_CONFLICT
                    type: string
                  message:
                    type: string
                  service:
                    enum:
                      - collector
                      - gateway
                      - operation
                      - intelligence
                      - frontier-auth
                      - frontier-drain
                      - frontier-runtime
                      - frontier-buildtime
                      - api-tinybird
                      - api-findings
                      - api-updates
                    type: string
                required:
                  - code
                type: object
        '413':
          description: Source maps exceed the total release size limit
          content:
            application/json:
              schema:
                properties:
                  code:
                    enum:
                      - RELEASE_SIGN_BATCH_TOO_LARGE
                    type: string
                  message:
                    type: string
                  service:
                    enum:
                      - collector
                      - gateway
                      - operation
                      - intelligence
                      - frontier-auth
                      - frontier-drain
                      - frontier-runtime
                      - frontier-buildtime
                      - api-tinybird
                      - api-findings
                      - api-updates
                    type: string
                required:
                  - code
                type: object
        '422':
          description: The sign request was rejected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignSourceMapsProblem'
        '429':
          description: Upload capacity is unavailable
          headers:
            Retry-After:
              schema:
                description: Seconds to wait before retrying
                type: string
              required: true
              description: Seconds to wait before retrying
          content:
            application/json:
              schema:
                properties:
                  code:
                    enum:
                      - INGEST_BACKPRESSURE
                    type: string
                  message:
                    type: string
                  service:
                    enum:
                      - collector
                      - gateway
                      - operation
                      - intelligence
                      - frontier-auth
                      - frontier-drain
                      - frontier-runtime
                      - frontier-buildtime
                      - api-tinybird
                      - api-findings
                      - api-updates
                    type: string
                required:
                  - code
                type: object
        '503':
          description: >-
            A dependency failed while recording the release; retry with backoff
            after the Retry-After delay
          headers:
            Retry-After:
              schema:
                description: Seconds to wait before retrying
                type: string
              required: true
              description: Seconds to wait before retrying
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleaseUnavailableProblem'
      security:
        - apiKey: []
        - apiKeyHeader: []
components:
  schemas:
    SignSourceMapsRequest:
      properties:
        files:
          items:
            $ref: '#/components/schemas/SignSourceMapFile'
          type: array
      required:
        - files
      description: >-
        Initializes an upload session with the file inventory and declared
        sizes. Upload each file through the source-map endpoint using ordered
        byte offsets, then finalize the complete batch before the session
        expires.
      type: object
    SourceMapUploadSessionResponse:
      properties:
        expiresAt:
          type: integer
        uploads:
          items:
            properties:
              path:
                type: string
            required:
              - path
            type: object
          type: array
      required:
        - expiresAt
        - uploads
      type: object
    ApiKeyAuthProblem:
      properties:
        code:
          enum:
            - AUTH_MISSING
            - AUTH_AK_INVALID
          type: string
        message:
          type: string
        service:
          enum:
            - collector
            - gateway
            - operation
            - intelligence
            - frontier-auth
            - frontier-drain
            - frontier-runtime
            - frontier-buildtime
            - api-tinybird
            - api-findings
            - api-updates
          type: string
      required:
        - code
      type: object
    ApiKeyScopeProblem:
      anyOf:
        - properties:
            code:
              enum:
                - AUTH_AK_SCOPE_MISMATCH
              type: string
            message:
              type: string
            service:
              enum:
                - collector
                - gateway
                - operation
                - intelligence
                - frontier-auth
                - frontier-drain
                - frontier-runtime
                - frontier-buildtime
                - api-tinybird
                - api-findings
                - api-updates
              type: string
          required:
            - code
          type: object
        - properties:
            code:
              enum:
                - NETWORK_ACCESS_DENIED
              type: string
            message:
              type: string
            service:
              enum:
                - collector
                - gateway
                - operation
                - intelligence
                - frontier-auth
                - frontier-drain
                - frontier-runtime
                - frontier-buildtime
                - api-tinybird
                - api-findings
                - api-updates
              type: string
          required:
            - code
          type: object
    SignSourceMapsProblem:
      properties:
        code:
          enum:
            - RELEASE_NOT_FOUND
            - RELEASE_SIGN_EMPTY
            - RELEASE_SIGN_TOO_MANY_FILES
            - RELEASE_SIGN_FILE_TOO_LARGE
            - RELEASE_SIGN_DUPLICATE_PATH
            - RELEASE_UPLOAD_INVALID
          type: string
        message:
          type: string
        service:
          enum:
            - collector
            - gateway
            - operation
            - intelligence
            - frontier-auth
            - frontier-drain
            - frontier-runtime
            - frontier-buildtime
            - api-tinybird
            - api-findings
            - api-updates
          type: string
      required:
        - code
      type: object
    ReleaseUnavailableProblem:
      anyOf:
        - properties:
            code:
              enum:
                - INGEST_INFRA_UNAVAILABLE
              type: string
            message:
              type: string
            service:
              enum:
                - collector
                - gateway
                - operation
                - intelligence
                - frontier-auth
                - frontier-drain
                - frontier-runtime
                - frontier-buildtime
                - api-tinybird
                - api-findings
                - api-updates
              type: string
          required:
            - code
          type: object
        - properties:
            code:
              enum:
                - NETWORK_ACCESS_UNAVAILABLE
              type: string
            message:
              type: string
            service:
              enum:
                - collector
                - gateway
                - operation
                - intelligence
                - frontier-auth
                - frontier-drain
                - frontier-runtime
                - frontier-buildtime
                - api-tinybird
                - api-findings
                - api-updates
              type: string
          required:
            - code
          type: object
    SignSourceMapFile:
      properties:
        hasFile:
          type: boolean
        hasNames:
          type: boolean
        hasSourcesContent:
          type: boolean
        mappingsPresent:
          type: boolean
        path:
          minLength: 1
          type: string
        sizeBytes:
          minimum: 0
          type: integer
      required:
        - hasFile
        - hasNames
        - hasSourcesContent
        - mappingsPresent
        - path
        - sizeBytes
      description: SignSourceMapFile
      type: object
  securitySchemes:
    apiKey:
      description: >-
        Build-time secret key of the surface, as issued in the Interfere
        dashboard
      scheme: bearer
      type: http
    apiKeyHeader:
      description: >-
        Build-time secret key of the surface, unwrapped; for clients that cannot
        set an Authorization header
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.