Skip to content

Knowledge Bases

Operations for the Knowledge Bases service collection.

LanguageLast Update
Pythonv1.6.1
PowerShellv2.2.9
Gov0.20.0
TypeScriptv0.6.0
Rustv0.7.0
Rubyv1.2.0
OperationDescription
aggregates_knowledge_bases_v1Aggregate knowledge bases based on the provided msa criteria.
entities_knowledge_bases_v1Retrieve knowledge base entities for the provided id.
entities_knowledge_bases_create_v1Create or update a knowledge base. For deletion, provide knowledge base with IsDeleted=true.
entities_knowledge_bases_update_v1Update an existing knowledge base.
queries_knowledge_bases_v1Query knowledge bases based on the provided filters.

Aggregate knowledge bases based on the provided msa criteria.

POST /agentic-studio/aggregates/knowledge_bases/v1
Scope Charlotte Ai Agent Definition: READ Consumes · Produces application/json
NameTypeData typeDescription
bodybodydictionaryFull body payload as JSON formatted dictionary.
date_rangesbodyarray
excludebodystring
extended_boundsbodyobject
fieldbodystring
filterbodystring
filters_specbodyobject
frombodyinteger
includebodystring
intervalbodystring
max_doc_countbodyinteger
min_doc_countbodyinteger
missingbodystring
namebodystring
percentsbodyarray
qbodystring
rangesbodyarray
sizebodyinteger
sortbodystring
sub_aggregatesbodyarray
time_zonebodystring
typebodystring
include_deletedquerybooleanInclude deleted knowledge bases in the result. Defaults to false.

Examples coming soon.


Retrieve knowledge base entities for the provided id.

GET /agentic-studio/entities/knowledge_bases/v1
Scope Charlotte Ai Agent Definition: READ Consumes · Produces application/json
NameTypeData typeDescription
idsquerystring or list of stringsIDs of entities to retrieve.
include_deletedquerybooleanInclude deleted knowledge bases in the result. Defaults to false.

Examples coming soon.


Create or update a knowledge base. For deletion, provide knowledge base with IsDeleted=true.

POST /agentic-studio/entities/knowledge_bases/v1
Scope Charlotte Ai Agent Definition: WRITE Consumes · Produces application/json
NameTypeData typeDescription
bodybodydictionaryFull body payload as JSON formatted dictionary.
created_atbodystring
created_bybodyobject
descriptionbodystring
embedding_modelbodystring
files_countbodyinteger
idbodystring
is_deletedbodyboolean
namebodystring
updated_atbodystring
updated_bybodyobject

Examples coming soon.


Update an existing knowledge base.

PATCH /agentic-studio/entities/knowledge_bases/v1
Scope Charlotte Ai Agent Definition: WRITE Consumes · Produces application/json
NameTypeData typeDescription
bodybodydictionaryFull body payload as JSON formatted dictionary.
created_atbodystring
created_bybodyobject
descriptionbodystring
embedding_modelbodystring
files_countbodyinteger
idbodystring
is_deletedbodyboolean
namebodystring
updated_atbodystring
updated_bybodyobject

Examples coming soon.


Query knowledge bases based on the provided filters.

GET /agentic-studio/queries/knowledge_bases/v1
Scope Charlotte Ai Agent Definition: READ Consumes · Produces application/json
NameTypeData typeDescription
offsetqueryintegerStarting index of overall result set from which to return ids.
limitqueryintegerNumber of IDs to return. Offset + limit should NOT be above 10K.
sortquerystringPossible order by fields: name, created_at. Ex: ‘created_at|desc’ or ‘name|asc’.
filterquerystringFQL query specifying the filter parameters.
include_deletedquerybooleanInclude deleted knowledge bases in the result. Defaults to false.

Examples coming soon.