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

# Assign a project to a billing warm slot



## OpenAPI

````yaml api-reference/openapi.account.json POST /billing/slots
openapi: 3.1.0
info:
  title: Aether Account & Integrations API
  version: 0.1.0
  description: >-
    Account, billing, and integration-management endpoints used by the Aether
    web app and CLI. Root-mounted; NOT part of the versioned /v1 contract.
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /billing/slots:
    post:
      tags:
        - billing
      summary: Assign a project to a billing warm slot
      operationId: assignBillingWarmSlot
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignBillingWarmSlotRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssignBillingWarmSlotResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ErrorResponse'
                  - $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssignBillingWarmSlotConflictResponse'
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    AssignBillingWarmSlotRequest:
      additionalProperties: false
      properties:
        if_unassigned:
          type: boolean
        project_id:
          format: uuid
          type: string
        slot_index:
          format: int64
          minimum: 0
          type: integer
        vm_size:
          enum:
            - small
            - medium
            - large
          type: string
      required:
        - slot_index
        - project_id
        - vm_size
      type: object
    AssignBillingWarmSlotResponse:
      additionalProperties: false
      properties:
        previous_project_id:
          format: uuid
          type: string
        slot:
          $ref: '#/components/schemas/BillingWarmSlot'
      required:
        - slot
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        code:
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    AssignBillingWarmSlotConflictResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - warm_slot_occupied
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    BillingWarmSlot:
      additionalProperties: false
      properties:
        assignment_kind:
          description: >-
            Who holds an assigned 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. Present exactly when project_id is.
          enum:
            - manual
            - auto
          type: string
        failure_reason:
          type: string
        id:
          format: uuid
          type: string
        last_synced_at:
          type: string
        project_id:
          format: uuid
          type: string
        slot_index:
          format: int64
          minimum: 0
          type: integer
        status:
          enum:
            - unassigned
            - provisioning
            - ready
            - stale
            - dormant
          type: string
        vm_size:
          description: >-
            Assigned VM size. Optional during the phase-3 receiver-first
            rollout; the current API emits it for assigned slots and omits it
            for unassigned slots.
          enum:
            - small
            - medium
            - large
          type: string
      required:
        - slot_index
        - status
      type: object
    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
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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