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

# List sprites with recorded usage

> List sprites with recorded usage in the requested period, including deleted sprites. Optionally filter by cluster_id.



## OpenAPI

````yaml /sprites/api/openapi.json get /v1/usage/filters/sprites
openapi: 3.1.0
info:
  title: Sprites API
  version: 0.1.12
  x-sprite-env-version: 0.0.5
servers:
  - url: https://api.sprites.dev
security: []
paths:
  /v1/usage/filters/sprites:
    get:
      tags:
        - Usage
      summary: List sprites with recorded usage
      description: >-
        List sprites with recorded usage in the requested period, including
        deleted sprites. Optionally filter by cluster_id.
      operationId: usage_sprites_get
      parameters:
        - description: Start time in ISO8601 format.
          in: query
          name: start
          required: true
          schema:
            description: Start time in ISO8601 format.
            format: date-time
            type: string
        - description: End time in ISO8601 format. Defaults to now.
          in: query
          name: end
          required: false
          schema:
            description: End time in ISO8601 format. Defaults to now.
            format: date-time
            type: string
        - description: Limit sprite references to this cluster. Omit for all clusters.
          in: query
          name: cluster_id
          required: false
          schema:
            description: Limit sprite references to this cluster. Omit for all clusters.
            example: default
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageSpritesResponse'
          description: Success
        '400':
          description: Invalid request parameters
        '401':
          description: Missing or invalid authentication
        '403':
          description: usage.read or full access without sprite restrictions is required
        '422':
          description: Too many results. Choose a larger interval or shorter period.
        '502':
          description: Internal error
      security:
        - bearerAuth: []
components:
  schemas:
    UsageSpritesResponse:
      description: Sprites with retained usage observations
      properties:
        end:
          description: Requested end in UTC.
          format: date-time
          type: string
        sprite_refs:
          description: >-
            Sorted cluster/name references with recorded usage in the period,
            including deleted sprites.
          items:
            type: string
          type: array
        start:
          description: Requested start in UTC.
          format: date-time
          type: string
      required:
        - start
        - end
        - sprite_refs
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````