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

# Deprecated alias for the transition endpoint



## OpenAPI

````yaml /openapi.json post /api/v1/workspaces/{workspace}/recs/{id}/status
openapi: 3.0.3
info:
  title: ai-cmo.dev Services API
  version: 1.0.0
servers: []
security: []
paths:
  /api/v1/workspaces/{workspace}/recs/{id}/status:
    post:
      summary: Deprecated alias for the transition endpoint
      operationId: transitionRecommendationLegacyRoute
      parameters:
        - name: workspace
          in: path
          required: true
          schema:
            type: string
            pattern: ^[a-z0-9-]+$
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecommendationTransition'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecommendationMutation'
        '409':
          description: Stale or invalid lifecycle transition
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecommendationConflict'
      deprecated: true
      security:
        - cookieAuth: []
        - bearerAuth:
            - recs:write
components:
  schemas:
    RecommendationTransition:
      type: object
      properties:
        action:
          type: string
          enum:
            - accept
            - decline
            - submit
            - verify
            - request_changes
            - stale_reopen
            - reopen
            - archive
            - restore
        expectedStatus:
          type: string
          enum:
            - proposed
            - todo
            - in_review
            - done
            - archived
        expectedVersion:
          type: integer
          exclusiveMinimum: true
          minimum: 0
        idempotencyKey:
          type: string
          minLength: 1
          maxLength: 200
        note:
          type: string
          maxLength: 300
        reviewEvidence:
          type: object
          properties:
            decision:
              type: string
              enum:
                - approved
                - changes_requested
            comment:
              type: string
            reviewedAt:
              type: string
              minLength: 1
          required:
            - decision
            - reviewedAt
          additionalProperties: false
        visibilitySnapshot:
          type: object
          properties:
            metric:
              type: string
              minLength: 1
            scope:
              type: string
              minLength: 1
            value:
              type: number
              nullable: true
            'n':
              type: integer
              minimum: 0
            observedAt:
              type: string
              minLength: 1
            signalRefs:
              type: array
              items:
                type: string
            unavailableReason:
              type: string
              minLength: 1
          required:
            - metric
            - scope
            - value
            - 'n'
            - observedAt
            - signalRefs
          additionalProperties: false
        draftId:
          type: string
          minLength: 1
        complianceApproved:
          type: boolean
          default: false
      required:
        - action
        - expectedStatus
        - expectedVersion
        - idempotencyKey
      additionalProperties: false
    RecommendationMutation:
      type: object
      properties:
        stdout:
          type: string
        stderr:
          type: string
      required:
        - stdout
        - stderr
      additionalProperties: false
    RecommendationConflict:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
      required:
        - error
        - message
      additionalProperties: false
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: geo.session
      description: Signed HttpOnly browser session cookie
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: gp_live_<43 base64url characters>
      description: Workspace-bound machine API key

````