Skip to main content
POST
Generate Description

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Request schema for generating item descriptions.

name
string
required

Name of the item

itemType
enum<string>
required

Type of item

Available options:
ITEM,
PRODUCT,
MEDICATION,
SERVICE,
PACKAGE,
MEMBERSHIP
modelName
string
default:gemini-2.5-flash

Model to use for generation

useStructuredOutput
boolean
default:false

Whether to request structured JSON output

previousGeneration
string | null

Previous generated text for context

feedback
string | null

User feedback for regeneration

brandName
string | null

Optional brand name

price
integer | null

Price in cents

currentDescription
string | null

Current description for reference

Response

Successful Response