KV Store

Get keys matching a pattern

Changed on
post/kv/keys

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

patternstring required

Pattern to match (supports * and ? wildcards)

project_idinteger nullable

Project ID (required for API key/session auth, optional for deployment tokens)

Example request

{
  "pattern": "user:*",
  "project_id": 1
}

Response

Keys retrieved

keysstring[] required

List of matching keys

Example response

{
  "keys": [
    "user:1",
    "user:2",
    "user:3"
  ]
}

Changes