cURL
curl --request POST \ --url https://api.adapter.com/v1/knowledge/graph/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "delete_old_snapshots": false } '
{ "task_id": "<string>", "status": "<string>", "user_id": "<string>", "run_id": 123, "snapshots_deleted": 123 }
Force-regenerate a new graph snapshot. Optionally delete all old snapshots.
Pass your ak_live_... API key as a Bearer token.
ak_live_...
Delete all old graph snapshots after enqueuing the new build.
Successful Response