Meridian · Schema
WorktreeCreate
Body for POST /projects/{id}/worktrees.
AI CodingShared MemoryTask CoordinationMCPSelf-Hosted
Properties
| Name | Type | Description |
|---|---|---|
| session_id | string | Session that owns this worktree. |
| branch | string | Git branch name, e.g. worktree/abc12345. |
| path | string | Filesystem path of the worktree. |
| item_id | object | Sprint item this worktree was created for. |
| pid | object | eb2e44f8 — OS PID of the process that created this worktree. Used by the cleanup guard to confirm no live process is still using the directory before it is removed from disk. |
| base_sha | object | eb2e44f8 — commit SHA the worktree was branched from. Supplying this together with base_branch persists an IMMUTABLE base manifest for the worktree, later checked before merge/completion is allowed to |
| base_branch | object | eb2e44f8 — branch the worktree was branched from, e.g. 'dev'. |
| repo_identity | object | eb2e44f8 — stable identity for the repo this worktree belongs to (e.g. a remote URL or repo name). Free-form; recorded on the base manifest for audit purposes only, never validated against disk. Defau |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/usemeridian-us/json-schema/usemeridian-us-worktree-create-schema.json",
"title": "WorktreeCreate",
"description": "Body for POST /projects/{id}/worktrees.",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/usemeridian-us-openapi.json#/components/schemas/WorktreeCreate",
"properties": {
"session_id": {
"type": "string",
"title": "Session Id",
"description": "Session that owns this worktree."
},
"branch": {
"type": "string",
"minLength": 1,
"title": "Branch",
"description": "Git branch name, e.g. worktree/abc12345."
},
"path": {
"type": "string",
"minLength": 1,
"title": "Path",
"description": "Filesystem path of the worktree."
},
"item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Item Id",
"description": "Sprint item this worktree was created for."
},
"pid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Pid",
"description": "eb2e44f8 — OS PID of the process that created this worktree. Used by the cleanup guard to confirm no live process is still using the directory before it is removed from disk."
},
"base_sha": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Base Sha",
"description": "eb2e44f8 — commit SHA the worktree was branched from. Supplying this together with base_branch persists an IMMUTABLE base manifest for the worktree, later checked before merge/completion is allowed to proceed. Omitting it skips manifest creation entirely (backward compatible)."
},
"base_branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Base Branch",
"description": "eb2e44f8 — branch the worktree was branched from, e.g. 'dev'."
},
"repo_identity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Repo Identity",
"description": "eb2e44f8 — stable identity for the repo this worktree belongs to (e.g. a remote URL or repo name). Free-form; recorded on the base manifest for audit purposes only, never validated against disk. Defaults to project_id when omitted."
}
},
"type": "object",
"required": [
"session_id",
"branch",
"path"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/usemeridian-us-worktree-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.