Azure Blob Storage Sync
- Azure Blob Storage joins the sync providers:
POST /v2/collections/{collection_name}/sync/azurekeeps an Azure container synced with a collection. Authenticate with the storage account’s name and access key (container+account_name+account_key; the key is stored securely, never returned, and rotates in place viaPATCH /v2/syncs/{sync_id}with anaccount_keyfield). Reconciliation defaults to a 60-minute cadence, and real-time events arrive through an Event Grid subscription: one click with the Deploy to Azure template, or oneaz eventgrid event-subscription create: the setup guide shows both. The template is self-verifying: the deployment only goes green when Event Grid proves delivery to Captain and Captain confirms the webhook enrollment.
Same day: Query History API
Query History API
- Your query history, from the API:
GET /v2/querieslists the queries your keys and agents have run, newest first, scoped to the calling key’s environment, withcollection,status,from/toandsortfilters and cursor paging.GET /v2/queries/{query_id}returns one query with its request body, response body and the retrieved chunks in one normalised shape across v2 and v3. Addinclude=results,request,responseto the list to get feed and previews in one request; the body fields are always present and null unless requested. Bodies are archived 90 days after the query (body_status: archived); summaries are kept. - Query responses now carry
query_id: everyPOST .../queryresponse (v2 and v3) returns the id of its history row, so you can fetch it back withGET /v2/queries/{query_id}straight away. Therequest_ida query response returns is accepted on that endpoint too.