Create queries
Creates (upserts) several queries at once along with their tag associations; all referenced tag IDs are validated against the project first.
Headers
Project ID to specify the project context
Body
List of queries to create in a single batch. Must contain at least one query, and each item is validated against the CreateQueryDto schema.
[
{
"query": "machine learning trends",
"language": "en",
"country": "US"
}
]Response
Unique identifier (UUID) of the query.
"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
The project this query belongs to
"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
The tags IDs this query belongs to
[1, 2, 3]The search query text tracked for this entry.
"mentionlab"
ISO 639-1 language code used to scope the query results.
"en"
ISO 3166-1 alpha-2 country code used to scope the query results.
"US"
Timestamp of the last time the query was updated.
"2023-08-22T10:00:00.000Z"