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

# List billing warm slots

> Lists the org's warm slot grid, one item per slot index, each unassigned or held by a project with the status of that project's warm machines.

Use this tool when you need to:
- See which projects the org keeps warm and whether their warm machines are ready
- Find a free slot_index before assigning a project to it
- Find out why a warm slot is stale (its failure_reason)

Examples:
- GET /orgs/{orgID}/billing/slots

Hints:
- orgID is the org's uuid; no other parameter, and the list is not paged. items runs in slot_index order from 0 up to the org's warm_slot_limit (getBillingSubscription) less one, and past the limit on through the highest index a project still holds, so a held slot past the limit still shows.
- Each item is a union on status: unassigned carries slot_index alone; provisioning, ready, stale and dormant carry slot_index, project_id, vm_size and assignment_kind (manual, a user pin, or auto, the auto-fill's); ready adds last_synced_at and stale adds failure_reason, each nullable.
- status is derived live: dormant when the project had neither a task created nor a slot assignment in the last 7 days, else ready when a warm machine from its current seed covers the slot, else stale when its latest seed failed, else provisioning.
- Use assignBillingWarmSlot or releaseBillingWarmSlot instead to change a slot, and getBillingSubscription for warm_slot_limit.
- Any member of the org may read it, every role included, with a session or a platform API key; 404 for an org without billing, 403 org_membership_required for a non-member, 400 for an orgID that is not a uuid, and 403 agent_host_route_not_allowed for an agent host's grant.



## OpenAPI

````yaml api-reference/openapi.json GET /orgs/{orgID}/billing/slots
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs/{orgID}/billing/slots:
    get:
      tags:
        - billing
      summary: List billing warm slots
      description: >-
        Lists the org's warm slot grid, one item per slot index, each unassigned
        or held by a project with the status of that project's warm machines.


        Use this tool when you need to:

        - See which projects the org keeps warm and whether their warm machines
        are ready

        - Find a free slot_index before assigning a project to it

        - Find out why a warm slot is stale (its failure_reason)


        Examples:

        - GET /orgs/{orgID}/billing/slots


        Hints:

        - orgID is the org's uuid; no other parameter, and the list is not
        paged. items runs in slot_index order from 0 up to the org's
        warm_slot_limit (getBillingSubscription) less one, and past the limit on
        through the highest index a project still holds, so a held slot past the
        limit still shows.

        - Each item is a union on status: unassigned carries slot_index alone;
        provisioning, ready, stale and dormant carry slot_index, project_id,
        vm_size and assignment_kind (manual, a user pin, or auto, the
        auto-fill's); ready adds last_synced_at and stale adds failure_reason,
        each nullable.

        - status is derived live: dormant when the project had neither a task
        created nor a slot assignment in the last 7 days, else ready when a warm
        machine from its current seed covers the slot, else stale when its
        latest seed failed, else provisioning.

        - Use assignBillingWarmSlot or releaseBillingWarmSlot instead to change
        a slot, and getBillingSubscription for warm_slot_limit.

        - Any member of the org may read it, every role included, with a session
        or a platform API key; 404 for an org without billing, 403
        org_membership_required for a non-member, 400 for an orgID that is not a
        uuid, and 403 agent_host_route_not_allowed for an agent host's grant.
      operationId: listBillingWarmSlots
      parameters:
        - in: path
          name: orgID
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBillingWarmSlot'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Not Found
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Gone
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Internal Server Error
components:
  schemas:
    ListBillingWarmSlot:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/BillingWarmSlot'
          type: array
      required:
        - items
      type: object
    BillingErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - bad_gateway
            - bad_request
            - checkout_pending
            - cli_upgrade_required
            - client_outdated
            - conflict
            - enterprise_invoice
            - forbidden
            - free_tier
            - gateway_timeout
            - gone
            - internal_error
            - invalid_surface
            - managed_elsewhere
            - method_not_allowed
            - no_billing_history
            - not_acceptable
            - not_found
            - not_implemented
            - payment_delinquent
            - payment_required
            - personal_org_requires_personal_plan
            - precondition_failed
            - provider_unavailable
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - requires_org_admin
            - service_unavailable
            - subscription_active
            - subscription_pending
            - team_org_requires_team_plan
            - team_plan_web_only
            - team_seats_via_membership
            - unauthenticated
            - unsupported_media_type
            - validation_failed
            - warm_slot_occupied
            - web_only
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    BillingWarmSlot:
      description: >-
        One slot of the org's warm slot grid: unassigned, or held by a project
        and in the status that project's warm machines are in.
      discriminator:
        mapping:
          dormant: '#/components/schemas/BillingWarmSlotDormant'
          provisioning: '#/components/schemas/BillingWarmSlotProvisioning'
          ready: '#/components/schemas/BillingWarmSlotReady'
          stale: '#/components/schemas/BillingWarmSlotStale'
          unassigned: '#/components/schemas/BillingWarmSlotUnassigned'
        propertyName: status
      oneOf:
        - $ref: '#/components/schemas/BillingWarmSlotUnassigned'
        - $ref: '#/components/schemas/BillingWarmSlotProvisioning'
        - $ref: '#/components/schemas/BillingWarmSlotReady'
        - $ref: '#/components/schemas/BillingWarmSlotStale'
        - $ref: '#/components/schemas/BillingWarmSlotDormant'
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    BillingWarmSlotDormant:
      additionalProperties: false
      description: >-
        A slot whose project was neither assigned nor used within the dormancy
        window, so it is not kept warm.
      properties:
        assignment_kind:
          description: >-
            Who holds the slot: manual is a user pin; auto is the auto-fill,
            which keeps the slots an org has not pinned on its most recently
            active projects.
          enum:
            - manual
            - auto
          type: string
        project_id:
          format: uuid
          type: string
        slot_index:
          description: >-
            The slot's place in the org's grid, from 0; the key both writes
            take.
          format: int32
          maximum: 2147483647
          minimum: 0
          type: integer
        status:
          enum:
            - dormant
          type: string
        vm_size:
          enum:
            - medium
            - large
            - xl
          type: string
      required:
        - assignment_kind
        - project_id
        - slot_index
        - status
        - vm_size
      type: object
    BillingWarmSlotProvisioning:
      additionalProperties: false
      description: A slot whose project's warm machines are still being built.
      properties:
        assignment_kind:
          description: >-
            Who holds the slot: manual is a user pin; auto is the auto-fill,
            which keeps the slots an org has not pinned on its most recently
            active projects.
          enum:
            - manual
            - auto
          type: string
        project_id:
          format: uuid
          type: string
        slot_index:
          description: >-
            The slot's place in the org's grid, from 0; the key both writes
            take.
          format: int32
          maximum: 2147483647
          minimum: 0
          type: integer
        status:
          enum:
            - provisioning
          type: string
        vm_size:
          enum:
            - medium
            - large
            - xl
          type: string
      required:
        - assignment_kind
        - project_id
        - slot_index
        - status
        - vm_size
      type: object
    BillingWarmSlotReady:
      additionalProperties: false
      description: A slot with a warm machine from its project's current seed.
      properties:
        assignment_kind:
          description: >-
            Who holds the slot: manual is a user pin; auto is the auto-fill,
            which keeps the slots an org has not pinned on its most recently
            active projects.
          enum:
            - manual
            - auto
          type: string
        last_synced_at:
          description: When the warm machine's seed was built; null when unknown.
          format: date-time
          type:
            - string
            - 'null'
        project_id:
          format: uuid
          type: string
        slot_index:
          description: >-
            The slot's place in the org's grid, from 0; the key both writes
            take.
          format: int32
          maximum: 2147483647
          minimum: 0
          type: integer
        status:
          enum:
            - ready
          type: string
        vm_size:
          enum:
            - medium
            - large
            - xl
          type: string
      required:
        - assignment_kind
        - last_synced_at
        - project_id
        - slot_index
        - status
        - vm_size
      type: object
    BillingWarmSlotStale:
      additionalProperties: false
      description: A slot whose project's latest seed failed.
      properties:
        assignment_kind:
          description: >-
            Who holds the slot: manual is a user pin; auto is the auto-fill,
            which keeps the slots an org has not pinned on its most recently
            active projects.
          enum:
            - manual
            - auto
          type: string
        failure_reason:
          description: Why the project's latest seed failed; null when it named no reason.
          minLength: 1
          type:
            - string
            - 'null'
        project_id:
          format: uuid
          type: string
        slot_index:
          description: >-
            The slot's place in the org's grid, from 0; the key both writes
            take.
          format: int32
          maximum: 2147483647
          minimum: 0
          type: integer
        status:
          enum:
            - stale
          type: string
        vm_size:
          enum:
            - medium
            - large
            - xl
          type: string
      required:
        - assignment_kind
        - failure_reason
        - project_id
        - slot_index
        - status
        - vm_size
      type: object
    BillingWarmSlotUnassigned:
      additionalProperties: false
      description: A slot no project holds.
      properties:
        slot_index:
          description: >-
            The slot's place in the org's grid, from 0; the key both writes
            take.
          format: int32
          maximum: 2147483647
          minimum: 0
          type: integer
        status:
          enum:
            - unassigned
          type: string
      required:
        - slot_index
        - status
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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