Prerequisites
- An admin role in the tenant (creating sources requires admin).
- A file of records to upload (for example, newline-delimited JSON).
Steps
Create a hosted source
A source declares where data lands and which dataset it feeds. Create a hosted source once; reuse it for every upload.
Initiate an upload
Start an upload session for your file. The response tells you whether to upload in a single request or in parts, and returns an
upload_session_id.Sign and upload the parts
Request presigned URLs for your part numbers, then
PUT each chunk directly to the returned URL. Keep the ETag each upload returns.Complete the upload
Finalize the upload with the part numbers and their ETags. This enqueues the object for ingestion.
When readiness reports
text_search (and, if configured, semantic_search) ready, run a search against the dataset.Related
Stream logs
Send log records continuously instead of uploading files.
Connect a source
Pull from a third-party system with a connector.