Return one API key's metadata, status and scopes, without its secret.
Arguments
idID!required
Responses
query ApiKey($id: ID!) { apiKey(id: $id) { id projectId userId accountId name keyPrefix lastUsedAt expiresAt createdAt updatedAt status revokedAt scopes scope }}{ "data": { "apiKey": { "id": "string", "projectId": "string", "userId": "string", "accountId": "string", "name": "string", "keyPrefix": "string", "lastUsedAt": "string", "expiresAt": "string", "createdAt": "string", "updatedAt": "string", "status": "string", "revokedAt": "string", "scopes": [ "string" ], "scope": "string" } }}The ApiKey in data.apiKey.