Redpine Connect
API referenceSearch

Re-fetch cached results

Retrieve previously returned search results using the queryId from a prior search response. Returns the same results without billing. The request must use the same API key that performed the original search. Results are available for 7 days.

GET
/api/v1/search/results/{queryId}

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Pass your key in the Authorization header as Bearer sk_live_.... An X-API-Key: sk_live_... header is also accepted as an alternative. Keys are created in the Redpine Connect dashboard under Settings > API Keys.

In: header

Path Parameters

queryId*string

The queryId from a previous search response.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/search/results/string"
{  "filterWarnings": null,  "journalMetricExpansions": null,  "latencyMs": 0,  "queryId": "string",  "results": [    {      "collection": null,      "id": "string",      "metadata": null,      "text": "string"    }  ]}
Was this page helpful?