Authorization and Resource Scope
Authentication identifies the caller. Authorization checks whether that caller can perform an operation on the requested resource.

Scopes apply per operation. The caller must also have access to the organization and target resource; a valid credential alone is not enough.
Before you begin
A valid credential, its required scopes, and access to the target organization and resource.
Key concepts
Authentication
Verification of the account or credential making a request. It identifies the caller but does not grant every resource permission.
Authorization
The decision whether a caller can perform an operation on a resource. Check roles, scopes, organization context, and sharing when access is denied.
Scope
A permission category requested by an application or assigned to a key. A scope permits an operation class; resource-level restrictions can still apply.
Organization
The team-level container for members, roles, projects, connections, and settings. Select the correct organization before looking for a resource or calling an operation.
Resource ID
A stable identifier for a project, file, connection, or other resource. Use the required ID type; matching display names do not make IDs interchangeable.
Check API access
Select the intended organization context.
Use the correct resource ID and a credential authorized for the operation.
Handle an access failure by checking scopes, membership, and resource sharing.
The caller can perform the operation within its permitted scope.
Behavior and limitations
A valid key does not grant access to every project. Starting a run and reading analytics can require different permissions. Resource identifiers are not credentials. Do not broaden key scopes to compensate for an incorrect organization or resource ID.
Related resources
Was this helpful?

