AnswerLine Sign in Start free

Engines

Gemini API

Gemini's grounded answer with its sources, inline citations and places.

Coming soon. The endpoint and fields below are the documented contract; requests are not accepted yet.

Price

4 credits per async request, 6 synchronous.

Endpoint

POST /v1/monitor/gemini

Or queue it with POST /v1/async/task and taskType: "GEMINI".

Request

curl -X POST "https://api.answerline.dev/v1/monitor/gemini" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Best CRM for a 10-person sales team","country":"DE"}'

Request options

* required. Nested fields are written with a dot, e.g. include.markdown.

FieldTypeDescription
prompt * string The prompt to send to Gemini
country * string Country/region code for localized response
include object Optional flags for including additional response formats
include.markdown boolean Include markdown-formatted response in the result
include.html boolean Include HTML-formatted response in the result
include.rawResponse boolean Include raw streaming response events
state string State code for sub-country geo-targeting (e.g., "CA"). Only valid with country "US".

What you get back

Field in resultTypeDescription
textstringGemini's response text
markdownstringGemini's response in Markdown format
sourcesobject[]Sources cited by Gemini
citationPillsobject[]Inline citation pills extracted from the Gemini answer. Each entry is one (pill, source) pair: when a chip cites N sources (Gemini's `+N` analog or section-summary chips), the array contains N entries sharing the same `citationPillId` but with per-source `label`, `url`, and `domain`. Group by `citationPillId` to recover the pill-level structure. `label` is always present on the wire; it can be an empty string when the rail has no title for a source. Omitted from `result` when the answer carries no pills.
placesobject[]Place cards returned for lodging and local answers

Full field definitions are in the API reference.

Other engines