{"openapi":"3.0.3","info":{"title":"Roundhouse public API","version":"0.0.1"},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"StructuredError":{"type":"object","properties":{"code":{"type":"string"},"userMessage":{"type":"string"},"debugMessage":{"type":"string"},"retryable":{"type":"boolean"},"source":{"anyOf":[{"type":"string","const":"ui"},{"type":"string","const":"sidecar"},{"type":"string","const":"git"},{"type":"string","const":"agent"},{"type":"string","const":"network"},{"type":"string","const":"db"}]},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}]}},"stack":{"type":"string"},"underlying":{"type":"array","items":{"$ref":"#/components/schemas/StructuredError"}},"traceId":{"type":"string"}},"required":["userMessage"],"additionalProperties":false}},"responses":{"BadRequest":{"description":"Invalid request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructuredError"}}}},"Unauthorized":{"description":"Missing or invalid bearer token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructuredError"}}}},"NotFound":{"description":"Resource not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructuredError"}}}},"Error":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructuredError"}}}}}},"paths":{"/v0/sections":{"get":{"operationId":"sections.list","summary":"List your sections in a cloud organization.","tags":["Workspaces"],"parameters":[{"schema":{"type":"integer","minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"integer","minimum":0},"in":"query","name":"offset","required":false}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"emoji":{"type":"string"},"kind":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}}},"required":["id","name","workspaceIds"],"additionalProperties":false}},"offset":{"type":"number"},"hasMore":{"type":"boolean"}},"required":["data","offset","hasMore"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"sections.create","summary":"Create a personal section in a cloud organization.","tags":["Workspaces"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"emoji":{"type":"string"},"position":{"anyOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["bottom"]}]}},"required":["name"],"additionalProperties":false}}}},"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"section":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"emoji":{"type":"string"},"kind":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}}},"required":["id","name","workspaceIds"],"additionalProperties":false}},"required":["section"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sections/{sectionId}":{"delete":{"operationId":"sections.delete","summary":"Delete a personal cloud section and return its removed workspace assignments.","tags":["Workspaces"],"description":"Keeps the workspaces and returns the deleted section with all workspace IDs that were unfiled. The deletion snapshot is returned once; a missing or already deleted section returns 404. The Pinned section can't be deleted.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"sectionId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"section":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"emoji":{"type":"string"},"kind":{"type":"string"},"workspaceIds":{"type":"array","items":{"type":"string"}}},"required":["id","name","workspaceIds"],"additionalProperties":false}},"required":["section"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/section":{"put":{"operationId":"workspace.section.set","summary":"Move a workspace into one of your cloud sections, or clear its section.","tags":["Workspaces"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sectionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["sectionId"],"additionalProperties":false}}}},"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]}},"required":["ok"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/preview":{"get":{"operationId":"workspace.preview.get","summary":"Get a workspace's preview URL.","tags":["Workspaces"],"description":"Returns the shared port and its preview URL, or `preview: null` when no port is shared.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-22","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"preview":{"anyOf":[{"type":"object","properties":{"port":{"type":"number"},"url":{"type":"string"}},"required":["port","url"],"additionalProperties":false},{"type":"null"}]}},"required":["preview"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}},"put":{"operationId":"workspace.preview.set","summary":"Share a workspace port at its preview URL.","tags":["Workspaces"],"description":"Each workspace has at most one preview URL; setting a different port keeps the URL and points it at the new port. Something must be listening on that port inside the workspace (for example `python3 -m http.server <port> --bind 127.0.0.1`). Viewers sign in with Conductor and need read access to the workspace. While the workspace sleeps, the URL offers to wake it, and waking restarts the server last seen on the port. The URL is deleted when the workspace is archived.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"port":{"type":"integer","minimum":1,"maximum":65535}},"required":["port"],"additionalProperties":false}}}},"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-22","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"preview":{"anyOf":[{"type":"object","properties":{"port":{"type":"number"},"url":{"type":"string"}},"required":["port","url"],"additionalProperties":false},{"type":"null"}]}},"required":["preview"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"workspace.preview.delete","summary":"Stop sharing a workspace's preview URL.","tags":["Workspaces"],"description":"Idempotent. Setting a preview again afterwards reuses the workspace's preview URL.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-22","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"preview":{"anyOf":[{"type":"object","properties":{"port":{"type":"number"},"url":{"type":"string"}},"required":["port","url"],"additionalProperties":false},{"type":"null"}]}},"required":["preview"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/projects":{"get":{"operationId":"projects.list","summary":"List projects.","tags":["Workspaces"],"parameters":[{"schema":{"type":"integer","minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"integer","minimum":0},"in":"query","name":"offset","required":false}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"gitRemote":{"type":"string"}},"required":["id","name","gitRemote"],"additionalProperties":false}},"offset":{"type":"number"},"hasMore":{"type":"boolean"}},"required":["data","offset","hasMore"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{projectId}":{"get":{"operationId":"project.get","summary":"Get a project.","tags":["Workspaces"],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"projectId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"gitRemote":{"type":"string"}},"required":["id","name","gitRemote"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{projectId}/workspaces":{"get":{"operationId":"project.workspaces.list","summary":"List project workspaces.","tags":["Workspaces"],"parameters":[{"schema":{"type":"integer","minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"integer","minimum":0},"in":"query","name":"offset","required":false},{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"string"},"in":"path","name":"projectId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"number":{"type":"number"},"state":{"anyOf":[{"type":"string","enum":["initializing"]},{"type":"string","enum":["ready"]},{"type":"string","enum":["sleeping"]},{"type":"string","enum":["archived"]},{"type":"string","enum":["deleted"]},{"type":"string","enum":["updating"]},{"type":"string","enum":["unstarted"]}]},"lifecycleStep":{"anyOf":[{"type":"string","enum":["building_snapshot"]},{"type":"string","enum":["preparing"]},{"type":"string","enum":["setting_up"]},{"type":"string","enum":["updating"]}]},"repoUrl":{"type":"string"},"createdAt":{"type":"string"},"deepLink":{"type":"string"},"creatorId":{"type":"string"},"creatorName":{"description":"Display name of the member who created the workspace.","type":"string"},"lastActivityAt":{"type":"string"}},"required":["id","name","state","repoUrl","createdAt","deepLink"],"additionalProperties":false}},"offset":{"type":"number"},"hasMore":{"type":"boolean"}},"required":["data","offset","hasMore"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces":{"get":{"operationId":"workspaces.list","summary":"List workspaces.","tags":["Workspaces"],"description":"Lists workspaces visible to the caller.","parameters":[{"schema":{"type":"integer","minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"integer","minimum":0},"in":"query","name":"offset","required":false},{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"string"},"in":"query","name":"creator","required":false},{"schema":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"in":"query","name":"state","required":false,"description":"Filter by workspace state: initializing, ready, sleeping, archived, deleted, or updating. Repeat the parameter or pass comma-separated values."},{"schema":{"type":"string"},"in":"query","name":"repo","required":false,"description":"Repository URL substring or repository id."},{"schema":{"type":"string"},"in":"query","name":"name","required":false},{"schema":{"type":"string"},"in":"query","name":"since","required":false,"description":"Filter to workspaces whose lastActivityAt is on or after this ISO 8601 date or timestamp."},{"schema":{"type":"boolean"},"in":"query","name":"includeArchived","required":false,"description":"Include archived workspaces. Defaults to false; an explicit archived state also includes them."}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-08-18","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"number":{"type":"number"},"state":{"anyOf":[{"type":"string","enum":["initializing"]},{"type":"string","enum":["ready"]},{"type":"string","enum":["sleeping"]},{"type":"string","enum":["archived"]},{"type":"string","enum":["deleted"]},{"type":"string","enum":["updating"]},{"type":"string","enum":["unstarted"]}]},"lifecycleStep":{"anyOf":[{"type":"string","enum":["building_snapshot"]},{"type":"string","enum":["preparing"]},{"type":"string","enum":["setting_up"]},{"type":"string","enum":["updating"]}]},"repoUrl":{"type":"string"},"createdAt":{"type":"string"},"deepLink":{"type":"string"},"creatorId":{"type":"string"},"creatorName":{"description":"Display name of the member who created the workspace.","type":"string"},"lastActivityAt":{"type":"string"}},"required":["id","name","state","repoUrl","createdAt","deepLink"],"additionalProperties":false}},"offset":{"type":"number"},"hasMore":{"type":"boolean"}},"required":["data","offset","hasMore"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"workspace.create","summary":"Create a workspace.","tags":["Workspaces"],"description":"Creates a cloud workspace and first session, optionally queues its initial message, and returns a deep link that opens the workspace in the Conductor desktop app. When a message is included, the response's initialMessage contains its ID and whether it was sent or queued; if the message could not be accepted, the workspace and session are still created and initialMessage is omitted — resend it via the messages endpoint. Creation is not idempotent: retrying a request whose response was lost creates another workspace. Pass either projectId or repositoryUrl. With an organization API key, the workspace launches on the organization's machine; the machine must include the repository. Omit agent and model to use the caller's default model as saved in the Conductor app (the first favorite in the model picker), including its effort and fastMode unless those are sent explicitly. When no default is saved, or its agent has no connected credentials, the agent defaults to codex and the model to the agent's default — claude: opus-5-1m; codex: gpt-6.1-sol; cursor: composer-2.5. Accepted model ids by agent — claude: fable-5-2, fable-5-1, fable-5, opus-5-5-1m, opus-5-1m, opus-4-8-1m, opus-4-8, opus-4-7-1m, opus-4-7, opus-4-6-1m, sonnet-5-5-1m, sonnet-5-1m, sonnet-4-6-1m, sonnet-4-6, haiku-5-5-1m, haiku-4-5; codex: gpt-5.5, gpt-5.4, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.3-codex-spark, gpt-5.3-codex, gpt-5.2-codex, gpt-6.2-astra, gpt-6.2-sol, gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol, gpt-6-luna, gpt-daybreak-blue-latest; cursor: auto, composer-2.5, grok-4.7, grok-4.6, grok-4.5. Accepted effort levels by agent — claude: low, medium, high, xhigh, max, ultracode; codex: none, low, medium, high, xhigh, max, ultra; cursor: low, medium, high, xhigh; codex max and ultra, and claude ultracode, require support from the selected model. Omit effort to use the agent's default — claude: high; codex: high. Models accepting fastMode by agent — claude: fable-5-2, opus-5-5-1m, opus-5-1m, opus-4-8-1m, opus-4-8, opus-4-7-1m, opus-4-7, opus-4-6-1m; codex: gpt-5.5, gpt-5.4, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.3-codex-spark, gpt-5.3-codex, gpt-5.2-codex, gpt-6.2-astra, gpt-6.2-sol, gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol, gpt-6-luna, gpt-daybreak-blue-latest; cursor: auto, composer-2.5, grok-4.7, grok-4.6, grok-4.5. Omit fastMode (or send false) for other models.","requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"projectId":{"type":"string"},"repositoryUrl":{"not":{}},"branch":{"type":"string"},"name":{"type":"string","minLength":1},"sessionName":{"type":"string","minLength":1},"agent":{"anyOf":[{"type":"string","enum":["claude"]},{"type":"string","enum":["codex"]},{"type":"string","enum":["cursor"]},{"type":"string","enum":["acp"]}]},"model":{"anyOf":[{"type":"string","enum":["fable-5-2"]},{"type":"string","enum":["fable-5-1"]},{"type":"string","enum":["fable-5"]},{"type":"string","enum":["opus-5-5-1m"]},{"type":"string","enum":["opus-5-1m"]},{"type":"string","enum":["opus-4-8-1m"]},{"type":"string","enum":["opus-4-8"]},{"type":"string","enum":["opus-4-7-1m"]},{"type":"string","enum":["opus-4-7"]},{"type":"string","enum":["opus-4-6-1m"]},{"type":"string","enum":["sonnet-5-5-1m"]},{"type":"string","enum":["sonnet-5-1m"]},{"type":"string","enum":["sonnet-4-6-1m"]},{"type":"string","enum":["sonnet-4-6"]},{"type":"string","enum":["haiku-5-5-1m"]},{"type":"string","enum":["haiku-4-5"]},{"type":"string","enum":["gpt-5.5"]},{"type":"string","enum":["gpt-5.4"]},{"type":"string","enum":["gpt-5.6-sol"]},{"type":"string","enum":["gpt-5.6-terra"]},{"type":"string","enum":["gpt-5.6-luna"]},{"type":"string","enum":["gpt-5.3-codex-spark"]},{"type":"string","enum":["gpt-5.3-codex"]},{"type":"string","enum":["gpt-5.2-codex"]},{"type":"string","enum":["gpt-6.2-astra"]},{"type":"string","enum":["gpt-6.2-sol"]},{"type":"string","enum":["gpt-6-astra"]},{"type":"string","enum":["gpt-6.1-sol"]},{"type":"string","enum":["gpt-6.1-terra"]},{"type":"string","enum":["gpt-6-sol"]},{"type":"string","enum":["gpt-6-luna"]},{"type":"string","enum":["gpt-daybreak-blue-latest"]},{"type":"string","enum":["auto"]},{"type":"string","enum":["composer-2.5"]},{"type":"string","enum":["grok-4.7"]},{"type":"string","enum":["grok-4.6"]},{"type":"string","enum":["grok-4.5"]}]},"effort":{"anyOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["low"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["high"]},{"type":"string","enum":["xhigh"]},{"type":"string","enum":["max"]},{"type":"string","enum":["ultra"]},{"type":"string","enum":["ultracode"]}]},"fastMode":{"type":"boolean"},"env":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"access":{"type":"object","properties":{"restricted":{"type":"boolean"}},"required":["restricted"],"additionalProperties":false},"message":{"type":"string","minLength":1},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["slack"]},"url":{"type":"string","format":"uri"},"label":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","url"],"additionalProperties":false}},"required":["projectId"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"not":{}},"repositoryUrl":{"type":"string","format":"uri"},"branch":{"type":"string"},"name":{"type":"string","minLength":1},"sessionName":{"type":"string","minLength":1},"agent":{"anyOf":[{"type":"string","enum":["claude"]},{"type":"string","enum":["codex"]},{"type":"string","enum":["cursor"]},{"type":"string","enum":["acp"]}]},"model":{"anyOf":[{"type":"string","enum":["fable-5-2"]},{"type":"string","enum":["fable-5-1"]},{"type":"string","enum":["fable-5"]},{"type":"string","enum":["opus-5-5-1m"]},{"type":"string","enum":["opus-5-1m"]},{"type":"string","enum":["opus-4-8-1m"]},{"type":"string","enum":["opus-4-8"]},{"type":"string","enum":["opus-4-7-1m"]},{"type":"string","enum":["opus-4-7"]},{"type":"string","enum":["opus-4-6-1m"]},{"type":"string","enum":["sonnet-5-5-1m"]},{"type":"string","enum":["sonnet-5-1m"]},{"type":"string","enum":["sonnet-4-6-1m"]},{"type":"string","enum":["sonnet-4-6"]},{"type":"string","enum":["haiku-5-5-1m"]},{"type":"string","enum":["haiku-4-5"]},{"type":"string","enum":["gpt-5.5"]},{"type":"string","enum":["gpt-5.4"]},{"type":"string","enum":["gpt-5.6-sol"]},{"type":"string","enum":["gpt-5.6-terra"]},{"type":"string","enum":["gpt-5.6-luna"]},{"type":"string","enum":["gpt-5.3-codex-spark"]},{"type":"string","enum":["gpt-5.3-codex"]},{"type":"string","enum":["gpt-5.2-codex"]},{"type":"string","enum":["gpt-6.2-astra"]},{"type":"string","enum":["gpt-6.2-sol"]},{"type":"string","enum":["gpt-6-astra"]},{"type":"string","enum":["gpt-6.1-sol"]},{"type":"string","enum":["gpt-6.1-terra"]},{"type":"string","enum":["gpt-6-sol"]},{"type":"string","enum":["gpt-6-luna"]},{"type":"string","enum":["gpt-daybreak-blue-latest"]},{"type":"string","enum":["auto"]},{"type":"string","enum":["composer-2.5"]},{"type":"string","enum":["grok-4.7"]},{"type":"string","enum":["grok-4.6"]},{"type":"string","enum":["grok-4.5"]}]},"effort":{"anyOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["low"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["high"]},{"type":"string","enum":["xhigh"]},{"type":"string","enum":["max"]},{"type":"string","enum":["ultra"]},{"type":"string","enum":["ultracode"]}]},"fastMode":{"type":"boolean"},"env":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"access":{"type":"object","properties":{"restricted":{"type":"boolean"}},"required":["restricted"],"additionalProperties":false},"message":{"type":"string","minLength":1},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["slack"]},"url":{"type":"string","format":"uri"},"label":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","url"],"additionalProperties":false}},"required":["repositoryUrl"],"additionalProperties":false}]}}}},"parameters":[{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"},"deepLink":{"type":"string"},"initialMessage":{"type":"object","properties":{"messageId":{"type":"string"},"state":{"anyOf":[{"type":"string","enum":["queued"]},{"type":"string","enum":["sent"]}]},"deepLink":{"type":"string"}},"required":["messageId","state","deepLink"],"additionalProperties":false}},"required":["workspaceId","sessionId","deepLink"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}":{"get":{"operationId":"workspace.get","summary":"Get a workspace.","tags":["Workspaces"],"parameters":[{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"number":{"type":"number"},"state":{"anyOf":[{"type":"string","enum":["initializing"]},{"type":"string","enum":["ready"]},{"type":"string","enum":["sleeping"]},{"type":"string","enum":["archived"]},{"type":"string","enum":["deleted"]},{"type":"string","enum":["updating"]},{"type":"string","enum":["unstarted"]}]},"lifecycleStep":{"anyOf":[{"type":"string","enum":["building_snapshot"]},{"type":"string","enum":["preparing"]},{"type":"string","enum":["setting_up"]},{"type":"string","enum":["updating"]}]},"repoUrl":{"type":"string"},"createdAt":{"type":"string"},"deepLink":{"type":"string"},"creatorId":{"type":"string"},"creatorName":{"description":"Display name of the member who created the workspace.","type":"string"},"lastActivityAt":{"type":"string"}},"required":["id","name","state","repoUrl","createdAt","deepLink"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/rename":{"post":{"operationId":"workspace.rename","summary":"Rename a workspace.","tags":["Workspaces"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}}}},"parameters":[{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"number":{"type":"number"},"state":{"anyOf":[{"type":"string","enum":["initializing"]},{"type":"string","enum":["ready"]},{"type":"string","enum":["sleeping"]},{"type":"string","enum":["archived"]},{"type":"string","enum":["deleted"]},{"type":"string","enum":["updating"]},{"type":"string","enum":["unstarted"]}]},"lifecycleStep":{"anyOf":[{"type":"string","enum":["building_snapshot"]},{"type":"string","enum":["preparing"]},{"type":"string","enum":["setting_up"]},{"type":"string","enum":["updating"]}]},"repoUrl":{"type":"string"},"createdAt":{"type":"string"},"deepLink":{"type":"string"},"creatorId":{"type":"string"},"creatorName":{"description":"Display name of the member who created the workspace.","type":"string"},"lastActivityAt":{"type":"string"}},"required":["id","name","state","repoUrl","createdAt","deepLink"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/archive":{"post":{"operationId":"workspace.archive","summary":"Archive a workspace.","tags":["Workspaces"],"description":"Stop the workspace and hide it in the app. Idempotent; the workspace can be restored later.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"status":{"type":"string","enum":["archived"]}},"required":["workspaceId","status"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/unarchive":{"post":{"operationId":"workspace.unarchive","summary":"Unarchive a workspace.","tags":["Workspaces"],"description":"Restore an archived workspace and start it. Idempotent for ready workspaces.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-08-11","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"status":{"type":"string","enum":["ready"]}},"required":["workspaceId","status"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/sleep":{"post":{"operationId":"workspace.sleep","summary":"Put a workspace to sleep.","tags":["Workspaces"],"description":"Put the workspace to sleep. Idempotent for sleeping workspaces.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-07-31","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["sleeping"]},{"type":"string","enum":["archived"]}]}},"required":["workspaceId","status"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/sessions":{"get":{"operationId":"workspace.sessions.list","summary":"List workspace sessions.","tags":["Workspaces"],"parameters":[{"schema":{"type":"integer","minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"integer","minimum":0},"in":"query","name":"offset","required":false},{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"boolean"},"in":"query","name":"includeArchived","required":false,"description":"Include archived sessions. Defaults to false."},{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deepLink":{"type":"string"},"name":{"type":"string"},"model":{"type":"string"},"resolvedModel":{"type":"string"},"effort":{"type":"string"},"fastMode":{"type":"boolean"},"archivedAt":{"type":"string"}},"required":["id","deepLink"],"additionalProperties":false}},"offset":{"type":"number"},"hasMore":{"type":"boolean"}},"required":["data","offset","hasMore"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions":{"post":{"operationId":"session.create","summary":"Create a session.","tags":["Workspaces"],"description":"Creates a session in an existing workspace and optionally sends its initial message. If the workspace is still initializing, Conductor queues the message and delivers it when the workspace is ready. When a message is included, the response's initialMessage contains its ID and whether it was sent or queued. To retry a create whose response was lost, pass the same sessionId and messageId; the message is deduplicated within that session. Accepted model ids by agent — claude: fable-5-2, fable-5-1, fable-5, opus-5-5-1m, opus-5-1m, opus-4-8-1m, opus-4-8, opus-4-7-1m, opus-4-7, opus-4-6-1m, sonnet-5-5-1m, sonnet-5-1m, sonnet-4-6-1m, sonnet-4-6, haiku-5-5-1m, haiku-4-5; codex: gpt-5.5, gpt-5.4, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.3-codex-spark, gpt-5.3-codex, gpt-5.2-codex, gpt-6.2-astra, gpt-6.2-sol, gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol, gpt-6-luna, gpt-daybreak-blue-latest; cursor: auto, composer-2.5, grok-4.7, grok-4.6, grok-4.5. Accepted effort levels by agent — claude: low, medium, high, xhigh, max, ultracode; codex: none, low, medium, high, xhigh, max, ultra; cursor: low, medium, high, xhigh; codex max and ultra, and claude ultracode, require support from the selected model. Omit effort to use the agent's default — claude: high; codex: high. Models accepting fastMode by agent — claude: fable-5-2, opus-5-5-1m, opus-5-1m, opus-4-8-1m, opus-4-8, opus-4-7-1m, opus-4-7, opus-4-6-1m; codex: gpt-5.5, gpt-5.4, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.3-codex-spark, gpt-5.3-codex, gpt-5.2-codex, gpt-6.2-astra, gpt-6.2-sol, gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol, gpt-6-luna, gpt-daybreak-blue-latest; cursor: auto, composer-2.5, grok-4.7, grok-4.6, grok-4.5. Omit fastMode (or send false) for other models.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"},"name":{"type":"string"},"agent":{"anyOf":[{"type":"string","enum":["claude"]},{"type":"string","enum":["codex"]},{"type":"string","enum":["cursor"]},{"type":"string","enum":["acp"]}]},"model":{"anyOf":[{"type":"string","enum":["fable-5-2"]},{"type":"string","enum":["fable-5-1"]},{"type":"string","enum":["fable-5"]},{"type":"string","enum":["opus-5-5-1m"]},{"type":"string","enum":["opus-5-1m"]},{"type":"string","enum":["opus-4-8-1m"]},{"type":"string","enum":["opus-4-8"]},{"type":"string","enum":["opus-4-7-1m"]},{"type":"string","enum":["opus-4-7"]},{"type":"string","enum":["opus-4-6-1m"]},{"type":"string","enum":["sonnet-5-5-1m"]},{"type":"string","enum":["sonnet-5-1m"]},{"type":"string","enum":["sonnet-4-6-1m"]},{"type":"string","enum":["sonnet-4-6"]},{"type":"string","enum":["haiku-5-5-1m"]},{"type":"string","enum":["haiku-4-5"]},{"type":"string","enum":["gpt-5.5"]},{"type":"string","enum":["gpt-5.4"]},{"type":"string","enum":["gpt-5.6-sol"]},{"type":"string","enum":["gpt-5.6-terra"]},{"type":"string","enum":["gpt-5.6-luna"]},{"type":"string","enum":["gpt-5.3-codex-spark"]},{"type":"string","enum":["gpt-5.3-codex"]},{"type":"string","enum":["gpt-5.2-codex"]},{"type":"string","enum":["gpt-6.2-astra"]},{"type":"string","enum":["gpt-6.2-sol"]},{"type":"string","enum":["gpt-6-astra"]},{"type":"string","enum":["gpt-6.1-sol"]},{"type":"string","enum":["gpt-6.1-terra"]},{"type":"string","enum":["gpt-6-sol"]},{"type":"string","enum":["gpt-6-luna"]},{"type":"string","enum":["gpt-daybreak-blue-latest"]},{"type":"string","enum":["auto"]},{"type":"string","enum":["composer-2.5"]},{"type":"string","enum":["grok-4.7"]},{"type":"string","enum":["grok-4.6"]},{"type":"string","enum":["grok-4.5"]}]},"effort":{"anyOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["low"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["high"]},{"type":"string","enum":["xhigh"]},{"type":"string","enum":["max"]},{"type":"string","enum":["ultra"]},{"type":"string","enum":["ultracode"]}]},"fastMode":{"type":"boolean"},"messageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"message":{"type":"string","minLength":1}},"required":["workspaceId","agent"],"additionalProperties":false}}}},"parameters":[{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deepLink":{"type":"string"},"name":{"type":"string"},"model":{"type":"string"},"resolvedModel":{"type":"string"},"effort":{"type":"string"},"fastMode":{"type":"boolean"},"archivedAt":{"type":"string"},"initialMessage":{"type":"object","properties":{"messageId":{"type":"string"},"state":{"anyOf":[{"type":"string","enum":["queued"]},{"type":"string","enum":["sent"]}]},"deepLink":{"type":"string"}},"required":["messageId","state","deepLink"],"additionalProperties":false}},"required":["id","deepLink"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}":{"get":{"operationId":"session.get","summary":"Get a session.","tags":["Workspaces"],"parameters":[{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deepLink":{"type":"string"},"name":{"type":"string"},"model":{"type":"string"},"resolvedModel":{"type":"string"},"effort":{"type":"string"},"fastMode":{"type":"boolean"},"archivedAt":{"type":"string"}},"required":["id","deepLink"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}/rename":{"post":{"operationId":"session.rename","summary":"Rename a session.","tags":["Workspaces"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}}}},"parameters":[{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deepLink":{"type":"string"},"name":{"type":"string"},"model":{"type":"string"},"resolvedModel":{"type":"string"},"effort":{"type":"string"},"fastMode":{"type":"boolean"},"archivedAt":{"type":"string"}},"required":["id","deepLink"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}/archive":{"post":{"operationId":"session.archive","summary":"Archive a session.","tags":["Workspaces"],"description":"Archive a session, like closing its chat tab: it leaves session lists, its running agent is stopped, and its queued messages are dropped. Sending a new message to an archived session, or unarchiving it, reopens it. Idempotent; the session remains readable by id.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"},"status":{"type":"string","enum":["archived"]},"canceledQueuedMessages":{"type":"number"},"updatedAt":{"type":"string"}},"required":["workspaceId","sessionId","status","canceledQueuedMessages"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}/unarchive":{"post":{"operationId":"session.unarchive","summary":"Unarchive a session.","tags":["Workspaces"],"description":"Unarchive a session, like reopening its closed chat tab: it returns to session lists. Idempotent.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-30","parameters":[{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"},"status":{"type":"string","enum":["unarchived"]},"updatedAt":{"type":"string"}},"required":["workspaceId","sessionId","status"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}/messages":{"get":{"operationId":"session.messages.list","summary":"List session messages.","tags":["Workspaces"],"description":"List a session's transcript messages. To poll for new messages, pass after=<last message id> — it returns only newer messages (ascending sessionIndex order). Use limit/offset to page from the start; after and offset cannot be combined.","parameters":[{"schema":{"type":"integer","minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"integer","minimum":0},"in":"query","name":"offset","required":false},{"schema":{"type":"string"},"in":"query","name":"after","required":false,"description":"Return only messages after this message id (exclusive), in ascending sessionIndex order. Preferred over offset for polling. Cannot be combined with offset."},{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"sessionId":{"type":"string"},"sessionIndex":{"type":"number"},"type":{"type":"string"},"content":{},"receivedAt":{"type":"string"}},"required":["id","sessionId","sessionIndex","type","content","receivedAt"],"additionalProperties":false}},"offset":{"type":"number"},"hasMore":{"type":"boolean"}},"required":["data","offset","hasMore"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"message.create","summary":"Create a message.","tags":["Workspaces"],"description":"Sends a user message to the session's agent. To attach files (up to 10), upload each one with POST /v0/sessions/{sessionId}/attachments and list the attachment ids in attachments. The agent is told to read the attached files, which appear in the workspace under .context/attachments/. To retry a message whose response was lost, resend it with the same messageId, text, and attachments. Attachments are in preview and enabled per user; requests from users without access receive 403.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"message":{"type":"string","minLength":1},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["slack"]},"url":{"type":"string","format":"uri"},"label":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","url"],"additionalProperties":false},"attachments":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}}},"required":["message"],"additionalProperties":false}}}},"parameters":[{"schema":{"type":"string","enum":["prod","alpha","alpha-chromium","beta","patch","dev","funhouse"]},"in":"query","name":"channel","required":false,"description":"Desktop-app channel the returned deepLink should open. Defaults to the deployment's primary channel."},{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string"},"state":{"anyOf":[{"type":"string","enum":["queued"]},{"type":"string","enum":["sent"]}]},"deepLink":{"type":"string"}},"required":["messageId","state","deepLink"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}/attachments":{"post":{"operationId":"attachment.create","summary":"Create an attachment.","tags":["Workspaces"],"description":"Allocates a file attachment in a session and returns a presigned upload URL. PUT the file bytes to upload.url with upload.headers within 15 minutes, then pass attachment.id in the attachments of POST /v0/sessions/{sessionId}/messages. Files can be up to 100 MB and of any type. Attachments can only be added to existing sessions: create the session, upload, then send the message. Attachments are in preview and enabled per user; requests from users without access receive 403.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"attachmentId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filename":{"type":"string","minLength":1},"contentType":{"type":"string","minLength":1},"byteSize":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["filename","contentType","byteSize"],"additionalProperties":false}}}},"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-10-21","parameters":[{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"attachment":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"}},"required":["id","path"],"additionalProperties":false},"upload":{"type":"object","properties":{"url":{"type":"string"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"expiresAt":{"type":"string"}},"required":["url","headers","expiresAt"],"additionalProperties":false}},"required":["attachment","upload"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/messages/{messageId}":{"get":{"operationId":"message.get","summary":"Get a message.","tags":["Workspaces"],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"messageId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"sessionId":{"type":"string"},"sessionIndex":{"type":"number"},"type":{"type":"string"},"content":{},"receivedAt":{"type":"string"}},"required":["id","sessionId","sessionIndex","type","content","receivedAt"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/workspaces/{workspaceId}/status":{"get":{"operationId":"workspace.status.get","summary":"Get workspace status.","tags":["Workspaces"],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"workspaceId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["initializing"]},{"type":"string","enum":["ready"]},{"type":"string","enum":["sleeping"]},{"type":"string","enum":["archived"]},{"type":"string","enum":["deleted"]},{"type":"string","enum":["updating"]},{"type":"string","enum":["unstarted"]}]},"lifecycleStep":{"anyOf":[{"type":"string","enum":["building_snapshot"]},{"type":"string","enum":["preparing"]},{"type":"string","enum":["setting_up"]},{"type":"string","enum":["updating"]}]},"updatedAt":{"type":"string"},"errorMessage":{"type":"string"}},"required":["workspaceId","status","updatedAt"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}/status":{"get":{"operationId":"session.status.get","summary":"Get session status.","tags":["Workspaces"],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["idle"]},{"type":"string","enum":["working"]},{"type":"string","enum":["error"]}]},"updatedAt":{"type":"string"},"errorMessage":{"type":"string"},"lastError":{"type":"string"},"lastErrorAt":{"type":"string"}},"required":["workspaceId","sessionId","status","updatedAt"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sessions/{sessionId}/cancel":{"post":{"operationId":"session.cancel","summary":"Cancel a running session.","tags":["Workspaces"],"description":"Stop the agent's in-progress turn and drop any not-yet-delivered queued messages for the session. Idempotent: a no-op when the agent is already idle. Preserves the workspace and session history. Cancellation completes asynchronously — poll the session status endpoint until idle to confirm.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","parameters":[{"schema":{"type":"string"},"in":"path","name":"sessionId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["idle"]},{"type":"string","enum":["working"]},{"type":"string","enum":["error"]}]},"canceledQueuedMessages":{"type":"number"}},"required":["workspaceId","sessionId","status","canceledQueuedMessages"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/sql":{"post":{"operationId":"sql.query","summary":"Run a read-only SQL query over session transcripts.","tags":["Workspaces"],"description":"Runs a single read-only SQL SELECT statement over session transcripts and returns the matching rows. The view covers only the workspaces in your organization that you can access: those shared with the whole organization plus any private workspaces shared with you.\n\nQueries may ONLY read from the view session_transcripts_view; every other table, view, and function is off-limits. Query it like a table, e.g. SELECT ... FROM session_transcripts_view. Its columns are:\n\n- session_id (text): ID of the session (chat).\n- workspace_id (text): ID of the workspace the session belongs to.\n- transcript (text): concise plain-text transcript of the session's conversation.\n- session_title (text, nullable): title of the session.\n- agent_type (text, nullable): agent that ran the session, e.g. 'claude' or 'codex'.\n- model (text, nullable): model the session used.\n- workspace_name (text, nullable): display name of the workspace.\n- workspace_state (text): workspace lifecycle state, e.g. 'ready' or 'archived'.\n- repo_url (text): git remote URL of the workspace's repository.\n- session_created_at (timestamptz): when the session was created.\n- transcript_updated_at (timestamptz): when the transcript last changed.\n- workspace_created_at (timestamptz): when the workspace was created.\n- workspace_creator_id (text, nullable): ID of the user who created the workspace; matches the user id from GET /me for scoping \"my\" queries.\n- workspace_creator_name (text, nullable): display name of the workspace creator (their email when no name is set).\n\nLimits: at most 500 rows are returned (the response sets truncated: true when the query matched more), statements time out after 5 seconds, and the query text may be at most 10000 characters. The statement must be a single query: semicolon-chained statements, writes, U& Unicode-escape syntax, and queries containing the text set_config anywhere (even inside a search string) are rejected. Errors come back as 400s carrying the Postgres error message.\n\nExample queries:\n\n- Search transcripts: SELECT session_id, session_title, workspace_name FROM session_transcripts_view WHERE transcript ILIKE '%database migration%' ORDER BY transcript_updated_at DESC LIMIT 20\n- Recent sessions in live workspaces: SELECT session_title, workspace_name, transcript_updated_at FROM session_transcripts_view WHERE workspace_state = 'ready' ORDER BY transcript_updated_at DESC LIMIT 50","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1}},"required":["query"],"additionalProperties":false}}}},"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-07-01","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"rowCount":{"type":"number"},"truncated":{"type":"boolean"}},"required":["rows","rowCount","truncated"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/routines":{"post":{"operationId":"routine.create","summary":"Create a routine.","tags":["Workspaces"],"description":"Creates a routine with a single webhook trigger in the given projectId. POSTing JSON to the returned webhookUrl runs the routine's prompt in a new workspace as the routine owner, using the owner's credentials for the selected agent. The webhookUrl is the trigger's only credential and is returned here and from rotate-secret only; treat it as a secret. Requires a user API key: workspace API keys and other sign-in credentials receive 403. The routine is owned by the key's user in the key's organization. Accepted model ids by agent — claude: fable-5-2, fable-5-1, fable-5, opus-5-5-1m, opus-5-1m, opus-4-8-1m, opus-4-8, opus-4-7-1m, opus-4-7, opus-4-6-1m, sonnet-5-5-1m, sonnet-5-1m, sonnet-4-6-1m, sonnet-4-6, haiku-5-5-1m, haiku-4-5; codex: gpt-5.5, gpt-5.4, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.3-codex-spark, gpt-5.3-codex, gpt-5.2-codex, gpt-6.2-astra, gpt-6.2-sol, gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol, gpt-6-luna, gpt-daybreak-blue-latest; cursor: auto, composer-2.5, grok-4.7, grok-4.6, grok-4.5. Accepted effort levels by agent — claude: low, medium, high, xhigh, max, ultracode; codex: none, low, medium, high, xhigh, max, ultra; cursor: low, medium, high, xhigh; codex max and ultra, and claude ultracode, require support from the selected model. Omit effort to use the agent's default — claude: high; codex: high.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"prompt":{"type":"string","minLength":1},"projectId":{"type":"string"},"agent":{"anyOf":[{"type":"string","enum":["claude"]},{"type":"string","enum":["codex"]},{"type":"string","enum":["cursor"]},{"type":"string","enum":["acp"]}]},"model":{"anyOf":[{"type":"string","enum":["fable-5-2"]},{"type":"string","enum":["fable-5-1"]},{"type":"string","enum":["fable-5"]},{"type":"string","enum":["opus-5-5-1m"]},{"type":"string","enum":["opus-5-1m"]},{"type":"string","enum":["opus-4-8-1m"]},{"type":"string","enum":["opus-4-8"]},{"type":"string","enum":["opus-4-7-1m"]},{"type":"string","enum":["opus-4-7"]},{"type":"string","enum":["opus-4-6-1m"]},{"type":"string","enum":["sonnet-5-5-1m"]},{"type":"string","enum":["sonnet-5-1m"]},{"type":"string","enum":["sonnet-4-6-1m"]},{"type":"string","enum":["sonnet-4-6"]},{"type":"string","enum":["haiku-5-5-1m"]},{"type":"string","enum":["haiku-4-5"]},{"type":"string","enum":["gpt-5.5"]},{"type":"string","enum":["gpt-5.4"]},{"type":"string","enum":["gpt-5.6-sol"]},{"type":"string","enum":["gpt-5.6-terra"]},{"type":"string","enum":["gpt-5.6-luna"]},{"type":"string","enum":["gpt-5.3-codex-spark"]},{"type":"string","enum":["gpt-5.3-codex"]},{"type":"string","enum":["gpt-5.2-codex"]},{"type":"string","enum":["gpt-6.2-astra"]},{"type":"string","enum":["gpt-6.2-sol"]},{"type":"string","enum":["gpt-6-astra"]},{"type":"string","enum":["gpt-6.1-sol"]},{"type":"string","enum":["gpt-6.1-terra"]},{"type":"string","enum":["gpt-6-sol"]},{"type":"string","enum":["gpt-6-luna"]},{"type":"string","enum":["gpt-daybreak-blue-latest"]},{"type":"string","enum":["auto"]},{"type":"string","enum":["composer-2.5"]},{"type":"string","enum":["grok-4.7"]},{"type":"string","enum":["grok-4.6"]},{"type":"string","enum":["grok-4.5"]}]},"effort":{"anyOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["low"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["high"]},{"type":"string","enum":["xhigh"]},{"type":"string","enum":["max"]},{"type":"string","enum":["ultra"]},{"type":"string","enum":["ultracode"]}]},"enabled":{"type":"boolean"},"triggers":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["webhook"]}},"required":["type"],"additionalProperties":false}}},"required":["name","prompt","projectId","agent"],"additionalProperties":false}}}},"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-08","responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prompt":{"type":"string"},"repoUrl":{"type":"string"},"agent":{"anyOf":[{"type":"string","enum":["claude"]},{"type":"string","enum":["codex"]},{"type":"string","enum":["cursor"]},{"type":"string","enum":["acp"]}]},"model":{"type":"string"},"effort":{"type":"string"},"enabled":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"runCount":{"type":"number"},"lastRunAt":{"type":"string"},"triggers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["webhook"]},"enabled":{"type":"boolean"},"webhookUrl":{"type":"string"}},"required":["id","type","enabled","webhookUrl"],"additionalProperties":false}}},"required":["id","name","prompt","repoUrl","agent","enabled","createdAt","updatedAt","runCount","triggers"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}},"get":{"operationId":"routine.list","summary":"List routines.","tags":["Workspaces"],"description":"Lists the routines owned by the key's user, newest first. Trigger metadata never includes the webhook URL or secret. Requires a user API key: workspace API keys and other sign-in credentials receive 403. The routine is owned by the key's user in the key's organization.","parameters":[{"schema":{"type":"integer","minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"integer","minimum":0},"in":"query","name":"offset","required":false}],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-08","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prompt":{"type":"string"},"repoUrl":{"type":"string"},"agent":{"anyOf":[{"type":"string","enum":["claude"]},{"type":"string","enum":["codex"]},{"type":"string","enum":["cursor"]},{"type":"string","enum":["acp"]}]},"model":{"type":"string"},"effort":{"type":"string"},"enabled":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"runCount":{"type":"number"},"lastRunAt":{"type":"string"},"triggers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"type":"string","enum":["cron"]},{"type":"string","enum":["github"]},{"type":"string","enum":["webhook"]}]},"enabled":{"type":"boolean"}},"required":["id","type","enabled"],"additionalProperties":false}}},"required":["id","name","prompt","repoUrl","agent","enabled","createdAt","updatedAt","runCount","triggers"],"additionalProperties":false}},"offset":{"type":"number"},"hasMore":{"type":"boolean"}},"required":["data","offset","hasMore"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/routines/{routineId}/rotate-secret":{"post":{"operationId":"routine.rotateSecret","summary":"Rotate a routine's webhook secret.","tags":["Workspaces"],"description":"Replaces the webhook secret of the routine's single webhook trigger and returns the routine with the new webhookUrl. The previous URL stops working immediately. Only the routine's owner may rotate it; other routines are reported as not found. Requires a user API key: workspace API keys and other sign-in credentials receive 403. The routine is owned by the key's user in the key's organization.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-08","parameters":[{"schema":{"type":"string"},"in":"path","name":"routineId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prompt":{"type":"string"},"repoUrl":{"type":"string"},"agent":{"anyOf":[{"type":"string","enum":["claude"]},{"type":"string","enum":["codex"]},{"type":"string","enum":["cursor"]},{"type":"string","enum":["acp"]}]},"model":{"type":"string"},"effort":{"type":"string"},"enabled":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"runCount":{"type":"number"},"lastRunAt":{"type":"string"},"triggers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["webhook"]},"enabled":{"type":"boolean"},"webhookUrl":{"type":"string"}},"required":["id","type","enabled","webhookUrl"],"additionalProperties":false}}},"required":["id","name","prompt","repoUrl","agent","enabled","createdAt","updatedAt","runCount","triggers"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/v0/favorite-models":{"get":{"operationId":"favoriteModels.list","summary":"List your favorite models.","tags":["Workspaces"],"description":"Returns the model configurations the key's user saved as favorites in the Conductor app for the key's organization, in picker order. Available only in cloud organizations; local organizations keep favorite models on each Mac. When `agent` and `model` are omitted, create-workspace uses the first entry if it names a public agent and model and that agent has credentials. Entries can name agents or models the public API doesn't accept.","security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-09-30","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"favoriteModels":{"type":"array","items":{"type":"object","properties":{"agent":{"type":"string"},"model":{"type":"string"},"effort":{"type":"string"},"fastMode":{"type":"boolean"},"acpAgentId":{"type":"string"}},"required":["agent","model"],"additionalProperties":false}}},"required":["favoriteModels"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"default":{"$ref":"#/components/responses/Error"}}}},"/me":{"get":{"operationId":"me.get","summary":"Get authenticated identity.","tags":["Identity"],"security":[{"bearerAuth":[]}],"x-conductor-stability":"experimental","x-conductor-since":"2026-06-24","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string"},"name":{"description":"The caller's display name, when configured.","type":"string"},"email":{"type":"string"},"organizationId":{"type":"string"},"organizationName":{"type":"string"},"organizationImageUrl":{"type":"string"},"workspaceId":{"type":"string"},"authMethod":{"anyOf":[{"type":"string","enum":["api-key"]},{"type":"string","enum":["access-jwt"]},{"type":"string","enum":["legacy-api-token"]}]},"apiKey":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"strictOrganizationId":{"type":"string"}},"required":["userId","authMethod"],"additionalProperties":false}}}}}}}}}