List the caller's in-flight virtual-cypher runs
GET
/api/v1/kg/studio/runs
const url = 'http://localhost:11044/api/v1/kg/studio/runs';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/kg/studio/runs \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The caller’s in-flight runs, newest first
Media typeapplication/json
Array<object>
A virtual-cypher run currently executing for the acting user.
object
cypher
required
The Cypher statement being executed.
string
runId
required
The run’s id — also the SSE queryId. Pass it to /kill/{runId}.
string
startedAt
required
Epoch milliseconds at which the run started.
integer format: int64
Example generated
[ { "cypher": "example", "runId": "example", "startedAt": 1 }]Not authenticated
Media typeapplication/json
A refusal carrying only a human-readable reason.
object
error
required
What went wrong, in the terms the caller can act on.
string
Example generated
{ "error": "example"}
