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

# Start shoe recommendation processing

> **Step 2 of 3** -- Trigger shoe recommendation processing for a recommendation created in step 1.
Returns `202` immediately; use the result endpoint to poll for completion.




## OpenAPI

````yaml /openapi.yaml post /shoeRecommendation/start
openapi: 3.0.1
info:
  title: Ochy Partner API
  version: 1.0.0
  description: >
    The Ochy Partner API lets you integrate running biomechanical analysis into
    your application.

    Upload a video of a runner, receive detailed biomechanical metrics, joint
    angles, running style

    classification, and frame-by-frame position data.
servers:
  - url: https://partner-api.ochy-prod.com
    description: Production
security:
  - apiKey: []
paths:
  /shoeRecommendation/start:
    post:
      tags:
        - Shoe recommendation
      summary: Start shoe recommendation processing
      description: >
        **Step 2 of 3** -- Trigger shoe recommendation processing for a
        recommendation created in step 1.

        Returns `202` immediately; use the result endpoint to poll for
        completion.
      operationId: startShoeRecommendation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShoeRecommendationStartRequest'
            example:
              shoe_recommendation_id: 550e8400-e29b-41d4-a716-446655440000
      responses:
        '202':
          description: Processing accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShoeRecommendationStartResponse'
              example:
                message: >-
                  Shoe recommendation started for ID:
                  550e8400-e29b-41d4-a716-446655440000
        '400':
          description: Bad request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalid_json:
                  value:
                    detail: Invalid JSON payload
                    code: invalid_json
                missing_id:
                  value:
                    detail: shoe_recommendation_id is required
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShoeRecommendationUnauthorizedResponse'
              example:
                detail: Unauthorized
        '404':
          description: Recommendation id not found (or not owned by this account).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                detail: Shoe recommendation not found
        '500':
          description: Failed to enqueue processing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                detail: Failed to start shoe recommendation process
components:
  schemas:
    ShoeRecommendationStartRequest:
      type: object
      required:
        - shoe_recommendation_id
      properties:
        shoe_recommendation_id:
          type: string
          example: 550e8400-e29b-41d4-a716-446655440000
    ShoeRecommendationStartResponse:
      type: object
      properties:
        message:
          type: string
          example: >-
            Shoe recommendation started for ID:
            550e8400-e29b-41d4-a716-446655440000
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          example: Internal server error
        code:
          type: string
          description: Machine-readable error code (present on some errors).
          example: insufficient_credits
    ShoeRecommendationUnauthorizedResponse:
      type: object
      description: Returned when the `apiKey` query parameter is missing or not valid.
      properties:
        detail:
          type: string
          example: Unauthorized
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: apiKey
      description: Your API key, passed as a query parameter on every request.

````