ScriptAssistant

POST /api/script-assistant/sessions/{sessionId}/create-story

Request

  • Base URL
    https://api.wearelearning.io (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Implicit: https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io

Path parameters

sessionIdstring required

Response

OK

successboolean required
simulationIdstring nullable
messagestring required
failureReasonstring nullable

Typed failure reason (e.g. "NoOutline", "CharactersNotInSlots") so the frontend can branch on it instead of matching the human-readable WeAreLearning.R2D2.Api.DTO.ScriptAssistant.CreateStoryResponseDto.Message. Null on success.

Changes

No recorded changes to this operation across all 1 revision of this API.