MapScale Docs
API ReferenceHealth and contract
← MapScale API
POST/v1/assistant/plan

Plan map actions from a sentence

Public operational checks and the OpenAPI document.

Sends this request to the live API and shows the real response.

Equivalent request
curl \
  -X POST \
  -H "X-MapScale-Key: $MAPSCALE_API_KEY" \
  "https://api.mapscale.io/v1/assistant/plan"
Response
Default response
{
  "status": "200",
  "contentType": "application/json",
  "description": "AssistantPlanResponse"
}

Request body

Required · application/json

Responses

200AssistantPlanResponseapplication/json
400Invalid body.application/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403Publishable keys cannot use the assistant. | mapscale/effect-api/ForbiddenFailureapplication/json
404A dataset does not exist or is not visible to this account.application/json
429The account used its daily AI allowance (ASSIST_BUDGET_EXCEEDED). | mapscale/effect-api/RateLimitedFailureapplication/json
500The plan could not be built. | mapscale/effect-api/MiddlewareInternalFailureapplication/json
503The assistant is switched off. | mapscale/effect-api/UpstreamUnavailableFailureapplication/json

On this page

Analytics settings