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

> ## Agent Instructions
> Treat Stackdome as an application-delivery platform for coding agents and developers, not as a Kubernetes dashboard.
> Prefer the Stackdome agent plugin as the user entry point and the stackdome CLI as the execution interface.
> Route agents who need the maintained deploy skill to npx skills add stackdome/skills and the complete operational workflow to /guides/ai-agents.
> Verify commands and flags with stackdome --help. Run stackdome init before authoring stackfile.yaml and stackdome validate before deploying.
> Use -o json for automation and verify documented terminal states before claiming success.
> Never request a user's account password. Use API-token authentication.
> During alpha, Stackdome Cloud is ephemeral and capacity-limited, and each organization can connect one cluster.
> Do not expose Kubernetes as a user concern unless the task is self-hosting or infrastructure architecture.

# List backups for a PostgresAddon



## OpenAPI

````yaml /openapi.yaml get /api/v1/organizations/{org_id}/projects/{project_name}/addons/postgres/{id}/backups
openapi: 3.0.0
info:
  description: >-
    Deploy, debug, and operate applications through the Stackdome REST API on
    Stackdome Cloud or a self-hosted installation. This API is in alpha and may
    change before general availability.
  title: Stackdome API
  version: 0.0.1-alpha
servers:
  - url: /
security: []
paths:
  /api/v1/organizations/{org_id}/projects/{project_name}/addons/postgres/{id}/backups:
    get:
      summary: List backups for a PostgresAddon
      parameters:
        - description: The ID of the organization
          explode: false
          in: path
          name: org_id
          required: true
          schema:
            type: string
          style: simple
        - description: The name of the project
          explode: false
          in: path
          name: project_name
          required: true
          schema:
            type: string
          style: simple
        - description: The id of record
          explode: false
          in: path
          name: id
          required: true
          schema:
            type: string
          style: simple
        - explode: true
          in: query
          name: limit
          required: false
          schema:
            default: 20
            type: integer
          style: form
        - explode: true
          in: query
          name: offset
          required: false
          schema:
            default: 0
            type: integer
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostgresBackupList'
          description: Successful operation
        '401':
          description: Unauthorized
        '404':
          description: PostgresAddon not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      security:
        - Bearer: []
components:
  schemas:
    PostgresBackupList:
      example:
        total: 6
        items:
          - phase: pending
            completed_at: '2000-01-23T04:56:07.000Z'
            size_bytes: 0
            postgres_addon_id: postgres_addon_id
            name: name
            description: description
            started_at: '2000-01-23T04:56:07.000Z'
            created_at: '2000-01-23T04:56:07.000Z'
            id: id
            type: scheduled
            error: error
          - phase: pending
            completed_at: '2000-01-23T04:56:07.000Z'
            size_bytes: 0
            postgres_addon_id: postgres_addon_id
            name: name
            description: description
            started_at: '2000-01-23T04:56:07.000Z'
            created_at: '2000-01-23T04:56:07.000Z'
            id: id
            type: scheduled
            error: error
      properties:
        items:
          items:
            $ref: '#/components/schemas/PostgresBackup'
          type: array
        total:
          type: integer
      type: object
    Error:
      allOf:
        - $ref: '#/components/schemas/ObjectReference'
        - $ref: '#/components/schemas/Error_allOf'
    PostgresBackup:
      example:
        phase: pending
        completed_at: '2000-01-23T04:56:07.000Z'
        size_bytes: 0
        postgres_addon_id: postgres_addon_id
        name: name
        description: description
        started_at: '2000-01-23T04:56:07.000Z'
        created_at: '2000-01-23T04:56:07.000Z'
        id: id
        type: scheduled
        error: error
      properties:
        id:
          description: Unique backup identifier
          type: string
        postgres_addon_id:
          description: ID of the PostgreSQL addon this backup belongs to
          type: string
        name:
          description: Human-readable backup name
          type: string
        description:
          description: Optional backup description
          type: string
        type:
          description: How the backup was initiated
          enum:
            - scheduled
            - manual
            - pre_upgrade
          type: string
        phase:
          description: Current backup status
          enum:
            - pending
            - running
            - completed
            - failed
          type: string
        started_at:
          description: When the backup started
          format: date-time
          type: string
        completed_at:
          description: When the backup completed (if finished)
          format: date-time
          type: string
        error:
          description: Error message if backup failed
          type: string
        size_bytes:
          description: Backup size in bytes (if available)
          type: integer
        created_at:
          description: When the backup record was created
          format: date-time
          type: string
      type: object
    ObjectReference:
      properties:
        id:
          type: string
        kind:
          type: string
        href:
          type: string
      type: object
    Error_allOf:
      properties:
        code:
          type: string
        reason:
          type: string
        operation_id:
          type: string
        details:
          additionalProperties: true
          description: Optional structured, machine-readable error context
          type: object
      type: object
  securitySchemes:
    Bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````