v4

latestOpenAPI 3.0.0raw.githubusercontent.com2024-09-3042325.2 KB

get/.api/client-config

Response

The request has succeeded.

codyEnabledboolean required

Whether the site admin allows this user to make use of Cody at all.

chatEnabledboolean required

Whether the site admin allows this user to make use of the Cody chat feature.

autoCompleteEnabledboolean required

Whether the site admin allows this user to make use of the Cody autocomplete feature.

customCommandsEnabledboolean required

Whether the site admin allows the user to make use of the custom Cody commands feature.

attributionEnabledboolean required

Whether the site admin allows this user to make use of the Cody attribution feature.

smartContextWindowEnabledboolean required

Whether the 'smart context window' feature should be enabled, and whether the Sourcegraph instance supports various new GraphQL APIs needed to make it work.

modelsAPIEnabledboolean required

Whether the new Sourcegraph backend LLM models API endpoint should be used to query which models are available.

latestSupportedCompletionsStreamAPIVersioninteger

The latest api-version=N query parameter that is supported by the POST /.api/completions/stream endpoint. This field was added after api-version=2 so you will never get a response with api-version=1 or lower even when api-version=1 is supported on the instance.