API Docs / Schemas / AiGenerationRequest

AiGenerationRequest

Request to generate content using AI based on the specified activity

Properties

Name Type Description
activity*enum

ServiceGen ProposalContentGen ServiceScheduleGen DescriptionGen PricingFactorsGen PricingFactorOptionsGen WorkflowGen

ServiceGen ProposalContentGen ServiceScheduleGen DescriptionGen PricingFactorsGen PricingFactorOptionsGen WorkflowGen

input*string

The input text or context for the AI generation

The input text or context for the AI generation

codestring

Optional code of the related entity (e.g., service code, client code)

Optional code of the related entity (e.g., service code, client code)

useCacheboolean

Whether to use cached AI responses if available (default: true)

Whether to use cached AI responses if available (default: true)

JSON Example

{
  "activity": "ServiceGen",
  "input": "string",
  "code": "string",
  "useCache": false
}

Used By Operations