เอกสาร MapScale
อ้างอิง APIHealth และ contract
← MapScale API
POST/v1/assistant/plan

Plan map actions from a sentence

endpoint ตรวจสถานะและ OpenAPI document แบบ public

ส่ง request นี้ไปยัง API จริงและแสดง response จริง

Request ที่เทียบเท่า
curl \
  -X POST \
  -H "X-MapScale-Key: $MAPSCALE_API_KEY" \
  "https://api.mapscale.io/v1/assistant/plan"
Response
Response เริ่มต้น
{
  "status": "200",
  "contentType": "application/json",
  "description": "AssistantPlanResponse"
}

Request body

จำเป็น · 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