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

# List credit history

> One page of your organization's credit history, newest first.

Every credit bought and every credit spent, with the purchase or room behind it,
so the current balance can be reconciled line by line.

Use `limit` and `offset` to page through the history.



## OpenAPI

````yaml https://api.staging.glot.com/openapi.json get /v1/billing/movements
openapi: 3.1.0
info:
  title: glot-api
  version: 0.1.0
servers: []
security: []
tags:
  - name: rooms
    description: Create translation rooms and let participants join them.
  - name: usage
    description: Minutes and charges over time, for reporting and charts.
  - name: billing
    description: Buy prepaid credit and review the balance behind it.
  - name: api-keys
    description: Create and revoke keys used to authenticate requests.
  - name: supported-languages
    description: Languages available for translation.
  - name: users
    description: The authenticated user's own profile.
paths:
  /v1/billing/movements:
    get:
      tags:
        - billing
      summary: List credit history
      description: >-
        One page of your organization's credit history, newest first.


        Every credit bought and every credit spent, with the purchase or room
        behind it,

        so the current balance can be reconciled line by line.


        Use `limit` and `offset` to page through the history.
      operationId: list_credit_movements_v1_billing_movements_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageResponse_CreditMovementResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    PageResponse_CreditMovementResponse_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CreditMovementResponse'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        next_offset:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Offset
      type: object
      required:
        - items
        - limit
        - offset
        - next_offset
      title: PageResponse[CreditMovementResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CreditMovementResponse:
      properties:
        id:
          type: integer
          title: Id
        delta_cents:
          type: integer
          title: Delta Cents
        reason:
          type: string
          title: Reason
        source_reference:
          type: string
          title: Source Reference
        amount_cents:
          anyOf:
            - type: integer
            - type: 'null'
          title: Amount Cents
        currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Currency
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - delta_cents
        - reason
        - source_reference
        - amount_cents
        - currency
        - created_at
      title: CreditMovementResponse
      description: >-
        One change to the balance, and what caused it.


        `delta_cents` is signed: positive when credit was added, negative when a
        room

        consumed it. `source_reference` correlates the movement with the
        purchase or room

        behind it.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````