API keys
Credentials for agents, CI, and integrations. A user key acts as the person who owns it; a service key is a machine identity. Secrets are shown once at creation — thereafter only a last-4 hint is returned.
Related guides: Authentication
Attributes
idstringrequiredobjectstringrequirednamestringrequiredprefixstringrequiredlast4stringrequiredmodestringrequiredPossible values:
live,testscopesarray of stringrequiredkindstringrequiredA user key acts as a person; a service key is a machine identity.
Possible values:
user,serviceacts_asstring | nullrequiredThe user a user key acts as (null for a service key).
created_bystring | nullrequiredWho minted the key.
last_used_attimestamprequiredrevoked_attimestamprequiredcreated_attimestamprequired