Knowledge Base

Create Knowledge Base

Create a new knowledge base with optional text and URL sources.

post/v1/knowledge-base

Request

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

Request body

knowledge_base_namestring required

Name of the knowledge base

knowledge_base_urlsstring[] nullable

URLs to scrape and add

enable_auto_refreshboolean

Auto-refresh URLs every 12 hours

agent_idstring nullable

Agent to own/link this knowledge base to

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.