This user's active context and every context name they've used
GET
/api/v1/context
const url = 'http://localhost:11044/api/v1/context';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/context \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media type*/*
The user’s active memory context and the contexts they can switch to, answered by GET /context and PUT /context/current
object
contexts
required
Context names this user has documents under, with the active one first when it has none yet. A context that holds only memories is not listed
Array<string>
current
required
Name of the active context, which new documents and memories belong to. personal until the user switches
string

