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

# List the releases of an application and their build status



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/applications/{id}/releases
openapi: 3.1.0
info:
  title: Deployz vendor API
  version: 1.0.0
  description: >-
    Build releases and deploy them to your customers from your own pipeline.
    Create an API key on the API keys page of the Deployz dashboard, and send it
    in the header `Authorization: Bearer <key>`. A key has read or deploy
    permission and works only while the person who created it is an owner or an
    admin. Deploy, restart and rollback answer 202 with a job. Poll the job
    until its state is succeeded, failed or cancelled. Every answer is `{
    success, message, data, request_id }`, except this document. Every error is
    `{ success: false, error: { code, message }, request_id }`. The `request_id`
    is also the `X-Request-Id` header: quote it when you ask for support. A key
    can make 120 requests a minute. Over the limit the answer is 429 with a
    `Retry-After` header.
servers:
  - url: https://api.deployz.dev
security:
  - bearerAuth: []
tags:
  - name: Applications
    description: The applications of your organization.
  - name: Releases
    description: Build a release from a commit and follow its build.
  - name: Deployments
    description: Read deployments, and deploy, restart, or roll back one.
  - name: Operations
    description: Follow an operation that deploy, restart, or rollback started.
paths:
  /api/v1/applications/{id}/releases:
    get:
      tags:
        - Releases
      summary: List the releases of an application and their build status
      operationId: listReleases
      parameters:
        - name: id
          in: path
          required: true
          description: The application id.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The releases, oldest first.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    const: true
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      releases:
                        type: array
                        items:
                          $ref: '#/components/schemas/Release'
                    required:
                      - releases
                  request_id:
                    type: string
                required:
                  - success
                  - message
                  - data
                  - request_id
              example:
                success: true
                message: Releases retrieved successfully
                data:
                  releases:
                    - id: b7e4d2c1-5a6f-4b3e-8d9c-0a1b2c3d4e5f
                      version: 1.4.0
                      gitSha: 9fceb02d0ae598e95dc970b74767f19372d61af8
                      status: ready
                      failureReason: null
                      deprecated: false
                      createdAt: '2026-11-20T14:05:42.000Z'
                request_id: 8c5d4c68-b488-41c7-934f-6f9e9ce83d7b
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Release:
      type: object
      properties:
        id:
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        version:
          type: string
        gitSha:
          type: string
        status:
          type: string
          enum:
            - building
            - ready
            - failed
            - unavailable
        failureReason:
          type:
            - string
            - 'null'
        deprecated:
          type: boolean
        createdAt:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
      required:
        - id
        - version
        - gitSha
        - status
        - failureReason
        - deprecated
        - createdAt
      additionalProperties: false
    Error:
      type: object
      properties:
        success:
          type: boolean
          const: false
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details: {}
          required:
            - code
            - message
          additionalProperties: false
        request_id:
          type: string
      required:
        - success
        - error
        - request_id
      additionalProperties: false
  responses:
    Unauthorized:
      description: >-
        The key is missing or not valid. Codes: API_KEY_INVALID,
        API_KEY_EXPIRED, KEY_CREATOR_INACTIVE.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error:
              code: API_KEY_INVALID
              message: The API key is not valid
            request_id: 8c5d4c68-b488-41c7-934f-6f9e9ce83d7b
    NotFound:
      description: The resource does not exist in your organization.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: 'More than 120 requests in one minute. Code: RATE_LIMITED.'
      headers:
        Retry-After:
          description: Seconds to wait.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error:
              code: RATE_LIMITED
              message: Too many requests. Wait before you try again.
            request_id: 8c5d4c68-b488-41c7-934f-6f9e9ce83d7b
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'An API key: dz_<id>_<secret>.'

````

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