> ## 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 refresh tokens

> Lists the refresh tokens of the signed-in user, one per signed-in session, with when each was created and expires and the client that created it.



## OpenAPI

````yaml /api-reference/cloud-platform-openapi.json get /v1/users/me/refresh-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/users/me/refresh-tokens:
    get:
      tags:
        - Account
      summary: List refresh tokens
      description: >-
        Lists the refresh tokens of the signed-in user, one per signed-in
        session, with when each was created and expires and the client that
        created it.
      operationId: list_user_refresh_tokens
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/RefreshTokenResponse'
                type: array
          description: The user's refresh tokens.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Missing or invalid credential.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal error.
      security:
        - session: []
components:
  schemas:
    RefreshTokenResponse:
      description: >-
        A refresh token of the signed-in user. The token value itself is never
        returned.
      properties:
        created_at:
          format: date-time
          type: string
        expires_at:
          format: date-time
          type: string
        id:
          description: The id of the refresh token, used to revoke it.
          type: string
        ip_address:
          description: The address the session was started from, if known.
          type:
            - string
            - 'null'
        user_agent:
          description: The `User-Agent` of the client that started the session.
          type: string
        user_id:
          type: string
      required:
        - id
        - user_id
        - created_at
        - expires_at
        - user_agent
      type: object
    ErrorResponse:
      description: The body of every error answer on the user routes.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      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.