GET
/
v0
/
project
/
{project_name}
/
contexts
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

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_name
string
required

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
    }
]