List Agent's Knowledge Items
Lists all knowledge items attached to a specific agent.
HTTP Request
URL Parameters
Example Request
Response
Response Body
Error Response (Agent Not Found)
Use Cases
Check Agent’s Knowledge
View all knowledge items that an agent can access during conversations:
Audit Knowledge Access
Determine which knowledge sources an agent is using for RAG retrieval:
Verify Attachments
After attaching knowledge items, confirm they’re properly linked:
Filtering Results
This endpoint returns all knowledge items attached to the agent. To filter:
- By Status: Filter client-side based on the
statusfield - By Source Type: Filter client-side based on the
source_typefield - Ready Items Only: Filter for items with
status: "ready"for active knowledge
Knowledge Item Status
Only knowledge items with status: "ready" are actively used by the agent for RAG retrieval:
- ready: Agent can retrieve chunks from this knowledge item
- pending/processing: Agent cannot use this item yet (waiting for ingestion)
- failed: Agent cannot use this item (ingestion failed)
RAG Configuration
The agent’s RAG behavior is controlled by agent-level settings:
- search_mode: Controls retrieval strategy (
"speed"or"accuracy") - max_chunks_per_query: Number of chunks to retrieve per query
View these settings via Get Agent with advanced=true query parameter.
See Also
- Attach Knowledge Item to Agent - Add knowledge to an agent
- Detach Knowledge Item from Agent - Remove knowledge from an agent
- Get Agent - View agent’s RAG configuration
- Update Agent - Modify RAG settings
