List your API keys
/v1/orgs/{id}/keysOrganization owners/admins can list all keys in their organization, including keys whose creator has left. Other members see only keys they created. No secret or secret hash is returned.
Authentication
Use your signed-in console session or a person's WorkOS access token for this setup operation. See authentication and permissions.
Request
Responses
Key metadata visible to you.
objectstringalways presentAllowed: "list"
urlstringalways presentdataarrayalways presentShow item fields
idstringalways presentPublic credential identity used in administration routes. It is not the authentication secret.
Min length: 1
labelstringalways presentHuman-readable credential name.
createdByUserIdstringalways presentPerson who issued the credential.
createdAtstringalways presentRecorded credential creation time.
scopestringconditionalScope metadata, when present.
workspaceIdsarrayconditionalAssigned Workspaces. An empty array permits one-shot Consolidate only.
Show item fields
workspaceIdstringconditionalLegacy single-Workspace assignment, when applicable.
connectorIdstringconditionalLegacy Connector-backed credential reference, when applicable.
lastActiveAtstringconditionalLast recorded authentication activity, when available.
revokedAtstringconditionalRecorded revocation time, when revoked.
nextPageUrlstring | nullalways present