---
title: "Get or create your orchestrator"
method: POST
path: "/v1/orchestrator"
tags: ["Orchestrator"]
---

# Get or create your orchestrator

`POST /v1/orchestrator`

## Request

- Base URL: `https://api.shardflux.dev`
- URL: `https://api.shardflux.dev/v1/orchestrator`
- Auth: HTTP bearer

Returns your orchestrator, creating it on first use. Its conversation starts on its own computer in the background (`state` starting, then ready).

## Request body

- object
  - `organization_id` string, uuid: UUIDv7, lowercase canonical form.

## Response `200`

Default Response

- object
  - `orchestrator` Orchestrator, required: Your orchestrator: one persistent agent on its own Shardflux computer, the same on every device. Its conversation and its threads are its own; closing the app never stops it.
    - `id` string, required
    - `organization_id` string, uuid, required: UUIDv7, lowercase canonical form.
    - `user_id` string, uuid, required: UUIDv7, lowercase canonical form.
    - `project_id` string, uuid, required: UUIDv7, lowercase canonical form.
    - `conversation_id` string, nullable, required
    - `state` 'ready' | 'starting' | 'waiting', required
    - `waiting` object, nullable, required
      - `reason` string, required
      - `message` string, required
      - `until` string, date-time: RFC 3339 UTC timestamp with Z.
    - `created_at` string, date-time, required: RFC 3339 UTC timestamp with Z.

## Other responses

- `4XX`: Default Response
- `5XX`: Default Response

---

[API](https://skmtc.dev/shardflux/apis/shardflux-api.md) · [All operations](https://skmtc.dev/shardflux/apis/shardflux-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shardflux/apis/shardflux-api/revisions/ea685f7b39c4?raw)
