Skip to main content
POST
/
store
/
{store}
/
kv
/
count
Count entries matching selector
curl --request POST \
  --url https://platform.versori.com/api/v2/store/{store}/kv/count \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "selector": {
    "prefix": [
      "<string>"
    ]
  }
}
'
{
  "count": 123
}

Authorizations

Authorization
string
header
required

Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.

Path Parameters

store
string<ulid>
required

Body

application/json
selector
object

Response

200 - application/json

Count of matching entries

count
number