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

# Search Store Items

> Search items in the store.

Filter items by namespace prefix, key-value metadata filters, or semantic
query. Results are paginated via `limit` and `offset`.



## OpenAPI

````yaml /openapi.json post /store/items/search
openapi: 3.1.0
info:
  title: Aegra
  description: Production-ready Agent Protocol server
  version: 0.9.24
servers: []
security: []
tags:
  - name: Assistants
    description: A configured instance of a graph.
  - name: Threads
    description: Accumulated state and outputs from a group of runs.
  - name: Thread Runs
    description: Invoke a graph on a thread, updating its persistent state.
  - name: Stateless Runs
    description: Invoke a graph without state or memory persistence.
  - name: Crons
    description: Scheduled recurring runs on a cron schedule.
  - name: Store
    description: Persistent key-value and semantic storage available from any thread.
  - name: Event Streaming
    description: Agent Protocol v2 thread event streaming and commands.
  - name: Health
    description: Server health checks and service information.
paths:
  /store/items/search:
    post:
      tags:
        - Store
      summary: Search Store Items
      description: >-
        Search items in the store.


        Filter items by namespace prefix, key-value metadata filters, or
        semantic

        query. Results are paginated via `limit` and `offset`.
      operationId: search_store_items_store_items_search_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreSearchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoreSearchResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    StoreSearchRequest:
      properties:
        namespace_prefix:
          items:
            type: string
          type: array
          title: Namespace Prefix
          description: Namespace prefix to search
        filter:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Filter
          description: Optional dictionary of key-value pairs to filter results.
        query:
          anyOf:
            - type: string
            - type: 'null'
          title: Query
          description: Search query
        limit:
          anyOf:
            - type: integer
              maximum: 100
              minimum: 1
            - type: 'null'
          title: Limit
          description: Maximum results
          default: 20
        offset:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Offset
          description: Results offset
          default: 0
      type: object
      required:
        - namespace_prefix
      title: StoreSearchRequest
      description: Request model for searching store items
    StoreSearchResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/StoreItem'
          type: array
          title: Items
        total:
          type: integer
          title: Total
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
        - items
        - total
        - limit
        - offset
      title: StoreSearchResponse
      description: Response model for store search
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    StoreItem:
      properties:
        key:
          type: string
          title: Key
          description: The item's key within its namespace.
        value:
          title: Value
          description: The stored value.
        namespace:
          items:
            type: string
          type: array
          title: Namespace
          description: The namespace path where this item is stored.
      type: object
      required:
        - key
        - value
        - namespace
      title: StoreItem
      description: Store item model
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````