Actions51
- Platforms Actions
- Projects Actions
- Webhooks Actions
- ApiKeys Actions
- Auth Actions
- Identities Actions
- Members Actions
- Messages Actions
- Platform Logs Actions
Overview
This node interacts with the GateKit API to manage API keys within a specified project. Specifically, the "List" operation under the "ApiKeys" resource retrieves all API keys associated with a given project. This is useful for administrators or developers who need to audit, monitor, or manage API keys for their projects.
Common scenarios include:
- Auditing all active API keys for security reviews.
- Displaying API keys in dashboards or reports.
- Automating key management workflows by fetching current keys before performing actions like revoking or rolling keys.
Example: You want to list all API keys for your "default" project to check which keys are currently active and what scopes they have.
Properties
| Name | Meaning |
|---|---|
| Project | Project identifier to operate on (e.g., "default") |
Output
The output of this node operation is a JSON array containing the list of API keys for the specified project. Each item in the array represents an API key object with details such as key ID, name, scopes, expiration, and status.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authenticating with the GateKit API.
- The node uses the base URL and authentication headers configured via credentials.
- The user must specify the project identifier to scope the API key listing.
Troubleshooting
- Missing or invalid project identifier: Ensure the "Project" property is set correctly; otherwise, the API may return an error or empty results.
- Authentication errors: Verify that the API key credential is valid and has permissions to list API keys for the project.
- API rate limits or connectivity issues: Network problems or API throttling can cause failures; retry or check network settings.
- Empty response: If no API keys exist for the project, the output will be an empty array.
Links and References
- GateKit API Documentation (general reference for API endpoints)
- n8n Documentation - Creating Custom Nodes