Skip to main content
POST
Improve: enrich and index the graph, optionally bridging sessions into it

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
extractionTasks
string[] | null
deprecated
Example:
enrichmentTasks
string[] | null
deprecated
Example:
data
string | null
deprecated
datasetName
string | null
datasetId
Example:

""

nodeName
string[] | null
deprecated
Example:
runInBackground
boolean | null
default:false
buildGlobalContextIndex
boolean | null
buildTruthSubspace
boolean | null
default:false
reviewConflicts
boolean | null
feedbackAlpha
number | null
Required range: 0 < x <= 1
sessionIds
string[] | null
Example:

Response

Successful Response

One entry per stage, in registry order, for one improve() run.

status summarises the stages: running while a background run is still going, errored when any stage errored, skipped when every stage was skipped (a lost lock claim, an unchanged graph with nothing opted in), completed otherwise. await result.wait() blocks on a background run and returns the same, now finished, object.

status
enum<string>
required
read-only
Available options:
completed,
errored,
skipped,
running
dataset_id
string<uuid> | null
dataset_name
string | null
session_ids
string[]
stages
StageResult · object[]
background
boolean
default:false
finished
boolean
default:true
error
string | null
memify_run
any