Skip to main content
POST
/
v1
/
monitor
/
aimode
Monitor AI Mode Responses
curl --request POST \
  --url https://api.cloro.dev/v1/monitor/aimode \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "What are the best laptops for programming?",
  "country": "US",
  "include": {
    "markdown": false
  }
}
'
{
  "success": true,
  "result": {
    "text": "Here are some excellent laptop recommendations for programming...",
    "html": "https://storage.cloro.dev/results/c45a5081-808d-4ed3-9c86-e4baf16c8ab8/page-1.html",
    "sources": [
      {
        "position": 1,
        "url": "https://example.com/ai-recommendations",
        "label": "AI Source",
        "description": "AI-curated laptop recommendations"
      }
    ],
    "markdown": "Here are some excellent laptop recommendations for programming..."
  }
}

Overview

The Google AI Mode endpoint extracts structured data from Google AI Mode, ideal for general knowledge queries, workflow optimization, and technical guidance.

Request parameters

Uses common parameters. Endpoint-specific option:
  • include.markdown (boolean): Include markdown-formatted response. Defaults to false

Response schema

Includes common response fields plus:
FieldTypeDescription
result.markdownstringResponse formatted in Markdown (included when include.markdown is true)

Authorizations

Authorization
string
header
required

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

Body

application/json

Request parameters for monitoring AI Mode responses

prompt
string
required

The prompt to send to AI Mode

Required string length: 1 - 10000
Example:

"What are the best laptops for programming?"

country
string
default:US

Optional country/region code for localized monitoring

Example:

"US"

include
object

Optional flags for including additional response formats

Response

successful AI Mode monitoring response

success
boolean
required
Example:

true

result
object
required

AI Mode response data