Skip to main content
POST
/
store
/
{store}
/
kv
/
list
List keys and values with filtering
curl --request POST \
  --url https://platform.versori.com/api/v2/store/{store}/kv/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "options": {
    "limit": 100,
    "reverse": true
  },
  "selector": {
    "prefix": [
      "<string>"
    ],
    "before": "<string>",
    "after": "<string>",
    "filter": {
      "createdAfter": "2023-11-07T05:31:56Z",
      "createdBefore": "2023-11-07T05:31:56Z",
      "metadata": {}
    }
  }
}
'
{
  "data": [
    {
      "key": [
        "<string>"
      ],
      "value": "<unknown>",
      "versionstamp": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "nextCursor": "<string>",
    "prevCursor": "<string>"
  }
}

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
options
object
selector
object

Response

200 - application/json

List of entries

data
object[]
required
pagination
object
required