Skip to main content
Adds one or more facts to an agent in a workspace. Each string you send is stored exactly as written, as a new fact of its own — nothing is extracted, merged, or rewritten. Use this when you already know a fact and want it in memory directly; otherwise facts are extracted from conversations automatically. The response returns each created fact’s id and text, in the order you sent them. To read a fact’s metadata and timestamps, call Get Agent Fact. In the fact’s change history, a fact added this way starts with an ADD change whose source_kind is MANUAL.
Permission required: workspace_agent:fact_modify

Path Parameters

string
required
Workspace ID
string
required
Agent ID

Request Body

string[]
required
Fact texts to add, one fact per entry. The list must not be empty and no entry may be blank; otherwise the request is rejected with 400.

Response

object