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

# List memory stores

> Returns the memory stores in the calling organization, newest first. Archived stores are omitted unless include_archived is set. A store's contents are never disclosed in a session's prompt: attaching one adds a single note naming what it holds, and the agent browses, searches, and reads on demand, so what a session pays does not grow with what the agent has learned.



## OpenAPI

````yaml /managed-agents/openapi.yaml get /managed-agents/v1/memory_stores
openapi: 3.1.0
info:
  title: Managed Agents API
  version: 0.13.0
  description: >-
    The Recursion Managed Agents REST API. Authenticate with a Recursion API key
    as a bearer token. An organization-scoped key acts in its own organization
    and needs nothing else; a tenant-scoped key must also send
    `x-organization-id` with an organization id or `default`. Field names follow
    each operation's published schema.
servers:
  - url: https://api.recursion.labelbox.com
security:
  - bearerAuth: []
paths:
  /managed-agents/v1/memory_stores:
    get:
      tags:
        - Memory
      summary: List memory stores
      description: >-
        Returns the memory stores in the calling organization, newest first.
        Archived stores are omitted unless include_archived is set. A store's
        contents are never disclosed in a session's prompt: attaching one adds a
        single note naming what it holds, and the agent browses, searches, and
        reads on demand, so what a session pays does not grow with what the
        agent has learned.
      operationId: managedAgentsListMemoryStores
      parameters:
        - description: Only stores belonging to this agent.
          in: query
          name: agent_id
          schema:
            description: Only stores belonging to this agent.
            type: string
        - description: Only stores with this provenance.
          in: query
          name: origin
          schema:
            description: Only stores with this provenance.
            enum:
              - curated
              - reflection
            type: string
        - description: Only stores in this state.
          in: query
          name: status
          schema:
            description: Only stores in this state.
            enum:
              - active
              - archived
            type: string
        - description: Include archived stores. Omitted by default.
          in: query
          name: include_archived
          schema:
            description: Include archived stores. Omitted by default.
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsMemoryStoreListResponse'
          description: The memory stores in the calling organization, newest first.
        '400':
          description: The request was rejected by schema or semantic validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiError'
        '401':
          description: The caller is unauthenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiError'
        '403':
          description: The caller lacks a required permission or capability.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorForbidden'
        '429':
          headers:
            Retry-After:
              description: Seconds the caller should wait before retrying.
              schema:
                type: string
              style: simple
          description: A rate limit is exhausted. Honor `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiError'
        '500':
          description: An unexpected server-side failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiError'
        '502':
          description: The service returned an invalid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorBadGateway'
        '503':
          headers:
            Retry-After:
              description: Seconds the caller should wait before retrying.
              schema:
                type: string
              style: simple
          description: A dependency is unavailable. Retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiError'
        '504':
          headers:
            Retry-After:
              description: When to retry, as delay seconds or an HTTP date.
              schema:
                type: string
          description: The service did not respond before the timeout. Retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorGatewayTimeout'
components:
  schemas:
    ManagedAgentsMemoryStoreListResponse:
      description: The memory stores in the calling organization, newest first.
      properties:
        memory_stores:
          description: Memory stores in the organization, newest first.
          items:
            $ref: '#/components/schemas/ManagedAgentsMemoryStore'
          type:
            - array
            - 'null'
      required:
        - memory_stores
      type: object
      example:
        memory_stores:
          - agent_id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
            archived_at: '2026-02-18T09:30:00.000Z'
            created_at: '2026-02-18T09:30:00.000Z'
            created_by: example
            description: example
            memory_count: 1
            memory_store_id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
            name: example-name
            organization_id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
            origin: curated
            revision: 1
            slug: example
            status: active
            total_bytes: 1
            updated_at: '2026-02-18T09:30:00.000Z'
    ManagedAgentsApiError:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - analytics
            - analytics_not_ready
            - artifact_fetch_unavailable
            - artifact_generation_mismatch
            - artifact_hash_mismatch
            - artifact_invalid_events
            - artifact_invalid_json
            - artifact_not_allowlisted
            - artifact_size_mismatch
            - atomic_ingest_timeout
            - auth_unavailable
            - automation_event_source_invalid
            - automation_memory_unavailable
            - automation_reference_invalid
            - automation_runs_unconfigured
            - automations_unconfigured
            - bad_gateway
            - built_in_catalog_unavailable
            - built_in_integrations_unconfigured
            - compute_offerings_unavailable
            - conflict
            - content_store_request_canceled
            - content_store_unavailable
            - content_store_upload_timeout
            - credential_encryption_unconfigured
            - delegate_preparation_failed
            - entity_family_not_permitted
            - environment_not_verified
            - evaluation_cancellation_pending
            - evaluation_deletion_pending
            - event_admission_unavailable
            - event_ingress_unavailable
            - event_source_verification_credential_invalid
            - event_sources_unconfigured
            - execution_unconfigured
            - file_quota_exceeded
            - file_storage_unconfigured
            - forbidden
            - gateway_timeout
            - gestalt_unconfigured
            - github_rate_limited
            - github_unavailable
            - handoff_access_invalid
            - handoff_access_unavailable
            - handoff_access_unsupported
            - handoff_capture_unavailable
            - handoff_requires_retest
            - handoff_revoke_unavailable
            - handoff_signal_unavailable
            - idempotency_conflict
            - idempotency_in_progress
            - idempotency_unavailable
            - ingest_policy_changed
            - ingest_policy_not_found
            - ingest_policy_revoked
            - integrations_unconfigured
            - internal_error
            - invalid_json
            - invalid_pull_request_review_result
            - invalid_request
            - invalid_scope
            - invariant_violation
            - live_fleet_unconfigured
            - managed_agents_unavailable
            - missing_dependency
            - model_gateway_metadata_missing
            - model_gateway_unconfigured
            - model_gateway_unreachable
            - mutation_transaction_budget_exceeded
            - not_found
            - page_token_expired
            - payload_too_large
            - persistence_busy
            - precondition_failed
            - precondition_required
            - provider_registration_unsupported
            - provider_selection_unsupported
            - rate_limit_exceeded
            - rate_limited
            - repository_automation_unconfigured
            - request_too_large
            - reserved_source_type
            - revision_conflict
            - run_log_store_unavailable
            - runner_image_resolution_failed
            - sandbox_provider_disabled
            - service_unavailable
            - session_analyst_busy
            - session_analyst_model_unavailable
            - session_analyst_unconfigured
            - session_start_admission_unavailable
            - session_start_not_admitted
            - setup_fallback_environment_unsafe
            - setup_run_finished
            - setup_run_in_progress
            - setup_run_limit
            - setup_run_not_started
            - setup_runs_unavailable
            - skill_storage_unconfigured
            - slack_channels_rejected
            - slack_channels_unavailable
            - slack_channels_unconfigured
            - slack_connection_malformed
            - slack_event_intake_unavailable
            - slack_installation_mismatch
            - slack_missing_scope
            - slack_rate_limited
            - slack_reapproval_required
            - source_ownership_mismatch
            - source_revision_conflict
            - spanner_unavailable
            - streaming_unsupported
            - submission_transaction_budget_exceeded
            - task_version_number_conflict
            - team_board_unconfigured
            - too_many_streams
            - unauthorized
            - unsupported_media_type
            - vault_creation_retired
            - version_content_conflict
            - webhook_delivery_too_large
            - workspace_boundary_denied
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorForbidden:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - forbidden
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorBadGateway:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - bad_gateway
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorGatewayTimeout:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - gateway_timeout
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsMemoryStore:
      description: >-
        A collection of path-addressed documents an agent reads across sessions.
        Attaching a store adds one note to the system prompt naming what it
        contains; the agent browses, searches, and reads its contents on demand,
        so store size does not enter the prompt.
      properties:
        agent_id:
          description: >-
            Agent this store belongs to. Empty for a workspace store any session
            may attach.
          type: string
        archived_at:
          description: Set when a curated reference store was archived.
          format: date-time
          type: string
        created_at:
          description: Server-assigned RFC 3339 timestamp of when the store was created.
          format: date-time
          type: string
        created_by:
          description: Identifier of the caller or reflection that created the store.
          type: string
        description:
          description: >-
            What this store contains. Disclosed to the agent in every session
            the store is attached to, so it is the routing signal: write it as
            what the agent would be looking for.
          type: string
        memory_count:
          description: Number of live memories in the store.
          format: int64
          type: integer
        memory_store_id:
          description: >-
            Server-assigned id of the store, used when attaching it to a session
            and in the memory routes.
          type: string
        name:
          description: Human-readable name. Shown to the agent as part of the store's note.
          type: string
        organization_id:
          description: >-
            Organization that owns the store. Server-assigned from the caller's
            credentials; a value sent in a request body is ignored.
          type: string
        origin:
          description: >-
            Who wrote this store: curated for material a person added,
            reflection for an agent's learned memory. A reflection store is not
            hand-editable.
          enum:
            - curated
            - reflection
          type: string
        revision:
          description: >-
            Monotonic revision of the collection, advanced atomically when a
            learning run changes memories.
          format: int64
          type: integer
        slug:
          description: Filesystem-safe form of the name, stable across renames.
          type: string
        status:
          description: >-
            Active collections are available to sessions; archived curated
            stores cannot be attached.
          enum:
            - active
            - archived
          type: string
        total_bytes:
          description: Total bytes of live memory content in the store.
          format: int64
          type: integer
        updated_at:
          description: >-
            Server-assigned RFC 3339 timestamp of the most recent change to the
            store or its memories.
          format: date-time
          type: string
      required:
        - organization_id
        - memory_store_id
        - name
        - slug
        - origin
        - status
        - memory_count
        - total_bytes
        - revision
        - created_at
        - updated_at
      type: object
      example:
        agent_id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        archived_at: '2026-02-18T09:30:00.000Z'
        created_at: '2026-02-18T09:30:00.000Z'
        created_by: example
        description: example
        memory_count: 1
        memory_store_id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        name: example-name
        organization_id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        origin: curated
        revision: 1
        slug: example
        status: active
        total_bytes: 1
        updated_at: '2026-02-18T09:30:00.000Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A Recursion API key, created in the console under API keys.

````