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

# Start

> Kick off the deploy model pipeline.



## OpenAPI

````yaml /openapi.json post /api/v1/deploy
openapi: 3.1.0
info:
  title: Trajectory API
  version: 0.1.0
servers:
  - url: https://api.trajectory.ai
security: []
paths:
  /api/v1/deploy:
    post:
      tags:
        - deployments
      summary: Start
      description: Kick off the deploy model pipeline.
      operationId: startDeployModel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartDeployRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartDeployResponse'
        default:
          $ref: '#/components/responses/ApiErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    StartDeployRequest:
      properties:
        checkpoint_id:
          type: string
          title: Checkpoint Id
        model_slug:
          type: string
          title: Model Slug
        role:
          $ref: '#/components/schemas/DeploymentRole'
          default: test
        output_speed:
          $ref: '#/components/schemas/OutputSpeed'
          description: Which output-speed tier to deploy on.
          default: normal
        expected_concurrency:
          $ref: '#/components/schemas/ExpectedConcurrency'
          description: Traffic level to size replicas for.
          default: medium
      type: object
      required:
        - checkpoint_id
        - model_slug
      title: StartDeployRequest
    StartDeployResponse:
      properties:
        deployment_id:
          type: string
          title: Deployment Id
        role:
          $ref: '#/components/schemas/DeploymentRole'
        reused_merge:
          type: boolean
          title: Reused Merge
          description: >-
            True when an existing merged model was reused and the merge stage
            was skipped.
          default: false
      type: object
      required:
        - deployment_id
        - role
      title: StartDeployResponse
    DeploymentRole:
      type: string
      enum:
        - production
        - test
      title: DeploymentRole
    OutputSpeed:
      type: string
      enum:
        - normal
        - turbo
      title: OutputSpeed
      description: 'Which GPU tier a deployment runs on: H100 (normal) or B200 (turbo).'
    ExpectedConcurrency:
      type: string
      enum:
        - low
        - medium
        - high
      title: ExpectedConcurrency
      description: Traffic level a deployment is sized for; picks its replica count.
    ApiErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ApiErrorBody'
      required:
        - error
      title: ApiErrorEnvelope
      type: object
    ApiErrorBody:
      properties:
        type:
          $ref: '#/components/schemas/ErrorType'
        code:
          title: Code
          type: string
        message:
          type: string
          title: Message
        param:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Param
        doc_url:
          type: string
          title: Doc Url
        context:
          additionalProperties: true
          title: Context
          type: object
      required:
        - type
        - code
        - message
        - doc_url
        - context
      title: ApiErrorBody
      type: object
    ErrorType:
      enum:
        - invalid_request_error
        - authentication_error
        - permission_error
        - conflict_error
        - rate_limit_error
        - dependency_error
        - api_error
      title: ErrorType
      type: string
  responses:
    ApiErrorResponse:
      description: >-
        Common API error. Possible codes: `authentication_required`,
        `permission_denied`, `validation_error`, `rate_limited`,
        `internal_error`, `service_unavailable`.
      headers:
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
        Trajectory-Should-Retry:
          $ref: '#/components/headers/TrajectoryShouldRetry'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorEnvelope'
  headers:
    RequestId:
      schema:
        type: string
    TrajectoryShouldRetry:
      schema:
        type: boolean
    RetryAfter:
      schema:
        type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Organization API key

````