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

# List reporting tokens

> Lists the organization's active reporting tokens with their non-secret prefix and timestamps. Token values are never returned. Only organization owners and admins can list them.



## OpenAPI

````yaml /api-reference/cloud-platform-openapi.json get /v1/organizations/{org_id}/reporting-tokens
openapi: 3.1.0
info:
  description: Account, organization, workspace and billing routes of NEAR AI Cloud.
  title: NEAR AI Cloud Platform API
  version: '5'
servers:
  - url: https://cloud-platform.near.ai
    description: NEAR AI Cloud Platform
security: []
paths:
  /v1/organizations/{org_id}/reporting-tokens:
    get:
      tags:
        - Reporting tokens
      summary: List reporting tokens
      description: >-
        Lists the organization's active reporting tokens with their non-secret
        prefix and timestamps. Token values are never returned. Only
        organization owners and admins can list them.
      operationId: list_reporting_tokens
      parameters:
        - description: The organization id (a UUID).
          in: path
          name: org_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListReportingTokensResponse'
          description: The active reporting tokens.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Missing or invalid credential.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The signed-in user is not an owner or admin of this organization.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The organization does not exist.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal error.
      security:
        - session: []
components:
  schemas:
    ListReportingTokensResponse:
      properties:
        reporting_tokens:
          items:
            $ref: '#/components/schemas/ReportingTokenResponse'
          type: array
        total:
          format: int64
          type: integer
      required:
        - reporting_tokens
        - total
      type: object
    ErrorResponse:
      description: The body of every error answer on the user routes.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      type: object
    ReportingTokenResponse:
      properties:
        created_at:
          format: date-time
          type: string
        created_by_user_id:
          format: uuid
          type: string
        expires_at:
          format: date-time
          type:
            - string
            - 'null'
        id:
          format: uuid
          type: string
        last_used_at:
          description: >-
            Approximate last-authentication timestamp, refreshed at most once
            every 15 minutes.
          format: date-time
          type:
            - string
            - 'null'
        name:
          type: string
        organization_id:
          format: uuid
          type: string
        scope:
          description: What the token may read. Currently only `usage:read`.
          example: usage:read
          type: string
        token_prefix:
          description: Non-secret token prefix for display and audit correlation.
          type: string
      required:
        - id
        - organization_id
        - name
        - token_prefix
        - created_by_user_id
        - created_at
        - scope
      type: object
    ErrorDetail:
      properties:
        code:
          type:
            - string
            - 'null'
        message:
          type: string
        param:
          type:
            - string
            - 'null'
        type:
          type: string
      required:
        - message
        - type
      type: object
  securitySchemes:
    session:
      bearerFormat: Session token
      description: 'Session token from signing in, sent as `Authorization: Bearer <token>`.'
      scheme: bearer
      type: http

````

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