Skip to main content
POST
Create Query Run
Creates a new query run. Use this to manually trigger a prompt query outside its scheduled cron cycle.

Parameters

string
required
Bearer token. Format: Bearer slat_<your-token>.
number
required
ID of the prompt to run.
number
required
Topic ID associated with the prompt.
string
required
AI platform to query. One of: CHATGPT, PERPLEXITY, GOOGLE_AI_OVERVIEW, GOOGLE_AI_MODE, GEMINI, CLAUDE.
number
Brand ID for the query run.

Response

Returns 200 OK with the created query run.
number
required
Unique identifier for the query run.
number
required
Associated prompt ID.
number
required
Associated topic ID.
string
required
AI platform used for the query.
string
required
Run status. Starts as PENDING.
string
required
Timestamp when the run was created. ISO 8601 format.
string
Completion timestamp. null while the run is in progress.
string
Error details if the run failed. null on success.

Example

Response

Status codes

What’s next