cohorts
Submit a cohort keyword query
Submits an asynchronous keyword query over the cohort's recent authored activity. Returns 202 immediately with a poll URL. Credits are reserved at the worst-case ceiling on submission, metered one per successful upstream page, and the unspent remainder is refunded exactly once when the query reaches a terminal state.
post/cohorts/{cohortId}/queries
Request
- Base URL: https://www.socialcrawl.dev/v1
- URL: https://www.socialcrawl.dev/v1/cohorts/{cohortId}/queries
- Auth: API key in header x-api-key
Path parameters
cohortIdstring required
Example:4MRtBDNO0stwfon8emOHT
Cohort identifier returned by POST /v1/cohorts.
Headers
Idempotency-Keystring uuid required
Required UUID that makes the mutation safely retriable. Replaying the same key with the same body returns the original resource with the X-Idempotent-Replay and Idempotent-Replayed headers; replaying it with a different body returns 422 IDEMPOTENCY_KEY_PAYLOAD_MISMATCH.
Request body
Example request
{
"date_from": "2026-08-01T00:00:00.000Z"
}Response
Query accepted
Example response
{
"platform": "cohorts",
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.