OAuth
Oauth Grantable Scopes
Return the subset of scopes the authenticated user can actually grant.
Used by the consent UI to show which scopes the current user can grant for the currently-selected org/project, so the user isn't asked to approve scopes that would be silently filtered server-side during the POST /authorize step.
The OIDC scopes (e.g. openid) are passed through. Platform resource scopes are filtered by permissions, and a scope that the platform does not know is dropped.
get/oauth/grantable-scopes
Request
- Base URLhttps://logfire-api.pydantic.dev/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
organization_idstring uuid required
scopesstring required
Space-separated list of scopes to check
project_idstring uuid nullable
Cookies
logfire_tokenstring password nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.