> ## Documentation Index
> Fetch the complete documentation index at: https://808-labs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get monthly API usage

> Return API call counts for one calendar month (UTC, `YYYY-MM`; defaults to the current month): workspace totals, the calling app's admitted and rejected calls, the effective allowance, credits and remaining calls. Past months are reported as historical evidence only. Accepts any valid API key, or a dashboard sign-in with the `X-Ignite-App-Id` header.

### Raw HTTP template

Replace path, credential and schema placeholders using valid resources. The planned host requires activation; use your assigned API URL meanwhile. Preserve a write's original idempotency key when its contract supports retry. If sending raw HTTP/1.1, use CRLF for request and header lines.

```http
GET /v1/usage HTTP/1.1
Host: sandbox.ignite-checkout.ai
Authorization: Bearer <MachineKey-credential>
```

### HTTP/2 header equivalent

Logical headers over negotiated HTTPS HTTP/2, not a wire-format message. The endpoint, JSON and idempotency rules are unchanged. See [HTTP and transport](/http-and-transports).

```text
:method: GET
:scheme: https
:authority: sandbox.ignite-checkout.ai
:path: /v1/usage
authorization: Bearer <MachineKey-credential>
```



## OpenAPI

````yaml /api-reference.json get /v1/usage
openapi: 3.1.0
info:
  description: >-
    Multi-merchant checkout infrastructure (808labs). UAE/AED first on Stripe;
    Saudi/SAR follows separate certification. OpenAPI is canonical; customers
    can integrate without an SDK. Customer dashboard authentication uses
    verified OIDC; workspace access requires an invitation or explicitly enabled
    Sandbox self-registration; machine integrations use scoped API keys. Plans
    and usage are defined in the developer guide. Internal operator and provider
    callback contracts are excluded.
  title: Ignyt
  version: 0.1.0
servers:
  - url: https://sandbox.ignite-checkout.ai
    description: 'Planned Sandbox host: use assigned deployment URL until activated'
  - url: https://api.ignite-checkout.ai
    description: 'Planned Production host: separate approval and Live credentials required'
security: []
paths:
  /v1/usage:
    get:
      tags:
        - access
      summary: Get monthly API usage
      description: >-
        Return API call counts for one calendar month (UTC, `YYYY-MM`; defaults
        to the current month): workspace totals, the calling app's admitted and
        rejected calls, the effective allowance, credits and remaining calls.
        Past months are reported as historical evidence only. Accepts any valid
        API key, or a dashboard sign-in with the `X-Ignite-App-Id` header.


        ### Raw HTTP template


        Replace path, credential and schema placeholders using valid resources.
        The planned host requires activation; use your assigned API URL
        meanwhile. Preserve a write's original idempotency key when its contract
        supports retry. If sending raw HTTP/1.1, use CRLF for request and header
        lines.


        ```http

        GET /v1/usage HTTP/1.1

        Host: sandbox.ignite-checkout.ai

        Authorization: Bearer <MachineKey-credential>

        ```


        ### HTTP/2 header equivalent


        Logical headers over negotiated HTTPS HTTP/2, not a wire-format message.
        The endpoint, JSON and idempotency rules are unchanged. See [HTTP and
        transport](/http-and-transports).


        ```text

        :method: GET

        :scheme: https

        :authority: sandbox.ignite-checkout.ai

        :path: /v1/usage

        authorization: Bearer <MachineKey-credential>

        ```
      operationId: usage_summary_v1_usage_get
      parameters:
        - in: query
          name: period
          required: false
          schema:
            anyOf:
              - pattern: ^[0-9]{4}-(0[1-9]|1[0-2])$
                type: string
              - type: 'null'
            title: Period
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: x-ignite-app-id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Ignite-App-Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageSummaryRead'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: Missing, expired or invalid credentials (`unauthorized`).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            The credential is valid but lacks the required scope, role,
            environment or ownership for this resource (`forbidden` or a more
            specific code).
        '422':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        type: string
                      details:
                        anyOf:
                          - items:
                              properties:
                                loc:
                                  items:
                                    anyOf:
                                      - type: string
                                      - type: integer
                                  type: array
                                msg:
                                  type: string
                                type:
                                  type: string
                              required:
                                - type
                                - loc
                                - msg
                              type: object
                            type: array
                          - type: object
                      message:
                        type: string
                      request_id:
                        type: string
                    required:
                      - code
                      - message
                      - details
                      - request_id
                    type: object
                required:
                  - error
                type: object
          description: Validation Error
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            A plan allowance, rate limit or resource limit was reached. For
            `rate_limited` (a per-second ceiling) or the monthly API allowance
            (`plan_quota_exceeded`), wait for the `Retry-After` interval before
            retrying. A specific `*_rate_limited` code, such as
            `invitation_email_rate_limited`, is an hourly limit sent without
            `Retry-After`: retry later with bounded backoff. A resource limit
            described by the operation, such as active merchant requests or
            uploads, does not clear by waiting: complete or withdraw existing
            items first. Monthly allowance and cost limits never block servicing
            of accepted orders; per-second ceilings still apply to servicing
            routes.
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying, sent only when the monthly API
                allowance is exhausted (`plan_quota_exceeded`) or a per-second
                rate limit (`rate_limited`) is reached; specific
                `*_rate_limited` codes omit it.
              schema:
                type: integer
      security:
        - MachineKey: []
        - CustomerOIDC: []
