---
title: "Fork"
method: POST
path: "/api/trajectories/{session_id}/fork"
tags: ["trajectories"]
---

# Fork

`POST /api/trajectories/{session_id}/fork`

Create a new trajectory session seeded with the parent's records up
to `head_uuid`. Anyone who can view the parent can fork from it; the
new session is owned by the caller and starts at visibility='private'
(or 'lab' if the caller has an active lab).

## Path parameters

- `session_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- ForkIn
  - `head_uuid` string, required
  - `title` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
