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

# Transition Bundle



## OpenAPI

````yaml /openapi.json post /v1/organizations/{organization_id}/apps/{app_id}/bundles/{bundle_id}/status
openapi: 3.1.0
info:
  description: Are we on the same page?
  title: Synapse
  version: 0.1.0
servers: []
security: []
paths:
  /v1/organizations/{organization_id}/apps/{app_id}/bundles/{bundle_id}/status:
    post:
      tags:
        - v1-platform
      summary: Transition Bundle
      operationId: >-
        transition_bundle_v1_organizations__organization_id__apps__app_id__bundles__bundle_id__status_post
      parameters:
        - in: path
          name: organization_id
          required: true
          schema:
            format: uuid
            title: Organization Id
            type: string
        - in: path
          name: app_id
          required: true
          schema:
            format: uuid
            title: App Id
            type: string
        - in: path
          name: bundle_id
          required: true
          schema:
            format: uuid
            title: Bundle Id
            type: string
        - in: header
          name: Idempotency-Key
          required: true
          schema:
            maxLength: 255
            minLength: 1
            title: Idempotency-Key
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StatusTransition'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionBundle'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Authentication required
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Insufficient scope
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Resource not found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: State or idempotency conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Request validation failed
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Internal server error
      security:
        - BearerAuth: []
        - ApiKeyAuth: []
        - SessionCookie: []
components:
  schemas:
    StatusTransition:
      additionalProperties: false
      properties:
        status:
          enum:
            - draft
            - validated
            - published
            - deprecated
            - archived
          title: Status
          type: string
      required:
        - status
      title: StatusTransition
      type: object
    VersionBundle:
      properties:
        adaptive_policy_version_id:
          format: uuid
          title: Adaptive Policy Version Id
          type: string
        app_id:
          format: uuid
          title: App Id
          type: string
        context_version_id:
          format: uuid
          title: Context Version Id
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        created_by_user_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Created By User Id
        experience_version_id:
          format: uuid
          title: Experience Version Id
          type: string
        fingerprint:
          title: Fingerprint
          type: string
        guardrail_version_id:
          format: uuid
          title: Guardrail Version Id
          type: string
        id:
          format: uuid
          title: Id
          type: string
        name:
          title: Name
          type: string
        published_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Published At
        report_template_version_id:
          format: uuid
          title: Report Template Version Id
          type: string
        revision:
          title: Revision
          type: integer
        scorecard_version_id:
          format: uuid
          title: Scorecard Version Id
          type: string
        status:
          enum:
            - draft
            - validated
            - published
            - deprecated
            - archived
          title: Status
          type: string
      required:
        - id
        - app_id
        - name
        - revision
        - status
        - fingerprint
        - experience_version_id
        - scorecard_version_id
        - context_version_id
        - guardrail_version_id
        - adaptive_policy_version_id
        - report_template_version_id
        - created_at
      title: VersionBundle
      type: object
    ApiErrorResponse:
      additionalProperties: false
      properties:
        detail:
          anyOf:
            - $ref: '#/components/schemas/ErrorDetail'
            - type: string
            - items: {}
              type: array
            - additionalProperties: true
              type: object
          title: Detail
      required:
        - detail
      title: ApiErrorResponse
      type: object
    ErrorDetail:
      additionalProperties: false
      description: Stable structured detail returned by versioned API errors.
      properties:
        code:
          title: Code
          type: string
        context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Context
        message:
          title: Message
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      required:
        - code
        - message
      title: ErrorDetail
      type: object
  securitySchemes:
    BearerAuth:
      description: Named syn_ API key or migration-only legacy key.
      scheme: bearer
      type: http
    ApiKeyAuth:
      description: Header alias for a named or legacy API key.
      in: header
      name: X-API-Key
      type: apiKey
    SessionCookie:
      description: Opaque administrator browser session.
      in: cookie
      name: synapse_session
      type: apiKey

````