Skip to main content
POST
Read items from a document

Authorizations

Authorization
string
header
required

An API key from Settings → API keys, sent as Authorization: Bearer kb_live_…. A workspace key starts kb_; a personal key starts kbp_ and acts as its owner.

Headers

Kallabot-Version
enum<string>

The API version to answer as, a date (YYYY-MM-DD). Leave it out for the current version (2026-11-07). An unknown version is refused with 400 unsupported_api_version.

Available options:
2026-11-07
Example:

"2026-11-07"

Body

application/json
knowledge_id
string
required

A document in this workspace's knowledge.

Required string length: 1 - 64
business_type
enum<string>
default:other
Available options:
restaurant,
retail,
services,
salon,
car_dealer,
hotel,
other
currency
string
default:""
Maximum string length: 8

Response

Successful Response

items
ExtractedItem · object[]
required
source_name
string
required

The document the items were read from.

truncated
boolean
required

True when the document was longer than what was read.