Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Customer API key created in the Sendora dashboard.

Headers

X-API-Key
string | null
Authorization
string | null

Path Parameters

kb_id
string
required

The knowledge base's id: the id from List knowledge bases. It is also the last part of that page's address in the app.

source_id
string
required

The source's id: the id from List KB sources for this knowledge base.

Body

application/json
content
string
required

Content returned by the Sendora API.

Required string length: 1 - 2000000
expected_version
integer
required

Expected version returned by the Sendora API.

Required range: x >= 0
title
string | null

Title returned by the Sendora API.

Required string length: 1 - 1000

Response

Successful Response

A source representation safe for the editor; connected service secrets are excluded.

created_at
string<date-time>
required

Created at returned by the Sendora API.

id
string
required

The source's id. Pass it to any endpoint that takes source_id.

kb_id
string
required

A knowledge base's id: the id from List knowledge bases.

source_type
string
required

Source type returned by the Sendora API.

status
string
required

Status returned by the Sendora API.

title
string
required

Title returned by the Sendora API.

updated_at
string<date-time>
required

Updated at returned by the Sendora API.

chunk_count
integer
default:0

Chunk count returned by the Sendora API.

content
string
default:""

Content returned by the Sendora API.

content_hash
string | null

Content hash returned by the Sendora API.

content_version
integer
default:0

Content version returned by the Sendora API.

duration_seconds
integer | null

Duration seconds returned by the Sendora API.

edited_at
string<date-time> | null

Edited at returned by the Sendora API.

error_message
string | null

Error message returned by the Sendora API.

external_id
string | null

The item's id in the service it was imported from.

external_metadata
External Metadata · object

External metadata returned by the Sendora API.

external_url
string | null

External url returned by the Sendora API.

file_size
integer | null

File size returned by the Sendora API.

indexing_version
integer
default:0

Indexing version returned by the Sendora API.

is_user_edited
boolean
default:false

Is user edited returned by the Sendora API.

last_indexed_hash
string | null

Last indexed hash returned by the Sendora API.

last_provider_sync_at
string<date-time> | null

Last connected service sync at returned by the Sendora API.

mime_type
string | null

Mime type returned by the Sendora API.

page_count
integer | null

Page count returned by the Sendora API.

refresh_interval_hours
integer | null

Refresh interval hours returned by the Sendora API.

source_snapshot_hash
string | null

Source snapshot hash returned by the Sendora API.

source_snapshot_text
string | null

Source snapshot text returned by the Sendora API.

storage_url
string | null

Storage url returned by the Sendora API.

sync_state
string
default:local

Sync state returned by the Sendora API.