We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b51866c commit e11c5e8Copy full SHA for e11c5e8
1 file changed
packages/clerk-js/src/core/modules/apiKeys/index.ts
@@ -39,6 +39,14 @@ export class APIKeys implements APIKeysNamespace {
39
};
40
}
41
42
+ /**
43
+ * Retrieves a paginated list of API keys.
44
+ *
45
+ * The subject (owner) is resolved in the following order:
46
+ * 1. Explicit `subject` param (user or organization ID)
47
+ * 2. Active organization ID
48
+ * 3. Current user ID
49
+ */
50
async getAll(params?: GetAPIKeysParams): Promise<ClerkPaginatedResponse<APIKeyResource>> {
51
return BaseResource._fetch({
52
...(await this.#getBaseFapiProxyOptions()),
0 commit comments