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

> List all sprites for the authenticated organization



## OpenAPI

````yaml /sprites/api/openapi.json get /v1/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/sprites:
    get:
      tags:
        - Sprites
      summary: List sprites
      description: List all sprites for the authenticated organization
      operationId: sprites_index_get
      parameters:
        - description: Filter sprites by name prefix
          in: query
          name: prefix
          required: false
          schema:
            description: Filter sprites by name prefix
            example: dev-
            type: string
        - description: 'Maximum number of results (1-500, default: 50)'
          in: query
          name: max_results
          required: false
          schema:
            description: 'Maximum number of results (1-500, default: 50)'
            example: 50
            type: integer
        - description: Token from previous response for pagination
          in: query
          name: continuation_token
          required: false
          schema:
            description: Token from previous response for pagination
            example: eyJsYXN0IjoibXktc3ByaXRlIn0=
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpriteListResponse'
          description: Success
        '401':
          description: Missing or invalid authentication
      security:
        - bearerAuth: []
components:
  schemas:
    SpriteListResponse:
      description: Paginated sprite list
      properties:
        cold:
          description: Number of returned sprites currently cold.
          example: 3
          type: integer
        has_more:
          description: Whether more results are available
          example: true
          type: boolean
        name:
          description: Organization slug.
          example: my-org
          type: string
        next_continuation_token:
          description: Token for fetching the next page of results
          example: eyJsYXN0IjoibXktZGV2LXNwcml0ZSJ9
          type: string
        running:
          description: Number of returned sprites currently running.
          example: 1
          type: integer
        running_limit:
          description: Organization-wide active sprite limit.
          example: 10
          type: integer
        sprites:
          description: List of sprite resources
          example:
            - id: sprite-abc123
              name: my-dev-sprite
              status: running
          items:
            $ref: '#/components/schemas/SpriteResponse'
          type: array
        warm:
          description: Number of returned sprites currently warm.
          example: 2
          type: integer
        warm_limit:
          description: Organization-wide warm sprite limit.
          example: 10
          type: integer
      required:
        - sprites
        - has_more
        - running
        - warm
        - cold
        - name
      type: object
    SpriteResponse:
      description: Sprite resource
      properties:
        created_at:
          description: Creation timestamp (ISO 8601)
          example: '2024-01-15T10:30:00Z'
          format: date-time
          type: string
        environment_version:
          description: Version of the sprite environment image.
          example: v0.0.1-rc48
          type:
            - string
            - 'null'
        id:
          description: Unique sprite identifier
          example: sprite-01234567-89ab-cdef-0123-456789abcdef
          type: string
        labels:
          description: Labels assigned to the sprite. Omitted when empty.
          example:
            - production
          items:
            type: string
          type: array
        last_running_at:
          description: >-
            When the sprite was last observed running (ISO 8601), null if not
            tracked
          example: '2024-01-15T14:20:00Z'
          format: date-time
          type:
            - string
            - 'null'
        last_warming_at:
          description: >-
            When the sprite was last observed warming (ISO 8601), null if not
            tracked
          example: '2024-01-15T14:22:00Z'
          format: date-time
          type:
            - string
            - 'null'
        name:
          description: Sprite name within the organization
          example: my-dev-sprite
          type: string
        organization:
          description: Organization slug
          example: my-org
          type: string
        services:
          description: >
            Compute-provider sprites only: registered services by name. In
            single-sprite

            responses, each service with an endpoint also says where it is
            reached, decided

            when the request is handled; lists omit these fields.

            `public_url` (HTTP only) is the service's own public address.

            `exposure` is `public` when that URL answers anonymously, because a
            service

            grant admits the `sprite_public_internet` source; `authenticated`
            when it

            needs sprite URL auth; `internal` for TCP, which has no public URL.

            `internal_url` is how other sprites in the organization call it,
            subject

            to a service grant. `grants` lists the service grants that reach it.
          example:
            api:
              endpoint:
                port: 8080
                protocol: http
              exposure: authenticated
              grants: []
              internal_url: http://api--my-sprite--default.sprite.internal
              public_url: https://api--my-sprite--default--my-org.sprites.app
          type: object
        status:
          description: Runtime status
          enum:
            - cold
            - warm
            - running
          example: cold
          type: string
        updated_at:
          description: Last update timestamp (ISO 8601)
          example: '2024-01-15T14:22:00Z'
          format: date-time
          type: string
        url:
          description: Sprite HTTP endpoint URL
          example: https://name-random-alphanumeric.sprites.app
          type: string
        url_settings:
          description: URL access configuration
          example:
            auth: sprite
          oneOf:
            - $ref: '#/components/schemas/UrlSettings'
            - type: 'null'
        version:
          description: Version configured for or currently running on the sprite.
          example: v0.0.1-rc48
          type:
            - string
            - 'null'
      required:
        - id
        - name
        - organization
        - url
        - status
        - created_at
        - updated_at
      type: object
    UrlSettings:
      description: URL access settings
      properties:
        auth:
          description: Authentication type
          enum:
            - sprite
            - public
          example: sprite
          type: string
        private_access:
          description: Who may access a sprite-authenticated URL.
          enum:
            - admins
            - organization
          example: admins
          type: string
      required:
        - auth
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````