π§ Knowledge Base
Create/Edit KB Doc
(VG agents only) Adds a new document to the agentβs knowledge base, if your agent is built with VF use Voiceflowβs API instead
PUT
/
v2
/
agents
/
{agent_id}
/
kb
/
{doc_id}
Authorizations
Agent/Workspace secret API key as bearer token.
Path Parameters
The ID of the agent to add the document to
The ID of the document to add
Body
application/json
Status of the document in the KB
Available options:
ERROR
, SUCCESS
, PENDING
, INITIALIZED
Name of the document
Content of the document
Tags of the document
Type of the document
Available options:
doc
, url
Timestamp of the document