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

# List Redis Keys

> List keys from a managed Redis instance.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json get /v1/apps/{app_id}/managed-services/{service_id}/redis/keys
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/apps/{app_id}/managed-services/{service_id}/redis/keys:
    get:
      tags:
        - managed-services
      summary: List Redis Keys
      description: List keys from a managed Redis instance.
      operationId: managed_services_list_redis_keys
      parameters:
        - name: service_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Service Id
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: App Id
        - name: env
          in: query
          required: false
          schema:
            enum:
              - dev
              - prod
            type: string
            default: dev
            title: Env
        - name: prefix
          in: query
          required: false
          schema:
            type: string
            title: Prefix
            default: ''
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 75
            minimum: 1
            default: 75
            title: Limit
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedisKeysResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    RedisKeysResponse:
      properties:
        env:
          type: string
          enum:
            - dev
            - prod
          title: Env
        keys:
          items:
            $ref: '#/components/schemas/RedisKeySummaryResponse'
          type: array
          title: Keys
        total_returned:
          type: integer
          minimum: 0
          title: Total Returned
        truncated:
          type: boolean
          title: Truncated
          default: false
      type: object
      required:
        - env
        - keys
        - total_returned
      title: RedisKeysResponse
      description: Response for listing Redis keys.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    RedisKeySummaryResponse:
      properties:
        key:
          type: string
          minLength: 1
          title: Key
        type:
          type: string
          minLength: 1
          title: Type
        ttl_seconds:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Ttl Seconds
        size:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Size
        size_display:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
          title: Size Display
      type: object
      required:
        - key
        - type
      title: RedisKeySummaryResponse
      description: Directory row for a Redis key.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.