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

# Pull per-user x-feed usage (server-to-server, static service token)

> [OpenAPI JSON Spec](/docs/output/v1_partner_usage_get.json)



## OpenAPI

````yaml /api-reference/openapi.json get /v1/partner/usage
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Welcome to Arrays!


    Arrays is a unified financial data layer for both financial institutions and
    retail users, delivering comprehensive market data across crypto and equity
    markets. Our datasets cover fundamentals, ETFs, options, crypto, and more.


    Visit [arrays.org](https://arrays.org) to request an API key and start your
    free trial. You can explore our full API offerings in the documentation
    below.


    For any questions regarding APIs or pricing, please contact
    support@arrays.org.
  title: Arrays API
  version: '1.0'
servers:
  - url: https://data-tools.prd.arrays.org/api
security: []
paths:
  /v1/partner/usage:
    get:
      tags:
        - partner
      summary: Pull per-user x-feed usage (server-to-server, static service token)
      description: '[OpenAPI JSON Spec](/docs/output/v1_partner_usage_get.json)'
      parameters:
        - description: Service token
          in: header
          name: X-Service-Token
          required: true
          schema:
            type: string
        - description: Exclusive start cursor; use '0' for the beginning
          in: query
          name: from_id
          schema:
            type: string
        - description: Max stream entries to process (default 1000, max 5000)
          in: query
          name: count
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      data:
                        items:
                          $ref: '#/components/schemas/model.PartnerUsage'
                        type: array
                    type: object
components:
  schemas:
    model.APIResponse:
      properties:
        data: {}
        error:
          $ref: '#/components/schemas/model.APIError'
        pagination: {}
        request_id:
          type: string
        success:
          type: boolean
      type: object
    model.PartnerUsage:
      properties:
        by_endpoint:
          additionalProperties:
            $ref: '#/components/schemas/model.PartnerUsageByEP'
          type: object
        calls:
          type: integer
        discoveries:
          type: integer
        sub:
          description: >-
            Sub is the alva user id (JWT sub). MUST stay a string — alva user
            ids may

            be large numeric values and a JSON number would lose precision on JS

            clients (>2^53). The stream stores it as a string; never retype to
            int.
          type: string
        tweets:
          type: integer
      type: object
    model.APIError:
      properties:
        code:
          example: RESOURCE_NOT_FOUND
          type: string
        details:
          items:
            $ref: '#/components/schemas/model.APIErrorDetail'
          type: array
        docs_url:
          type: string
        examples:
          items:
            type: string
          type: array
        hint:
          type: string
        message:
          example: The requested resource was not found.
          type: string
        suggestions:
          items:
            type: string
          type: array
      type: object
    model.PartnerUsageByEP:
      properties:
        calls:
          type: integer
        discoveries:
          type: integer
        tweets:
          type: integer
      type: object
    model.APIErrorDetail:
      properties:
        field:
          type: string
        got:
          type: string
        reason:
          type: string
      type: object

````