Add AI Visibility prompts
Adds 1 to 20 unique prompts for one country and language. Analysis follows the project's normal schedule.
POST
/projects/{project_uid}/ai-visibility/promptsAdds 1 to 20 unique prompts for one country and language. Analysis follows the project's normal schedule.
Authorization
bearerApiKey AuthorizationBearer <token>
Create a REST API key in Settings > Connected Apps. MCP credentials do not authenticate this API.
In: header
Path Parameters
project_uid*string
Accessible project UID. Discover it with GET /projects; do not guess it.
Match
^[a-z0-9]{10}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/ai-visibility/prompts" \ -H "Content-Type: application/json" \ -d '{ "prompts": [ "string" ], "country_code": "st", "language_code": "string" }'{ "data": [ { "id": 0, "prompt": "string", "country_code": "string", "language_code": "string", "status": "pending" } ]}{ "message": "Unauthenticated."}{ "message": "string", "code": "string"}{ "message": "Project not found or not accessible."}{ "message": "string", "code": "string", "errors": { "property1": [ "string" ], "property2": [ "string" ] }}{ "message": "string", "code": "string"}{ "message": "string", "code": "string"}