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

# Network endpoints

> HTTP requests the apps made (spec 8.4), grouped by app, method, host and endpoint template: estimated requests, error rates and latency percentiles, with the totals of every request in the range. Default range: the last 7 days, at most 30.



## OpenAPI

````yaml /api-reference/openapi.json get /projects/{projectId}/network/endpoints
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:
    get:
      summary: Network endpoints
      description: >-
        HTTP requests the apps made (spec 8.4), grouped by app, method, host and
        endpoint template: estimated requests, error rates and latency
        percentiles, with the totals of every request in the range. Default
        range: the last 7 days, at most 30.
      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: Only this app.
          required: false
          description: Only this 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
            maxLength: 255
            description: Only this host.
          required: false
          description: Only this host.
          name: host
          in: query
        - schema:
            type: string
            enum:
              - requests
              - error_rate
              - p90
            default: requests
          required: false
          name: sort
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100000
            default: 1
            description: Leave out endpoints with fewer requests received than this.
          required: false
          description: Leave out endpoints with fewer requests received than this.
          name: min_requests
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
          required: false
          name: limit
          in: query
      responses:
        '200':
          description: The endpoints, sorted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Endpoints'
        '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:
    Endpoints:
      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'
        totals:
          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
        endpoints:
          type: array
          items:
            $ref: '#/components/schemas/Endpoint'
      required:
        - from
        - to
        - totals
        - endpoints
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
    Endpoint:
      type: object
      properties:
        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.
        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
        last_seen:
          type: string
          description: RFC 3339 time in UTC with up to nanosecond precision.
          example: '2026-10-04T10:15:00.431000000Z'
      required:
        - app_id
        - method
        - host
        - template
        - requests
        - sampled
        - error_rate
        - server_error_rate
        - client_error_rate
        - network_error_rate
        - p50_ms
        - p90_ms
        - p95_ms
        - last_seen
  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.