curl --request GET \
--url 'https://api.unify.ai/v0/project/my_project/contexts' \
--header "Authorization: Bearer $UNIFY_KEY"
[
{
"name": "context1",
"description": "description1",
"is_versioned": true,
"version": 1
},
{
"name": "context2",
"description": "description2",
"is_versioned": false,
"version": 1
}
]
Get a list of contexts within a project.
Returns information about each context including its versioning status and current version.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Name of the project to create context in.
curl --request GET \
--url 'https://api.unify.ai/v0/project/my_project/contexts' \
--header "Authorization: Bearer $UNIFY_KEY"
[
{
"name": "context1",
"description": "description1",
"is_versioned": true,
"version": 1
},
{
"name": "context2",
"description": "description2",
"is_versioned": false,
"version": 1
}
]