Skip to main content
GET
cURL
Gemini endpoints require a paid plan (Starter or higher). Without one, this endpoint returns 402 plan_upgrade_required. See Pricing for details.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

prompt
string
required

The prompt sent to Gemini

Required string length: 1 - 8000
geo
string

Country to use when submitting the prompt

Required string length: 2 - 64

Response

Structured Gemini response.

provider
enum<string>
required
Available options:
gemini
request_id
string
required
prompt
string
required
model
string | null
required
response_text
string | null
required
markdown_text
string | null
required
citations
object[]
required