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
Example:
enrichmentTasks
string[] | null
Example:
data
string | null
datasetName
string | null
datasetId
Example:

""

nodeName
string[] | null
Example:
runInBackground
boolean | null
default:false
buildGlobalContextIndex
boolean | null
default:false
buildTruthSubspace
boolean | null
default:false
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[]
memify_run
any
background
boolean
default:false
finished
boolean
default:true
error
string | null
rerun_requested
boolean
default:false
rerun_passes
StageResult · object[][]