Knowledge Base

Create Knowledge Base with Files

Create a new knowledge base with text, URL, and file sources.

post/v1/knowledge-base/upload

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/knowledge-base/upload
  • Auth: HTTP bearer

Response

Successful Response

knowledge_base_idstring required

Unique identifier

knowledge_base_namestring required

Name of the knowledge base

status'in_progress' | 'complete' | 'error' | 'refreshing_in_progress' required

Status of a knowledge base.

enable_auto_refreshboolean

Auto-refresh URLs every 12 hours

last_refreshed_timestampinteger nullable

Last refresh timestamp (ms since epoch)

agent_idstring nullable

Agent this knowledge base is linked to

chunk_countinteger

Number of chunks in this knowledge base

source_countinteger

Number of sources

created_atstring date-time nullable

Creation timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.