Check if a record exists
HEAD/v2/key-value-stores/:storeId/records/:recordKey
Check if a value is stored in the key-value store under a specific key.
Request
Path Parameters
storeId string required
Key-value store ID or username~store-name.
WkzbQMuFYuamGv3YFrecordKey string required
Key of the record.
Example:someKeyStatus 200
The record exists
Response Headers
Status 404
Not found - the requested resource does not exist.
{
"error": {
"type": "record-not-found",
"message": "The requested resource was not found."
}
}
Schema
error object required
- type ErrorType (string)
Machine-processable error type identifier.
Possible values: [
actor-memory-limit-exceeded,actor-not-found,invalid-input,method-not-allowed,page-not-found,permission-denied,rate-limit-exceeded,record-not-found,record-not-unique,record-or-token-not-found,request-id-invalid,request-too-large,run-failed,run-timeout-exceeded,schedule-actor-not-found,schedule-actor-task-not-found,token-not-valid,unknown-build-tag,unsupported-content-encoding,user-not-found] - message string
Human-readable error message describing what went wrong.
- type ErrorType (string)