Skip to main content
POST
/
check-cache
cURL
curl --request POST \
  --url https://api.openpipe.ai/api/v1/check-cache \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "requestedAt": 123,
  "reqPayload": "<unknown>",
  "tags": {}
}
'
{
  "respPayload": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
requestedAt
number
required

Unix timestamp in milliseconds

reqPayload
any

JSON-encoded request payload

tags
object

Extra tags to attach to the call for filtering. Eg { "userId": "123", "prompt_id": "populate-title" }

Response

Successful response

respPayload
any

JSON-encoded response payload