> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-update-b65c39fe.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Pending Price Increases

> Returns the list of pending host-requested price increases awaiting the authenticated user's response.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/v0/instances/pending-price-increases/
openapi: 3.1.0
info:
  title: Vast.ai API
  description: >-
    Vast.ai REST API for managing GPU cloud instances, machine operations, and
    AI/ML workflows.


    ## AI Agent Quick-Start


    Install the CLI skill for your agent (Claude Code, Cursor, Windsurf, etc.):
      npx skills add vast-ai/vast-cli

    CLI reference:
    https://raw.githubusercontent.com/vast-ai/vast-cli/master/vastai/SKILL.md

    SDK reference:
    https://raw.githubusercontent.com/vast-ai/vast-cli/master/vastai_sdk/SKILL.md


    ## Auth

    All endpoints require `Authorization: Bearer $VAST_API_KEY`.

    Get your key at: https://cloud.vast.ai/manage-keys/


    ## Key Quirks

    - `gpu_ram` in CLI = GB; in REST API = MB (CLI auto-converts)

    - SSH keys must be registered BEFORE creating an instance (VM: no recovery;
    Docker: can add post-create)

    - `onstart` field is limited to 4048 characters -- gzip+base64 for longer
    scripts

    - `POST /api/v0/asks/{id}/` (create instance) returns `new_contract` as the
    instance ID, not `id`

    - Poll trap: if `actual_status` becomes `exited`, `unknown`, or `offline` it
    will never reach `running` -- destroy and retry
  version: 1.0.0
  contact:
    name: Vast.ai Support
    url: https://discord.gg/vast
servers:
  - url: https://console.vast.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/v0/instances/pending-price-increases/:
    get:
      tags:
        - Instances
      summary: List Pending Price Increases
      description: >-
        Returns the list of pending host-requested price increases awaiting the
        authenticated user's response.
      responses:
        '200':
          description: >-
            Returns {success: true, count, pending_price_increases: [...],
            truncated} with up to PENDING_LIST_LIMIT items.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: True on success
                  count:
                    type: integer
                    description: Number of pending items returned
                  pending_price_increases:
                    type: array
                    items:
                      type: object
                      properties:
                        pending_price_increase_id:
                          type: integer
                          description: Unique ID of the pending record
                        contract_id:
                          type: integer
                          description: Instance contract ID
                        host_id:
                          type: integer
                          description: Host user ID proposing the increase
                        new_gpu_costpersec:
                          type: number
                          description: Proposed new GPU cost per second
                        new_disk_ram_costpersec:
                          type: number
                          description: Proposed new disk/RAM cost per second
                        old_gpu_costpersec:
                          type: number
                          description: Current GPU cost per second
                        old_disk_ram_costpersec:
                          type: number
                          description: Current disk/RAM cost per second
                        contract_end_date:
                          type: number
                          description: Unix timestamp when the contract expires
                        ask_end_date:
                          type: number
                          description: Unix timestamp when the offer expires
                        created_at:
                          type: number
                          description: Unix timestamp when the pending record was created
                    description: Array of pending price increase objects
                  truncated:
                    type: boolean
                    description: True if the result was truncated due to limit
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key must be provided in the Authorization header

````