Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.natecosmic.com/llms.txt

Use this file to discover all available pages before exploring further.

Scopes are the access levels your app needs when calling the COSMIC API. You select them per app in the developer portal; users see the same list at consent before they approve your app. Scopes are separate from the scope query parameter on the OAuth authorize URL (used for sign-in and basic profile, for example openid, email, profile) — see OAuth.

How scopes are used

  1. You enable the scopes your app needs in the developer portal.
  2. The consent screen shows those scopes to the user when they authorize your app.
  3. The COSMIC API enforces them on every request.
  4. GET /v1/me returns the scopes granted to the current token.

Scope reference

CategoryScopeTypical use
Organizationsorganizations:readList and read organizations the principal may access
Organizationsorganizations:writeUpdate organization profile data where the API allows it
Organizationsorganization_members:readRead organization membership records
Organizationsorganization_members:writeCreate, update, or remove organization membership records
Certificationscertification_records:readRead certification records
Certificationscertification_records:writeCreate or update certification records
Definitionscertification_types:readRead certification type definitions
Definitionscertification_types:writeCreate or update organization certification types
Definitionsjob_roles:readRead job roles and assignments
Definitionsjob_roles:writeCreate or update organization job roles
Definitionsqualifications:readRead qualification definitions
Definitionsqualifications:writeCreate or update organization qualifications
Some operations in the API reference include scope notes in their descriptions; this page lists the full catalog.

Choosing scopes

  • Enable only the scopes your integration needs in the developer portal.
  • Prefer read scopes first; add write scopes only where you create or update data.
  • If you ship new features later, enable the corresponding scopes in the developer portal rather than enabling broad access up front.