KV Store

Get keys matching a pattern

post/kv/keys

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/kv/keys
  • 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

No recorded changes to this operation across all 53 revisions of this API.