Analyze

Analyze Endpoint

Analyze review data and answer questions using AI. Requires admin.

  • question: The question to answer about the data
  • city_id: City to analyze
  • chain_id: Optional chain filter (by ID)
  • days: Number of days to analyze (default 30)
  • async_mode: If true, returns task_id and runs in background
post/api/analyze

Request

  • Base URL
    https://data.getplace.io (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /api/auth/login

Query parameters

async_modeboolean

Run asynchronously via Celery

Request body

questionstring required
city_idinteger required
chain_idinteger nullable
daysinteger

Response

Successful Response

statusstring required
answerstring nullable
messagestring nullable
contextobject nullable
task_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.