StoryGeneration

Properties

PropertyTypeDescription
ai_story_generations_id string (snowflake) Required
ai_story_generations_status one of: 1, 2, 3, 4, 5 Required
status_label string Required
under_way boolean Required Whether the run is planning or writing; while it is, ask again to see it grow.
ai_story_generations_model_name string Required
ai_story_generations_plan_markdown string Required The outline the story is written from, as Markdown, with every character named; empty until it is planned.
ai_story_generations_plan_reasoning string Required
ai_story_generations_story_text string Required
ai_story_generations_story_reasoning string Required
ai_story_generations_error string, or null Required
ai_story_generations_created_at integer (int64) Required Unix seconds.
ai_story_generations_completed_at integer (int64), or null Required Unix seconds.
created_at_readable string Required
stop_url string Required
remove_url string Required
download_url string Required

Used by

MethodPathSummary
GET /ai/stories/{storyId}/generations/{generationId} One run of a story, for a page following it.
POST /ai/stories/{storyId}/generations/{generationId}/stop Stop a run under way, keeping what it wrote.

Used inside

All documentation

0 database statements · 11 reads from the cache · 0.0 ms waiting for the database · 26.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache