Skip to content

Ingest a path into the graph (long-running, up to 30 min)

POST
/v1/ingest
curl --request POST \
--url http://localhost:8090/v1/ingest \
--header 'Content-Type: application/json' \
--data '{ "path": "example", "recursive": true, "force": true }'
Media typeapplication/json
object
path
required

Absolute path to ingest

string
recursive
boolean
force

Re-ingest unchanged files

boolean
Examplegenerated
{
"path": "example",
"recursive": true,
"force": true
}

Ingestion result

Media typeapplication/json
object
filesProcessed
integer
patchesApplied
integer
filesSkipped
integer
entitiesCreated
integer
latestRev
integer
skipReasons
object
unchanged
integer
emptyFile
integer
parseError
integer
tooLarge
integer
minifiedLikely
integer
Examplegenerated
{
"filesProcessed": 1,
"patchesApplied": 1,
"filesSkipped": 1,
"entitiesCreated": 1,
"latestRev": 1,
"skipReasons": {
"unchanged": 1,
"emptyFile": 1,
"parseError": 1,
"tooLarge": 1,
"minifiedLikely": 1
}
}