Chameleoon MAX · Types
ApiKeySelf type
The API key that you are calling with.
Fields
id
The API key's id. It stays the same when its secret is rotated.
name
String!
The name that the API key's administrators gave it.
environment
The deployment that the API key was created for.
permissions
[String!]!
The permissions that apply now: what the API key was granted, limited by what its owner holds now. Sorted.
Priced as 10 permissions, however many it holds.
Costs 10 points.
scopes
The scopes that apply now: the API key's scopes intersected with its owner's, sorted by type, then by value. A dimension with no entry is unrestricted, so an empty list means unrestricted along every dimension.
Priced as 3 scopes, however many it holds.
Costs 3 points plus 3 × one scope's selection.
Used by
apiKey(query)