Class: Ecoportal::API::GraphQL::Mutation::AiSummary::Generate
- Inherits:
-
Logic::Mutation
- Object
- Logic::BaseQuery
- Logic::Mutation
- Ecoportal::API::GraphQL::Mutation::AiSummary::Generate
- Defined in:
- lib/ecoportal/api/graphql/mutation/ai_summary/generate.rb
Overview
Triggers AI summary generation for a page or stage. Returns an AiSummaryVersion with the generated text and token usage. Generation is synchronous — the response contains the result or an error.
stageId is optional: omit for page-level summary, provide for stage-level.