sessions

Start Birth Turn

Changed on

The first pass of a business born without the interview (spec 2026-09-06_SPEC_CLI_REFRESH_V3_BIRTH D9, §4.2).

A platform-authored turn (never the caller's text) in which the agent reads the repository and the idea, writes and commits PITCH.md / BRAND.md / FLOW.md, tidies the task list and reports. Explicit rather than part of the create so an import can push its code first: the CLI calls it after the push, API users call it when they are ready.

Idempotent: 409 while any turn runs (the company session lock), 409 while the resources are still provisioning, 409 on an empty repository (push first), and a 200 with skipped once the three files exist on main. A paused business passes: the session gate's paused reason is the daily check-in's only.

post/companies/{company_id}/birth-turn

Request

  • Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
  • URL: https://api.nanocorp.so/companies/{company_id}/birth-turn
  • Auth: HTTP bearer

Path parameters

company_idstring uuid required

Headers

X-Posthog-Session-Idstring nullable
X-Client-Mobilestring nullable

Response

Successful Response

skippedstring nullable

Changes

    • info

      added the optional property // to the response with the status

    • warning

      added the new outcome enum value to the // response property for the response status

    • warning

      added the new outcome_check enum value to the // response property for the response status

    • warning

      added the new outcome_compact enum value to the // response property for the response status

    • warning

      added the new outcome_continue enum value to the // response property for the response status

    • warning

      added the new outcome_message enum value to the // response property for the response status

    • warning

      added the new outcome_start enum value to the // response property for the response status