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

# Promote App

> Promote an app to prod.

Deploys the latest dev images to prod Cloud Run services.
GitHub release is created for traceability if a GitHub connection exists.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json post /v1/apps/{app_id}/promote
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/apps/{app_id}/promote:
    post:
      tags:
        - releases
      summary: Promote App
      description: >-
        Promote an app to prod.


        Deploys the latest dev images to prod Cloud Run services.

        GitHub release is created for traceability if a GitHub connection
        exists.
      operationId: releases_promote_app
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: App Id
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromoteRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromoteResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    PromoteRequest:
      properties:
        tag:
          anyOf:
            - type: string
            - type: 'null'
          title: Tag
        services:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Services
      type: object
      title: PromoteRequest
      description: Request to promote an app to prod.
    PromoteResponse:
      properties:
        deploy_id:
          type: string
          format: uuid
          title: Deploy Id
        tag:
          type: string
          title: Tag
        release_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Release Url
        services:
          items:
            $ref: '#/components/schemas/ServicePromoteResult'
          type: array
          title: Services
        message:
          type: string
          title: Message
      type: object
      required:
        - deploy_id
        - tag
        - services
        - message
      title: PromoteResponse
      description: Response from the promote endpoint.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    ServicePromoteResult:
      properties:
        name:
          type: string
          title: Name
        success:
          type: boolean
          title: Success
        image_uri:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Uri
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
      type: object
      required:
        - name
        - success
      title: ServicePromoteResult
      description: Per-service outcome from a promote operation.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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