Skip to main content
POST
/
ai
/
pricing
/
parse-gemini
Parse pricing from natural language (Gemini)
curl --request POST \
  --url https://us.api.flexprice.io/v1/ai/pricing/parse-gemini \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "responseSchema": {},
  "systemPrompt": "You are a pricing architect...",
  "userPrompt": "Describe pricing for..."
}
'
{}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Body

application/json

Prompts and Gemini responseSchema

responseSchema
object
systemPrompt
string
Example:

"You are a pricing architect..."

userPrompt
string
Example:

"Describe pricing for..."

Response

Pricing schema JSON (features, plans, ...)

The response is of type object.