Add knowledge item
Add one source fact or expected answer to an evaluation agent.
Add Knowledge Item
Add one source fact, answer, or knowledge item to an evaluation agent. Use this when your evaluation source material already exists as structured question-answer data and you want to attach it directly to the agent.Endpoint
Authentication
Send your platform API key in thex-api-key header.
Path Parameters
| Name | Type | Description |
|---|---|---|
id | string<uuid> | Evaluation agent ID. |
Request Body
Success Response
Returns201 Created with the knowledge item that was added.Authorizations
Platform API key for authenticated account-level API access
Path Parameters
Evaluation agent ID.
Body
Add a knowledge item or expected answer source for an evaluation agent.
Question, title, or short label for the knowledge item.
"Refund policy"
Answer or source content used during evaluation.
"Customers can request a refund within 30 days of purchase."
Public evaluation workflows should use knowledge.
knowledge "knowledge"
Response
Knowledge item created
Knowledge entry attached to an evaluation agent.
Knowledge item identifier.
12
Question, title, or short label for the knowledge item.
"Refund policy"
Answer or source content used during evaluation.
"Customers can request a refund within 30 days of purchase."
Public evaluation workflows should use knowledge.
knowledge "knowledge"
Number of graph nodes created from this item, when available.
3
Creation timestamp.
"2026-06-02T15:08:00Z"
Last update timestamp.
"2026-06-02T15:08:00Z"