Skip to content

This user's active context and every context name they've used

GET
/api/v1/context
curl --request GET \
--url http://localhost:11044/api/v1/context \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'

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