components:
  schemas:
    UsageSummaryRead:
      properties:
        app_admitted:
          title: App Admitted
          type: integer
        app_id:
          title: App Id
          type: string
        app_quota_calls:
          title: App Quota Calls
          type: integer
        app_rejected:
          title: App Rejected
          type: integer
        automatic_charging_enabled:
          const: false
          title: Automatic Charging Enabled
          type: boolean
        credits:
          title: Credits
          type: integer
        current_limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Current Limit
        daily_quota_calls:
          anyOf:
            - items:
                type: integer
              type: array
            - type: 'null'
          description: >-
            Workspace allowance-counted calls per UTC day of the selected month,
            for dashboard sign-ins.
          title: Daily Quota Calls
        effective_plan:
          additionalProperties: true
          title: Effective Plan
          type: object
        enforcement:
          title: Enforcement
          type: string
        environment:
          enum:
            - sandbox
            - live
          title: Environment
          type: string
        exhaustion_policy:
          enum:
            - accrue
            - block
          title: Exhaustion Policy
          type: string
        metric:
          title: Metric
          type: string
        overage_calls:
          description: >-
            Calls exceeding the current plan allowance plus allowance credits.
            Commercial totals use separately approved billing terms.
          title: Overage Calls
          type: integer
        period:
          title: Period
          type: string
        quota_basis:
          title: Quota Basis
          type: string
        remaining:
          anyOf:
            - type: integer
            - type: 'null'
          title: Remaining
        schema_version:
          title: Schema Version
          type: integer
        tenant_browser_calls:
          title: Tenant Browser Calls
          type: integer
        tenant_calls:
          description: >-
            Admitted integration and shopper requests in this
            tenant/environment/month.
          title: Tenant Calls
          type: integer
        tenant_id:
          title: Tenant Id
          type: string
        tenant_quota_calls:
          description: >-
            Allowance-counted calls. Historical records retain their original
            policy; new shopper calls count.
          title: Tenant Quota Calls
          type: integer
        tenant_server_calls:
          title: Tenant Server Calls
          type: integer
        timezone:
          title: Timezone
          type: string
        window_end:
          format: date-time
          title: Window End
          type: string
        window_start:
          format: date-time
          title: Window Start
          type: string
        workspace_call_limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Workspace Call Limit
        workspace_cost_limit_configured:
          title: Workspace Cost Limit Configured
          type: boolean
      required:
        - schema_version
        - metric
        - period
        - timezone
        - window_start
        - window_end
        - daily_quota_calls
        - workspace_call_limit
        - workspace_cost_limit_configured
        - tenant_id
        - app_id
        - environment
        - tenant_calls
        - tenant_quota_calls
        - tenant_browser_calls
        - tenant_server_calls
        - quota_basis
        - exhaustion_policy
        - overage_calls
        - automatic_charging_enabled
        - credits
        - effective_plan
        - current_limit
        - remaining
        - app_admitted
        - app_rejected
        - app_quota_calls
        - enforcement
      title: UsageSummaryRead
      type: object
    IgniteErrorEnvelope:
      description: Document the existing error handler without changing its serialization.
      properties:
        error:
          $ref: '#/components/schemas/IgniteErrorDetail'
      required:
        - error
      title: IgniteErrorEnvelope
      type: object
    IgniteErrorDetail:
      description: Stable error fields; details remain open to each domain's JSON evidence.
      properties:
        code:
          title: Code
          type: string
        details:
          title: Details
        message:
          title: Message
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      required:
        - code
        - message
        - details
        - request_id
      title: IgniteErrorDetail
      type: object
  securitySchemes:
    MachineKey:
      description: Server-side scoped Ignyt API key.
      scheme: bearer
      type: http
    CustomerOIDC:
      bearerFormat: JWT
      description: >-
        Customer access token; current membership, role and app selection are
        enforced. Protected actions use recent email-code verification in the
        configured Sandbox or recent authenticator verification in legacy
        password mode. Available when customer authentication is enabled.
      scheme: bearer
      type: http

````

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