Skip to content

Add source

POST
/workspaces/{workspace_id}/sources

Add a new source to the workspace

workspace_id
required
string format: uuid

Workspace ID

object
type
required
string
Allowed values: url pdf github youtube text
url

URL for url/github/youtube sources

string
content

Base64 content for pdf sources or text for text sources

string
filename

Filename for pdf sources

string

Source created and indexing started

object
id
string format: uuid
type
string
Allowed values: url pdf github youtube text
url
string
title
string
status
string
Allowed values: pending indexing indexed failed
chunk_count
integer
classification
string
created_at
string format: date-time