Skip to main content
POST
Ingest Into Space

Authorizations

X-API-Key
string
header
required

Body

application/json
address
string
required

Where to file the material: '' for a space root, '/' for a page (e.g. 'handbook/onboarding/first-week'). A page means its subtree.

source_name
string
required

Name of the material, e.g. 'Q4 pricing memo'; recorded in page history.

content
string | null

The material as Markdown or plain text.

file_base64
string | null

Or a file, base64-encoded (with file_name).

file_name
string | null

Name of the file, with its extension.

instructions
string | null

Optional guidance on placement or splitting.

review
string | null

'conflicts' (default): apply additions, hold contradictions for a decision. 'all': hold every change for a decision. Forced to 'all' with propose access.

wait_seconds
integer
default:0

Wait up to this many seconds (0 to 25) for the plan.

Response

202 - application/json

Accepted

id
string
required
space
string
required
address
string
required
source_name
string
required
status
string
required

'planning', 'awaiting_decisions', 'completed' or 'failed'.

review
string
required
created_by
SpaceIngestionActorOut · object
required
counts
SpaceIngestionCountsOut · object
required
object
string
default:space_ingestion
instructions
string | null
created_at
string | null
completed_at
string | null
error
SpaceIngestionErrorOut · object | null
message
string | null
source_content
string | null
source_file_name
string | null
unfiled_excerpts
string[] | null
operations
SpaceIngestionOperationOut · object[] | null
decision_errors
Decision Errors · object[] | null