List grant contexts
Changed onExperimental: this endpoint is in beta and its contract may change.
List of contexts in which you want to grant scopes to your user. Pass a dimension and its selected value in the grant_context field of the Get required scopes request to tailor the scope recommendation.
In the Jira example, default_grant_context is {"scope_family": "classic"}, so a recommendation with no grant_context uses classic scopes. Pass {"scope_family": "granular"} to get granular scopes instead.
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3.1/toolkits/{toolkit_slug}/scopes/grant_context
- AuthAPI key in header x-api-key
Path parameters
Toolkit to list grant contexts for.
Query parameters
Auth scheme the connection will use. Defaults to OAUTH2.
Toolkit version to read the catalog from; defaults to the latest published version. Pass a concrete version to pin.
Response
Successfully discovered the toolkit's grant-context dimensions
Changes
- info
endpoint added
- info