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

Authorizations

Authorization
string
headerrequired

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

Body

application/json
reqPayload
any

JSON-encoded request payload

requestedAt
number
required

Unix timestamp in milliseconds

tags
object

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

Response

200 - application/json
respPayload
any

JSON-encoded response payload