> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List keys (SDK)

> Lists keys in a namespace. Supports glob pattern matching, e.g. pattern=cart:*:items.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/runtime/v1/kv/{namespace}/keys
openapi: 3.0.0
info:
  title: Runflow Runtime API
  description: >-
    Programmatic surface for the Runflow platform — used by the SDK, the CLI,
    the execution engine, and any server-to-server caller. Authenticate with an
    `x-api-key` header (or `Authorization: Bearer ...`).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.runflow.ai
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags: []
paths:
  /api/v1/runtime/v1/kv/{namespace}/keys:
    get:
      tags:
        - Runtime API - Key-Value Store
      summary: List keys (SDK)
      description: >-
        Lists keys in a namespace. Supports glob pattern matching, e.g.
        pattern=cart:*:items.
      operationId: KvRuntimeController_listKeys
      parameters:
        - name: namespace
          required: true
          in: path
          description: Namespace name
          schema:
            type: string
        - name: pattern
          required: false
          in: query
          description: Glob pattern (e.g. user:*:profile). * = any chars, ? = single char
          schema:
            type: string
        - name: limit
          required: false
          in: query
          description: Items per page (default 100, max 1000)
          schema:
            type: number
        - name: offset
          required: false
          in: query
          description: Items to skip (default 0)
          schema:
            type: number
      responses:
        '200':
          description: Keys listed successfully.
      security:
        - bearer: []
components: {}

````