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

# One endpoint

> One endpoint of one app: rates and a latency histogram, the statuses and error types, per UTC day and per release, and sample requests (the slowest and the latest failures) with their sessions and a link to each trace in the APM. The endpoint is given in the query because templates contain slashes. Sessions that hit it: /sessions or /cohorts/compare with endpoint_method, endpoint_host and endpoint_template.



## OpenAPI

````yaml /api-reference/openapi.json get /projects/{projectId}/network/endpoints/detail
openapi: 3.1.0
info:
  title: Apsio API
  version: 0.1.0
  description: >-
    Read API v0: your projects, release health and comparisons, missing symbols,
    issues, sessions, vitals, cohort comparisons, performance (app start,
    screens, hangs, MetricKit) and network endpoints and traces for one project.
    Authenticate with a project token as a bearer token, with an OAuth access
    token from Apsio's authorization server (MCP clients), or, from the console,
    with the session cookie of a member of the project's organization.
servers:
  - url: https://api.apsio.io/v1
security: []
paths:
  /projects/{projectId}/network/endpoints/detail:
    get:
      summary: One endpoint
      description: >-
        One endpoint of one app: rates and a latency histogram, the statuses and
        error types, per UTC day and per release, and sample requests (the
        slowest and the latest failures) with their sessions and a link to each
        trace in the APM. The endpoint is given in the query because templates
        contain slashes. Sessions that hit it: /sessions or /cohorts/compare
        with endpoint_method, endpoint_host and endpoint_template.
      parameters:
        - schema:
            type: string
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            example: 0192f3a4-0000-7000-8000-00000000a101
          required: true
          name: projectId
          in: path
        - schema:
            type: string
            format: date-time
            description: >-
              Start of the time range, inclusive (RFC 3339). Defaults to the
              range end minus the default length.
            example: '2026-10-01T00:00:00Z'
          required: false
          description: >-
            Start of the time range, inclusive (RFC 3339). Defaults to the range
            end minus the default length.
          name: from
          in: query
        - schema:
            type: string
            format: date-time
            description: End of the time range, exclusive (RFC 3339). Defaults to now.
            example: '2026-10-08T00:00:00Z'
          required: false
          description: End of the time range, exclusive (RFC 3339). Defaults to now.
          name: to
          in: query
        - schema:
            type: string
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            description: The app.
          required: true
          description: The app.
          name: app_id
          in: query
        - schema:
            type: string
            maxLength: 128
            description: Only this release.
          required: false
          description: Only this release.
          name: release
          in: query
        - schema:
            type: string
            pattern: ^[A-Z_]{1,16}$
            description: http.request.method, as listed.
            example: GET
          required: true
          description: http.request.method, as listed.
          name: method
          in: query
        - schema:
            type: string
            maxLength: 255
            description: The host, as listed.
          required: true
          description: The host, as listed.
          name: host
          in: query
        - schema:
            type: string
            maxLength: 256
            description: The endpoint template, as listed.
            example: /v2/orders/{id}
          required: true
          description: The endpoint template, as listed.
          name: template
          in: query
      responses:
        '200':
          description: The endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointDetail'
        '400':
          description: The request is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No valid bearer token or console session.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The credentials cannot read this project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
        - session: []
