sessions

Post Session Message

Changed on

Start the next turn of an existing session.

409 while a turn is active (the lock-by-insert unique index); 402-class SessionGateError with a machine-readable reason on gate failure — nothing is persisted in either case (decision 15: no fake "queued" state).

post/sessions/{session_id}/messages

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/sessions/{session_id}/messages
  • Auth: HTTP bearer

Path parameters

session_idstring uuid required

Headers

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

Request body

messagestring nullable
dictatedboolean
prompt_sourcestring nullable
queuedboolean
tzstring nullable

Response

Successful Response

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