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

# Move a simulation into a project

> Move a simulation into a project. Allowed only when the simulation has no
project yet; it joins the project's latest round (a first round is created
for an empty project). Anything else returns 409.



## OpenAPI

````yaml https://api.semilattice.ai/openapi.json patch /v1/simulations/{simulation_id}
openapi: 3.1.0
info:
  title: Semilattice API
  description: API for human behaviour simulation.
  contact:
    name: Semilattice API
    url: https://semilattice.ai/
    email: support@semilattice.ai
  version: v1.0.0
servers: []
security: []
paths:
  /v1/simulations/{simulation_id}:
    patch:
      tags:
        - Simulations
      summary: Move a simulation into a project
      description: >-
        Move a simulation into a project. Allowed only when the simulation has
        no

        project yet; it joins the project's latest round (a first round is
        created

        for an empty project). Anything else returns 409.
      operationId: move_simulation_route_v1_simulations__simulation_id__patch
      parameters:
        - name: simulation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Simulation Id
        - name: authorization
          in: header
          required: false
          schema:
            type: string
            title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MoveSimulationBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MoveSimulationBody:
      properties:
        project_id:
          type: string
          format: uuid
          title: Project Id
          description: >-
            Project to move this simulation into. Only allowed when the
            simulation has no project yet; it joins the project's latest round.
      type: object
      required:
        - project_id
      title: MoveSimulationBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````