Data Access Path · 7/7
Recommended reading order, not completion status. Optional steps can be skipped.
View all steps
Before you start: Validate search and reads before connecting a continuously running application.
Production Checklist
By the end of this page your program will have sensible timeouts, retries and concurrency, and you’ll know where to start when something goes wrong.
Recommended settings
| Setting | Recommended |
|---|---|
| Connect timeout | 3 seconds |
| Search timeout | 15 seconds |
| Document read timeout | 10 seconds |
| Max retries | 3 |
| Backoff | Exponential with random jitter, starting at 500 ms |
| Batch reads | Up to 50 document_ids per batch |
Also:
- Limit local concurrency and reuse HTTP connections.
- For list pages, search or browse first, then fill in details with batch reads. Read full bodies, subtitles and history only on detail pages and in exports.
- When starting out, specify platforms and use short time ranges.
When to retry
| Situation | Retry? |
|---|---|
Network failures, 429, 502, 503, 504 | Yes, a limited number of times with backoff |
400, 401, 402, 403 | No; fix the request or access first |
503 vector_search_disabled | No; use mode: keyword |
429 quota_exceeded | Short retries won’t help; wait for the 00:00 UTC reset |
On 429, wait:
wait = max(Retry-After, exponential_backoff) + random_jitterNote: Don’t apply read retries to creating live queries, subscriptions or exports. First check whether the earlier attempt succeeded, and retry live query creation with the same
Idempotency-Key.
When a request fails
Note the status code, the response code, the X-Request-ID header and the request parameters (without the key). Then check by status:
| Status | Check first |
|---|---|
400 | Parameters, time ranges, cursors and filter combinations |
401 | Whether the key is valid and Authorization: Bearer is well formed |
402 | Whether the organization has enough credits |
403 | Whether the platform, field or feature is within access. A new key doesn’t widen it |
404 | Whether the document_id or user ID is correct |
409 | Whether a live query’s results just aren’t ready; keep waiting rather than recreating |
410 | Whether a change feed cursor is past retention |
429 | Rate limit or daily quota; check code and Retry-After |
503 | Temporarily unavailable; retry with backoff |
Every code is explained in Error codes.
Find the request in the console’s request log by X-Request-ID. See investigate with the request log.
Two more things:
- A
200from a batch read doesn’t mean every document succeeded; check eacherror. - A
202from a live query means accepted, not that data is readable.
When results are empty
- Check the base URL, the application’s access and the platforms. Empty results don’t mean the platform has no such content.
- Loosen keywords or filters. Distinguish publish time from ingest time: browse looks at the last 24 hours of ingest by default.
- Search covers the last 30 days of publish time by default; pass a time range for older content.
- For new data, use a live query. Don’t create live queries automatically just because a search was empty; they use credits.
Compatibility
document_id,source_platformand enum values are stable.- Responses may gain new fields; ignore fields you don’t recognize.
- Removing fields or changing meanings comes with a new API version and a migration window.
- Don’t depend on
dataset_id; it’s internal.
Completion check: Configure timeouts, backoff and safe retries, and use call logs for diagnostics; choose synchronization, live queries, monitoring or exports as needed.
Onboarding path read. After meeting the checks above, choose your next task.
- Core Concepts
- Read Metrics & Author Snapshots
- Read Sentiment, Entities & Intents
- Read Transcripts, OCR & Facts
- Analytics Queries (Preview)
- Change Feed
- Bulk Exports
- Live Queries
- Monitoring Subscriptions
- Receive Monitoring Webhooks
- Python and Go SDKs
- Use from AI Applications (MCP)
- Manage Applications, Access & Logs
- Credits & Billing
- Platform Coverage
- Field Reference
- Error Codes