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

# List Environment Deployments

> List deployments for an environment.



## OpenAPI

````yaml GET /orgs/{org_id}/projects/{project_id}/envs/{env_id}/deployments
openapi: 3.1.0
info:
  title: Timbal Platform API
  description: Public API documentation for the Timbal platform
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.timbal.ai
    description: Production
  - url: https://api.dev.timbal.ai
    description: Development
security: []
tags:
  - name: ace
    description: Action Control Engine (ACE) operations
  - name: analytics
    description: Org and project analytics
  - name: billing
    description: Subscriptions, usage, and payment-related operations
  - name: content
    description: Re-sign stored content URLs
  - name: files
    description: File operations
  - name: iam
    description: IAM — actions, roles, users, and authorization introspection
  - name: k2
    description: Knowledge Bases v2 operations
  - name: orgs
    description: Organization operations
  - name: projects
    description: Project operations
  - name: runs
    description: Execution operations
  - name: templates
    description: Public project template catalog
  - name: users
    description: Authenticated user profile
paths:
  /orgs/{org_id}/projects/{project_id}/envs/{env_id}/deployments:
    get:
      tags:
        - projects
      description: List deployments for an environment.
      operationId: handler
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
        - name: project_id
          in: path
          required: true
          schema:
            type: string
        - name: env_id
          in: path
          required: true
          schema:
            type: string
        - name: component_id
          in: query
          description: |-
            Filter to a single workforce component by its numeric app id
            (the value the SDK reads from `TIMBAL_APP_ID`, also returned
            as `id` on each deployment in the response). Combines with
            `component_uid`: when both are set, rows must match both.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: component_uid
          in: query
          description: |-
            Filter to a single workforce component by its manifest uid
            (the `_id` field in `timbal.yaml`, also returned as `uid` on
            each deployment in the response). Display name is
            deliberately not accepted as a filter — it's user-editable
            and not guaranteed unique within a project.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: status
          in: query
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: trigger
          in: query
          description: |-
            Optional trigger filter. Accepts:
              * `latest` — return every row sharing the most recent
                trigger for this env; falls back to the latest row per
                component when the env has no trigger history.
              * a UUID — return every row produced by that trigger.
          required: false
          schema:
            type:
              - string
              - 'null'
      responses:
        '200':
          description: Deployments listed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDeploymentsResBody'
        '403':
          description: Insufficient permissions
      security:
        - bearer_auth: []
components:
  schemas:
    ListDeploymentsResBody:
      type: object
      required:
        - deployments
      properties:
        deployments:
          type: array
          items:
            $ref: '#/components/schemas/DeploymentDetail'
    DeploymentDetail:
      type: object
      description: |-
        Public-API representation of a single deployment row, returned by the
        env-scoped deployments list endpoint. Flattens the runtime config
        (cpu/memory/...) inline rather than nesting under `config` — frontend
        consumes the fields directly.
      required:
        - id
        - type
        - project_env_id
        - target
        - status
        - created_at
        - updated_at
      properties:
        build_finished_at:
          type:
            - string
            - 'null'
          format: date-time
        build_logs:
          type:
            - string
            - 'null'
        build_started_at:
          type:
            - string
            - 'null'
          format: date-time
        cpu:
          type:
            - integer
            - 'null'
          format: int32
        created_at:
          type: string
          format: date-time
        desired_count:
          type:
            - integer
            - 'null'
          format: int32
        domain:
          type:
            - string
            - 'null'
        ephemeral_storage:
          type:
            - integer
            - 'null'
          format: int32
        id:
          type: integer
          format: int64
        memory:
          type:
            - integer
            - 'null'
          format: int32
        project_env_id:
          type: integer
          format: int64
        status:
          type: string
        status_detail:
          type:
            - string
            - 'null'
        target:
          $ref: '#/components/schemas/DeploymentTarget'
        type:
          type: string
        updated_at:
          type: string
          format: date-time
    DeploymentTarget:
      type: object
      description: |-
        Image/version pointer embedded in [`DeploymentDetail::target`]. Distinct
        from [`crate::deployments::models::DeployTarget`] (the domain-layer spec
        carrying image URIs / platform). This shape is the public-API view of
        what a deployment is *of*.
      required:
        - type
        - id
      properties:
        commit: {}
        id:
          type: integer
          format: int64
        manifest_id:
          type:
            - string
            - 'null'
        type:
          type: string
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: >-
        Timbal API key. Obtain your API key from the Timbal platform settings.
        See [Authentication](/api-reference/authentication) for more
        information.

````