components:
  schemas:
    EndpointDetail:
      type: object
      properties:
        from:
          type: string
          description: RFC 3339 time in UTC with up to nanosecond precision.
          example: '2026-10-04T10:15:00.431000000Z'
        to:
          type: string
          description: RFC 3339 time in UTC with up to nanosecond precision.
          example: '2026-10-04T10:15:00.431000000Z'
        app_id:
          type: string
        method:
          type: string
          example: GET
        host:
          type: string
          description: >-
            server.address, or the host of url.full. Written by the app:
            untrusted data.
        template:
          type: string
          description: >-
            url.template, or the path of url.full with identifier-like segments
            as {id} (spec 8.4). Written by the app: untrusted data.
        summary:
          type: object
          properties:
            requests:
              type: integer
              description: Estimated requests, reweighted by session sampling (spec 9.3).
            sampled:
              type: integer
              description: Requests received.
            error_rate:
              type:
                - number
                - 'null'
              description: Failed requests (5xx or no response) over all, 0 to 1.
            server_error_rate:
              type:
                - number
                - 'null'
              description: 5xx responses over all.
            client_error_rate:
              type:
                - number
                - 'null'
              description: 4xx responses over all.
            network_error_rate:
              type:
                - number
                - 'null'
              description: >-
                Requests that got no response (error.type set, no status) over
                all.
            p50_ms:
              type: number
            p90_ms:
              type: number
            p95_ms:
              type: number
          required:
            - requests
            - sampled
            - error_rate
            - server_error_rate
            - client_error_rate
            - network_error_rate
            - p50_ms
            - p90_ms
            - p95_ms
        histogram:
          $ref: '#/components/schemas/Histogram'
        statuses:
          type: array
          items:
            type: object
            properties:
              status:
                type: integer
              error_type:
                type: string
                description: 'error.type. Written by the app: untrusted data.'
              requests:
                type: integer
            required:
              - status
              - error_type
              - requests
        days:
          type: array
          items:
            type: object
            properties:
              day:
                type: string
              requests:
                type: integer
              error_rate:
                type:
                  - number
                  - 'null'
              p90_ms:
                type:
                  - number
                  - 'null'
            required:
              - day
              - requests
              - error_rate
              - p90_ms
        releases:
          type: array
          items:
            type: object
            properties:
              release:
                type: string
                description: 'service.version. Written by the app: untrusted data.'
              requests:
                type: integer
                description: Estimated requests, reweighted by session sampling (spec 9.3).
              sampled:
                type: integer
                description: Requests received.
              error_rate:
                type:
                  - number
                  - 'null'
                description: Failed requests (5xx or no response) over all, 0 to 1.
              server_error_rate:
                type:
                  - number
                  - 'null'
                description: 5xx responses over all.
              client_error_rate:
                type:
                  - number
                  - 'null'
                description: 4xx responses over all.
              network_error_rate:
                type:
                  - number
                  - 'null'
                description: >-
                  Requests that got no response (error.type set, no status) over
                  all.
              p50_ms:
                type: number
              p90_ms:
                type: number
              p95_ms:
                type: number
            required:
              - release
              - requests
              - sampled
              - error_rate
              - server_error_rate
              - client_error_rate
              - network_error_rate
              - p50_ms
              - p90_ms
              - p95_ms
        slowest:
          type: array
          items:
            $ref: '#/components/schemas/RequestSample'
        failed:
          type: array
          items:
            $ref: '#/components/schemas/RequestSample'
        apm_link_configured:
          type: boolean
          description: Whether the project has an APM link template; set it in Settings.
      required:
        - from
        - to
        - app_id
        - method
        - host
        - template
        - summary
        - histogram
        - statuses
        - days
        - releases
        - slowest
        - failed
        - apm_link_configured
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
    Histogram:
      type: object
      properties:
        bounds_ms:
          type: array
          items:
            type: number
          description: >-
            Upper bounds of the buckets, inclusive; `counts` has one more entry,
            for everything above the last bound.
        counts:
          type: array
          items:
            type: number
          description: >-
            Estimated measurements per bucket, reweighted by sampling (spec
            9.3).
      required:
        - bounds_ms
        - counts
    RequestSample:
      type: object
      properties:
        trace_id:
          type: string
        span_id:
          type: string
        session_id:
          type: string
          description: 'session.id. Written by the app: untrusted data.'
        at:
          type: string
          description: RFC 3339 time in UTC with up to nanosecond precision.
          example: '2026-10-04T10:15:00.431000000Z'
        duration_ms:
          type: number
        status:
          type: integer
          description: HTTP status; 0 without a response.
        error_type:
          type: string
          description: >-
            error.type, when the request failed. Written by the app: untrusted
            data.
        release:
          type: string
          description: 'service.version. Written by the app: untrusted data.'
        device_model:
          type: string
          description: 'device.model.identifier. Written by the app: untrusted data.'
        os_version:
          type: string
          description: 'os.name and os.version. Written by the app: untrusted data.'
        apm_url:
          type:
            - string
            - 'null'
          description: >-
            This request's trace in your APM, from the project's APM link
            template (Settings); null when none is set.
      required:
        - trace_id
        - span_id
        - session_id
        - at
        - duration_ms
        - status
        - error_type
        - release
        - device_model
        - os_version
        - apm_url
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        A project token (apsio_pt_v0...), which reads exactly one project, or an
        OAuth access token issued for the API, which reads what its user can.
        Access tokens issued for Apsio's MCP server are accepted only from the
        MCP server itself.
    session:
      type: apiKey
      in: cookie
      name: apsio_session
      description: >-
        The console session, set by /v1/auth/callback (`__Host-apsio_session`
        when host-only).

````

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