Skip to main content
POST
Query AI Search Response Data (Async)

Authorizations

Authorization
string
header
required

Conductor API token, sent as Bearer cond_<your-api-token>. Generate a token from Integrations > API > Create API Token.

Body

application/json

Submit a new query with filters and parameters. Returns an executionId to track the query.

time_period_start
string<date>
required

Start date of the time period; if collection_frequency is WEEKLY, this field must be Sunday; if MONTHLY, must be the first day of the month

Example:

"2025-11-02"

time_period_end
string<date>
required

End date of the time period; if collection_frequency is WEEKLY, this field must be Saturday; if MONTHLY, must be the last day of the month

Example:

"2025-11-08"

collection_frequency
enum<string>
required

Data collection frequency

Available options:
DAILY,
WEEKLY,
MONTHLY
account_id
integer
required

Required account ID to filter results

Required range: x >= 1
Example:

101

limit
integer
default:1000

Maximum number of results to return

Required range: 0 <= x <= 1000
Example:

100

web_property_ids
integer[]

(Optional) comma-separated list of web property IDs to filter results. If not provided, results are not filtered by web property

Required range: x >= 1
Example:
ai_search_engines
string[]

(Optional) comma-separated list of AI engines to filter

Example:
locodes
string[]

(Optional) comma-separated list of locodes to filter (case-insensitive; values will be uppercased). Supports locales like country codes "DE" or city locodes "US NYC" or state codes "PL-02"

Required string length: 2 - 12
Example:
languages
string[]

(Optional) comma-separated list of search engine language codes to filter (case-insensitive; values will be uppercased).

Required string length: 2 - 7
Example:
topics
string[]

(Optional) comma-separated list of topics to filter

Example:
prompts
string[]

(Optional) comma-separated list of prompts to filter

Example:
intents
string[]

(Optional) comma-separated list of intents to filter

Example:
personas
string[]

(Optional) comma-separated list of personas to filter

Example:

Response

Query completed successfully

results
string[][]

List of query results. Each item is a positional tuple row. Available only when executionState is COMPLETED.

Positional tuple row for AI Search Response results. Column order matches the schema metadata. All values are returned as strings.

Minimum array length: 19
executionState
enum<string>

Current execution state of the query:

  • IN_PROGRESS: The query is still running. Poll again later.
  • COMPLETED: The query finished successfully. Results are available.
  • FAILED: The query failed. Check the error message if available.
Available options:
IN_PROGRESS,
COMPLETED,
FAILED
executionId
string

Unique identifier for the query execution. Valid for 7 days. Use this for polling and pagination.

requestId
string

Unique identifier for the HTTP request, useful for support and debugging.

nextPageId
string

Token for retrieving the next page of results. Available as long as the executionId is valid (7 days). If null, there are no more pages available.

totalRowCount
integer<int64>

Total number of rows across all pages (if available).

schema
object[]

Column metadata providing the name and type for each position in the results tuple.