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

# Report telemetry

> Records source-map upload timings for a release.



## OpenAPI

````yaml https://api.interfere.com/openapi.json post /v3/releases/{releaseSlug}/telemetry
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}/telemetry:
    post:
      tags:
        - Releases
      summary: Report telemetry
      description: Records source-map upload timings for a release.
      operationId: reportTelemetry
      parameters:
        - schema:
            pattern: ^rel_.*$
            type: string
          required: true
          name: releaseSlug
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TelemetryRequest'
      responses:
        '200':
          description: Timings recorded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TelemetryResponse'
        '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'
        '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:
    TelemetryRequest:
      properties:
        cleanup:
          type: number
        createRelease:
          type: number
        discover:
          type: number
        fileCount:
          type: number
        preflight:
          type: number
        result:
          $ref: '#/components/schemas/ReleaseBuildResult'
        total:
          type: number
        totalBytes:
          type: number
        upload:
          type: number
      required:
        - cleanup
        - createRelease
        - discover
        - fileCount
        - total
        - totalBytes
        - upload
      description: Timings and counters reported after a source-map upload.
      type: object
    TelemetryResponse:
      properties:
        ok:
          type: boolean
      required:
        - ok
      description: TelemetryResponse
      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
    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
    ReleaseBuildResult:
      enum:
        - ok
        - api_key_wrong_prefix
        - api_key_unreadable
        - api_key_rejected
        - api_key_scope_mismatch
        - pipeline_failed
        - no_source_maps
        - client_maps_unmapped
      description: ReleaseBuildResult
      type: string
  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.