Request structure
All monitoring endpoints follow a consistent request structure:Common parameters
All monitoring endpoints share these core parameters:| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | The query to send to the AI provider (1-10,000 characters) |
country | string | No | ISO 3166-1 alpha-2 country code for localized results. Defaults to "US" |
include | object | No | Optional flags for additional response formats |
Country codes
The API supports country-specific monitoring. Common examples:US- United StatesGB- United KingdomCA- CanadaAU- AustraliaDE- GermanyFR- FranceJP- JapanCN- ChinaIN- IndiaBR- Brazil
Response structure
All successful responses follow this base structure:Common response fields
| Field | Type | Description |
|---|---|---|
success | boolean | Always true for successful responses |
result.text | string | The AI provider’s response text |
result.sources | array | Array of sources referenced in the response |
result.html | string | Response formatted in HTML (always included) |
Sources array structure
Each source in thesources array follows this format:
Optional response formats
Most endpoints support additional response formats through theinclude parameter:
Markdown format
- Parameter:
include.markdown - Type: boolean
- Default:
false - Description: Include response formatted in Markdown
- Cost: Varies by endpoint (usually +0 credits)