@every-app/sdk 0.3.0-rc.1 → 0.3.0-rc.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +62 -64
  3. package/dist/cloudflare/catalogSettings.generated.d.ts +84 -0
  4. package/dist/cloudflare/catalogSettings.generated.d.ts.map +1 -0
  5. package/dist/cloudflare/catalogSettings.generated.js +175 -0
  6. package/dist/cloudflare/index.d.ts +3 -2
  7. package/dist/cloudflare/index.d.ts.map +1 -1
  8. package/dist/cloudflare/index.js +4 -1
  9. package/dist/cloudflare/sentinel.d.ts +60 -2
  10. package/dist/cloudflare/sentinel.d.ts.map +1 -1
  11. package/dist/cloudflare/sentinel.js +37 -2
  12. package/dist/cloudflare/worker.d.ts +391 -63
  13. package/dist/cloudflare/worker.d.ts.map +1 -1
  14. package/dist/cloudflare/worker.js +394 -108
  15. package/dist/dev/index.d.ts +1 -1
  16. package/dist/dev/index.d.ts.map +1 -1
  17. package/dist/dev/index.js +1 -1
  18. package/dist/dev/keypair.d.ts +2 -0
  19. package/dist/dev/keypair.d.ts.map +1 -1
  20. package/dist/dev/keypair.js +2 -0
  21. package/dist/index.d.ts +6 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +5 -0
  24. package/dist/internal/aiDefault.d.ts +205 -0
  25. package/dist/internal/aiDefault.d.ts.map +1 -0
  26. package/dist/internal/aiDefault.js +335 -0
  27. package/dist/internal/aiProviders.d.ts +7 -2
  28. package/dist/internal/aiProviders.d.ts.map +1 -1
  29. package/dist/internal/aiProviders.js +19 -6
  30. package/dist/internal/appSettings.d.ts +82 -4
  31. package/dist/internal/appSettings.d.ts.map +1 -1
  32. package/dist/internal/appSettings.js +204 -29
  33. package/dist/internal/audit.d.ts +108 -0
  34. package/dist/internal/audit.d.ts.map +1 -0
  35. package/dist/internal/audit.js +235 -0
  36. package/dist/internal/capabilities.d.ts +2261 -815
  37. package/dist/internal/capabilities.d.ts.map +1 -1
  38. package/dist/internal/capabilities.js +122 -1034
  39. package/dist/internal/catalog/commerce.d.ts +394 -0
  40. package/dist/internal/catalog/commerce.d.ts.map +1 -0
  41. package/dist/internal/catalog/commerce.js +477 -0
  42. package/dist/internal/catalog/comms.d.ts +375 -0
  43. package/dist/internal/catalog/comms.d.ts.map +1 -0
  44. package/dist/internal/catalog/comms.js +520 -0
  45. package/dist/internal/catalog/index.d.ts +2008 -0
  46. package/dist/internal/catalog/index.d.ts.map +1 -0
  47. package/dist/internal/catalog/index.js +19 -0
  48. package/dist/internal/catalog/inference.d.ts +393 -0
  49. package/dist/internal/catalog/inference.d.ts.map +1 -0
  50. package/dist/internal/catalog/inference.js +460 -0
  51. package/dist/internal/catalog/infra.d.ts +458 -0
  52. package/dist/internal/catalog/infra.d.ts.map +1 -0
  53. package/dist/internal/catalog/infra.js +608 -0
  54. package/dist/internal/catalog/search.d.ts +400 -0
  55. package/dist/internal/catalog/search.d.ts.map +1 -0
  56. package/dist/internal/catalog/search.js +463 -0
  57. package/dist/internal/devProviders.d.ts +2 -2
  58. package/dist/internal/devProviders.d.ts.map +1 -1
  59. package/dist/internal/devProviders.js +19 -1
  60. package/dist/internal/events.d.ts +65 -3
  61. package/dist/internal/events.d.ts.map +1 -1
  62. package/dist/internal/events.js +110 -5
  63. package/dist/internal/gatewaySettings.d.ts +3 -2
  64. package/dist/internal/gatewaySettings.d.ts.map +1 -1
  65. package/dist/internal/gatewaySettings.js +12 -6
  66. package/dist/internal/identity.d.ts +41 -4
  67. package/dist/internal/identity.d.ts.map +1 -1
  68. package/dist/internal/identity.js +48 -10
  69. package/dist/internal/index.d.ts +6 -1
  70. package/dist/internal/index.d.ts.map +1 -1
  71. package/dist/internal/index.js +6 -1
  72. package/dist/internal/members.d.ts +3 -2
  73. package/dist/internal/members.d.ts.map +1 -1
  74. package/dist/internal/oauthBuiltIns.d.ts +101 -0
  75. package/dist/internal/oauthBuiltIns.d.ts.map +1 -0
  76. package/dist/internal/oauthBuiltIns.js +122 -0
  77. package/dist/internal/oauthClient.d.ts +8 -50
  78. package/dist/internal/oauthClient.d.ts.map +1 -1
  79. package/dist/internal/oauthClient.js +2 -177
  80. package/dist/internal/oauthPresets.d.ts +32 -0
  81. package/dist/internal/oauthPresets.d.ts.map +1 -0
  82. package/dist/internal/oauthPresets.js +253 -0
  83. package/dist/internal/oauthScopes.d.ts +43 -100
  84. package/dist/internal/oauthScopes.d.ts.map +1 -1
  85. package/dist/internal/oauthScopes.js +83 -382
  86. package/dist/internal/oauthSpec.d.ts +103 -0
  87. package/dist/internal/oauthSpec.d.ts.map +1 -0
  88. package/dist/internal/oauthSpec.js +520 -0
  89. package/dist/internal/protocol.d.ts +97 -5
  90. package/dist/internal/protocol.d.ts.map +1 -1
  91. package/dist/internal/protocol.js +89 -1
  92. package/dist/internal/providerRegistry.d.ts +17 -6
  93. package/dist/internal/providerRegistry.d.ts.map +1 -1
  94. package/dist/internal/providerRegistry.js +71 -8
  95. package/dist/internal/providerSpec.d.ts +18 -7
  96. package/dist/internal/providerSpec.d.ts.map +1 -1
  97. package/dist/internal/providerSpec.js +420 -34
  98. package/dist/internal/remoteMcp.d.ts.map +1 -1
  99. package/dist/internal/remoteMcp.js +1 -5
  100. package/dist/internal/signInProviders.d.ts +104 -0
  101. package/dist/internal/signInProviders.d.ts.map +1 -0
  102. package/dist/internal/signInProviders.js +245 -0
  103. package/dist/internal/tools.d.ts +5 -4
  104. package/dist/internal/tools.d.ts.map +1 -1
  105. package/dist/internal/tools.js +4 -3
  106. package/dist/manifest.d.ts +267 -0
  107. package/dist/manifest.d.ts.map +1 -0
  108. package/dist/manifest.js +30 -0
  109. package/dist/server/ai.d.ts +111 -0
  110. package/dist/server/ai.d.ts.map +1 -0
  111. package/dist/server/ai.js +145 -0
  112. package/dist/server/aiBinding.d.ts +68 -0
  113. package/dist/server/aiBinding.d.ts.map +1 -0
  114. package/dist/server/aiBinding.js +294 -0
  115. package/dist/server/attribution.d.ts +18 -5
  116. package/dist/server/attribution.d.ts.map +1 -1
  117. package/dist/server/attribution.js +19 -5
  118. package/dist/server/connectUrl.d.ts +16 -0
  119. package/dist/server/connectUrl.d.ts.map +1 -0
  120. package/dist/server/connectUrl.js +40 -0
  121. package/dist/server/context.d.ts +68 -0
  122. package/dist/server/context.d.ts.map +1 -0
  123. package/dist/server/context.js +117 -0
  124. package/dist/server/emailBinding.d.ts +72 -0
  125. package/dist/server/emailBinding.d.ts.map +1 -0
  126. package/dist/server/emailBinding.js +124 -0
  127. package/dist/server/emit.d.ts +1 -1
  128. package/dist/server/emit.d.ts.map +1 -1
  129. package/dist/server/emit.js +7 -7
  130. package/dist/server/env.d.ts +44 -0
  131. package/dist/server/env.d.ts.map +1 -0
  132. package/dist/server/env.js +1 -0
  133. package/dist/server/eventsEndpoint.d.ts +48 -0
  134. package/dist/server/eventsEndpoint.d.ts.map +1 -0
  135. package/dist/server/eventsEndpoint.js +145 -0
  136. package/dist/server/everyApp.d.ts +40 -11
  137. package/dist/server/everyApp.d.ts.map +1 -1
  138. package/dist/server/everyApp.js +116 -6
  139. package/dist/server/fromMcpTools.d.ts +89 -0
  140. package/dist/server/fromMcpTools.d.ts.map +1 -0
  141. package/dist/server/fromMcpTools.js +192 -0
  142. package/dist/server/gatewayFetch.d.ts +42 -18
  143. package/dist/server/gatewayFetch.d.ts.map +1 -1
  144. package/dist/server/gatewayFetch.js +138 -19
  145. package/dist/server/gatewayUrl.d.ts +13 -0
  146. package/dist/server/gatewayUrl.d.ts.map +1 -0
  147. package/dist/server/gatewayUrl.js +34 -0
  148. package/dist/server/index.d.ts +16 -4
  149. package/dist/server/index.d.ts.map +1 -1
  150. package/dist/server/index.js +13 -3
  151. package/dist/server/integrationFetch.d.ts +92 -73
  152. package/dist/server/integrationFetch.d.ts.map +1 -1
  153. package/dist/server/integrationFetch.js +206 -319
  154. package/dist/server/listMembers.d.ts +1 -1
  155. package/dist/server/listMembers.d.ts.map +1 -1
  156. package/dist/server/listMembers.js +8 -11
  157. package/dist/server/refusal.d.ts +55 -0
  158. package/dist/server/refusal.d.ts.map +1 -0
  159. package/dist/server/refusal.js +193 -0
  160. package/dist/server/sendEmail.d.ts +1 -1
  161. package/dist/server/sendEmail.d.ts.map +1 -1
  162. package/dist/server/sendEmail.js +7 -7
  163. package/dist/server/tools.d.ts +7 -2
  164. package/dist/server/tools.d.ts.map +1 -1
  165. package/dist/server/tools.js +2 -1
  166. package/dist/server/toolsEndpoint.d.ts +3 -1
  167. package/dist/server/toolsEndpoint.d.ts.map +1 -1
  168. package/dist/server/toolsEndpoint.js +19 -7
  169. package/dist/server/webhooks.d.ts +56 -0
  170. package/dist/server/webhooks.d.ts.map +1 -0
  171. package/dist/server/webhooks.js +205 -0
  172. package/dist/tanstack-start/index.d.ts +9 -0
  173. package/dist/tanstack-start/index.d.ts.map +1 -0
  174. package/dist/tanstack-start/index.js +29 -0
  175. package/dist/testing/index.d.ts +93 -0
  176. package/dist/testing/index.d.ts.map +1 -0
  177. package/dist/testing/index.js +156 -0
  178. package/package.json +35 -14
  179. package/dist/server/authorizeUrl.d.ts +0 -43
  180. package/dist/server/authorizeUrl.d.ts.map +0 -1
  181. package/dist/server/authorizeUrl.js +0 -110
@@ -16,15 +16,14 @@
16
16
  * proxy's rules: inference routes only, the model allowlist, the usage
17
17
  * tap. Never a capability: its key would reach the account's credits
18
18
  * and keys on the same host.
19
- * - `oauth_client`: a provider's OAuth client (a social network's), held
20
- * the same way. The gateway completes the token endpoint calls only,
21
- * putting the client on them; the app builds the authorize URL from the
22
- * public client id (`integrationStatus()`), keeps the user tokens and
23
- * calls the provider's API with them itself. A client shared by apps
24
- * with different needs carries a `scopePolicy`: named scope sets an app
25
- * lists in its manifest entry's `scopes`, which ./oauthScopes.ts turns
26
- * into what the app may ask the provider for and what a token it is
27
- * handed may carry.
19
+ * - `oauth_client`: an OAuth provider (Google, Microsoft, Slack built
20
+ * in; GitHub and others as presets, ./oauthPresets.ts) whose client the
21
+ * gateway holds and whose flow it runs. A person connects in an app,
22
+ * for exactly the provider scopes the app's manifest entry lists
23
+ * (`scopes`); the gateway keeps the tokens and puts the person's token
24
+ * on the app's calls to the provider's `api` hosts. Each provider is a
25
+ * spec (./oauthSpec.ts), its differences data; ./oauthScopes.ts holds
26
+ * the one set of scope rules.
28
27
  * - `service`: something the gateway does itself, with no upstream host
29
28
  * an app names (sending email, listing the organization's members). An
30
29
  * app lists it the same way and calls its routes,
@@ -102,9 +101,12 @@ export interface ProviderCost {
102
101
  usd?: number;
103
102
  note?: string;
104
103
  /**
105
- * A top-level field of the provider's JSON answer that reports the
106
- * call's cost in US dollars (DataForSEO's `cost`); read off the head of
107
- * every answer and added to the usage counters. Absent: nothing is read.
104
+ * The field of the provider's JSON answer that reports the call's cost
105
+ * in US dollars, added to the usage counters: a top-level name the
106
+ * capability proxy reads off the head of every answer (DataForSEO's
107
+ * `cost`), or a dotted path the AI proxy reads off the tail with the
108
+ * token usage (OpenRouter's `usage.cost`). Absent: nothing is read, and
109
+ * `usd` is the flat per-call price where the provider has one.
108
110
  */
109
111
  responseField?: string;
110
112
  }
@@ -149,6 +151,8 @@ export interface ProviderDetails {
149
151
  example?: string;
150
152
  cost?: ProviderCost;
151
153
  rate?: ProviderRate;
154
+ /** One request that costs nothing and proves the key works, for a person's terminal. */
155
+ smoke?: SmokeRequest;
152
156
  verified?: ProviderVerification;
153
157
  tags?: readonly string[];
154
158
  }
@@ -192,7 +196,6 @@ export interface ApiKeyCapability extends ProviderDetails {
192
196
  * provider account would show one app another's work.
193
197
  */
194
198
  accountWidePaths: readonly (readonly string[])[];
195
- smoke?: SmokeRequest;
196
199
  }
197
200
  /**
198
201
  * An AI provider (OpenAI, OpenRouter, Workers AI): the AI proxy's table as
@@ -208,6 +211,12 @@ export interface AiProviderCapability extends ProviderDetails {
208
211
  label: string;
209
212
  /** Where the key goes: bearer for the three today; Anthropic's `x-api-key` header is a `header` kind. */
210
213
  auth: ApiKeyAuth;
214
+ /**
215
+ * The auth setting is read when set and the entry works without it:
216
+ * Cloudflare AI Gateway's own token (`cf-aig-authorization`), which an
217
+ * authenticated gateway requires and an open one ignores. Never a need.
218
+ */
219
+ authOptional?: true;
211
220
  docs: string;
212
221
  setup?: string;
213
222
  /** `https://api.openai.com`. */
@@ -220,6 +229,68 @@ export interface AiProviderCapability extends ProviderDetails {
220
229
  unstoredRoutes?: readonly string[];
221
230
  extraRoutes?: boolean;
222
231
  normalize?: "workers-ai";
232
+ /**
233
+ * The request shape the provider's inference routes take: OpenAI's
234
+ * (chat completions and the OpenAI-compatible family: OpenRouter,
235
+ * Workers AI, Groq, Mistral, Gemini's `/v1beta/openai`), or Anthropic's
236
+ * Messages API, or the provider's own (Cohere's v2). The Gateway's
237
+ * default route (`/api/ai/default/…`) serves OpenAI-shaped chat, so only
238
+ * an `openai`-shaped entry can be the default; the others are pinned by
239
+ * an app that speaks them. Absent: `openai`.
240
+ */
241
+ shape?: "openai" | "anthropic" | "other";
242
+ /**
243
+ * Chat through the default route: the entry's chat route (one of
244
+ * `inferenceRoutes`) that `/api/ai/default/v1/chat/completions` maps
245
+ * onto, and the model the Gateway fills in when the app names none or
246
+ * names `default`. Absent: the entry can't be the Gateway's default.
247
+ */
248
+ chat?: AiRoute;
249
+ /** Embeddings through the default route (`/api/ai/default/v1/embeddings`), the same way. */
250
+ embeddings?: AiRoute;
251
+ /**
252
+ * How Cloudflare AI Gateway fronts the provider: its slug under
253
+ * `https://gateway.ai.cloudflare.com/v1/{account}/{gateway}/`, and the
254
+ * prefix of the provider's direct path the gateway's URL leaves out
255
+ * (OpenRouter's `/api`, OpenAI's `/v1`); or, for Workers AI, whose REST
256
+ * API is AI Gateway's own host, `header: true`: the call keeps its URL
257
+ * and carries `cf-aig-gateway-id`. With `AI_GATEWAY_ID` set, every call
258
+ * to an entry with an `aig` block goes through AI Gateway with the
259
+ * provider's own key still on it; an entry without one goes direct
260
+ * (Gemini's and Cohere's OpenAI-shaped paths have no documented AI
261
+ * Gateway form, 2026-10-25).
262
+ */
263
+ aig?: {
264
+ slug: string;
265
+ trim?: string;
266
+ header?: true;
267
+ };
268
+ /**
269
+ * `proxy`: the entry fronts the other AI providers (Cloudflare AI
270
+ * Gateway) and serves no models of its own: never listed under
271
+ * `providers`, never the default, reached through the entries it fronts.
272
+ */
273
+ kind?: "proxy";
274
+ /**
275
+ * The models the provider serves, when the entry says (a registered
276
+ * `ai` row's `models`): the proxy refuses an inference call naming
277
+ * another (`model_not_allowed`), and `provider show` lists them. Absent
278
+ * on the catalog's entries, whose model lists change weekly.
279
+ */
280
+ models?: readonly string[];
281
+ }
282
+ /** A route of an AI provider the default route maps onto, with the model used when the app names none. */
283
+ export interface AiRoute {
284
+ /** One of the entry's `inferenceRoutes`: `/api/v1/chat/completions`. */
285
+ path: string;
286
+ /**
287
+ * The seed: the model the Gateway fills in when its operator set none
288
+ * for this provider (`everyapp ai model`, `org_settings.ai_models`), a
289
+ * cheap, capable one of the provider's. Data, never the only answer:
290
+ * read it through `resolveAiDefault` (./aiDefault.ts), which puts the
291
+ * operator's setting first.
292
+ */
293
+ seedModel: string;
223
294
  }
224
295
  /** What `access: "write"` adds to a provider's read methods when its entry doesn't say. */
225
296
  export declare const DEFAULT_WRITE_METHODS: readonly string[];
@@ -242,166 +313,2096 @@ export interface GatewayServiceCapability {
242
313
  /** The everyapp skill's setup guide, when there is anything to set up. */
243
314
  setup?: string;
244
315
  }
245
- /** Where the gateway puts an OAuth client on a token request. */
246
- export type OAuthClientInjection = "form" | "basic" | "query" | "json";
247
- /** A token endpoint an `oauth_client` capability completes, with its rule. */
248
- export interface OAuthTokenEndpoint {
316
+ /** Where the Gateway puts its OAuth client on a token request: the form body or HTTP Basic. */
317
+ export type OAuthClientInjection = "form" | "basic";
318
+ /** How a provider separates scopes in its `scope` parameter and its token answer. */
319
+ export type OAuthScopeSeparator = "space" | "comma";
320
+ /** How a provider names the account a new connection is for, read once after the exchange. */
321
+ export interface OAuthIdentity {
322
+ /** An https URL on one of the provider's `api` hosts, GET with the new token. */
323
+ url: string;
324
+ /** A dot path into the JSON answer for the label ("ben", "ben@example.com"). */
325
+ label: string;
326
+ /** A dot path for the provider's stable id of the account (optional). */
327
+ id?: string;
328
+ }
329
+ /**
330
+ * The provider's authorization-code flow as data, from its spec
331
+ * (./oauthSpec.ts): everything that differs between providers. The
332
+ * Gateway runs it; an app never sees a token or the client.
333
+ */
334
+ export interface OAuthFlow {
335
+ /** Where the browser goes to consent (https). */
336
+ authorizeUrl: string;
337
+ /** The token endpoint the Gateway posts the code and refresh token to (https). */
338
+ tokenUrl: string;
339
+ /** Where a disconnect revokes the token; absent means the tokens die at their expiry. */
340
+ revokeUrl?: string;
341
+ /** The revoke call's method (default POST). */
342
+ revokeMethod?: "POST" | "DELETE";
343
+ /** Where the client goes on the token request. */
344
+ inject: OAuthClientInjection;
345
+ /** Whether the authorize request carries a PKCE S256 challenge. */
346
+ pkce: boolean;
347
+ scopeSeparator: OAuthScopeSeparator;
249
348
  /**
250
- * The endpoint's host, always over https. Absent: the host the
251
- * capability's `hostSetting` names (an instance the operator chose).
349
+ * Joined onto an app's short scope (`gmail.modify`) for the authorize
350
+ * URL, and taken off a granted one for comparison: Google's
351
+ * `https://www.googleapis.com/auth/`. Absent: scopes as written.
252
352
  */
253
- host?: string;
254
- /** The exact pathname, or a RegExp for versioned ones (Meta's `/v25.0/oauth/access_token`). */
255
- path: string | RegExp;
256
- methods: readonly ("GET" | "POST")[];
353
+ scopePrefix?: string;
354
+ /** Extra query on the authorize URL (Google's `access_type=offline`). */
355
+ authorizeParams?: Readonly<Record<string, string>>;
356
+ /** Extra headers on the token request (GitHub's `Accept: application/json`). */
357
+ tokenHeaders?: Readonly<Record<string, string>>;
358
+ identity?: OAuthIdentity;
257
359
  /**
258
- * Where the client goes: the form body, HTTP Basic, the query string, or
259
- * the JSON body (injectClientCredentials() in ./oauthClient.ts).
360
+ * Scopes the Gateway adds to every connect, whatever the app lists: what
361
+ * the identity URL needs, and a refresh token's (Microsoft's
362
+ * `offline_access`). Tolerated at mint; apps never list them.
260
363
  */
261
- inject: OAuthClientInjection;
262
- /** The fields' names when not `client_id` / `client_secret` (TikTok's `client_key`). */
263
- params?: {
264
- clientId?: string;
364
+ identityScopes: readonly string[];
365
+ /** Scopes a token may carry beyond what was asked without refusal (another spelling of an identity scope). Never a data scope. */
366
+ tolerated: readonly string[];
367
+ }
368
+ /**
369
+ * An OAuth provider the Gateway holds a client for and runs the flow for
370
+ * (docs/design/2026-11-oauth-simplify.md). A person connects in an app;
371
+ * the connection is theirs and that app's, for exactly the scopes the
372
+ * app's `everyapp.config.ts` lists, and the app calls the provider's
373
+ * `api` hosts through the Gateway, which puts the token on.
374
+ */
375
+ export interface OAuthClientCapability {
376
+ mode: "oauth_client";
377
+ /** The provider's name in errors, pages and logs. */
378
+ label: string;
379
+ /** Gateway setting names. No `clientSecret`: a public client, the id alone. */
380
+ secrets: {
381
+ clientId: string;
265
382
  clientSecret?: string;
266
383
  };
267
- }
268
- /**
269
- * One host's allowlist a scope set unlocks. Matched against the raw
270
- * pathname, case preserved, by `scopeRouteAllows()` in ./oauthScopes.ts:
271
- * the proxy boundary once the gateway holds tokens, tested data until then.
272
- */
273
- export interface OAuthScopeRoute {
274
- /** A bare https host, one of the capability's `api` hosts. */
275
- host: string;
276
- /**
277
- * Raw-path entries: exact, or a prefix when the entry ends in `/`. GET
278
- * and HEAD go through when one matches.
279
- */
280
- paths: readonly string[];
281
- /**
282
- * The read-shaped POSTs a read set allows (queries, watches): anchored,
283
- * flagless RegExps over the raw pathname. Every other POST is refused.
284
- */
285
- posts?: readonly RegExp[];
286
- }
287
- /**
288
- * A named bundle an app lists under `scopes`: what it asks the provider for
289
- * and what that unlocks.
290
- */
291
- export interface OAuthScopeSet {
292
- /** What Admin → Apps and a consent page call it: "Gmail (read-only)". */
293
- label: string;
294
- /**
295
- * A read set unlocks GET, HEAD and its `posts` only. No write set exists
296
- * on the shared clients yet; adding one is a reviewed registry change.
297
- */
298
- access: CapabilityAccess;
299
- /** The provider's scope strings, requested verbatim (Slack: bot scopes). */
300
- scopes: readonly string[];
301
- /** Slack's `user_scope` strings, issued to the installing person's own token; absent elsewhere. */
302
- userScopes?: readonly string[];
303
- routes: readonly OAuthScopeRoute[];
304
- }
305
- /** How a provider spells granted scopes in its token response; each has a parser in ./oauthScopes.ts. */
306
- export type OAuthScopeDialect = "google" | "microsoft" | "slack";
307
- /**
308
- * Everything the gateway needs to hold an app to its scope sets at the
309
- * token endpoint. Present means an app's entry must list `scopes` and the
310
- * gateway refuses tokens outside them. Data only: the dialect selects the
311
- * parser, so the registry stays a table.
312
- */
313
- export interface OAuthScopePolicy {
314
- sets: Readonly<Record<string, OAuthScopeSet>>;
315
- /**
316
- * Scopes a token may carry beyond the declared sets without refusal:
317
- * identity and refresh scopes, in every spelling the provider uses.
318
- * Never a data scope.
319
- */
320
- tolerated: readonly string[];
321
- /**
322
- * Scopes every declaring app asks for whatever its sets, on the authorize
323
- * URL and Microsoft's token leg (`offline_access`). Always tolerated.
324
- */
325
- alwaysRequested: readonly string[];
326
- dialect: OAuthScopeDialect;
327
- /**
328
- * The `tokenGrantType()` values the gateway completes through this
329
- * client. `null` is a code exchange that carries no `grant_type` (Slack's
330
- * oauth.v2.access).
331
- */
332
- grantTypes: readonly (string | null)[];
333
- /**
334
- * What becomes of the token request's `scope` once it passes the check:
335
- * `replace` it with the app's requested list (Microsoft's token-leg
336
- * extension, which keeps a token to one resource), `drop` it (Google
337
- * documents no `scope` on either token leg), or `keep` it (Slack).
338
- */
339
- requestScope: "replace" | "drop" | "keep";
340
- /**
341
- * Decoded path segments no set unlocks on any host, compared
342
- * case-insensitively: batch tunnels that carry other requests inside, and
343
- * resources that reveal secrets under a read scope.
344
- */
345
- deniedSegments: readonly string[];
346
- }
347
- /**
348
- * A provider's OAuth client the gateway holds. The gateway completes its
349
- * token endpoints only (`token`), putting the client on each request; the
350
- * app builds the authorize URL from the public client id and calls the
351
- * provider's API with the user tokens it keeps.
352
- */
353
- export interface OAuthClientCapability {
354
- mode: "oauth_client";
355
- /** The provider's name in errors and logs. */
356
- label: string;
357
- /** Gateway secret names. No `clientSecret`: a public client, the id alone. */
358
- secrets: {
359
- clientId: string;
360
- clientSecret?: string;
384
+ /** Where the operator registers the client (the spec's `docs`). */
385
+ console: string;
386
+ /** The everyapp skill's setup guide for the client, when one exists. */
387
+ setup?: string;
388
+ /** The only hosts the held token is ever sent to, over https. */
389
+ api: readonly string[];
390
+ flow: OAuthFlow;
391
+ /** What it is for, in one line. */
392
+ description?: string;
393
+ /** The API reference (a spec's `api`), optional. */
394
+ reference?: string;
395
+ hint?: string;
396
+ example?: string;
397
+ tags?: readonly string[];
398
+ }
399
+ export type Capability = ApiKeyCapability | AiProviderCapability | OAuthClientCapability | GatewayServiceCapability;
400
+ export declare const CAPABILITIES: {
401
+ readonly firecrawl: {
402
+ readonly mode: "api_key";
403
+ readonly label: "Firecrawl";
404
+ readonly description: "Scrapes, crawls, maps and searches the web, returning clean markdown or structured data.";
405
+ readonly auth: {
406
+ readonly kind: "bearer";
407
+ readonly secret: "FIRECRAWL_API_KEY";
408
+ };
409
+ readonly docs: "https://www.firecrawl.dev/app/api-keys";
410
+ readonly api: "https://docs.firecrawl.dev/api-reference/introduction";
411
+ readonly hosts: readonly ["api.firecrawl.dev"];
412
+ readonly data: "per-call";
413
+ readonly access: readonly ["read", "write"];
414
+ readonly readMethods: readonly ["GET", "POST"];
415
+ readonly writeMethods: readonly ["DELETE"];
416
+ readonly accountWidePaths: readonly [readonly ["team"], readonly ["crawl", "active"], readonly ["monitor"], readonly ["agent"], readonly ["interact"], readonly ["support", "ask"]];
417
+ readonly hint: "An API key from Firecrawl's API keys page; the Gateway sends it as a bearer token. Scrape, crawl, map, search and extract are POSTs and job status is a GET; cancelling a crawl or batch (DELETE) needs write.";
418
+ readonly secrets: readonly [{
419
+ readonly name: "FIRECRAWL_API_KEY";
420
+ readonly hint: "An API key from Firecrawl's API keys page; it starts with fc-.";
421
+ }];
422
+ readonly smoke: {
423
+ readonly method: "GET";
424
+ readonly path: "/v2/team/credit-usage";
425
+ readonly expect: readonly [200];
426
+ readonly free: true;
427
+ readonly note: "Remaining credits; account-wide, so the Gateway refuses it for apps: run it from the person's terminal.";
428
+ };
429
+ readonly cost: {
430
+ readonly unit: "result";
431
+ readonly note: "Credits: 1 per page scraped or crawled, 1 per map call, 2 per 10 search results; JSON extraction and other options add more.";
432
+ };
433
+ readonly rate: {
434
+ readonly note: "Per team per minute, by plan: /scrape 10 on Free, 100 Hobby, 500 Standard, 5,000 Growth; /crawl 2, 20, 100, 1,000.";
435
+ };
436
+ readonly example: "scrape https://example.com/pricing into markdown";
437
+ readonly verified: {
438
+ readonly on: "2026-10-25";
439
+ readonly how: "docs";
440
+ };
441
+ readonly tags: readonly ["scrape", "crawl", "search"];
442
+ };
443
+ readonly exa: {
444
+ readonly mode: "api_key";
445
+ readonly label: "Exa";
446
+ readonly description: "Web search built for AI: search results, page contents, similar links and cited answers.";
447
+ readonly auth: {
448
+ readonly kind: "header";
449
+ readonly secret: "EXA_API_KEY";
450
+ readonly header: "x-api-key";
451
+ };
452
+ readonly docs: "https://dashboard.exa.ai/api-keys";
453
+ readonly api: "https://exa.ai/docs/reference/search";
454
+ readonly hosts: readonly ["api.exa.ai"];
455
+ readonly data: "per-call";
456
+ readonly access: readonly ["read"];
457
+ readonly readMethods: readonly ["POST"];
458
+ readonly accountWidePaths: readonly [readonly ["websets"], readonly ["monitors"], readonly ["agent"], readonly ["batches"]];
459
+ readonly hint: "An API key from the Exa dashboard (the free tier gives $10 of credit a month); the Gateway sends it in the x-api-key header. Search, contents, find-similar and answer are POSTs.";
460
+ readonly secrets: readonly [{
461
+ readonly name: "EXA_API_KEY";
462
+ readonly hint: "An API key from the API keys page of the Exa dashboard.";
463
+ }];
464
+ readonly smoke: {
465
+ readonly method: "GET";
466
+ readonly path: "/websets/v0/teams/me";
467
+ readonly expect: readonly [200];
468
+ readonly free: true;
469
+ readonly note: "Team info under the Websets API (the docs page leaves out the /websets prefix); account-wide, so run it from the person's terminal.";
470
+ };
471
+ readonly cost: {
472
+ readonly unit: "call";
473
+ readonly usd: 0.007;
474
+ readonly note: "Search $7 per 1k (auto and fast; lite $4), contents $1 per 1k pages, answer $5 per 1k; up to 10 results included.";
475
+ };
476
+ readonly rate: {
477
+ readonly perSecond: 10;
478
+ readonly note: "Per team: /search and /answer 10 QPS, deep search 5, /contents 100.";
479
+ };
480
+ readonly example: "find recent articles about solid-state batteries";
481
+ readonly verified: {
482
+ readonly on: "2026-10-25";
483
+ readonly how: "docs";
484
+ };
485
+ readonly tags: readonly ["search"];
486
+ };
487
+ readonly tavily: {
488
+ readonly mode: "api_key";
489
+ readonly label: "Tavily";
490
+ readonly description: "Web search, page extraction, crawling and site maps for AI agents, plus research reports.";
491
+ readonly auth: {
492
+ readonly kind: "bearer";
493
+ readonly secret: "TAVILY_API_KEY";
494
+ };
495
+ readonly docs: "https://app.tavily.com";
496
+ readonly api: "https://docs.tavily.com/documentation/api-reference/endpoint/search";
497
+ readonly hosts: readonly ["api.tavily.com"];
498
+ readonly data: "per-call";
499
+ readonly access: readonly ["read"];
500
+ readonly readMethods: readonly ["GET", "POST"];
501
+ readonly accountWidePaths: readonly [readonly ["usage"], readonly ["logs"], readonly ["org-usage"]];
502
+ readonly hint: "An API key from app.tavily.com (1,000 free credits a month); the Gateway sends it as a bearer token. Search, extract, crawl, map and research are POSTs; a research result is a GET.";
503
+ readonly secrets: readonly [{
504
+ readonly name: "TAVILY_API_KEY";
505
+ readonly hint: "An API key from the Tavily dashboard; it starts with tvly-.";
506
+ }];
507
+ readonly smoke: {
508
+ readonly method: "GET";
509
+ readonly path: "/usage";
510
+ readonly expect: readonly [200];
511
+ readonly free: true;
512
+ readonly note: "Key and account usage, not an endpoint that costs credits; account-wide, so run it from the person's terminal (10 calls per 10 minutes).";
513
+ };
514
+ readonly cost: {
515
+ readonly unit: "call";
516
+ readonly usd: 0.008;
517
+ readonly note: "Pay as you go $0.008 per credit: basic search 1 credit, advanced 2; extract 1 credit per 5 URLs; map 1 per 10 pages.";
518
+ };
519
+ readonly rate: {
520
+ readonly perMinute: 100;
521
+ readonly note: "Development keys 100 per minute, production keys 1,000; crawl 100 and research 20 per minute for both.";
522
+ };
523
+ readonly example: "search the web for this week's news on EU AI rules";
524
+ readonly verified: {
525
+ readonly on: "2026-10-25";
526
+ readonly how: "docs";
527
+ };
528
+ readonly tags: readonly ["search", "scrape"];
529
+ };
530
+ readonly serper: {
531
+ readonly mode: "api_key";
532
+ readonly label: "Serper";
533
+ readonly description: "Google search results as JSON: web, news, images, places, shopping, scholar and patents.";
534
+ readonly auth: {
535
+ readonly kind: "header";
536
+ readonly secret: "SERPER_API_KEY";
537
+ readonly header: "X-API-KEY";
538
+ };
539
+ readonly docs: "https://serper.dev/api-keys";
540
+ readonly api: "https://serper.dev/playground";
541
+ readonly hosts: readonly ["google.serper.dev", "scrape.serper.dev"];
542
+ readonly data: "per-call";
543
+ readonly access: readonly ["read"];
544
+ readonly readMethods: readonly ["POST"];
545
+ readonly accountWidePaths: readonly [];
546
+ readonly hint: "An API key from serper.dev (2,500 free queries to start); the Gateway sends it in the X-API-KEY header. Every search is a POST to google.serper.dev/<type> (search, news, images, places, …) with a JSON body such as {\"q\": \"…\"}.";
547
+ readonly secrets: readonly [{
548
+ readonly name: "SERPER_API_KEY";
549
+ readonly hint: "The API key on serper.dev's API keys page.";
550
+ }];
551
+ readonly cost: {
552
+ readonly unit: "call";
553
+ readonly usd: 0.001;
554
+ readonly note: "Prepaid credits, one per successful query: $1.00 per 1k on the 50k pack, down to $0.30 per 1k on the largest.";
555
+ };
556
+ readonly rate: {
557
+ readonly perSecond: 50;
558
+ readonly note: "Starter credits 50 queries per second; Standard 100, Scale 200, Ultimate 300.";
559
+ };
560
+ readonly example: "get the top Google results for best project management software";
561
+ readonly verified: false;
562
+ readonly tags: readonly ["search", "serp"];
563
+ };
564
+ readonly "brave-search": {
565
+ readonly mode: "api_key";
566
+ readonly label: "Brave Search";
567
+ readonly description: "Brave's independent web index: web, news, images, videos, places, LLM context and answers.";
568
+ readonly auth: {
569
+ readonly kind: "header";
570
+ readonly secret: "BRAVE_SEARCH_API_KEY";
571
+ readonly header: "X-Subscription-Token";
572
+ };
573
+ readonly docs: "https://api-dashboard.search.brave.com/app/keys";
574
+ readonly api: "https://api-dashboard.search.brave.com/documentation";
575
+ readonly hosts: readonly ["api.search.brave.com"];
576
+ readonly data: "per-call";
577
+ readonly access: readonly ["read"];
578
+ readonly readMethods: readonly ["GET", "POST"];
579
+ readonly accountWidePaths: readonly [];
580
+ readonly hint: "Activate a plan (it includes $5 of free credit a month), then create a key under API Keys; the Gateway sends it in the X-Subscription-Token header. Searches are GETs (POST works too); answers are a POST to /res/v1/chat/completions.";
581
+ readonly secrets: readonly [{
582
+ readonly name: "BRAVE_SEARCH_API_KEY";
583
+ readonly hint: "A key from the API Keys section of the Brave Search API dashboard, made after activating a plan.";
584
+ }];
585
+ readonly cost: {
586
+ readonly unit: "call";
587
+ readonly usd: 0.005;
588
+ readonly note: "Search $5 per 1k requests; Answers $4 per 1k plus $5 per million tokens; $5 free credit a month; only successful calls count.";
589
+ };
590
+ readonly rate: {
591
+ readonly perSecond: 50;
592
+ readonly note: "Search plan 50 queries per second; Answers 2 per second.";
593
+ };
594
+ readonly example: "search the web for the latest Cloudflare Workers release notes";
595
+ readonly verified: {
596
+ readonly on: "2026-10-25";
597
+ readonly how: "docs";
598
+ };
599
+ readonly tags: readonly ["search"];
600
+ };
601
+ readonly apify: {
602
+ readonly mode: "api_key";
603
+ readonly label: "Apify";
604
+ readonly description: "Runs Apify Actors (ready-made scrapers and automations) and reads their datasets and stores.";
605
+ readonly auth: {
606
+ readonly kind: "bearer";
607
+ readonly secret: "APIFY_API_TOKEN";
608
+ };
609
+ readonly docs: "https://console.apify.com/settings/integrations";
610
+ readonly api: "https://docs.apify.com/api/v2";
611
+ readonly hosts: readonly ["api.apify.com"];
612
+ readonly data: "account";
613
+ readonly access: readonly ["read", "write"];
614
+ readonly readMethods: readonly ["GET", "HEAD"];
615
+ readonly writeMethods: readonly ["POST", "PUT", "DELETE"];
616
+ readonly accountWidePaths: readonly [readonly ["users"], readonly ["webhooks"], readonly ["webhook-dispatches"], readonly ["env-vars"]];
617
+ readonly hint: "The API token from Apify Console, Settings > API & Integrations; the Gateway sends it as a bearer token. Reading Actors, runs and datasets needs read; starting a run is a POST, so it needs write.";
618
+ readonly secrets: readonly [{
619
+ readonly name: "APIFY_API_TOKEN";
620
+ readonly hint: "The API token under Settings > API & Integrations in Apify Console.";
621
+ }];
622
+ readonly smoke: {
623
+ readonly method: "GET";
624
+ readonly path: "/v2/users/me";
625
+ readonly expect: readonly [200];
626
+ readonly free: true;
627
+ readonly note: "The docs' verify call; account-wide, so the Gateway refuses it for apps: run it from the person's terminal.";
628
+ };
629
+ readonly rate: {
630
+ readonly perSecond: 60;
631
+ readonly note: "60 requests per second per resource (one Actor, run, dataset or store); 250,000 requests per minute per user overall.";
632
+ };
633
+ readonly example: "run the Google Maps scraper Actor for coffee shops in Austin and list the results";
634
+ readonly verified: {
635
+ readonly on: "2026-10-25";
636
+ readonly how: "docs";
637
+ };
638
+ readonly tags: readonly ["scrape", "automation"];
639
+ };
640
+ readonly deepgram: {
641
+ readonly mode: "api_key";
642
+ readonly label: "Deepgram";
643
+ readonly description: "Speech to text, text to speech and text analysis.";
644
+ readonly auth: {
645
+ readonly kind: "bearer";
646
+ readonly secret: "DEEPGRAM_API_KEY";
647
+ readonly scheme: "Token";
648
+ };
649
+ readonly docs: "https://console.deepgram.com/";
650
+ readonly api: "https://developers.deepgram.com/reference/deepgram-api-overview";
651
+ readonly hosts: readonly ["api.deepgram.com", "api.eu.deepgram.com", "api.au.deepgram.com", "api.in.deepgram.com"];
652
+ readonly data: "per-call";
653
+ readonly access: readonly ["read"];
654
+ readonly readMethods: readonly ["GET", "POST"];
655
+ readonly accountWidePaths: readonly [readonly ["projects"], readonly ["auth", "grant"]];
656
+ readonly hint: "An API key from the Deepgram Console; the Gateway sends it as Authorization: Token <key>, and the EU, Australia and India hosts take the same key. Transcription (/v1/listen), speech (/v1/speak) and text analysis (/v1/read) are POSTs.";
657
+ readonly secrets: readonly [{
658
+ readonly name: "DEEPGRAM_API_KEY";
659
+ readonly hint: "A project API key created in the Deepgram Console.";
660
+ }];
661
+ readonly smoke: {
662
+ readonly method: "GET";
663
+ readonly path: "/v1/models";
664
+ readonly expect: readonly [200];
665
+ readonly free: true;
666
+ readonly note: "Lists the public models; it needs the key and processes no audio.";
667
+ };
668
+ readonly cost: {
669
+ readonly unit: "call";
670
+ readonly note: "Nova-3 pre-recorded $0.0043 per audio minute (pay as you go); Aura-2 speech $0.030 per 1k characters; $200 free credit.";
671
+ };
672
+ readonly rate: {
673
+ readonly note: "Concurrency per project on pay as you go: 50 pre-recorded transcriptions, 15 text-to-speech requests.";
674
+ };
675
+ readonly example: "transcribe this podcast episode and label the speakers";
676
+ readonly verified: {
677
+ readonly on: "2026-10-25";
678
+ readonly how: "docs";
679
+ };
680
+ readonly tags: readonly ["speech", "transcription"];
681
+ };
682
+ readonly elevenlabs: {
683
+ readonly mode: "api_key";
684
+ readonly label: "ElevenLabs";
685
+ readonly description: "Text to speech, speech to text, sound effects, music and voice changing.";
686
+ readonly auth: {
687
+ readonly kind: "header";
688
+ readonly secret: "ELEVENLABS_API_KEY";
689
+ readonly header: "xi-api-key";
690
+ };
691
+ readonly docs: "https://elevenlabs.io/app/settings/api-keys";
692
+ readonly api: "https://elevenlabs.io/docs/api-reference/introduction";
693
+ readonly hosts: readonly ["api.elevenlabs.io"];
694
+ readonly data: "per-call";
695
+ readonly access: readonly ["read"];
696
+ readonly readMethods: readonly ["GET", "POST"];
697
+ readonly accountWidePaths: readonly [readonly ["v1", "user"], readonly ["v1", "usage"], readonly ["v1", "workspace"], readonly ["v1", "workspaces"], readonly ["v1", "service-accounts"], readonly ["v1", "history"], readonly ["v1", "single-use-token"], readonly ["v1", "convai"], readonly ["v1", "dubbing"], readonly ["v1", "studio"], readonly ["v1", "pronunciation-dictionaries"], readonly ["v1", "voices", "add"], readonly ["v1", "voices", "pvc"], readonly ["v1", "voices", "collections"], readonly ["edit"], readonly ["replicate-to-isolated-environment"], readonly ["v1", "text-to-voice"], readonly ["v1", "audio-native"], readonly ["v1", "productions"], readonly ["v1", "speech-engine"], readonly ["v1", "music", "finetunes"], readonly ["v1", "flows"], readonly ["v1", "assets"], readonly ["v1", "audio-isolation", "history"]];
698
+ readonly hint: "An API key from ElevenLabs' API keys page; the Gateway sends it in the xi-api-key header. Speech, transcription and sound generation are POSTs; listing voices and models are GETs.";
699
+ readonly secrets: readonly [{
700
+ readonly name: "ELEVENLABS_API_KEY";
701
+ readonly hint: "An API key from ElevenLabs' API keys page; it can be scoped to the endpoints the app uses and given a credit cap.";
702
+ }];
703
+ readonly smoke: {
704
+ readonly method: "GET";
705
+ readonly path: "/v1/models";
706
+ readonly expect: readonly [200];
707
+ readonly free: true;
708
+ readonly note: "The first request in ElevenLabs' authentication docs; it generates nothing.";
709
+ };
710
+ readonly example: "read this paragraph aloud in a calm narrator voice";
711
+ readonly verified: {
712
+ readonly on: "2026-10-25";
713
+ readonly how: "docs";
714
+ };
715
+ readonly tags: readonly ["speech", "audio"];
716
+ };
717
+ readonly assemblyai: {
718
+ readonly mode: "api_key";
719
+ readonly label: "AssemblyAI";
720
+ readonly description: "Transcribes recorded audio and video, with speaker labels, redaction and subtitles.";
721
+ readonly auth: {
722
+ readonly kind: "header";
723
+ readonly secret: "ASSEMBLYAI_API_KEY";
724
+ readonly header: "Authorization";
725
+ };
726
+ readonly docs: "https://www.assemblyai.com/dashboard/home";
727
+ readonly api: "https://www.assemblyai.com/docs";
728
+ readonly hosts: readonly ["api.assemblyai.com", "api.eu.assemblyai.com"];
729
+ readonly data: "account";
730
+ readonly access: readonly ["read", "write"];
731
+ readonly readMethods: readonly ["GET", "POST"];
732
+ readonly writeMethods: readonly ["DELETE"];
733
+ readonly accountWidePaths: readonly [];
734
+ readonly hint: "The API key from your AssemblyAI dashboard; the Gateway sends it as the whole Authorization header, with no Bearer word. Audio is submitted with a POST to /v2/transcript and the app polls GET /v2/transcript/<id>; deleting a transcript needs write.";
735
+ readonly secrets: readonly [{
736
+ readonly name: "ASSEMBLYAI_API_KEY";
737
+ readonly hint: "The API key on your AssemblyAI dashboard.";
738
+ }];
739
+ readonly smoke: {
740
+ readonly method: "GET";
741
+ readonly path: "/v2/transcript?limit=1";
742
+ readonly expect: readonly [200];
743
+ readonly free: true;
744
+ readonly note: "Lists the account's latest transcript; it transcribes nothing.";
745
+ };
746
+ readonly cost: {
747
+ readonly unit: "call";
748
+ readonly note: "Per hour of audio submitted: Universal-3.5 Pro $0.21, Universal-2 $0.15; the free tier covers up to 185 hours of pre-recorded audio.";
749
+ };
750
+ readonly rate: {
751
+ readonly perMinute: 4000;
752
+ readonly note: "20,000 requests per 5 minutes per account; 5 transcriptions in parallel on free accounts, 200 or more on paid.";
753
+ };
754
+ readonly example: "transcribe this sales call recording with speaker labels";
755
+ readonly verified: {
756
+ readonly on: "2026-10-25";
757
+ readonly how: "docs";
758
+ };
759
+ readonly tags: readonly ["speech", "transcription"];
760
+ };
761
+ readonly newsapi: {
762
+ readonly mode: "api_key";
763
+ readonly label: "NewsAPI";
764
+ readonly description: "Searches news articles and live headlines from over 150,000 sources.";
765
+ readonly auth: {
766
+ readonly kind: "header";
767
+ readonly secret: "NEWSAPI_API_KEY";
768
+ readonly header: "X-Api-Key";
769
+ };
770
+ readonly docs: "https://newsapi.org/register";
771
+ readonly api: "https://newsapi.org/docs";
772
+ readonly hosts: readonly ["newsapi.org"];
773
+ readonly data: "per-call";
774
+ readonly access: readonly ["read"];
775
+ readonly readMethods: readonly ["GET"];
776
+ readonly accountWidePaths: readonly [];
777
+ readonly hint: "An API key from newsapi.org/register; the Gateway sends it in the X-Api-Key header. The free Developer plan allows 100 requests a day, delays articles by 24 hours and is for development only; production needs a paid plan.";
778
+ readonly secrets: readonly [{
779
+ readonly name: "NEWSAPI_API_KEY";
780
+ readonly hint: "The API key NewsAPI shows after you register.";
781
+ }];
782
+ readonly cost: {
783
+ readonly unit: "call";
784
+ readonly usd: 0.0018;
785
+ readonly note: "Developer plan free (100 requests a day, development only); Business $449 a month for 250,000 requests, then $0.0018 each.";
786
+ };
787
+ readonly rate: {
788
+ readonly perDay: 100;
789
+ readonly note: "Developer plan; Business includes 250,000 requests a month, Advanced 2,000,000.";
790
+ };
791
+ readonly example: "find today's top business headlines in the US";
792
+ readonly verified: {
793
+ readonly on: "2026-10-25";
794
+ readonly how: "docs";
795
+ };
796
+ readonly tags: readonly ["news"];
797
+ };
798
+ readonly anthropic: {
799
+ readonly mode: "ai";
800
+ readonly label: "Anthropic";
801
+ readonly description: "Claude models through the Messages API.";
802
+ readonly auth: {
803
+ readonly kind: "bearer";
804
+ readonly secret: "ANTHROPIC_API_KEY";
805
+ };
806
+ readonly docs: "https://platform.claude.com/settings/keys";
807
+ readonly api: "https://platform.claude.com/docs/en/api/overview";
808
+ readonly origin: "https://api.anthropic.com";
809
+ readonly inferenceRoutes: readonly ["/v1/messages", "/v1/messages/count_tokens", "/v1/chat/completions"];
810
+ readonly unstoredRoutes: readonly ["/v1/chat/completions"];
811
+ readonly shape: "anthropic";
812
+ readonly chat: {
813
+ readonly path: "/v1/chat/completions";
814
+ readonly seedModel: "claude-haiku-5-5";
815
+ };
816
+ readonly aig: {
817
+ readonly slug: "anthropic";
818
+ };
819
+ readonly hint: "An API key from the Claude Console's API keys page; the Gateway sends it as a bearer token. Apps send the anthropic-version header themselves.";
820
+ readonly secrets: readonly [{
821
+ readonly name: "ANTHROPIC_API_KEY";
822
+ readonly hint: "A key scoped to one workspace; the Gateway strips any anthropic-workspace-id header an app sends, so the key alone decides the workspace.";
823
+ }];
824
+ readonly smoke: {
825
+ readonly method: "GET";
826
+ readonly path: "/v1/models";
827
+ readonly expect: readonly [200];
828
+ readonly free: true;
829
+ readonly note: "Send an anthropic-version header, as every call does.";
830
+ };
831
+ readonly rate: {
832
+ readonly note: "Requests and tokens per minute by usage tier, on the Console's Rate limits page; token counting is free, with its own per-minute limit.";
833
+ };
834
+ readonly example: "summarize this support thread in three bullet points";
835
+ readonly verified: {
836
+ readonly on: "2026-10-25";
837
+ readonly how: "docs";
838
+ };
839
+ readonly tags: readonly ["ai", "llm"];
840
+ };
841
+ readonly gemini: {
842
+ readonly mode: "ai";
843
+ readonly label: "Google Gemini";
844
+ readonly description: "Google's Gemini models through their OpenAI-compatible endpoint: chat, embeddings, images.";
845
+ readonly auth: {
846
+ readonly kind: "bearer";
847
+ readonly secret: "GEMINI_API_KEY";
848
+ };
849
+ readonly docs: "https://aistudio.google.com/apikey";
850
+ readonly api: "https://ai.google.dev/gemini-api/docs/openai";
851
+ readonly origin: "https://generativelanguage.googleapis.com";
852
+ readonly inferenceRoutes: readonly ["/v1beta/openai/chat/completions", "/v1beta/openai/embeddings", "/v1beta/openai/images/generations"];
853
+ readonly chat: {
854
+ readonly path: "/v1beta/openai/chat/completions";
855
+ readonly seedModel: "gemini-3.1-flash-lite";
856
+ };
857
+ readonly embeddings: {
858
+ readonly path: "/v1beta/openai/embeddings";
859
+ readonly seedModel: "gemini-embedding-001";
860
+ };
861
+ readonly hint: "An API key from Google AI Studio; the Gateway sends it as a bearer token. Apps call Gemini's OpenAI-shaped paths under /v1beta/openai.";
862
+ readonly secrets: readonly [{
863
+ readonly name: "GEMINI_API_KEY";
864
+ readonly hint: "A Google AI Studio key restricted to the Gemini API only.";
865
+ }];
866
+ readonly smoke: {
867
+ readonly method: "GET";
868
+ readonly path: "/v1beta/openai/models";
869
+ readonly expect: readonly [200];
870
+ readonly free: true;
871
+ };
872
+ readonly rate: {
873
+ readonly note: "Per project, not per key: requests and tokens per minute and requests per day, by tier (Free, then Tiers 1 to 3).";
874
+ };
875
+ readonly example: "describe what is in this product photo";
876
+ readonly verified: {
877
+ readonly on: "2026-10-25";
878
+ readonly how: "docs";
879
+ };
880
+ readonly tags: readonly ["ai", "llm", "embeddings", "images"];
881
+ };
882
+ readonly mistral: {
883
+ readonly mode: "ai";
884
+ readonly label: "Mistral AI";
885
+ readonly description: "Mistral's models: chat, code completion, embeddings, moderation, OCR, speech.";
886
+ readonly auth: {
887
+ readonly kind: "bearer";
888
+ readonly secret: "MISTRAL_API_KEY";
889
+ };
890
+ readonly docs: "https://console.mistral.ai";
891
+ readonly api: "https://docs.mistral.ai/api/";
892
+ readonly origin: "https://api.mistral.ai";
893
+ readonly inferenceRoutes: readonly ["/v1/chat/completions", "/v1/fim/completions", "/v1/embeddings", "/v1/moderations", "/v1/chat/moderations", "/v1/classifications", "/v1/chat/classifications", "/v1/ocr", "/v1/audio/transcriptions", "/v1/audio/speech"];
894
+ readonly chat: {
895
+ readonly path: "/v1/chat/completions";
896
+ readonly seedModel: "mistral-small-latest";
897
+ };
898
+ readonly embeddings: {
899
+ readonly path: "/v1/embeddings";
900
+ readonly seedModel: "mistral-embed";
901
+ };
902
+ readonly aig: {
903
+ readonly slug: "mistral";
904
+ };
905
+ readonly hint: "An API key from API Keys in the Mistral Studio console; the Gateway sends it as a bearer token. Free mode needs no card; usage and rate limits apply.";
906
+ readonly secrets: readonly [{
907
+ readonly name: "MISTRAL_API_KEY";
908
+ readonly hint: "A key from API Keys in the Studio console, with an expiry date.";
909
+ }];
910
+ readonly smoke: {
911
+ readonly method: "GET";
912
+ readonly path: "/v1/models";
913
+ readonly expect: readonly [200];
914
+ readonly free: true;
915
+ };
916
+ readonly example: "extract the text from this scanned invoice";
917
+ readonly verified: {
918
+ readonly on: "2026-10-25";
919
+ readonly how: "docs";
920
+ };
921
+ readonly tags: readonly ["ai", "llm", "ocr", "embeddings"];
922
+ };
923
+ readonly groq: {
924
+ readonly mode: "ai";
925
+ readonly label: "Groq";
926
+ readonly description: "Open models on Groq through OpenAI's API shape: chat, responses, transcription, speech.";
927
+ readonly auth: {
928
+ readonly kind: "bearer";
929
+ readonly secret: "GROQ_API_KEY";
930
+ };
931
+ readonly docs: "https://console.groq.com/keys";
932
+ readonly api: "https://console.groq.com/docs/api-reference";
933
+ readonly origin: "https://api.groq.com";
934
+ readonly inferenceRoutes: readonly ["/openai/v1/chat/completions", "/openai/v1/responses", "/openai/v1/audio/transcriptions", "/openai/v1/audio/translations", "/openai/v1/audio/speech"];
935
+ readonly chat: {
936
+ readonly path: "/openai/v1/chat/completions";
937
+ readonly seedModel: "openai/gpt-oss-20b";
938
+ };
939
+ readonly aig: {
940
+ readonly slug: "groq";
941
+ readonly trim: "/openai/v1";
942
+ };
943
+ readonly hint: "An API key from the Groq console; the Gateway sends it as a bearer token. Apps call the OpenAI-shaped paths under /openai/v1.";
944
+ readonly secrets: readonly [{
945
+ readonly name: "GROQ_API_KEY";
946
+ readonly hint: "A key from the API Keys page of the Groq console.";
947
+ }];
948
+ readonly smoke: {
949
+ readonly method: "GET";
950
+ readonly path: "/openai/v1/models";
951
+ readonly expect: readonly [200];
952
+ readonly free: true;
953
+ };
954
+ readonly rate: {
955
+ readonly note: "Requests and tokens per minute and per day, per model and plan, for the whole organization; the console Limits page shows them.";
956
+ };
957
+ readonly example: "transcribe this voice memo";
958
+ readonly verified: {
959
+ readonly on: "2026-10-25";
960
+ readonly how: "docs";
961
+ };
962
+ readonly tags: readonly ["ai", "llm", "speech"];
963
+ };
964
+ readonly cohere: {
965
+ readonly mode: "ai";
966
+ readonly label: "Cohere";
967
+ readonly description: "Cohere's models: chat, embeddings, reranking, classification, transcription, document parsing.";
968
+ readonly auth: {
969
+ readonly kind: "bearer";
970
+ readonly secret: "COHERE_API_KEY";
971
+ };
972
+ readonly docs: "https://dashboard.cohere.com/api-keys";
973
+ readonly api: "https://docs.cohere.com/reference/about";
974
+ readonly origin: "https://api.cohere.com";
975
+ readonly inferenceRoutes: readonly ["/v2/chat", "/v2/embed", "/v2/rerank", "/v1/classify", "/v2/audio/transcriptions", "/v2/parse", "/v1/tokenize", "/v1/detokenize"];
976
+ readonly shape: "other";
977
+ readonly hint: "An API key from the Cohere dashboard; the Gateway sends it as a bearer token. Trial keys are free and limited; production keys are paid.";
978
+ readonly secrets: readonly [{
979
+ readonly name: "COHERE_API_KEY";
980
+ readonly hint: "A production key; a trial key is limited to 1,000 calls a month.";
981
+ }];
982
+ readonly smoke: {
983
+ readonly method: "GET";
984
+ readonly path: "/v1/models";
985
+ readonly expect: readonly [200];
986
+ readonly free: true;
987
+ };
988
+ readonly rate: {
989
+ readonly note: "Production: 500 calls a minute for Command A chat and most endpoints, rerank 1,000. Trial: 20 chat calls a minute, 1,000 calls a month.";
990
+ };
991
+ readonly example: "rerank these search results for the query refund policy";
992
+ readonly verified: {
993
+ readonly on: "2026-10-25";
994
+ readonly how: "docs";
995
+ };
996
+ readonly tags: readonly ["ai", "llm", "embeddings", "rerank"];
997
+ };
998
+ readonly voyage: {
999
+ readonly mode: "api_key";
1000
+ readonly label: "Voyage AI";
1001
+ readonly description: "Embeddings and rerankers for search and retrieval: text, code, multimodal, contextualized chunks.";
1002
+ readonly auth: {
1003
+ readonly kind: "bearer";
1004
+ readonly secret: "VOYAGE_API_KEY";
1005
+ };
1006
+ readonly docs: "https://dashboard.voyageai.com/organization/api-keys";
1007
+ readonly api: "https://docs.voyageai.com/reference/embeddings-api";
1008
+ readonly hosts: readonly ["api.voyageai.com"];
1009
+ readonly data: "per-call";
1010
+ readonly access: readonly ["read"];
1011
+ readonly readMethods: readonly ["POST"];
1012
+ readonly accountWidePaths: readonly [readonly ["v1", "files"], readonly ["v1", "batches"]];
1013
+ readonly hint: "A secret key from the Voyage dashboard; the Gateway sends it as a bearer token. Apps POST to /v1/embeddings, /v1/multimodalembeddings, /v1/contextualizedembeddings and /v1/rerank.";
1014
+ readonly secrets: readonly [{
1015
+ readonly name: "VOYAGE_API_KEY";
1016
+ readonly hint: "A secret key from API keys in the Voyage dashboard.";
1017
+ }];
1018
+ readonly smoke: {
1019
+ readonly method: "GET";
1020
+ readonly path: "/v1/batches";
1021
+ readonly expect: readonly [200];
1022
+ readonly free: true;
1023
+ readonly note: "Lists the organization's batches, so the Gateway refuses it for apps; run it from the person's terminal.";
1024
+ };
1025
+ readonly cost: {
1026
+ readonly unit: "token";
1027
+ readonly note: "voyage-4 $0.06 per million tokens; the first 200 million tokens of the voyage-4 family are free per account.";
1028
+ };
1029
+ readonly rate: {
1030
+ readonly perMinute: 2000;
1031
+ readonly note: "2,000 requests a minute at tier 1, doubled at tier 2, tripled at tier 3; tokens per minute vary by model.";
1032
+ };
1033
+ readonly example: "embed these product descriptions for semantic search";
1034
+ readonly verified: {
1035
+ readonly on: "2026-10-25";
1036
+ readonly how: "docs";
1037
+ };
1038
+ readonly tags: readonly ["embeddings", "rerank", "search"];
1039
+ };
1040
+ readonly perplexity: {
1041
+ readonly mode: "api_key";
1042
+ readonly label: "Perplexity";
1043
+ readonly description: "Web-grounded answers from the Agent API, raw web search results, and embeddings.";
1044
+ readonly auth: {
1045
+ readonly kind: "bearer";
1046
+ readonly secret: "PERPLEXITY_API_KEY";
1047
+ };
1048
+ readonly docs: "https://console.perplexity.ai/project/keys";
1049
+ readonly api: "https://docs.perplexity.ai/api-reference/agent-post";
1050
+ readonly hosts: readonly ["api.perplexity.ai"];
1051
+ readonly data: "per-call";
1052
+ readonly access: readonly ["read"];
1053
+ readonly readMethods: readonly ["GET", "POST"];
1054
+ readonly accountWidePaths: readonly [readonly ["v1", "batches"], readonly ["v1", "files"], readonly ["v1", "skills"], readonly ["v1", "analytics"], readonly ["v2", "analytics"], readonly ["generate_auth_token"], readonly ["revoke_auth_token"]];
1055
+ readonly hint: "An API key from the Perplexity console; the Gateway sends it as a bearer token. Apps POST to /v1/agent for researched answers and /search for result lists, and GET /v1/agent/{id} to poll a background run.";
1056
+ readonly secrets: readonly [{
1057
+ readonly name: "PERPLEXITY_API_KEY";
1058
+ readonly hint: "An API key from the project's API keys page in the Perplexity console.";
1059
+ }];
1060
+ readonly smoke: {
1061
+ readonly method: "GET";
1062
+ readonly path: "/orchestrator/v1/models";
1063
+ readonly expect: readonly [200];
1064
+ readonly free: true;
1065
+ };
1066
+ readonly cost: {
1067
+ readonly unit: "token";
1068
+ readonly note: "Agent API per token plus tool fees (web_search $0.0025 a call); Search API $5 per 1,000 requests.";
1069
+ };
1070
+ readonly example: "research the latest pricing changes from our three main competitors";
1071
+ readonly verified: {
1072
+ readonly on: "2026-10-25";
1073
+ readonly how: "docs";
1074
+ };
1075
+ readonly tags: readonly ["search", "ai", "research"];
1076
+ };
1077
+ readonly jina: {
1078
+ readonly mode: "api_key";
1079
+ readonly label: "Jina AI";
1080
+ readonly description: "Reads web pages as Markdown, searches the web, and embeds and reranks text and images.";
1081
+ readonly auth: {
1082
+ readonly kind: "bearer";
1083
+ readonly secret: "JINA_API_KEY";
1084
+ };
1085
+ readonly docs: "https://jina.ai/api-dashboard/key-manager";
1086
+ readonly api: "https://docs.jina.ai/";
1087
+ readonly hosts: readonly ["api.jina.ai", "r.jina.ai", "s.jina.ai"];
1088
+ readonly data: "per-call";
1089
+ readonly access: readonly ["read"];
1090
+ readonly readMethods: readonly ["GET", "POST"];
1091
+ readonly accountWidePaths: readonly [readonly ["v1", "batches"], readonly ["echo"]];
1092
+ readonly hint: "An API key from the Jina API dashboard; the Gateway sends it as a bearer token. Reader is r.jina.ai (POST {\"url\": ...}), Search is s.jina.ai, and embeddings and rerank are on api.jina.ai.";
1093
+ readonly secrets: readonly [{
1094
+ readonly name: "JINA_API_KEY";
1095
+ readonly hint: "A key starting jina_, from Manage API Key in the Jina API dashboard.";
1096
+ }];
1097
+ readonly smoke: {
1098
+ readonly method: "GET";
1099
+ readonly host: "api.jina.ai";
1100
+ readonly path: "/v1/batches";
1101
+ readonly expect: readonly [200];
1102
+ readonly free: true;
1103
+ readonly note: "Lists the account's batch jobs, so the Gateway refuses it for apps; run it from the person's terminal.";
1104
+ };
1105
+ readonly cost: {
1106
+ readonly unit: "token";
1107
+ readonly note: "Billed in tokens against the account balance; GET /v1/models lists each model's price.";
1108
+ };
1109
+ readonly rate: {
1110
+ readonly note: "Reader 500 requests a minute, Search 100, embeddings and rerank 500; premium keys get ten times more.";
1111
+ };
1112
+ readonly example: "read this article as Markdown and pull out the key claims";
1113
+ readonly verified: {
1114
+ readonly on: "2026-10-25";
1115
+ readonly how: "docs";
1116
+ };
1117
+ readonly tags: readonly ["scrape", "search", "embeddings", "rerank"];
1118
+ };
1119
+ readonly replicate: {
1120
+ readonly mode: "api_key";
1121
+ readonly label: "Replicate";
1122
+ readonly description: "Runs open-source and official models by API: images, video, audio and language.";
1123
+ readonly auth: {
1124
+ readonly kind: "bearer";
1125
+ readonly secret: "REPLICATE_API_TOKEN";
1126
+ };
1127
+ readonly docs: "https://replicate.com/account/api-tokens";
1128
+ readonly api: "https://replicate.com/docs/reference/http";
1129
+ readonly hosts: readonly ["api.replicate.com"];
1130
+ readonly data: "per-call";
1131
+ readonly access: readonly ["read"];
1132
+ readonly readMethods: readonly ["POST"];
1133
+ readonly accountWidePaths: readonly [readonly ["v1", "account"], readonly ["v1", "deployments"], readonly ["v1", "files"], readonly ["v1", "webhooks"], readonly ["trainings"]];
1134
+ readonly hint: "An API token from Replicate's API tokens page; the Gateway sends it as a bearer token. Apps POST to /v1/models/{owner}/{name}/predictions or /v1/predictions with Prefer: wait (up to 60 seconds), or pass a webhook URL for longer runs.";
1135
+ readonly secrets: readonly [{
1136
+ readonly name: "REPLICATE_API_TOKEN";
1137
+ readonly hint: "An API token from the API tokens page of the Replicate account.";
1138
+ }];
1139
+ readonly smoke: {
1140
+ readonly method: "GET";
1141
+ readonly path: "/v1/account";
1142
+ readonly expect: readonly [200];
1143
+ readonly free: true;
1144
+ readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
1145
+ };
1146
+ readonly rate: {
1147
+ readonly perMinute: 600;
1148
+ readonly note: "Creating predictions 600 a minute; every other endpoint 3,000 a minute.";
1149
+ };
1150
+ readonly example: "generate a product photo of a ceramic mug on a wooden table";
1151
+ readonly verified: {
1152
+ readonly on: "2026-10-25";
1153
+ readonly how: "docs";
1154
+ };
1155
+ readonly tags: readonly ["ai", "images", "video", "audio"];
1156
+ };
1157
+ readonly huggingface: {
1158
+ readonly mode: "api_key";
1159
+ readonly label: "Hugging Face Inference";
1160
+ readonly description: "Open models from Hugging Face's inference providers through one router: chat, embeddings, images, speech.";
1161
+ readonly auth: {
1162
+ readonly kind: "bearer";
1163
+ readonly secret: "HUGGINGFACE_API_TOKEN";
1164
+ };
1165
+ readonly docs: "https://huggingface.co/settings/tokens/new?ownUserPermissions=inference.serverless.write&tokenType=fineGrained";
1166
+ readonly api: "https://huggingface.co/docs/inference-providers/index";
1167
+ readonly hosts: readonly ["router.huggingface.co"];
1168
+ readonly data: "per-call";
1169
+ readonly access: readonly ["read"];
1170
+ readonly readMethods: readonly ["GET", "POST"];
1171
+ readonly accountWidePaths: readonly [];
1172
+ readonly hint: "A fine-grained access token from Hugging Face settings with the Inference Providers permission; the Gateway sends it as a bearer token. Apps POST OpenAI-style chat to /v1/chat/completions, or other tasks under /<provider>/, such as /hf-inference/models/<model>.";
1173
+ readonly secrets: readonly [{
1174
+ readonly name: "HUGGINGFACE_API_TOKEN";
1175
+ readonly hint: "A fine-grained token with only the Make calls to Inference Providers permission.";
1176
+ }];
1177
+ readonly cost: {
1178
+ readonly unit: "call";
1179
+ readonly note: "Pay as you go at each provider's own rate with no markup; PRO accounts get $2 of compute credits a month.";
1180
+ };
1181
+ readonly example: "embed these support articles for semantic search";
1182
+ readonly verified: {
1183
+ readonly on: "2026-10-25";
1184
+ readonly how: "docs";
1185
+ };
1186
+ readonly tags: readonly ["ai", "llm", "embeddings", "images"];
1187
+ };
1188
+ readonly cloudflare: {
1189
+ readonly mode: "api_key";
1190
+ readonly label: "Cloudflare";
1191
+ readonly description: "Cloudflare's API: zones, DNS, Workers, R2, D1, KV and the rest of an account.";
1192
+ readonly auth: {
1193
+ readonly kind: "bearer";
1194
+ readonly secret: "CLOUDFLARE_PROVIDER_API_TOKEN";
1195
+ };
1196
+ readonly docs: "https://dash.cloudflare.com/profile/api-tokens";
1197
+ readonly api: "https://developers.cloudflare.com/api/";
1198
+ readonly hosts: readonly ["api.cloudflare.com"];
1199
+ readonly data: "account";
1200
+ readonly access: readonly ["read", "write"];
1201
+ readonly readMethods: readonly ["GET", "HEAD"];
1202
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1203
+ readonly accountWidePaths: readonly [readonly ["client", "v4", "user"], readonly ["client", "v4", "memberships"], readonly ["client", "v4", "organizations"], readonly ["client", "v4", "tenants"], readonly ["members"], readonly ["tokens"], readonly ["roles"], readonly ["iam"], readonly ["subscriptions"], readonly ["payment-methods"], readonly ["pay-invoice"], readonly ["receipts"], readonly ["invoices"], readonly ["client-secret"], readonly ["billing"], readonly ["logs", "audit"], readonly ["audit_logs"], readonly ["alerting", "v3", "destinations", "webhooks"], readonly ["ai", "run"], readonly ["ai", "v1"]];
1204
+ readonly hint: "An API token from My Profile > API Tokens with only the permissions the app needs; the Gateway sends it as a bearer token. A token on the Gateway's own account can read and change the Gateway, so keep it narrow or use another account.";
1205
+ readonly secrets: readonly [{
1206
+ readonly name: "CLOUDFLARE_PROVIDER_API_TOKEN";
1207
+ readonly hint: "A user or account-owned API token scoped to the zones and permissions the app needs, never a Global API Key.";
1208
+ }];
1209
+ readonly smoke: {
1210
+ readonly method: "GET";
1211
+ readonly path: "/client/v4/user/tokens/verify";
1212
+ readonly expect: readonly [200];
1213
+ readonly free: true;
1214
+ readonly note: "For a user token; account-owned tokens use /client/v4/accounts/<id>/tokens/verify. Account-wide, so run it from the person's terminal.";
1215
+ };
1216
+ readonly rate: {
1217
+ readonly note: "1,200 requests per 5 minutes per user or account token; 200 a second per IP; GraphQL by query cost, at most 320 per 5 minutes.";
1218
+ };
1219
+ readonly example: "list the DNS records for my domain";
1220
+ readonly verified: {
1221
+ readonly on: "2026-10-25";
1222
+ readonly how: "docs";
1223
+ };
1224
+ readonly tags: readonly ["infrastructure", "dns", "hosting"];
1225
+ };
1226
+ readonly posthog: {
1227
+ readonly mode: "api_key";
1228
+ readonly label: "PostHog";
1229
+ readonly description: "Product analytics: insights, feature flags, persons, cohorts, experiments and HogQL queries.";
1230
+ readonly auth: {
1231
+ readonly kind: "bearer";
1232
+ readonly secret: "POSTHOG_PERSONAL_API_KEY";
1233
+ };
1234
+ readonly docs: "https://us.posthog.com/settings/user-api-keys";
1235
+ readonly api: "https://posthog.com/docs/api";
1236
+ readonly hosts: readonly ["us.posthog.com", "eu.posthog.com"];
1237
+ readonly data: "account";
1238
+ readonly access: readonly ["read", "write"];
1239
+ readonly readMethods: readonly ["GET", "HEAD"];
1240
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1241
+ readonly accountWidePaths: readonly [readonly ["api", "users"], readonly ["api", "user"], readonly ["api", "organizations"], readonly ["api", "billing"], readonly ["api", "revoke_leaked_key"], readonly ["project_secret_api_keys"], readonly ["billing"], readonly ["activity_log"], readonly ["advanced_activity_logs"], readonly ["hog_functions"], readonly ["batch_exports"], readonly ["integrations"]];
1242
+ readonly hint: "A personal API key from Settings > Personal API keys, with only the scopes the app needs; the Gateway sends it as a bearer token to us.posthog.com or eu.posthog.com. HogQL queries are POSTs, so an app that runs them asks for write.";
1243
+ readonly secrets: readonly [{
1244
+ readonly name: "POSTHOG_PERSONAL_API_KEY";
1245
+ readonly hint: "A personal API key (phx_...) with only the scopes the app needs, from the region the project lives in; never the project token.";
1246
+ }];
1247
+ readonly smoke: {
1248
+ readonly method: "GET";
1249
+ readonly host: "us.posthog.com";
1250
+ readonly path: "/api/users/@me/";
1251
+ readonly expect: readonly [200];
1252
+ readonly free: true;
1253
+ readonly note: "Needs the user:read scope; use eu.posthog.com for an EU project. Account-wide, so run it from the person's terminal.";
1254
+ };
1255
+ readonly rate: {
1256
+ readonly perMinute: 480;
1257
+ readonly note: "Create, read, update and delete endpoints 480 a minute and 4,800 an hour; analytics endpoints 240 a minute; the query endpoint 2,400 an hour.";
1258
+ };
1259
+ readonly example: "list the feature flags in my project and whether each is on";
1260
+ readonly verified: {
1261
+ readonly on: "2026-10-25";
1262
+ readonly how: "docs";
1263
+ };
1264
+ readonly tags: readonly ["analytics", "product", "feature-flags"];
1265
+ };
1266
+ readonly mixpanel: {
1267
+ readonly mode: "api_key";
1268
+ readonly label: "Mixpanel";
1269
+ readonly description: "Product analytics: saved reports, profiles, raw event export and event import.";
1270
+ readonly auth: {
1271
+ readonly kind: "basic";
1272
+ readonly secret: "MIXPANEL_SERVICE_ACCOUNT_SECRET";
1273
+ readonly as: "password";
1274
+ readonly user: {
1275
+ readonly secret: "MIXPANEL_SERVICE_ACCOUNT_USERNAME";
1276
+ };
1277
+ };
1278
+ readonly docs: "https://mixpanel.com/settings/org#serviceaccounts";
1279
+ readonly api: "https://docs.mixpanel.com/reference/overview";
1280
+ readonly hosts: readonly ["mixpanel.com", "eu.mixpanel.com", "in.mixpanel.com", "data.mixpanel.com", "data-eu.mixpanel.com", "data-in.mixpanel.com", "api.mixpanel.com", "api-eu.mixpanel.com", "api-in.mixpanel.com"];
1281
+ readonly data: "account";
1282
+ readonly access: readonly ["read", "write"];
1283
+ readonly readMethods: readonly ["GET", "HEAD"];
1284
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1285
+ readonly accountWidePaths: readonly [readonly ["api", "app", "me"], readonly ["api", "app", "organizations"], readonly ["service-accounts"], readonly ["data-retrievals"], readonly ["data-deletions"], readonly ["nessie"]];
1286
+ readonly hint: "A service account from Organization Settings > Service Accounts; the Gateway sends its username and secret as HTTP Basic. Most calls also need the project_id parameter, and an EU or India project uses its own hosts.";
1287
+ readonly secrets: readonly [{
1288
+ readonly name: "MIXPANEL_SERVICE_ACCOUNT_USERNAME";
1289
+ readonly hint: "The service account's username, shown when it is created in Organization Settings > Service Accounts.";
1290
+ }, {
1291
+ readonly name: "MIXPANEL_SERVICE_ACCOUNT_SECRET";
1292
+ readonly hint: "The service account's secret, shown once when it is created; give the account the narrowest role and only the projects the app needs.";
1293
+ }];
1294
+ readonly smoke: {
1295
+ readonly method: "GET";
1296
+ readonly host: "mixpanel.com";
1297
+ readonly path: "/api/app/me";
1298
+ readonly expect: readonly [200];
1299
+ readonly free: true;
1300
+ readonly note: "Lists the organizations and projects the service account reaches. Account-wide, so run it from the person's terminal.";
1301
+ };
1302
+ readonly rate: {
1303
+ readonly note: "Per project: Query API 60 queries an hour, 5 at once; Raw Data Export 60 an hour, 3 a second, 100 at once; ingestion about 2 GB a minute.";
1304
+ };
1305
+ readonly example: "pull last week's numbers from my saved Insights report";
1306
+ readonly verified: {
1307
+ readonly on: "2026-10-25";
1308
+ readonly how: "docs";
1309
+ };
1310
+ readonly tags: readonly ["analytics", "product"];
1311
+ };
1312
+ readonly segment: {
1313
+ readonly mode: "api_key";
1314
+ readonly label: "Segment";
1315
+ readonly description: "Sends identify, track, page, group and alias events to a Segment source.";
1316
+ readonly auth: {
1317
+ readonly kind: "basic";
1318
+ readonly secret: "SEGMENT_WRITE_KEY";
1319
+ readonly as: "username";
1320
+ };
1321
+ readonly docs: "https://www.twilio.com/docs/segment/connections/find-writekey";
1322
+ readonly api: "https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/server/http-api";
1323
+ readonly hosts: readonly ["api.segment.io", "events.eu1.segmentapis.com"];
1324
+ readonly data: "account";
1325
+ readonly access: readonly ["write"];
1326
+ readonly readMethods: readonly [];
1327
+ readonly writeMethods: readonly ["POST"];
1328
+ readonly accountWidePaths: readonly [];
1329
+ readonly hint: "The write key of an HTTP API source, from the source's Settings > API Keys; the Gateway sends it as the Basic username with an empty password. It only sends events; an EU workspace uses events.eu1.segmentapis.com.";
1330
+ readonly secrets: readonly [{
1331
+ readonly name: "SEGMENT_WRITE_KEY";
1332
+ readonly hint: "The write key of an HTTP API source, from the source's Settings > API Keys.";
1333
+ }];
1334
+ readonly rate: {
1335
+ readonly perSecond: 1000;
1336
+ readonly note: "Recommended ceiling per workspace; 32 KB per call, 500 KB and 2,500 events per batch.";
1337
+ };
1338
+ readonly example: "record a Signed Up event for a new user";
1339
+ readonly verified: {
1340
+ readonly on: "2026-10-25";
1341
+ readonly how: "docs";
1342
+ };
1343
+ readonly tags: readonly ["analytics", "events", "cdp"];
1344
+ };
1345
+ readonly supabase: {
1346
+ readonly mode: "api_key";
1347
+ readonly label: "Supabase";
1348
+ readonly description: "A Supabase project's Postgres REST API and Storage, with its secret key.";
1349
+ readonly auth: {
1350
+ readonly kind: "header";
1351
+ readonly secret: "SUPABASE_SECRET_KEY";
1352
+ readonly header: "apikey";
1353
+ };
1354
+ readonly docs: "https://supabase.com/dashboard/project/_/settings/api-keys";
1355
+ readonly api: "https://supabase.com/docs/guides/api";
1356
+ readonly hosts: readonly [];
1357
+ readonly hostSetting: "SUPABASE_HOST";
1358
+ readonly data: "account";
1359
+ readonly access: readonly ["read", "write"];
1360
+ readonly readMethods: readonly ["GET", "HEAD"];
1361
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1362
+ readonly accountWidePaths: readonly [readonly ["auth", "v1", "admin"], readonly ["pg"]];
1363
+ readonly hint: "A secret key (sb_secret_...) from Settings > API Keys and the project's host; the Gateway sends the key in the apikey header. The key bypasses Row Level Security, and RPC calls are POSTs, so they need write.";
1364
+ readonly secrets: readonly [{
1365
+ readonly name: "SUPABASE_SECRET_KEY";
1366
+ readonly hint: "A secret key (sb_secret_...) from Settings > API Keys, made for this Gateway alone; it bypasses Row Level Security.";
1367
+ }, {
1368
+ readonly name: "SUPABASE_HOST";
1369
+ readonly hint: "The project's host, <project-ref>.supabase.co, from the project URL.";
1370
+ }];
1371
+ readonly smoke: {
1372
+ readonly method: "GET";
1373
+ readonly path: "/rest/v1/";
1374
+ readonly expect: readonly [200];
1375
+ readonly free: true;
1376
+ readonly note: "The REST API's OpenAPI root, which only a secret key may read; sent to the host in SUPABASE_HOST.";
1377
+ };
1378
+ readonly example: "list the ten newest rows in my orders table";
1379
+ readonly verified: {
1380
+ readonly on: "2026-10-25";
1381
+ readonly how: "docs";
1382
+ };
1383
+ readonly tags: readonly ["database", "postgres", "storage"];
1384
+ };
1385
+ readonly turso: {
1386
+ readonly mode: "api_key";
1387
+ readonly label: "Turso";
1388
+ readonly description: "Turso's Platform API: databases, groups, locations and usage for one organization.";
1389
+ readonly auth: {
1390
+ readonly kind: "bearer";
1391
+ readonly secret: "TURSO_API_TOKEN";
1392
+ };
1393
+ readonly docs: "https://docs.turso.tech/api-reference/authentication";
1394
+ readonly api: "https://docs.turso.tech/api-reference/introduction";
1395
+ readonly hosts: readonly ["api.turso.tech"];
1396
+ readonly data: "account";
1397
+ readonly access: readonly ["read", "write"];
1398
+ readonly readMethods: readonly ["GET", "HEAD"];
1399
+ readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
1400
+ readonly accountWidePaths: readonly [readonly ["auth"], readonly ["api-tokens"], readonly ["members"], readonly ["invites"], readonly ["invoices"], readonly ["subscription"], readonly ["plans"], readonly ["audit-logs"], readonly ["v1", "user"]];
1401
+ readonly hint: "An organization-scoped Platform API token (turso auth api-tokens mint <name> --org <org>); the Gateway sends it as a bearer token to api.turso.tech. It manages databases and cannot query them: that is the turso-db entry.";
1402
+ readonly secrets: readonly [{
1403
+ readonly name: "TURSO_API_TOKEN";
1404
+ readonly hint: "An organization-scoped or group-scoped Platform API token from turso auth api-tokens mint <name> --org <org>; never an unrestricted one.";
1405
+ }];
1406
+ readonly smoke: {
1407
+ readonly method: "GET";
1408
+ readonly path: "/v1/auth/validate";
1409
+ readonly expect: readonly [200];
1410
+ readonly free: true;
1411
+ readonly note: "Account-wide, so run it from the person's terminal.";
1412
+ };
1413
+ readonly example: "list the databases in my Turso organization";
1414
+ readonly verified: {
1415
+ readonly on: "2026-10-25";
1416
+ readonly how: "docs";
1417
+ };
1418
+ readonly tags: readonly ["database", "sqlite"];
1419
+ };
1420
+ readonly "turso-db": {
1421
+ readonly mode: "api_key";
1422
+ readonly label: "Turso database";
1423
+ readonly description: "SQL over HTTP to one Turso database: queries, dumps and migration status.";
1424
+ readonly auth: {
1425
+ readonly kind: "bearer";
1426
+ readonly secret: "TURSO_DB_AUTH_TOKEN";
1427
+ };
1428
+ readonly docs: "https://docs.turso.tech/sdk/authorization/tokens";
1429
+ readonly api: "https://docs.turso.tech/sdk/http/reference";
1430
+ readonly hosts: readonly [];
1431
+ readonly hostSetting: "TURSO_DB_HOST";
1432
+ readonly data: "account";
1433
+ readonly access: readonly ["read", "write"];
1434
+ readonly readMethods: readonly ["GET", "HEAD"];
1435
+ readonly writeMethods: readonly ["POST"];
1436
+ readonly accountWidePaths: readonly [];
1437
+ readonly hint: "A database token (turso db tokens create <db>) and the database's HTTP host; the Gateway sends the token as a bearer token. Every query is a POST to /v2/pipeline, so an app that queries asks for write; a --read-only token keeps it to reads.";
1438
+ readonly secrets: readonly [{
1439
+ readonly name: "TURSO_DB_AUTH_TOKEN";
1440
+ readonly hint: "A database token from turso db tokens create <db>, with --read-only or fine-grained permissions when the app only reads.";
1441
+ }, {
1442
+ readonly name: "TURSO_DB_HOST";
1443
+ readonly hint: "The database's HTTP host, <db>-<org>.turso.io, from turso db show <db> --http-url.";
1444
+ }];
1445
+ readonly example: "count the rows in my users table";
1446
+ readonly verified: {
1447
+ readonly on: "2026-10-25";
1448
+ readonly how: "docs";
1449
+ };
1450
+ readonly tags: readonly ["database", "sqlite", "sql"];
1451
+ };
1452
+ readonly neon: {
1453
+ readonly mode: "api_key";
1454
+ readonly label: "Neon";
1455
+ readonly description: "Neon's management API: Postgres projects, branches, databases, roles and endpoints.";
1456
+ readonly auth: {
1457
+ readonly kind: "bearer";
1458
+ readonly secret: "NEON_API_KEY";
1459
+ };
1460
+ readonly docs: "https://neon.com/docs/manage/api-keys";
1461
+ readonly api: "https://neon.com/docs/reference/api";
1462
+ readonly hosts: readonly ["console.neon.tech"];
1463
+ readonly data: "account";
1464
+ readonly access: readonly ["read", "write"];
1465
+ readonly readMethods: readonly ["GET", "HEAD"];
1466
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1467
+ readonly accountWidePaths: readonly [readonly ["api", "v2", "auth"], readonly ["api", "v2", "organizations"], readonly ["users", "me"], readonly ["api_keys"], readonly ["members"], readonly ["invitations"], readonly ["permissions"], readonly ["transfer_requests"], readonly ["billing"], readonly ["consumption_history"], readonly ["connection_uri"], readonly ["reveal_password"], readonly ["reset_password"], readonly ["credentials"], readonly ["realtime", "secret"], readonly ["rotate_secret"], readonly ["auth", "keys"], readonly ["auth", "webhooks"], readonly ["oauth_providers"], readonly ["email_server"], readonly ["email_provider"], readonly ["auth", "plugins"]];
1468
+ readonly hint: "A project-scoped or organization API key from Settings > API keys; the Gateway sends it as a bearer token to console.neon.tech. It manages projects and branches; the database itself takes Postgres credentials, not this key.";
1469
+ readonly secrets: readonly [{
1470
+ readonly name: "NEON_API_KEY";
1471
+ readonly hint: "A project-scoped or organization API key from Settings > API keys; a project-scoped key reaches one project only.";
1472
+ }];
1473
+ readonly smoke: {
1474
+ readonly method: "GET";
1475
+ readonly path: "/api/v2/auth";
1476
+ readonly expect: readonly [200];
1477
+ readonly free: true;
1478
+ readonly note: "Says which credential and identity the key is. Account-wide, so run it from the person's terminal.";
1479
+ };
1480
+ readonly rate: {
1481
+ readonly perMinute: 700;
1482
+ readonly note: "About 11 a second, with bursts of 40 a second per route.";
1483
+ };
1484
+ readonly example: "list my Neon projects and their branches";
1485
+ readonly verified: {
1486
+ readonly on: "2026-10-25";
1487
+ readonly how: "docs";
1488
+ };
1489
+ readonly tags: readonly ["database", "postgres"];
1490
+ };
1491
+ readonly pinecone: {
1492
+ readonly mode: "api_key";
1493
+ readonly label: "Pinecone";
1494
+ readonly description: "Vector database: indexes, namespaces, vectors and documents, plus hosted embedding and rerank.";
1495
+ readonly auth: {
1496
+ readonly kind: "header";
1497
+ readonly secret: "PINECONE_API_KEY";
1498
+ readonly header: "Api-Key";
1499
+ };
1500
+ readonly docs: "https://app.pinecone.io/organizations/-/projects/-/keys";
1501
+ readonly api: "https://docs.pinecone.io/reference/api/introduction";
1502
+ readonly hosts: readonly ["api.pinecone.io"];
1503
+ readonly hostSetting: "PINECONE_HOST";
1504
+ readonly data: "account";
1505
+ readonly access: readonly ["read", "write"];
1506
+ readonly readMethods: readonly ["GET", "HEAD"];
1507
+ readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
1508
+ readonly accountWidePaths: readonly [readonly ["admin"], readonly ["api-keys"]];
1509
+ readonly hint: "An API key from the project's API keys page and the host of the index the app uses; the Gateway sends the key in the Api-Key header to api.pinecone.io and that host. Query, search, embed and rerank are POSTs, so an app that uses them asks for write.";
1510
+ readonly secrets: readonly [{
1511
+ readonly name: "PINECONE_API_KEY";
1512
+ readonly hint: "An API key from the project's API keys page in the Pinecone console.";
1513
+ }, {
1514
+ readonly name: "PINECONE_HOST";
1515
+ readonly hint: "The host of the index the app uses, <index>-<id>.svc.<env>.pinecone.io, from describe_index or the console.";
1516
+ }];
1517
+ readonly smoke: {
1518
+ readonly method: "GET";
1519
+ readonly host: "api.pinecone.io";
1520
+ readonly path: "/indexes";
1521
+ readonly expect: readonly [200];
1522
+ readonly free: true;
1523
+ readonly note: "Lists the project's indexes; the app sends X-Pinecone-Api-Version itself.";
1524
+ };
1525
+ readonly example: "list my Pinecone indexes and their dimensions";
1526
+ readonly verified: {
1527
+ readonly on: "2026-10-25";
1528
+ readonly how: "docs";
1529
+ };
1530
+ readonly tags: readonly ["vector", "database", "search"];
1531
+ };
1532
+ readonly mapbox: {
1533
+ readonly mode: "api_key";
1534
+ readonly label: "Mapbox";
1535
+ readonly description: "Maps and location: geocoding, directions, styles, tilesets and datasets.";
1536
+ readonly auth: {
1537
+ readonly kind: "query";
1538
+ readonly secret: "MAPBOX_ACCESS_TOKEN";
1539
+ readonly param: "access_token";
1540
+ };
1541
+ readonly docs: "https://console.mapbox.com/account/access-tokens/";
1542
+ readonly api: "https://docs.mapbox.com/api/overview/";
1543
+ readonly hosts: readonly ["api.mapbox.com"];
1544
+ readonly data: "account";
1545
+ readonly access: readonly ["read", "write"];
1546
+ readonly readMethods: readonly ["GET", "HEAD"];
1547
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1548
+ readonly accountWidePaths: readonly [readonly ["tokens"]];
1549
+ readonly hint: "An access token from Access tokens in the Mapbox console, with only the scopes the app needs; the Gateway adds it to every call as the access_token parameter.";
1550
+ readonly secrets: readonly [{
1551
+ readonly name: "MAPBOX_ACCESS_TOKEN";
1552
+ readonly hint: "An access token with only the scopes the app needs, from Access tokens in the Mapbox console.";
1553
+ }];
1554
+ readonly rate: {
1555
+ readonly note: "Per token and per API: Geocoding 1,000 a minute, Directions 300, Static Images 1,250; the Tokens API 100 a minute per account.";
1556
+ };
1557
+ readonly example: "turn a street address into map coordinates";
1558
+ readonly verified: {
1559
+ readonly on: "2026-10-25";
1560
+ readonly how: "docs";
1561
+ };
1562
+ readonly tags: readonly ["maps", "geocoding", "location"];
1563
+ };
1564
+ readonly openweather: {
1565
+ readonly mode: "api_key";
1566
+ readonly label: "OpenWeather";
1567
+ readonly description: "Weather data: current conditions, forecasts, One Call, history and weather map tiles.";
1568
+ readonly auth: {
1569
+ readonly kind: "query";
1570
+ readonly secret: "OPENWEATHER_API_KEY";
1571
+ readonly param: "appid";
1572
+ };
1573
+ readonly docs: "https://home.openweathermap.org/api_keys";
1574
+ readonly api: "https://openweathermap.org/api";
1575
+ readonly hosts: readonly ["api.openweathermap.org", "pro.openweathermap.org", "history.openweathermap.org", "tile.openweathermap.org", "maps.openweathermap.org"];
1576
+ readonly data: "per-call";
1577
+ readonly access: readonly ["read"];
1578
+ readonly readMethods: readonly ["GET", "HEAD"];
1579
+ readonly accountWidePaths: readonly [readonly ["data", "3", "stations"], readonly ["data", "3", "measurements"]];
1580
+ readonly hint: "An API key from the API keys tab of your OpenWeather account; the Gateway adds it to every call as the appid parameter. Paid products (hourly forecast, history, Weather Maps 2.0) need a plan that includes them.";
1581
+ readonly secrets: readonly [{
1582
+ readonly name: "OPENWEATHER_API_KEY";
1583
+ readonly hint: "An API key from the API keys tab of the OpenWeather account; a new key can take up to two hours to activate.";
1584
+ }];
1585
+ readonly smoke: {
1586
+ readonly method: "GET";
1587
+ readonly host: "api.openweathermap.org";
1588
+ readonly path: "/data/2.5/weather?lat=51.51&lon=-0.13";
1589
+ readonly expect: readonly [200];
1590
+ readonly free: true;
1591
+ readonly note: "Counts one call against the plan's quota; free within it. A bad or not yet active key answers 401.";
1592
+ };
1593
+ readonly cost: {
1594
+ readonly unit: "call";
1595
+ readonly note: "One Call API 3.0 includes 1,000 calls a day free, then is paid per call.";
1596
+ };
1597
+ readonly rate: {
1598
+ readonly perMinute: 60;
1599
+ readonly note: "The Free plan answers 429 past 60 calls a minute.";
1600
+ };
1601
+ readonly example: "get the current weather in Lisbon";
1602
+ readonly verified: {
1603
+ readonly on: "2026-10-25";
1604
+ readonly how: "docs";
1605
+ };
1606
+ readonly tags: readonly ["weather", "forecast"];
1607
+ };
1608
+ readonly daytona: {
1609
+ readonly mode: "api_key";
1610
+ readonly label: "Daytona";
1611
+ readonly description: "Sandboxes for running code: create, start, stop, archive and delete sandboxes, and manage their snapshots and volumes.";
1612
+ readonly auth: {
1613
+ readonly kind: "bearer";
1614
+ readonly secret: "DAYTONA_API_KEY";
1615
+ };
1616
+ readonly docs: "https://www.daytona.io/docs/en/api-keys/";
1617
+ readonly api: "https://www.daytona.io/docs/en/tools/api/";
1618
+ readonly hosts: readonly ["app.daytona.io"];
1619
+ readonly data: "account";
1620
+ readonly access: readonly ["read", "write"];
1621
+ readonly readMethods: readonly ["GET", "HEAD"];
1622
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1623
+ readonly accountWidePaths: readonly [readonly ["organizations"], readonly ["organization"], readonly ["billing"], readonly ["api-keys"], readonly ["users"], readonly ["audit"], readonly ["webhooks"], readonly ["secret"], readonly ["docker-registry"], readonly ["object-storage"], readonly ["regions"], readonly ["runners"], readonly ["for-runner"], readonly ["jobs"], readonly ["warm-pools"], readonly ["preview"], readonly ["ssh-access", "validate"]];
1624
+ readonly hint: "An API key from the Daytona dashboard's Keys page, with only the permissions the apps need; the Gateway sends it as a bearer token to app.daytona.io. Any key of an organization reaches every running sandbox in it, so give the Gateway a Daytona organization of its own.";
1625
+ readonly secrets: readonly [{
1626
+ readonly name: "DAYTONA_API_KEY";
1627
+ readonly hint: "An API key from the Daytona dashboard's Keys page: write:sandboxes and delete:sandboxes (and the snapshot or volume ones) only if an app needs them, and never manage:api_keys, manage:secrets, manage:billing or the region and runner permissions.";
1628
+ }];
1629
+ readonly smoke: {
1630
+ readonly method: "GET";
1631
+ readonly path: "/api/sandbox";
1632
+ readonly expect: readonly [200];
1633
+ readonly free: true;
1634
+ readonly note: "Lists the organization's sandboxes; any key may read them.";
1635
+ };
1636
+ readonly example: "start a sandbox from my snapshot and stop it when the run is done";
1637
+ readonly verified: {
1638
+ readonly on: "2026-11-01";
1639
+ readonly how: "docs";
1640
+ };
1641
+ readonly tags: readonly ["sandbox", "compute", "hosting"];
1642
+ };
1643
+ readonly postmark: {
1644
+ readonly mode: "api_key";
1645
+ readonly label: "Postmark";
1646
+ readonly description: "Transactional email: single, batch and templated messages from one Postmark server.";
1647
+ readonly auth: {
1648
+ readonly kind: "header";
1649
+ readonly secret: "POSTMARK_API_TOKEN";
1650
+ readonly header: "X-Postmark-Server-Token";
1651
+ };
1652
+ readonly docs: "https://postmarkapp.com/support/article/1008-what-are-the-account-and-server-api-tokens";
1653
+ readonly api: "https://postmarkapp.com/developer/api/overview";
1654
+ readonly hosts: readonly ["api.postmarkapp.com"];
1655
+ readonly data: "account";
1656
+ readonly access: readonly ["write"];
1657
+ readonly readMethods: readonly [];
1658
+ readonly writeMethods: readonly ["POST"];
1659
+ readonly accountWidePaths: readonly [readonly ["server"], readonly ["servers"], readonly ["domains"], readonly ["senders"], readonly ["webhooks"], readonly ["message-streams"], readonly ["triggers"], readonly ["data-removals"]];
1660
+ readonly hint: "A Server API token from the API Tokens tab of the Postmark server the app sends from; the Gateway sends it in the X-Postmark-Server-Token header.";
1661
+ readonly secrets: readonly [{
1662
+ readonly name: "POSTMARK_API_TOKEN";
1663
+ readonly hint: "A Server API token from the server's API Tokens tab, never the Account API token.";
1664
+ }];
1665
+ readonly smoke: {
1666
+ readonly method: "GET";
1667
+ readonly path: "/server";
1668
+ readonly expect: readonly [200];
1669
+ readonly free: true;
1670
+ readonly note: "Returns the server's settings; account-wide, so run it from a terminal.";
1671
+ };
1672
+ readonly example: "send a password reset email";
1673
+ readonly verified: {
1674
+ readonly on: "2026-10-25";
1675
+ readonly how: "docs";
1676
+ };
1677
+ readonly tags: readonly ["email", "transactional"];
1678
+ };
1679
+ readonly sendgrid: {
1680
+ readonly mode: "api_key";
1681
+ readonly label: "SendGrid";
1682
+ readonly description: "Twilio SendGrid email: send transactional and marketing mail through the v3 Mail Send API.";
1683
+ readonly auth: {
1684
+ readonly kind: "bearer";
1685
+ readonly secret: "SENDGRID_API_KEY";
1686
+ };
1687
+ readonly docs: "https://app.sendgrid.com/settings/api_keys";
1688
+ readonly api: "https://www.twilio.com/docs/sendgrid/api-reference";
1689
+ readonly hosts: readonly ["api.sendgrid.com", "api.eu.sendgrid.com"];
1690
+ readonly data: "account";
1691
+ readonly access: readonly ["write"];
1692
+ readonly readMethods: readonly [];
1693
+ readonly writeMethods: readonly ["POST"];
1694
+ readonly accountWidePaths: readonly [readonly ["api_keys"], readonly ["scopes"], readonly ["user"], readonly ["subusers"], readonly ["teammates"], readonly ["sso"], readonly ["access_settings"], readonly ["whitelabel"], readonly ["ips"], readonly ["send_ips"], readonly ["partners"], readonly ["partner_settings"], readonly ["alerts"], readonly ["mail_settings"], readonly ["tracking_settings"], readonly ["verified_senders"], readonly ["senders"], readonly ["marketing", "integrations"], readonly ["recipients", "erasejob"]];
1695
+ readonly hint: "An API key from Settings > API Keys in SendGrid, sent as a bearer token; Custom Access with Mail Send alone is enough to send. EU regional subusers call api.eu.sendgrid.com.";
1696
+ readonly secrets: readonly [{
1697
+ readonly name: "SENDGRID_API_KEY";
1698
+ readonly hint: "A Custom Access key with Mail Send only, never a Full Access key.";
1699
+ }];
1700
+ readonly smoke: {
1701
+ readonly method: "GET";
1702
+ readonly path: "/v3/scopes";
1703
+ readonly expect: readonly [200];
1704
+ readonly free: true;
1705
+ readonly note: "Lists the key's own scopes (the docs don't say whether a Mail-Send-only key may call it); account-wide, so run it from a terminal.";
1706
+ };
1707
+ readonly rate: {
1708
+ readonly note: "Each endpoint has its own limit; answers carry X-RateLimit-Limit, -Remaining and -Reset.";
1709
+ };
1710
+ readonly example: "send an order confirmation email";
1711
+ readonly verified: {
1712
+ readonly on: "2026-10-25";
1713
+ readonly how: "docs";
1714
+ };
1715
+ readonly tags: readonly ["email", "transactional", "marketing"];
1716
+ };
1717
+ readonly twilio: {
1718
+ readonly mode: "api_key";
1719
+ readonly label: "Twilio";
1720
+ readonly description: "SMS, MMS and voice: send text messages and place calls from your Twilio numbers.";
1721
+ readonly auth: {
1722
+ readonly kind: "basic";
1723
+ readonly secret: "TWILIO_API_SECRET";
1724
+ readonly as: "password";
1725
+ readonly user: {
1726
+ readonly secret: "TWILIO_API_KEY";
1727
+ };
1728
+ };
1729
+ readonly docs: "https://www.twilio.com/docs/iam/api-keys/keys-in-console";
1730
+ readonly api: "https://www.twilio.com/docs/usage/requests-to-twilio";
1731
+ readonly hosts: readonly ["api.twilio.com"];
1732
+ readonly data: "account";
1733
+ readonly access: readonly ["write"];
1734
+ readonly readMethods: readonly [];
1735
+ readonly writeMethods: readonly ["POST"];
1736
+ readonly accountWidePaths: readonly [readonly ["keys"], readonly ["signingkeys"], readonly ["incomingphonenumbers"], readonly ["outgoingcallerids"], readonly ["applications"], readonly ["connectapps"], readonly ["authorizedconnectapps"], readonly ["addresses"], readonly ["sip"], readonly ["usage"], readonly ["balance"]];
1737
+ readonly hint: "A Standard or Restricted API key from Account settings > API keys & auth tokens in the Twilio Console, sent as HTTP Basic (the key's SID and secret); a Standard key can't reach the Accounts or Keys resources. Every path names the account, so the app puts its Account SID in it: /2010-04-01/Accounts/<Account SID>/Messages.json, with a form-encoded body.";
1738
+ readonly secrets: readonly [{
1739
+ readonly name: "TWILIO_API_SECRET";
1740
+ readonly hint: "The API key's secret, shown once when the key is created.";
1741
+ }, {
1742
+ readonly name: "TWILIO_API_KEY";
1743
+ readonly hint: "The SID of a Standard or Restricted API key, never a Main key or the Auth Token.";
1744
+ }];
1745
+ readonly example: "text a reminder to a customer's phone number";
1746
+ readonly verified: {
1747
+ readonly on: "2026-10-25";
1748
+ readonly how: "docs";
1749
+ };
1750
+ readonly tags: readonly ["sms", "voice", "messaging"];
1751
+ };
1752
+ readonly intercom: {
1753
+ readonly mode: "api_key";
1754
+ readonly label: "Intercom";
1755
+ readonly description: "Customer messaging: contacts, companies, conversations, tickets and help center articles.";
1756
+ readonly auth: {
1757
+ readonly kind: "bearer";
1758
+ readonly secret: "INTERCOM_API_TOKEN";
1759
+ };
1760
+ readonly docs: "https://app.intercom.com/a/apps/_/developer-hub";
1761
+ readonly api: "https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis";
1762
+ readonly hosts: readonly ["api.intercom.io", "api.eu.intercom.io", "api.au.intercom.io"];
1763
+ readonly data: "account";
1764
+ readonly access: readonly ["read", "write"];
1765
+ readonly readMethods: readonly ["GET", "HEAD"];
1766
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1767
+ readonly accountWidePaths: readonly [readonly ["me"], readonly ["admins"], readonly ["teams"], readonly ["export"], readonly ["download"], readonly ["ip_allowlist"]];
1768
+ readonly hint: "The Access Token of a private app in your workspace's Developer Hub, sent as a bearer token. Searching contacts, conversations or tickets is a POST, so an app that searches asks for write.";
1769
+ readonly secrets: readonly [{
1770
+ readonly name: "INTERCOM_API_TOKEN";
1771
+ readonly hint: "The Access Token on your private app's Configure > Authentication page in the Developer Hub.";
1772
+ }];
1773
+ readonly smoke: {
1774
+ readonly method: "GET";
1775
+ readonly path: "/me";
1776
+ readonly expect: readonly [200];
1777
+ readonly free: true;
1778
+ readonly note: "Returns the admin behind the token; account-wide, so run it from a terminal.";
1779
+ };
1780
+ readonly rate: {
1781
+ readonly perMinute: 10000;
1782
+ readonly note: "Per workspace, shared by its private apps; 25,000 a minute across all apps; counted in 10-second windows.";
1783
+ };
1784
+ readonly example: "list the latest open conversations";
1785
+ readonly verified: {
1786
+ readonly on: "2026-10-25";
1787
+ readonly how: "docs";
1788
+ };
1789
+ readonly tags: readonly ["support", "crm", "messaging"];
1790
+ };
1791
+ readonly crisp: {
1792
+ readonly mode: "api_key";
1793
+ readonly label: "Crisp";
1794
+ readonly description: "Customer chat: conversations, messages, people and visitors of one Crisp workspace.";
1795
+ readonly auth: {
1796
+ readonly kind: "basic";
1797
+ readonly secret: "CRISP_API_KEY";
1798
+ readonly as: "password";
1799
+ readonly user: {
1800
+ readonly secret: "CRISP_API_IDENTIFIER";
1801
+ };
1802
+ };
1803
+ readonly docs: "https://docs.crisp.chat/guides/rest-api/authentication/website-token/";
1804
+ readonly api: "https://docs.crisp.chat/references/rest-api/v1/";
1805
+ readonly hosts: readonly ["api.crisp.chat"];
1806
+ readonly data: "account";
1807
+ readonly access: readonly ["read", "write"];
1808
+ readonly readMethods: readonly ["GET", "HEAD"];
1809
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1810
+ readonly accountWidePaths: readonly [readonly ["operators"], readonly ["operator"], readonly ["teams"], readonly ["team"], readonly ["settings"], readonly ["verify"], readonly ["audit"], readonly ["plans"], readonly ["plugins"], readonly ["plugin"], readonly ["connect"]];
1811
+ readonly hint: "A website token, which the workspace owner generates under Settings > Workspace Settings > Advanced configuration > API Token. The Gateway sends the identifier and key as HTTP Basic; the app sends X-Crisp-Tier: website on every call.";
1812
+ readonly secrets: readonly [{
1813
+ readonly name: "CRISP_API_KEY";
1814
+ readonly hint: "The token's key, shown once when the workspace owner generates it.";
1815
+ }, {
1816
+ readonly name: "CRISP_API_IDENTIFIER";
1817
+ readonly hint: "The token's identifier, shown beside the key.";
1818
+ }];
1819
+ readonly rate: {
1820
+ readonly perDay: 10000;
1821
+ readonly note: "The website token's daily quota.";
1822
+ };
1823
+ readonly example: "list the latest chat conversations on my website";
1824
+ readonly verified: {
1825
+ readonly on: "2026-10-25";
1826
+ readonly how: "docs";
1827
+ };
1828
+ readonly tags: readonly ["support", "chat", "messaging"];
1829
+ };
1830
+ readonly granola: {
1831
+ readonly mode: "api_key";
1832
+ readonly label: "Granola";
1833
+ readonly description: "Meeting notes: list, search and read notes with their AI summaries, transcripts, folders and spaces.";
1834
+ readonly auth: {
1835
+ readonly kind: "bearer";
1836
+ readonly secret: "GRANOLA_API_KEY";
1837
+ };
1838
+ readonly docs: "https://docs.granola.ai/help-center/sharing/integrations/granola-api";
1839
+ readonly api: "https://docs.granola.ai/introduction";
1840
+ readonly hosts: readonly ["public-api.granola.ai"];
1841
+ readonly data: "account";
1842
+ readonly access: readonly ["read"];
1843
+ readonly readMethods: readonly ["GET", "POST"];
1844
+ readonly accountWidePaths: readonly [readonly ["audit"], readonly ["webhook-endpoints"], readonly ["legal-holds"]];
1845
+ readonly hint: "An API key (grn_...) from the Granola desktop app's Settings > Connectors > API keys, on a Business or Enterprise plan; the Gateway sends it as a bearer token. It reads only the notes its scopes allow.";
1846
+ readonly secrets: readonly [{
1847
+ readonly name: "GRANOLA_API_KEY";
1848
+ readonly hint: "A personal or workspace API key (grn_...), with only the note scopes the apps need.";
1849
+ }];
1850
+ readonly rate: {
1851
+ readonly perSecond: 5;
1852
+ readonly note: "Bursts of 25 requests in 5 seconds; per user or per workspace, by the key's scope.";
1853
+ };
1854
+ readonly smoke: {
1855
+ readonly method: "GET";
1856
+ readonly path: "/v1/notes?page_size=1";
1857
+ readonly expect: readonly [200];
1858
+ readonly free: true;
1859
+ };
1860
+ readonly example: "summarize what we decided in this week's customer calls";
1861
+ readonly verified: {
1862
+ readonly on: "2026-10-30";
1863
+ readonly how: "docs";
1864
+ };
1865
+ readonly tags: readonly ["meetings", "notes", "transcripts"];
1866
+ };
1867
+ readonly linear: {
1868
+ readonly mode: "api_key";
1869
+ readonly label: "Linear";
1870
+ readonly description: "Issue tracking over GraphQL: issues, projects, cycles, comments and teams.";
1871
+ readonly auth: {
1872
+ readonly kind: "header";
1873
+ readonly secret: "LINEAR_API_KEY";
1874
+ readonly header: "Authorization";
1875
+ };
1876
+ readonly docs: "https://linear.app/settings/account/security";
1877
+ readonly api: "https://linear.app/developers/graphql";
1878
+ readonly hosts: readonly ["api.linear.app"];
1879
+ readonly data: "account";
1880
+ readonly access: readonly ["write"];
1881
+ readonly readMethods: readonly [];
1882
+ readonly writeMethods: readonly ["POST"];
1883
+ readonly accountWidePaths: readonly [];
1884
+ readonly hint: "A personal API key from Settings > Account > Security & access; the Gateway sends it as the Authorization header with no Bearer word. Every call is a POST to /graphql, queries included, so the app asks for write.";
1885
+ readonly secrets: readonly [{
1886
+ readonly name: "LINEAR_API_KEY";
1887
+ readonly hint: "A personal API key, restricted to the permissions and teams the app needs.";
1888
+ }];
1889
+ readonly rate: {
1890
+ readonly note: "2,500 requests and 3,000,000 complexity points an hour per API key.";
1891
+ };
1892
+ readonly example: "create an issue for this bug in the Engineering team";
1893
+ readonly verified: {
1894
+ readonly on: "2026-10-25";
1895
+ readonly how: "docs";
1896
+ };
1897
+ readonly tags: readonly ["issues", "project-management", "graphql"];
1898
+ };
1899
+ readonly github: {
1900
+ readonly mode: "api_key";
1901
+ readonly label: "GitHub";
1902
+ readonly description: "Code hosting: repositories, issues, pull requests, Actions and releases through the REST API.";
1903
+ readonly auth: {
1904
+ readonly kind: "bearer";
1905
+ readonly secret: "GITHUB_API_TOKEN";
1906
+ };
1907
+ readonly docs: "https://github.com/settings/personal-access-tokens/new";
1908
+ readonly api: "https://docs.github.com/en/rest";
1909
+ readonly hosts: readonly ["api.github.com"];
1910
+ readonly data: "account";
1911
+ readonly access: readonly ["read", "write"];
1912
+ readonly readMethods: readonly ["GET", "HEAD"];
1913
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1914
+ readonly accountWidePaths: readonly [readonly ["user", "email"], readonly ["user", "emails"], readonly ["user", "public_emails"], readonly ["user", "gpg_keys"], readonly ["user", "ssh_signing_keys"], readonly ["user", "social_accounts"], readonly ["keys"], readonly ["hooks"], readonly ["secrets"], readonly ["members"], readonly ["memberships"], readonly ["invitations"], readonly ["failed_invitations"], readonly ["collaborators"], readonly ["outside_collaborators"], readonly ["blocks"], readonly ["installations"], readonly ["personal-access-tokens"], readonly ["personal-access-token-requests"], readonly ["credential-authorizations"], readonly ["audit-log"], readonly ["billing"]];
1915
+ readonly hint: "A fine-grained personal access token from Settings > Developer settings, limited to one owner, the repositories the app needs and the least permissions; sent as a bearer token. GraphQL is a POST to /graphql, so it needs write.";
1916
+ readonly secrets: readonly [{
1917
+ readonly name: "GITHUB_API_TOKEN";
1918
+ readonly hint: "A fine-grained personal access token limited to the repositories and permissions the app needs.";
1919
+ }];
1920
+ readonly smoke: {
1921
+ readonly method: "GET";
1922
+ readonly path: "/user";
1923
+ readonly expect: readonly [200];
1924
+ readonly free: true;
1925
+ readonly note: "Returns the token's owner; 401 means the token is wrong.";
1926
+ };
1927
+ readonly rate: {
1928
+ readonly note: "5,000 requests an hour per token; at most 100 concurrent requests and 900 points a minute across REST endpoints.";
1929
+ };
1930
+ readonly example: "list the open pull requests in my repository";
1931
+ readonly verified: {
1932
+ readonly on: "2026-10-25";
1933
+ readonly how: "docs";
1934
+ };
1935
+ readonly tags: readonly ["code", "git", "issues"];
1936
+ };
1937
+ readonly gitlab: {
1938
+ readonly mode: "api_key";
1939
+ readonly label: "GitLab";
1940
+ readonly description: "Code hosting on GitLab.com: projects, issues, merge requests, pipelines and releases.";
1941
+ readonly auth: {
1942
+ readonly kind: "header";
1943
+ readonly secret: "GITLAB_API_TOKEN";
1944
+ readonly header: "PRIVATE-TOKEN";
1945
+ };
1946
+ readonly docs: "https://gitlab.com/-/user_settings/personal_access_tokens";
1947
+ readonly api: "https://docs.gitlab.com/api/rest/";
1948
+ readonly hosts: readonly ["gitlab.com"];
1949
+ readonly data: "account";
1950
+ readonly access: readonly ["read", "write"];
1951
+ readonly readMethods: readonly ["GET", "HEAD"];
1952
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1953
+ readonly accountWidePaths: readonly [readonly ["user"], readonly ["personal_access_tokens"], readonly ["access_tokens"], readonly ["deploy_tokens"], readonly ["deploy_keys"], readonly ["project_deploy_keys"], readonly ["hooks"], readonly ["members"], readonly ["pending_members"], readonly ["billable_members"], readonly ["invitations"], readonly ["variables"], readonly ["audit_events"]];
1954
+ readonly hint: "A personal, project or group access token from GitLab.com, sent in the PRIVATE-TOKEN header; read_api is enough to read. Paths start with /api/v4. A self-managed GitLab needs its own registered provider.";
1955
+ readonly secrets: readonly [{
1956
+ readonly name: "GITLAB_API_TOKEN";
1957
+ readonly hint: "A personal, project or group access token with read_api, or api when the app writes.";
1958
+ }];
1959
+ readonly smoke: {
1960
+ readonly method: "GET";
1961
+ readonly path: "/api/v4/personal_access_tokens/self";
1962
+ readonly expect: readonly [200];
1963
+ readonly free: true;
1964
+ readonly note: "Describes a personal access token itself (401 when it is wrong or revoked); account-wide, so run it from a terminal.";
1965
+ };
1966
+ readonly rate: {
1967
+ readonly perMinute: 2000;
1968
+ readonly note: "Authenticated API traffic per user on GitLab.com.";
1969
+ };
1970
+ readonly example: "list the open merge requests in my project";
1971
+ readonly verified: {
1972
+ readonly on: "2026-10-25";
1973
+ readonly how: "docs";
1974
+ };
1975
+ readonly tags: readonly ["code", "git", "ci"];
1976
+ };
1977
+ readonly vercel: {
1978
+ readonly mode: "api_key";
1979
+ readonly label: "Vercel";
1980
+ readonly description: "Frontend hosting: projects, deployments, domains and logs through the Vercel REST API.";
1981
+ readonly auth: {
1982
+ readonly kind: "bearer";
1983
+ readonly secret: "VERCEL_API_TOKEN";
1984
+ };
1985
+ readonly docs: "https://vercel.com/account/tokens";
1986
+ readonly api: "https://vercel.com/docs/rest-api";
1987
+ readonly hosts: readonly ["api.vercel.com"];
1988
+ readonly data: "account";
1989
+ readonly access: readonly ["read", "write"];
1990
+ readonly readMethods: readonly ["GET", "HEAD"];
1991
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1992
+ readonly accountWidePaths: readonly [readonly ["user"], readonly ["teams"], readonly ["members"], readonly ["organizations"], readonly ["access-groups"], readonly ["billing"], readonly ["webhooks"], readonly ["drains"], readonly ["env"], readonly ["v3", "events"], readonly ["v1", "events"], readonly ["v1", "integrations"], readonly ["installations"], readonly ["connect"], readonly ["kms"], readonly ["api-keys"], readonly ["ai-gateway"], readonly ["token"], readonly ["tokens"], readonly ["registrar"], readonly ["transfer-request"]];
1993
+ readonly hint: "An access token from your account's Tokens page, sent as a bearer token; scope it to one team or one project. A team- or project-scoped token needs no teamId parameter.";
1994
+ readonly secrets: readonly [{
1995
+ readonly name: "VERCEL_API_TOKEN";
1996
+ readonly hint: "An access token scoped to one team or one project, never Full Account.";
1997
+ }];
1998
+ readonly smoke: {
1999
+ readonly method: "GET";
2000
+ readonly path: "/v10/projects";
2001
+ readonly expect: readonly [200];
2002
+ readonly free: true;
2003
+ readonly note: "Lists the projects the token can reach.";
2004
+ };
2005
+ readonly rate: {
2006
+ readonly note: "Limits are per action (deployments, domains, teams), listed on Vercel's limits page.";
2007
+ };
2008
+ readonly example: "list the latest deployments of my project";
2009
+ readonly verified: {
2010
+ readonly on: "2026-10-25";
2011
+ readonly how: "docs";
2012
+ };
2013
+ readonly tags: readonly ["hosting", "deploy", "frontend"];
2014
+ };
2015
+ readonly stripe: {
2016
+ readonly mode: "api_key";
2017
+ readonly label: "Stripe";
2018
+ readonly description: "Payments: customers, subscriptions, invoices, charges and payouts.";
2019
+ readonly auth: {
2020
+ readonly kind: "bearer";
2021
+ readonly secret: "STRIPE_API_KEY";
2022
+ };
2023
+ readonly docs: "https://dashboard.stripe.com/apikeys";
2024
+ readonly api: "https://docs.stripe.com/api";
2025
+ readonly hosts: readonly ["api.stripe.com", "files.stripe.com"];
2026
+ readonly data: "account";
2027
+ readonly access: readonly ["read", "write"];
2028
+ readonly readMethods: readonly ["GET", "HEAD"];
2029
+ readonly writeMethods: readonly ["POST", "DELETE"];
2030
+ readonly accountWidePaths: readonly [readonly ["v1", "account"], readonly ["v1", "accounts"], readonly ["v2", "core", "accounts"], readonly ["v1", "webhook_endpoints"], readonly ["v2", "core", "event_destinations"], readonly ["v1", "apps", "secrets"]];
2031
+ readonly hint: "A restricted API key from the API keys page of the Stripe dashboard, with only the permissions the app needs. The Gateway sends it as a bearer token.";
2032
+ readonly secrets: readonly [{
2033
+ readonly name: "STRIPE_API_KEY";
2034
+ readonly hint: "A restricted key (rk_live_...) with only the permissions the app needs; a sandbox key (rk_test_... or sk_test_...) to try it.";
2035
+ }];
2036
+ readonly smoke: {
2037
+ readonly method: "GET";
2038
+ readonly path: "/v1/balance";
2039
+ readonly expect: readonly [200];
2040
+ readonly free: true;
2041
+ readonly note: "A restricted key needs Balance read for this one.";
2042
+ };
2043
+ readonly cost: {
2044
+ readonly unit: "call";
2045
+ readonly note: "No per-call price; reads should average under 500 per transaction over 30 days, with at least 10,000 a month allowed.";
2046
+ };
2047
+ readonly rate: {
2048
+ readonly perSecond: 100;
2049
+ readonly note: "Live mode, per account; sandbox 25/s; most single endpoints 25/s; Search 20/s.";
2050
+ };
2051
+ readonly example: "list my latest customers and their subscriptions";
2052
+ readonly verified: {
2053
+ readonly on: "2026-10-25";
2054
+ readonly how: "docs";
2055
+ };
2056
+ readonly tags: readonly ["payments", "billing"];
2057
+ };
2058
+ readonly lemonsqueezy: {
2059
+ readonly mode: "api_key";
2060
+ readonly label: "Lemon Squeezy";
2061
+ readonly description: "Merchant of record for software: stores, products, orders, subscriptions, license keys.";
2062
+ readonly auth: {
2063
+ readonly kind: "bearer";
2064
+ readonly secret: "LEMONSQUEEZY_API_KEY";
2065
+ };
2066
+ readonly docs: "https://app.lemonsqueezy.com/settings/api";
2067
+ readonly api: "https://docs.lemonsqueezy.com/api";
2068
+ readonly hosts: readonly ["api.lemonsqueezy.com"];
2069
+ readonly data: "account";
2070
+ readonly access: readonly ["read", "write"];
2071
+ readonly readMethods: readonly ["GET", "HEAD"];
2072
+ readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
2073
+ readonly accountWidePaths: readonly [readonly ["v1", "users"], readonly ["v1", "webhooks"]];
2074
+ readonly hint: "An API key from Settings > API in Lemon Squeezy; the Gateway sends it as a bearer token. The API is JSON:API, so the app sends Accept and Content-Type application/vnd.api+json.";
2075
+ readonly secrets: readonly [{
2076
+ readonly name: "LEMONSQUEEZY_API_KEY";
2077
+ readonly hint: "An API key from Settings > API; a test mode key reaches test mode store data only.";
2078
+ }];
2079
+ readonly smoke: {
2080
+ readonly method: "GET";
2081
+ readonly path: "/v1/users/me";
2082
+ readonly expect: readonly [200];
2083
+ readonly free: true;
2084
+ readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
2085
+ };
2086
+ readonly rate: {
2087
+ readonly perMinute: 300;
2088
+ readonly note: "300 API calls per minute.";
2089
+ };
2090
+ readonly example: "list this month's orders and active subscriptions";
2091
+ readonly verified: {
2092
+ readonly on: "2026-10-25";
2093
+ readonly how: "docs";
2094
+ };
2095
+ readonly tags: readonly ["payments", "billing"];
2096
+ };
2097
+ readonly paddle: {
2098
+ readonly mode: "api_key";
2099
+ readonly label: "Paddle";
2100
+ readonly description: "Paddle Billing: products, prices, customers, subscriptions and transactions.";
2101
+ readonly auth: {
2102
+ readonly kind: "bearer";
2103
+ readonly secret: "PADDLE_API_KEY";
2104
+ };
2105
+ readonly docs: "https://developer.paddle.com/api-reference/about/authentication/";
2106
+ readonly api: "https://developer.paddle.com/api-reference/";
2107
+ readonly hosts: readonly ["api.paddle.com", "sandbox-api.paddle.com"];
2108
+ readonly data: "account";
2109
+ readonly access: readonly ["read", "write"];
2110
+ readonly readMethods: readonly ["GET", "HEAD"];
2111
+ readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
2112
+ readonly accountWidePaths: readonly [readonly ["account"], readonly ["settings"], readonly ["notification-settings"], readonly ["notifications"], readonly ["simulations"], readonly ["simulation-runs"], readonly ["client-tokens"], readonly ["checkout-domains"], readonly ["verifications"]];
2113
+ readonly hint: "An API key from Paddle > My account > Settings > Authentication (API keys tab), with only the permissions the app needs; the Gateway sends it as a bearer token. Live and sandbox are separate hosts with separate keys.";
2114
+ readonly secrets: readonly [{
2115
+ readonly name: "PADDLE_API_KEY";
2116
+ readonly hint: "An API key (pdl_live_apikey_... or pdl_sdbx_apikey_...) with only the permissions the app needs; a sandbox key works on the sandbox host only.";
2117
+ }];
2118
+ readonly smoke: {
2119
+ readonly method: "GET";
2120
+ readonly path: "/event-types";
2121
+ readonly expect: readonly [200];
2122
+ readonly free: true;
2123
+ readonly note: "Paddle's own first request: needs no permissions. Send it to sandbox-api.paddle.com with a sandbox key.";
2124
+ };
2125
+ readonly rate: {
2126
+ readonly perMinute: 240;
2127
+ readonly note: "Per IP address; pricing previews 1,000 a minute; 20 immediate-charge updates per subscription an hour.";
2128
+ };
2129
+ readonly example: "list the active subscriptions that renew this week";
2130
+ readonly verified: {
2131
+ readonly on: "2026-10-25";
2132
+ readonly how: "docs";
2133
+ };
2134
+ readonly tags: readonly ["payments", "billing"];
361
2135
  };
362
- /** The only calls the gateway completes; anything else is refused. */
363
- token: readonly OAuthTokenEndpoint[];
364
- /**
365
- * A gateway setting naming the provider's origin, for a provider with no
366
- * fixed one (Mastodon's instance): the host of `token` entries without
367
- * their own, and of the authorize URL.
368
- */
369
- hostSetting?: string;
370
- /** The origin when `hostSetting` is unset. */
371
- defaultOrigin?: string;
372
- /** Obtaining and refreshing user tokens with the operator's client writes. */
373
- access: readonly ["write"];
374
- /** Where the operator registers the client. */
375
- console: string;
376
- /** The everyapp skill's setup guide for the client, when one exists. */
377
- setup?: string;
378
- /**
379
- * The authorize endpoint the app sends people to (a path on the
380
- * `hostSetting` origin when the provider has none fixed) and the scopes
381
- * the client must be allowed: the operator's checklist and the docs. With
382
- * a `scopePolicy`, the union of its sets' scopes and `alwaysRequested`.
383
- */
384
- authorize: {
385
- url: string;
386
- scopes: readonly string[];
2136
+ readonly shopify: {
2137
+ readonly mode: "api_key";
2138
+ readonly label: "Shopify";
2139
+ readonly description: "One store's Admin API (GraphQL): products, orders, customers and inventory.";
2140
+ readonly auth: {
2141
+ readonly kind: "header";
2142
+ readonly secret: "SHOPIFY_API_TOKEN";
2143
+ readonly header: "X-Shopify-Access-Token";
2144
+ };
2145
+ readonly docs: "https://shopify.dev/docs/apps/build/authentication-authorization/legacy/admin-custom-apps";
2146
+ readonly api: "https://shopify.dev/docs/api/admin-graphql";
2147
+ readonly hosts: readonly [];
2148
+ readonly hostSetting: "SHOPIFY_HOST";
2149
+ readonly data: "account";
2150
+ readonly access: readonly ["write"];
2151
+ readonly readMethods: readonly [];
2152
+ readonly writeMethods: readonly ["POST"];
2153
+ readonly accountWidePaths: readonly [readonly ["webhooks"], readonly ["storefront_access_tokens"]];
2154
+ readonly hint: "An Admin API access token from a custom app created in the store's admin, sent in the X-Shopify-Access-Token header to the store's myshopify.com host. Shopify no longer lets stores create new admin custom apps, and Dev Dashboard tokens expire after 24 hours, which the Gateway can't refresh yet.";
2155
+ readonly secrets: readonly [{
2156
+ readonly name: "SHOPIFY_API_TOKEN";
2157
+ readonly hint: "The Admin API access token of a custom app made in the store's admin (Apps > Develop apps > the app > API credentials); it is shown once.";
2158
+ }, {
2159
+ readonly name: "SHOPIFY_HOST";
2160
+ readonly hint: "The store's own host, like your-store.myshopify.com.";
2161
+ }];
2162
+ readonly smoke: {
2163
+ readonly method: "GET";
2164
+ readonly path: "/admin/api/2026-10/shop.json";
2165
+ readonly expect: readonly [200];
2166
+ readonly free: true;
2167
+ readonly note: "The legacy REST read of the store; the Gateway forwards no GET for this entry, so run it from the person's terminal.";
2168
+ };
2169
+ readonly rate: {
2170
+ readonly note: "GraphQL cost points per second by plan: Standard 100, Advanced 200, Plus 1,000, enterprise 2,000.";
2171
+ };
2172
+ readonly example: "list the ten newest orders and what was in them";
2173
+ readonly verified: {
2174
+ readonly on: "2026-10-25";
2175
+ readonly how: "docs";
2176
+ };
2177
+ readonly tags: readonly ["ecommerce"];
2178
+ };
2179
+ readonly plaid: {
2180
+ readonly mode: "api_key";
2181
+ readonly label: "Plaid";
2182
+ readonly description: "Bank data: accounts, balances, transactions and identity, for the Items an app links.";
2183
+ readonly auth: {
2184
+ readonly kind: "header";
2185
+ readonly secret: "PLAID_SECRET";
2186
+ readonly header: "PLAID-SECRET";
2187
+ };
2188
+ readonly docs: "https://dashboard.plaid.com/developers/keys";
2189
+ readonly api: "https://plaid.com/docs/api/";
2190
+ readonly hosts: readonly ["sandbox.plaid.com", "production.plaid.com"];
2191
+ readonly data: "account";
2192
+ readonly access: readonly ["read"];
2193
+ readonly readMethods: readonly ["POST"];
2194
+ readonly accountWidePaths: readonly [readonly ["item", "webhook", "update"], readonly ["item", "access_token", "invalidate"], readonly ["item", "remove"], readonly ["webhook_verification_key"], readonly ["dashboard_user"], readonly ["transfer"], readonly ["payment_initiation"]];
2195
+ readonly hint: "Plaid needs a client_id and a secret on every call, in the JSON body or in the PLAID-CLIENT-ID and PLAID-SECRET headers. The Gateway puts on one header, so the app would have to send PLAID-CLIENT-ID itself. Every endpoint is a POST.";
2196
+ readonly secrets: readonly [{
2197
+ readonly name: "PLAID_SECRET";
2198
+ readonly hint: "The secret for one environment (Sandbox or Production) from the Keys page of the Plaid Dashboard.";
2199
+ }];
2200
+ readonly rate: {
2201
+ readonly note: "Set per endpoint and per Item: /accounts/get allows 15 a minute per Item and 15,000 a minute per client.";
2202
+ };
2203
+ readonly example: "list the last 30 days of transactions on a linked account";
2204
+ readonly verified: false;
2205
+ readonly tags: readonly ["finance", "banking"];
2206
+ };
2207
+ readonly attio: {
2208
+ readonly mode: "api_key";
2209
+ readonly label: "Attio";
2210
+ readonly description: "CRM: people, companies, deals, lists, notes and tasks in one Attio workspace.";
2211
+ readonly auth: {
2212
+ readonly kind: "bearer";
2213
+ readonly secret: "ATTIO_API_KEY";
2214
+ };
2215
+ readonly docs: "https://attio.com/help/reference/apps/generating-an-api-key";
2216
+ readonly api: "https://docs.attio.com/rest-api/overview";
2217
+ readonly hosts: readonly ["api.attio.com"];
2218
+ readonly data: "account";
2219
+ readonly access: readonly ["read", "write"];
2220
+ readonly readMethods: readonly ["GET", "HEAD"];
2221
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
2222
+ readonly accountWidePaths: readonly [readonly ["v2", "self"], readonly ["v2", "webhooks"], readonly ["v2", "workspace_members"]];
2223
+ readonly hint: "An access token a workspace admin makes under Workspace settings > Developers, scoped to what the app needs; the Gateway sends it as a bearer token. Listing and searching records are POSTs, so an app that lists records needs write access.";
2224
+ readonly secrets: readonly [{
2225
+ readonly name: "ATTIO_API_KEY";
2226
+ readonly hint: "An access token from Workspace settings > Developers, with only the scopes the app needs.";
2227
+ }];
2228
+ readonly smoke: {
2229
+ readonly method: "GET";
2230
+ readonly path: "/v2/objects";
2231
+ readonly expect: readonly [200];
2232
+ readonly free: true;
2233
+ readonly note: "Lists the workspace's objects; needs the object_configuration:read scope. /v2/self answers 200 even for a revoked token.";
2234
+ };
2235
+ readonly rate: {
2236
+ readonly perSecond: 100;
2237
+ readonly note: "100 reads and 25 writes per second; listing records and entries also has score-based limits.";
2238
+ };
2239
+ readonly example: "find the companies we added this week and their open deals";
2240
+ readonly verified: {
2241
+ readonly on: "2026-10-25";
2242
+ readonly how: "docs";
2243
+ };
2244
+ readonly tags: readonly ["crm"];
2245
+ };
2246
+ readonly hubspot: {
2247
+ readonly mode: "api_key";
2248
+ readonly label: "HubSpot";
2249
+ readonly description: "CRM and marketing: contacts, companies, deals, tickets and more in one HubSpot account.";
2250
+ readonly auth: {
2251
+ readonly kind: "bearer";
2252
+ readonly secret: "HUBSPOT_API_TOKEN";
2253
+ };
2254
+ readonly docs: "https://developers.hubspot.com/docs/apps/legacy-apps/private-apps/overview";
2255
+ readonly api: "https://developers.hubspot.com/docs/api-reference/latest/overview";
2256
+ readonly hosts: readonly ["api.hubapi.com"];
2257
+ readonly data: "account";
2258
+ readonly access: readonly ["read", "write"];
2259
+ readonly readMethods: readonly ["GET", "HEAD"];
2260
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
2261
+ readonly accountWidePaths: readonly [readonly ["account-info"], readonly ["settings", "users"], readonly ["settings", "v3", "users"], readonly ["settings", "teams"], readonly ["app-webhooks"], readonly ["webhooks"], readonly ["webhooks-journal"], readonly ["oauth"]];
2262
+ readonly hint: "An access token from a HubSpot legacy private app (Development > Legacy apps > Create legacy app > Private), scoped to what the app needs; the Gateway sends it as a bearer token. CRM search is a POST, so an app that searches needs write access.";
2263
+ readonly secrets: readonly [{
2264
+ readonly name: "HUBSPOT_API_TOKEN";
2265
+ readonly hint: "The access token of a legacy private app (Development > Legacy apps > the app > Auth), with only the scopes the app needs.";
2266
+ }];
2267
+ readonly smoke: {
2268
+ readonly method: "GET";
2269
+ readonly path: "/account-info/2026-09/details";
2270
+ readonly expect: readonly [200];
2271
+ readonly free: true;
2272
+ readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
2273
+ };
2274
+ readonly rate: {
2275
+ readonly perDay: 250000;
2276
+ readonly note: "Private apps on Free and Starter: 100 per 10 seconds per app and 250,000 a day per account; Pro 190 and 625,000; Enterprise 190 and 1,000,000.";
2277
+ };
2278
+ readonly example: "list the deals that moved to closed won this month";
2279
+ readonly verified: {
2280
+ readonly on: "2026-10-25";
2281
+ readonly how: "docs";
2282
+ };
2283
+ readonly tags: readonly ["crm", "marketing"];
2284
+ };
2285
+ readonly pipedrive: {
2286
+ readonly mode: "api_key";
2287
+ readonly label: "Pipedrive";
2288
+ readonly description: "Sales CRM: deals, persons, organizations, activities and pipelines.";
2289
+ readonly auth: {
2290
+ readonly kind: "header";
2291
+ readonly secret: "PIPEDRIVE_API_TOKEN";
2292
+ readonly header: "x-api-token";
2293
+ };
2294
+ readonly docs: "https://app.pipedrive.com/settings/api";
2295
+ readonly api: "https://developers.pipedrive.com/docs/api/v1";
2296
+ readonly hosts: readonly ["api.pipedrive.com"];
2297
+ readonly data: "account";
2298
+ readonly access: readonly ["read", "write"];
2299
+ readonly readMethods: readonly ["GET", "HEAD"];
2300
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
2301
+ readonly accountWidePaths: readonly [readonly ["v1", "users"], readonly ["v1", "webhooks"], readonly ["v1", "billing"], readonly ["v1", "permissionsets"], readonly ["v1", "roles"], readonly ["v1", "usersettings"], readonly ["v1", "userconnections"], readonly ["v1", "legacyteams"]];
2302
+ readonly hint: "A personal API token from Settings > Personal preferences > API in Pipedrive; the Gateway sends it in the x-api-token header. If API is missing there, an admin enables it for the person's permission set.";
2303
+ readonly secrets: readonly [{
2304
+ readonly name: "PIPEDRIVE_API_TOKEN";
2305
+ readonly hint: "Your personal API token from Settings > Personal preferences > API; it acts as you, and each company you belong to has its own.";
2306
+ }];
2307
+ readonly smoke: {
2308
+ readonly method: "GET";
2309
+ readonly path: "/v1/users/me";
2310
+ readonly expect: readonly [200];
2311
+ readonly free: true;
2312
+ readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
2313
+ };
2314
+ readonly cost: {
2315
+ readonly unit: "call";
2316
+ readonly note: "Each endpoint spends API tokens from a daily company budget of 30,000 x plan multiplier (1 to 7) x seats.";
2317
+ };
2318
+ readonly rate: {
2319
+ readonly note: "Per API token: 20 (Lite) to 120 (Ultimate) requests per 2 seconds; Search 10 per 2 seconds.";
2320
+ };
2321
+ readonly example: "list the open deals in my main pipeline";
2322
+ readonly verified: {
2323
+ readonly on: "2026-10-25";
2324
+ readonly how: "docs";
2325
+ };
2326
+ readonly tags: readonly ["crm", "sales"];
2327
+ };
2328
+ readonly airtable: {
2329
+ readonly mode: "api_key";
2330
+ readonly label: "Airtable";
2331
+ readonly description: "Bases, tables and records in the Airtable workspaces a token can reach.";
2332
+ readonly auth: {
2333
+ readonly kind: "bearer";
2334
+ readonly secret: "AIRTABLE_API_TOKEN";
2335
+ };
2336
+ readonly docs: "https://airtable.com/create/tokens";
2337
+ readonly api: "https://airtable.com/developers/web/api/introduction";
2338
+ readonly hosts: readonly ["api.airtable.com"];
2339
+ readonly data: "account";
2340
+ readonly access: readonly ["read", "write"];
2341
+ readonly readMethods: readonly ["GET", "HEAD"];
2342
+ readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
2343
+ readonly accountWidePaths: readonly [readonly ["v0", "meta", "whoami"], readonly ["v0", "meta", "enterpriseaccounts"], readonly ["v0", "meta", "workspaces"], readonly ["v0", "meta", "groups"], readonly ["v0", "bases"], readonly ["scim"], readonly ["collaborators"], readonly ["invites"], readonly ["shares"], readonly ["blockinstallations"]];
2344
+ readonly hint: "A personal access token from airtable.com/create/tokens, limited to the scopes and bases the app needs; the Gateway sends it as a bearer token. Listing records by POST (listRecords) needs write access; the GET form doesn't.";
2345
+ readonly secrets: readonly [{
2346
+ readonly name: "AIRTABLE_API_TOKEN";
2347
+ readonly hint: "A personal access token limited to the scopes and bases the app needs.";
2348
+ }];
2349
+ readonly smoke: {
2350
+ readonly method: "GET";
2351
+ readonly path: "/v0/meta/whoami";
2352
+ readonly expect: readonly [200];
2353
+ readonly free: true;
2354
+ readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
2355
+ };
2356
+ readonly rate: {
2357
+ readonly perSecond: 5;
2358
+ readonly note: "5 requests per second per base; 50 per second across all of one user's personal access tokens.";
2359
+ };
2360
+ readonly example: "list this week's new rows in my Leads table";
2361
+ readonly verified: {
2362
+ readonly on: "2026-10-25";
2363
+ readonly how: "docs";
2364
+ };
2365
+ readonly tags: readonly ["database", "spreadsheet"];
2366
+ };
2367
+ readonly notion: {
2368
+ readonly mode: "api_key";
2369
+ readonly label: "Notion";
2370
+ readonly description: "Pages, databases and blocks that a Notion connection has been given.";
2371
+ readonly auth: {
2372
+ readonly kind: "bearer";
2373
+ readonly secret: "NOTION_API_TOKEN";
2374
+ };
2375
+ readonly docs: "https://app.notion.com/developers/connections";
2376
+ readonly api: "https://developers.notion.com/reference/intro";
2377
+ readonly hosts: readonly ["api.notion.com"];
2378
+ readonly data: "account";
2379
+ readonly access: readonly ["read", "write"];
2380
+ readonly readMethods: readonly ["GET", "HEAD"];
2381
+ readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
2382
+ readonly accountWidePaths: readonly [readonly ["v1", "users"], readonly ["v1", "oauth"], readonly ["admin"]];
2383
+ readonly hint: "An internal connection's API token (a workspace owner creates the connection in Notion's developer portal), sent as a bearer token; it reaches only pages shared with it. The app sends the Notion-Version header itself. Search and data source queries are POSTs, so an app that queries needs write access.";
2384
+ readonly secrets: readonly [{
2385
+ readonly name: "NOTION_API_TOKEN";
2386
+ readonly hint: "The API token on an internal connection's Configuration tab; share the pages it should reach with the connection.";
2387
+ }];
2388
+ readonly smoke: {
2389
+ readonly method: "GET";
2390
+ readonly path: "/v1/users/me";
2391
+ readonly expect: readonly [200];
2392
+ readonly free: true;
2393
+ readonly note: "Send Notion-Version: 2026-03-11 with it; account-wide, so run it from the person's terminal.";
2394
+ };
2395
+ readonly rate: {
2396
+ readonly perMinute: 180;
2397
+ readonly note: "Per connection: 180 a minute, 600 on Business and Enterprise; data source queries about 3 per second.";
2398
+ };
2399
+ readonly example: "find the pages in my Projects database that are due this week";
2400
+ readonly verified: {
2401
+ readonly on: "2026-10-25";
2402
+ readonly how: "docs";
2403
+ };
2404
+ readonly tags: readonly ["docs", "notes", "database"];
387
2405
  };
388
- /**
389
- * Named scope sets an app lists in its manifest entry's `scopes`, for a
390
- * client several apps share with different needs. Absent: the whole
391
- * client is the grant, as for Postiz's social networks.
392
- */
393
- scopePolicy?: OAuthScopePolicy;
394
- /** Hosts the app calls afterwards with the user's token (docs only); a scope policy's routes are on them. */
395
- api: readonly string[];
396
- /**
397
- * The redirect paths the operator registers, on the app's host
398
- * (`https://<app>.<APP_BASE_DOMAIN><path>`): Postiz's callback pages, the
399
- * first app to use these clients.
400
- */
401
- redirectPaths: readonly string[];
402
- }
403
- export type Capability = ApiKeyCapability | AiProviderCapability | OAuthClientCapability | GatewayServiceCapability;
404
- export declare const CAPABILITIES: {
405
2406
  readonly openai: {
406
2407
  readonly mode: "ai";
407
2408
  readonly label: "OpenAI";
@@ -417,6 +2418,18 @@ export declare const CAPABILITIES: {
417
2418
  readonly inferenceRoutes: readonly ["/v1/responses", "/v1/chat/completions", "/v1/embeddings", "/v1/audio/speech", "/v1/audio/transcriptions", "/v1/audio/translations", "/v1/images/generations", "/v1/images/edits", "/v1/images/variations"];
418
2419
  readonly unstoredRoutes: readonly ["/v1/responses", "/v1/chat/completions"];
419
2420
  readonly extraRoutes: true;
2421
+ readonly chat: {
2422
+ readonly path: "/v1/chat/completions";
2423
+ readonly seedModel: "gpt-6-luna";
2424
+ };
2425
+ readonly embeddings: {
2426
+ readonly path: "/v1/embeddings";
2427
+ readonly seedModel: "text-embedding-3-small";
2428
+ };
2429
+ readonly aig: {
2430
+ readonly slug: "openai";
2431
+ readonly trim: "/v1";
2432
+ };
420
2433
  readonly hint: "A secret key from the API keys page; the Gateway puts it on every call as a bearer token.";
421
2434
  readonly verified: {
422
2435
  readonly on: "2026-10-25";
@@ -436,7 +2449,24 @@ export declare const CAPABILITIES: {
436
2449
  readonly setup: "setup/openrouter.md";
437
2450
  readonly origin: "https://openrouter.ai";
438
2451
  readonly inferenceRoutes: readonly ["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/responses", "/api/v1/embeddings"];
2452
+ readonly chat: {
2453
+ readonly path: "/api/v1/chat/completions";
2454
+ readonly seedModel: "anthropic/claude-haiku-5.5";
2455
+ };
2456
+ readonly embeddings: {
2457
+ readonly path: "/api/v1/embeddings";
2458
+ readonly seedModel: "openai/text-embedding-3-small";
2459
+ };
2460
+ readonly aig: {
2461
+ readonly slug: "openrouter";
2462
+ readonly trim: "/api";
2463
+ };
439
2464
  readonly hint: "An API key from OpenRouter's keys page; the Gateway puts it on every call as a bearer token.";
2465
+ readonly cost: {
2466
+ readonly unit: "token";
2467
+ readonly responseField: "usage.cost";
2468
+ readonly note: "The answer's usage.cost is the call's price in USD, per model.";
2469
+ };
440
2470
  readonly verified: {
441
2471
  readonly on: "2026-10-25";
442
2472
  readonly how: "live";
@@ -458,12 +2488,56 @@ export declare const CAPABILITIES: {
458
2488
  readonly basePath: "/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai";
459
2489
  readonly inferenceRoutes: readonly ["/v1/chat/completions", "/v1/embeddings", "/v1/responses"];
460
2490
  readonly normalize: "workers-ai";
2491
+ readonly chat: {
2492
+ readonly path: "/v1/chat/completions";
2493
+ readonly seedModel: "@cf/meta/llama-4-scout-17b-16e-instruct";
2494
+ };
2495
+ readonly embeddings: {
2496
+ readonly path: "/v1/embeddings";
2497
+ readonly seedModel: "@cf/baai/bge-m3";
2498
+ };
2499
+ readonly aig: {
2500
+ readonly slug: "workers-ai";
2501
+ readonly header: true;
2502
+ };
461
2503
  readonly hint: "A Cloudflare API token with Workers AI Read (the Workers AI page's prefilled token); the account is the Gateway's own.";
462
2504
  readonly verified: {
463
2505
  readonly on: "2026-10-25";
464
2506
  readonly how: "live";
465
2507
  };
466
2508
  };
2509
+ readonly "ai-gateway": {
2510
+ readonly mode: "ai";
2511
+ readonly kind: "proxy";
2512
+ readonly label: "Cloudflare AI Gateway";
2513
+ readonly description: "Cloudflare's proxy in front of the other AI providers: logs, caching, rate limits and spend, with each provider's own key.";
2514
+ readonly auth: {
2515
+ readonly kind: "header";
2516
+ readonly header: "cf-aig-authorization";
2517
+ readonly prefix: "Bearer ";
2518
+ readonly secret: "AI_GATEWAY_API_KEY";
2519
+ };
2520
+ readonly authOptional: true;
2521
+ readonly docs: "https://dash.cloudflare.com/?to=/:account/ai/ai-gateway";
2522
+ readonly api: "https://developers.cloudflare.com/ai-gateway/";
2523
+ readonly setup: "setup/ai-gateway.md";
2524
+ readonly origin: "https://gateway.ai.cloudflare.com";
2525
+ readonly alsoNeeds: readonly ["CLOUDFLARE_ACCOUNT_ID", "AI_GATEWAY_ID"];
2526
+ readonly basePath: "/v1/{CLOUDFLARE_ACCOUNT_ID}/{AI_GATEWAY_ID}";
2527
+ readonly inferenceRoutes: readonly [];
2528
+ readonly hint: "The gateway's id from the AI Gateway page (everyapp ai gateway on makes one named everyapp); AI_GATEWAY_API_KEY only for an authenticated gateway, sent as cf-aig-authorization.";
2529
+ readonly secrets: readonly [{
2530
+ readonly name: "AI_GATEWAY_ID";
2531
+ readonly hint: "The AI Gateway's id (its name in the dashboard), in the Gateway's own Cloudflare account.";
2532
+ }, {
2533
+ readonly name: "AI_GATEWAY_API_KEY";
2534
+ readonly hint: "An AI Gateway token with Run permission, only when the gateway is authenticated; leave unset for an open gateway.";
2535
+ }];
2536
+ readonly verified: {
2537
+ readonly on: "2026-10-25";
2538
+ readonly how: "docs";
2539
+ };
2540
+ };
467
2541
  readonly dataforseo: {
468
2542
  readonly mode: "api_key";
469
2543
  readonly label: "DataForSEO";
@@ -544,622 +2618,23 @@ export declare const CAPABILITIES: {
544
2618
  readonly settings: readonly [];
545
2619
  readonly optionalSettings: readonly [];
546
2620
  };
547
- readonly linkedin: {
548
- readonly mode: "oauth_client";
549
- readonly label: "LinkedIn";
550
- readonly secrets: {
551
- readonly clientId: "LINKEDIN_CLIENT_ID";
552
- readonly clientSecret: "LINKEDIN_CLIENT_SECRET";
553
- };
554
- readonly token: readonly [{
555
- readonly host: "www.linkedin.com";
556
- readonly path: "/oauth/v2/accessToken";
557
- readonly methods: readonly ["POST"];
558
- readonly inject: "form";
559
- }];
560
- readonly access: readonly ["write"];
561
- readonly console: "https://www.linkedin.com/developers/apps";
562
- readonly authorize: {
563
- readonly url: "https://www.linkedin.com/oauth/v2/authorization";
564
- readonly scopes: readonly ["openid", "profile", "w_member_social", "r_basicprofile", "rw_organization_admin", "w_organization_social", "r_organization_social"];
565
- };
566
- readonly api: readonly ["api.linkedin.com"];
567
- readonly redirectPaths: readonly ["/integrations/social/linkedin", "/integrations/social/linkedin-page"];
568
- };
569
- readonly facebook: {
570
- readonly mode: "oauth_client";
571
- readonly label: "Facebook";
572
- readonly secrets: {
573
- readonly clientId: "FACEBOOK_APP_ID";
574
- readonly clientSecret: "FACEBOOK_APP_SECRET";
575
- };
576
- readonly token: readonly [{
577
- readonly host: "graph.facebook.com";
578
- readonly path: RegExp;
579
- readonly methods: readonly ["GET", "POST"];
580
- readonly inject: "query";
581
- }];
582
- readonly access: readonly ["write"];
583
- readonly console: "https://developers.facebook.com/apps";
584
- readonly authorize: {
585
- readonly url: "https://www.facebook.com/v25.0/dialog/oauth";
586
- readonly scopes: readonly ["pages_show_list", "business_management", "pages_manage_posts", "pages_manage_engagement", "pages_read_engagement", "read_insights", "instagram_basic", "instagram_content_publish", "instagram_manage_comments", "instagram_manage_insights"];
587
- };
588
- readonly api: readonly ["graph.facebook.com", "graph.instagram.com"];
589
- readonly redirectPaths: readonly ["/integrations/social/facebook", "/integrations/social/instagram"];
590
- };
591
- readonly instagram: {
592
- readonly mode: "oauth_client";
593
- readonly label: "Instagram";
594
- readonly secrets: {
595
- readonly clientId: "INSTAGRAM_APP_ID";
596
- readonly clientSecret: "INSTAGRAM_APP_SECRET";
597
- };
598
- readonly token: readonly [{
599
- readonly host: "api.instagram.com";
600
- readonly path: "/oauth/access_token";
601
- readonly methods: readonly ["POST"];
602
- readonly inject: "form";
603
- }, {
604
- readonly host: "graph.instagram.com";
605
- readonly path: "/access_token";
606
- readonly methods: readonly ["GET"];
607
- readonly inject: "query";
608
- }];
609
- readonly access: readonly ["write"];
610
- readonly console: "https://developers.facebook.com/apps";
611
- readonly authorize: {
612
- readonly url: "https://www.instagram.com/oauth/authorize";
613
- readonly scopes: readonly ["instagram_business_basic", "instagram_business_content_publish", "instagram_business_manage_comments", "instagram_business_manage_insights"];
614
- };
615
- readonly api: readonly ["graph.instagram.com"];
616
- readonly redirectPaths: readonly ["/integrations/social/instagram-standalone"];
617
- };
618
- readonly threads: {
619
- readonly mode: "oauth_client";
620
- readonly label: "Threads";
621
- readonly secrets: {
622
- readonly clientId: "THREADS_APP_ID";
623
- readonly clientSecret: "THREADS_APP_SECRET";
624
- };
625
- readonly token: readonly [{
626
- readonly host: "graph.threads.net";
627
- readonly path: "/oauth/access_token";
628
- readonly methods: readonly ["GET", "POST"];
629
- readonly inject: "query";
630
- }, {
631
- readonly host: "graph.threads.net";
632
- readonly path: "/access_token";
633
- readonly methods: readonly ["GET"];
634
- readonly inject: "query";
635
- }];
636
- readonly access: readonly ["write"];
637
- readonly console: "https://developers.facebook.com/apps";
638
- readonly authorize: {
639
- readonly url: "https://threads.net/oauth/authorize";
640
- readonly scopes: readonly ["threads_basic", "threads_content_publish", "threads_manage_replies", "threads_manage_insights"];
641
- };
642
- readonly api: readonly ["graph.threads.net"];
643
- readonly redirectPaths: readonly ["/integrations/social/threads"];
644
- };
645
- readonly youtube: {
646
- readonly mode: "oauth_client";
647
- readonly label: "YouTube";
648
- readonly secrets: {
649
- readonly clientId: "YOUTUBE_CLIENT_ID";
650
- readonly clientSecret: "YOUTUBE_CLIENT_SECRET";
651
- };
652
- readonly token: readonly [{
653
- readonly host: "oauth2.googleapis.com";
654
- readonly path: "/token";
655
- readonly methods: readonly ["POST"];
656
- readonly inject: "form";
657
- }];
658
- readonly access: readonly ["write"];
659
- readonly console: "https://console.cloud.google.com/apis/credentials";
660
- readonly setup: "setup/google.md";
661
- readonly authorize: {
662
- readonly url: "https://accounts.google.com/o/oauth2/v2/auth";
663
- readonly scopes: readonly ["https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner", "https://www.googleapis.com/auth/yt-analytics.readonly", "https://www.googleapis.com/auth/business.manage"];
664
- };
665
- readonly api: readonly ["www.googleapis.com", "youtubeanalytics.googleapis.com", "mybusinessaccountmanagement.googleapis.com", "mybusinessbusinessinformation.googleapis.com", "mybusiness.googleapis.com", "businessprofileperformance.googleapis.com"];
666
- readonly redirectPaths: readonly ["/integrations/social/youtube", "/integrations/social/gmb"];
667
- };
668
- readonly tiktok: {
669
- readonly mode: "oauth_client";
670
- readonly label: "TikTok";
671
- readonly secrets: {
672
- readonly clientId: "TIKTOK_CLIENT_ID";
673
- readonly clientSecret: "TIKTOK_CLIENT_SECRET";
674
- };
675
- readonly token: readonly [{
676
- readonly host: "open.tiktokapis.com";
677
- readonly path: "/v2/oauth/token/";
678
- readonly methods: readonly ["POST"];
679
- readonly inject: "form";
680
- readonly params: {
681
- readonly clientId: "client_key";
682
- };
683
- }];
684
- readonly access: readonly ["write"];
685
- readonly console: "https://developers.tiktok.com/apps";
686
- readonly authorize: {
687
- readonly url: "https://www.tiktok.com/v2/auth/authorize/";
688
- readonly scopes: readonly ["video.list", "user.info.basic", "video.publish", "video.upload", "user.info.profile", "user.info.stats"];
689
- };
690
- readonly api: readonly ["open.tiktokapis.com"];
691
- readonly redirectPaths: readonly ["/integrations/social/tiktok"];
692
- };
693
- readonly "tiktok-business": {
694
- readonly mode: "oauth_client";
695
- readonly label: "TikTok Business";
696
- readonly secrets: {
697
- readonly clientId: "TIKTOK_BUSINESS_CLIENT_ID";
698
- readonly clientSecret: "TIKTOK_BUSINESS_CLIENT_SECRET";
699
- };
700
- readonly token: readonly [{
701
- readonly host: "business-api.tiktok.com";
702
- readonly path: "/open_api/v1.3/tt_user/oauth2/token/";
703
- readonly methods: readonly ["POST"];
704
- readonly inject: "json";
705
- }, {
706
- readonly host: "business-api.tiktok.com";
707
- readonly path: "/open_api/v1.3/tt_user/oauth2/refresh_token/";
708
- readonly methods: readonly ["POST"];
709
- readonly inject: "json";
710
- }];
711
- readonly access: readonly ["write"];
712
- readonly console: "https://business-api.tiktok.com/portal/apps";
713
- readonly authorize: {
714
- readonly url: "https://www.tiktok.com/v2/auth/authorize/";
715
- readonly scopes: readonly ["user.info.basic", "user.info.username", "user.info.stats", "video.list", "video.upload", "video.publish"];
716
- };
717
- readonly api: readonly ["business-api.tiktok.com"];
718
- readonly redirectPaths: readonly ["/integrations/social/tiktok-business/"];
719
- };
720
- readonly reddit: {
721
- readonly mode: "oauth_client";
722
- readonly label: "Reddit";
723
- readonly secrets: {
724
- readonly clientId: "REDDIT_CLIENT_ID";
725
- readonly clientSecret: "REDDIT_CLIENT_SECRET";
726
- };
727
- readonly token: readonly [{
728
- readonly host: "www.reddit.com";
729
- readonly path: "/api/v1/access_token";
730
- readonly methods: readonly ["POST"];
731
- readonly inject: "basic";
732
- }];
733
- readonly access: readonly ["write"];
734
- readonly console: "https://www.reddit.com/prefs/apps";
735
- readonly authorize: {
736
- readonly url: "https://www.reddit.com/api/v1/authorize";
737
- readonly scopes: readonly ["read", "identity", "submit", "flair"];
738
- };
739
- readonly api: readonly ["oauth.reddit.com"];
740
- readonly redirectPaths: readonly ["/integrations/social/reddit"];
741
- };
742
- readonly pinterest: {
743
- readonly mode: "oauth_client";
744
- readonly label: "Pinterest";
745
- readonly secrets: {
746
- readonly clientId: "PINTEREST_CLIENT_ID";
747
- readonly clientSecret: "PINTEREST_CLIENT_SECRET";
748
- };
749
- readonly token: readonly [{
750
- readonly host: "api.pinterest.com";
751
- readonly path: "/v5/oauth/token";
752
- readonly methods: readonly ["POST"];
753
- readonly inject: "basic";
754
- }];
755
- readonly access: readonly ["write"];
756
- readonly console: "https://developers.pinterest.com/apps/";
757
- readonly authorize: {
758
- readonly url: "https://www.pinterest.com/oauth/";
759
- readonly scopes: readonly ["boards:read", "boards:write", "pins:read", "pins:write", "user_accounts:read"];
760
- };
761
- readonly api: readonly ["api.pinterest.com"];
762
- readonly redirectPaths: readonly ["/integrations/social/pinterest"];
763
- };
764
- readonly discord: {
765
- readonly mode: "oauth_client";
766
- readonly label: "Discord";
767
- readonly secrets: {
768
- readonly clientId: "DISCORD_CLIENT_ID";
769
- readonly clientSecret: "DISCORD_CLIENT_SECRET";
770
- };
771
- readonly token: readonly [{
772
- readonly host: "discord.com";
773
- readonly path: "/api/oauth2/token";
774
- readonly methods: readonly ["POST"];
775
- readonly inject: "basic";
776
- }];
777
- readonly access: readonly ["write"];
778
- readonly console: "https://discord.com/developers/applications";
779
- readonly authorize: {
780
- readonly url: "https://discord.com/oauth2/authorize";
781
- readonly scopes: readonly ["bot", "identify", "guilds"];
782
- };
783
- readonly api: readonly ["discord.com"];
784
- readonly redirectPaths: readonly ["/integrations/social/discord"];
785
- };
786
- readonly slack: {
787
- readonly mode: "oauth_client";
788
- readonly label: "Slack";
789
- readonly secrets: {
790
- readonly clientId: "SLACK_CLIENT_ID";
791
- readonly clientSecret: "SLACK_CLIENT_SECRET";
792
- };
793
- readonly token: readonly [{
794
- readonly host: "slack.com";
795
- readonly path: "/api/oauth.v2.access";
796
- readonly methods: readonly ["POST"];
797
- readonly inject: "form";
798
- }];
799
- readonly access: readonly ["write"];
800
- readonly console: "https://api.slack.com/apps";
801
- readonly setup: "setup/slack.md";
802
- readonly authorize: {
803
- readonly url: "https://slack.com/oauth/v2/authorize";
804
- readonly scopes: readonly ["channels:read", "groups:read", "users:read", "users:read.email", "chat:write", "chat:write.public", "chat:write.customize", "channels:join", "channels:manage", "groups:write", "channels:write.invites", "groups:write.invites", "im:write", "files:write", "channels:write"];
805
- };
806
- readonly scopePolicy: {
807
- readonly dialect: "slack";
808
- readonly grantTypes: readonly [null, "refresh_token"];
809
- readonly requestScope: "keep";
810
- readonly alwaysRequested: readonly [];
811
- readonly tolerated: readonly [];
812
- readonly deniedSegments: readonly [];
813
- readonly sets: {
814
- readonly "channels.read": {
815
- readonly label: "Channels (read-only)";
816
- readonly access: "read";
817
- readonly scopes: readonly ["channels:read", "groups:read"];
818
- readonly routes: readonly [{
819
- readonly host: "slack.com";
820
- readonly paths: readonly ["/api/conversations.list", "/api/conversations.info", "/api/conversations.members", "/api/users.conversations"];
821
- readonly posts: readonly [RegExp, RegExp];
822
- }];
823
- };
824
- readonly "users.read": {
825
- readonly label: "Members (read-only)";
826
- readonly access: "read";
827
- readonly scopes: readonly ["users:read"];
828
- readonly routes: readonly [{
829
- readonly host: "slack.com";
830
- readonly paths: readonly ["/api/users.list", "/api/users.info", "/api/users.getPresence", "/api/bots.info"];
831
- readonly posts: readonly [RegExp, RegExp];
832
- }];
833
- };
834
- readonly "users.email": {
835
- readonly label: "Members' email addresses (read-only)";
836
- readonly access: "read";
837
- readonly scopes: readonly ["users:read.email"];
838
- readonly routes: readonly [{
839
- readonly host: "slack.com";
840
- readonly paths: readonly ["/api/users.lookupByEmail"];
841
- readonly posts: readonly [RegExp];
842
- }];
843
- };
844
- readonly "messages.write": {
845
- readonly label: "Messages (post as the app)";
846
- readonly access: "write";
847
- readonly scopes: readonly ["chat:write", "chat:write.public", "chat:write.customize"];
848
- readonly routes: readonly [{
849
- readonly host: "slack.com";
850
- readonly paths: readonly ["/api/chat.scheduledMessages.list"];
851
- readonly posts: readonly [RegExp];
852
- }];
853
- };
854
- readonly "channels.join": {
855
- readonly label: "Channels (join public ones)";
856
- readonly access: "write";
857
- readonly scopes: readonly ["channels:join"];
858
- readonly routes: readonly [{
859
- readonly host: "slack.com";
860
- readonly paths: readonly [];
861
- readonly posts: readonly [RegExp];
862
- }];
863
- };
864
- readonly "channels.manage": {
865
- readonly label: "Channels (create, manage and invite to; open DMs)";
866
- readonly access: "write";
867
- readonly scopes: readonly ["channels:manage", "groups:write", "channels:write.invites", "groups:write.invites", "im:write"];
868
- readonly routes: readonly [{
869
- readonly host: "slack.com";
870
- readonly paths: readonly [];
871
- readonly posts: readonly [RegExp];
872
- }];
873
- };
874
- readonly "files.write": {
875
- readonly label: "Files (upload)";
876
- readonly access: "write";
877
- readonly scopes: readonly ["files:write"];
878
- readonly routes: readonly [{
879
- readonly host: "slack.com";
880
- readonly paths: readonly [];
881
- readonly posts: readonly [RegExp];
882
- }];
883
- };
884
- readonly "user-channels.manage": {
885
- readonly label: "Channels (as the installing person: read, manage, invite to)";
886
- readonly access: "write";
887
- readonly scopes: readonly [];
888
- readonly userScopes: readonly ["channels:read", "channels:write", "groups:read", "groups:write"];
889
- readonly routes: readonly [{
890
- readonly host: "slack.com";
891
- readonly paths: readonly ["/api/conversations.list", "/api/conversations.info", "/api/conversations.members", "/api/users.conversations"];
892
- readonly posts: readonly [RegExp, RegExp];
893
- }];
894
- };
895
- };
2621
+ readonly slack: OAuthClientCapability & {
2622
+ secrets: {
2623
+ clientId: "SLACK_CLIENT_ID";
2624
+ clientSecret: "SLACK_CLIENT_SECRET";
896
2625
  };
897
- readonly api: readonly ["slack.com"];
898
- readonly redirectPaths: readonly ["/integrations/social/slack", "/integrations/slack/callback"];
899
2626
  };
900
- readonly mastodon: {
901
- readonly mode: "oauth_client";
902
- readonly label: "Mastodon";
903
- readonly secrets: {
904
- readonly clientId: "MASTODON_CLIENT_ID";
905
- readonly clientSecret: "MASTODON_CLIENT_SECRET";
906
- };
907
- readonly token: readonly [{
908
- readonly path: "/oauth/token";
909
- readonly methods: readonly ["POST"];
910
- readonly inject: "form";
911
- }];
912
- readonly hostSetting: "MASTODON_URL";
913
- readonly defaultOrigin: "https://mastodon.social";
914
- readonly access: readonly ["write"];
915
- readonly console: "/settings/applications";
916
- readonly authorize: {
917
- readonly url: "/oauth/authorize";
918
- readonly scopes: readonly ["write:statuses", "profile", "write:media"];
919
- };
920
- readonly api: readonly [];
921
- readonly redirectPaths: readonly ["/integrations/social/mastodon"];
922
- };
923
- readonly kick: {
924
- readonly mode: "oauth_client";
925
- readonly label: "Kick";
926
- readonly secrets: {
927
- readonly clientId: "KICK_CLIENT_ID";
928
- readonly clientSecret: "KICK_CLIENT_SECRET";
929
- };
930
- readonly token: readonly [{
931
- readonly host: "id.kick.com";
932
- readonly path: "/oauth/token";
933
- readonly methods: readonly ["POST"];
934
- readonly inject: "form";
935
- }];
936
- readonly access: readonly ["write"];
937
- readonly console: "https://kick.com/settings/developer";
938
- readonly authorize: {
939
- readonly url: "https://id.kick.com/oauth/authorize";
940
- readonly scopes: readonly ["chat:write", "user:read", "channel:read"];
941
- };
942
- readonly api: readonly ["api.kick.com"];
943
- readonly redirectPaths: readonly ["/integrations/social/kick"];
944
- };
945
- readonly twitch: {
946
- readonly mode: "oauth_client";
947
- readonly label: "Twitch";
948
- readonly secrets: {
949
- readonly clientId: "TWITCH_CLIENT_ID";
950
- readonly clientSecret: "TWITCH_CLIENT_SECRET";
951
- };
952
- readonly token: readonly [{
953
- readonly host: "id.twitch.tv";
954
- readonly path: "/oauth2/token";
955
- readonly methods: readonly ["POST"];
956
- readonly inject: "form";
957
- }];
958
- readonly access: readonly ["write"];
959
- readonly console: "https://dev.twitch.tv/console/apps";
960
- readonly authorize: {
961
- readonly url: "https://id.twitch.tv/oauth2/authorize";
962
- readonly scopes: readonly ["user:write:chat", "user:read:chat", "moderator:manage:announcements"];
963
- };
964
- readonly api: readonly ["api.twitch.tv"];
965
- readonly redirectPaths: readonly ["/integrations/social/twitch"];
966
- };
967
- readonly tumblr: {
968
- readonly mode: "oauth_client";
969
- readonly label: "Tumblr";
970
- readonly secrets: {
971
- readonly clientId: "TUMBLR_CLIENT_ID";
972
- readonly clientSecret: "TUMBLR_CLIENT_SECRET";
973
- };
974
- readonly token: readonly [{
975
- readonly host: "api.tumblr.com";
976
- readonly path: "/v2/oauth2/token";
977
- readonly methods: readonly ["POST"];
978
- readonly inject: "form";
979
- }];
980
- readonly access: readonly ["write"];
981
- readonly console: "https://www.tumblr.com/oauth/apps";
982
- readonly authorize: {
983
- readonly url: "https://www.tumblr.com/oauth2/authorize";
984
- readonly scopes: readonly ["write", "offline_access"];
985
- };
986
- readonly api: readonly ["api.tumblr.com"];
987
- readonly redirectPaths: readonly ["/integrations/social/tumblr"];
988
- };
989
- readonly dribbble: {
990
- readonly mode: "oauth_client";
991
- readonly label: "Dribbble";
992
- readonly secrets: {
993
- readonly clientId: "DRIBBBLE_CLIENT_ID";
994
- readonly clientSecret: "DRIBBBLE_CLIENT_SECRET";
995
- };
996
- readonly token: readonly [{
997
- readonly host: "dribbble.com";
998
- readonly path: "/oauth/token";
999
- readonly methods: readonly ["POST"];
1000
- readonly inject: "query";
1001
- }];
1002
- readonly access: readonly ["write"];
1003
- readonly console: "https://dribbble.com/account/applications";
1004
- readonly authorize: {
1005
- readonly url: "https://dribbble.com/oauth/authorize";
1006
- readonly scopes: readonly ["public", "upload"];
1007
- };
1008
- readonly api: readonly ["api.dribbble.com"];
1009
- readonly redirectPaths: readonly ["/integrations/social/dribbble"];
1010
- };
1011
- readonly "google-workspace": {
1012
- readonly mode: "oauth_client";
1013
- readonly label: "Google (Gmail, Calendar, Search Console and Analytics)";
1014
- readonly secrets: {
1015
- readonly clientId: "GOOGLE_WORKSPACE_CLIENT_ID";
1016
- readonly clientSecret: "GOOGLE_WORKSPACE_CLIENT_SECRET";
1017
- };
1018
- readonly token: readonly [{
1019
- readonly host: "oauth2.googleapis.com";
1020
- readonly path: "/token";
1021
- readonly methods: readonly ["POST"];
1022
- readonly inject: "form";
1023
- }];
1024
- readonly access: readonly ["write"];
1025
- readonly console: "https://console.cloud.google.com/apis/credentials";
1026
- readonly setup: "setup/google.md";
1027
- readonly authorize: {
1028
- readonly url: "https://accounts.google.com/o/oauth2/v2/auth";
1029
- readonly scopes: readonly ["openid", "email", "profile", "https://www.googleapis.com/auth/gmail.readonly", "https://www.googleapis.com/auth/calendar.readonly", "https://www.googleapis.com/auth/webmasters.readonly", "https://www.googleapis.com/auth/analytics.readonly"];
1030
- };
1031
- readonly scopePolicy: {
1032
- readonly dialect: "google";
1033
- readonly grantTypes: readonly ["authorization_code", "refresh_token"];
1034
- readonly requestScope: "drop";
1035
- readonly alwaysRequested: readonly [];
1036
- readonly tolerated: readonly ["openid", "email", "profile", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile"];
1037
- readonly deniedSegments: readonly ["batch", "measurementProtocolSecrets"];
1038
- readonly sets: {
1039
- readonly identity: {
1040
- readonly label: "Google account (who you are)";
1041
- readonly access: "read";
1042
- readonly scopes: readonly ["openid", "email", "profile"];
1043
- readonly routes: readonly [{
1044
- readonly host: "openidconnect.googleapis.com";
1045
- readonly paths: readonly ["/v1/userinfo"];
1046
- }, {
1047
- readonly host: "www.googleapis.com";
1048
- readonly paths: readonly ["/oauth2/v2/userinfo", "/oauth2/v3/userinfo", "/userinfo/v2/me"];
1049
- }];
1050
- };
1051
- readonly "gmail.read": {
1052
- readonly label: "Gmail (read-only)";
1053
- readonly access: "read";
1054
- readonly scopes: readonly ["https://www.googleapis.com/auth/gmail.readonly"];
1055
- readonly routes: readonly [{
1056
- readonly host: "gmail.googleapis.com";
1057
- readonly paths: readonly ["/gmail/v1/users/"];
1058
- readonly posts: readonly [RegExp];
1059
- }];
1060
- };
1061
- readonly "calendar.read": {
1062
- readonly label: "Google Calendar (read-only)";
1063
- readonly access: "read";
1064
- readonly scopes: readonly ["https://www.googleapis.com/auth/calendar.readonly"];
1065
- readonly routes: readonly [{
1066
- readonly host: "www.googleapis.com";
1067
- readonly paths: readonly ["/calendar/v3/"];
1068
- readonly posts: readonly [RegExp, RegExp, RegExp, RegExp];
1069
- }];
1070
- };
1071
- readonly "search-console.read": {
1072
- readonly label: "Search Console (read-only)";
1073
- readonly access: "read";
1074
- readonly scopes: readonly ["https://www.googleapis.com/auth/webmasters.readonly"];
1075
- readonly routes: readonly [{
1076
- readonly host: "www.googleapis.com";
1077
- readonly paths: readonly ["/webmasters/v3/"];
1078
- readonly posts: readonly [RegExp];
1079
- }, {
1080
- readonly host: "searchconsole.googleapis.com";
1081
- readonly paths: readonly ["/webmasters/v3/"];
1082
- readonly posts: readonly [RegExp, RegExp];
1083
- }];
1084
- };
1085
- readonly "analytics.read": {
1086
- readonly label: "Google Analytics (read-only)";
1087
- readonly access: "read";
1088
- readonly scopes: readonly ["https://www.googleapis.com/auth/analytics.readonly"];
1089
- readonly routes: readonly [{
1090
- readonly host: "analyticsdata.googleapis.com";
1091
- readonly paths: readonly ["/v1beta/properties/"];
1092
- readonly posts: readonly [RegExp];
1093
- }, {
1094
- readonly host: "analyticsadmin.googleapis.com";
1095
- readonly paths: readonly ["/v1beta/accountSummaries", "/v1beta/accounts", "/v1beta/accounts/", "/v1beta/properties", "/v1beta/properties/", "/v1alpha/properties/"];
1096
- }];
1097
- };
1098
- };
2627
+ readonly "google-workspace": OAuthClientCapability & {
2628
+ secrets: {
2629
+ clientId: "GOOGLE_WORKSPACE_CLIENT_ID";
2630
+ clientSecret: "GOOGLE_WORKSPACE_CLIENT_SECRET";
1099
2631
  };
1100
- readonly api: readonly ["gmail.googleapis.com", "www.googleapis.com", "searchconsole.googleapis.com", "analyticsdata.googleapis.com", "analyticsadmin.googleapis.com", "openidconnect.googleapis.com"];
1101
- readonly redirectPaths: readonly ["/integrations/google/callback"];
1102
- };
1103
- readonly "microsoft-365": {
1104
- readonly mode: "oauth_client";
1105
- readonly label: "Microsoft 365 (Outlook mail and calendar)";
1106
- readonly secrets: {
1107
- readonly clientId: "MICROSOFT_365_CLIENT_ID";
1108
- readonly clientSecret: "MICROSOFT_365_CLIENT_SECRET";
1109
- };
1110
- readonly token: readonly [{
1111
- readonly host: "login.microsoftonline.com";
1112
- readonly path: "/common/oauth2/v2.0/token";
1113
- readonly methods: readonly ["POST"];
1114
- readonly inject: "form";
1115
- }];
1116
- readonly access: readonly ["write"];
1117
- readonly console: "https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade";
1118
- readonly setup: "setup/microsoft-365.md";
1119
- readonly authorize: {
1120
- readonly url: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize";
1121
- readonly scopes: readonly ["offline_access", "User.Read", "Mail.Read", "Calendars.Read"];
1122
- };
1123
- readonly scopePolicy: {
1124
- readonly dialect: "microsoft";
1125
- readonly grantTypes: readonly ["authorization_code", "refresh_token"];
1126
- readonly requestScope: "replace";
1127
- readonly alwaysRequested: readonly ["offline_access"];
1128
- readonly tolerated: readonly ["openid", "profile", "email", "offline_access", "User.Read"];
1129
- readonly deniedSegments: readonly ["$batch", "beta"];
1130
- readonly sets: {
1131
- readonly identity: {
1132
- readonly label: "Microsoft account (who you are)";
1133
- readonly access: "read";
1134
- readonly scopes: readonly ["User.Read"];
1135
- readonly routes: readonly [{
1136
- readonly host: "graph.microsoft.com";
1137
- readonly paths: readonly ["/v1.0/me", "/oidc/userinfo"];
1138
- }];
1139
- };
1140
- readonly "mail.read": {
1141
- readonly label: "Outlook mail (read-only)";
1142
- readonly access: "read";
1143
- readonly scopes: readonly ["Mail.Read"];
1144
- readonly routes: readonly [{
1145
- readonly host: "graph.microsoft.com";
1146
- readonly paths: readonly ["/v1.0/me/messages", "/v1.0/me/messages/", "/v1.0/me/mailFolders", "/v1.0/me/mailFolders/"];
1147
- }];
1148
- };
1149
- readonly "calendar.read": {
1150
- readonly label: "Outlook calendar (read-only)";
1151
- readonly access: "read";
1152
- readonly scopes: readonly ["Calendars.Read"];
1153
- readonly routes: readonly [{
1154
- readonly host: "graph.microsoft.com";
1155
- readonly paths: readonly ["/v1.0/me/calendar", "/v1.0/me/calendar/", "/v1.0/me/calendars", "/v1.0/me/calendars/", "/v1.0/me/events", "/v1.0/me/events/", "/v1.0/me/calendarView", "/v1.0/me/calendarView/"];
1156
- readonly posts: readonly [RegExp];
1157
- }];
1158
- };
1159
- };
2632
+ };
2633
+ readonly "microsoft-365": OAuthClientCapability & {
2634
+ secrets: {
2635
+ clientId: "MICROSOFT_365_CLIENT_ID";
2636
+ clientSecret: "MICROSOFT_365_CLIENT_SECRET";
1160
2637
  };
1161
- readonly api: readonly ["graph.microsoft.com"];
1162
- readonly redirectPaths: readonly ["/integrations/microsoft/callback"];
1163
2638
  };
1164
2639
  };
1165
2640
  export type CapabilityId = keyof typeof CAPABILITIES;
@@ -1172,23 +2647,13 @@ export type ApiKeyCapabilityId = CapabilityIdOf<"api_key">;
1172
2647
  export type AiProviderId = CapabilityIdOf<"ai">;
1173
2648
  /** Capabilities the gateway performs itself, each with its SDK helper. */
1174
2649
  export type ServiceCapabilityId = CapabilityIdOf<"service">;
1175
- /** OAuth clients whose token endpoints apps reach with `integrationFetch()`. */
2650
+ /** The built-in OAuth providers whose APIs apps reach with `integrationFetch()`. */
1176
2651
  export type OAuthClientCapabilityId = CapabilityIdOf<"oauth_client">;
1177
- /**
1178
- * The scope set names an OAuth client offers; `never` for a client without
1179
- * a scope policy. Distributes over a union of ids, so a generic over two
1180
- * clients gets every name either offers rather than the names they share.
1181
- */
1182
- export type OAuthScopeSetName<Id extends OAuthClientCapabilityId> = Id extends unknown ? (typeof CAPABILITIES)[Id] extends {
1183
- scopePolicy: {
1184
- sets: infer S;
1185
- };
1186
- } ? keyof S & string : never : never;
1187
2652
  /** The Gateway settings an `auth` block names: the key, and a Basic username held as a setting. */
1188
2653
  type AuthSettingsOf<A> = (A extends {
1189
2654
  secret: infer S extends string;
1190
2655
  } ? S : never) | (A extends {
1191
- username: {
2656
+ user: {
1192
2657
  secret: infer U extends string;
1193
2658
  };
1194
2659
  } ? U : never);
@@ -1197,10 +2662,8 @@ type SettingsOf<C> = C extends {
1197
2662
  optionalSettings: readonly (infer O extends string)[];
1198
2663
  } ? S | O : C extends {
1199
2664
  secrets: infer S;
1200
- token: unknown;
1201
- } ? (S[keyof S] & string) | (C extends {
1202
- hostSetting: infer H extends string;
1203
- } ? H : never) : C extends {
2665
+ flow: unknown;
2666
+ } ? S[keyof S] & string : C extends {
1204
2667
  auth: infer A;
1205
2668
  } ? AuthSettingsOf<A> | (C extends {
1206
2669
  alsoNeeds: readonly (infer N extends string)[];
@@ -1281,13 +2744,12 @@ export type IntegrationProxyRoute =
1281
2744
  capability: ApiKeyCapability;
1282
2745
  upstream: URL;
1283
2746
  }
1284
- /** A call to one of an OAuth client's token endpoints, with its rule. */
2747
+ /** A call to one of an OAuth provider's API hosts, which goes with the person's held token. */
1285
2748
  | {
1286
2749
  kind: "oauth_client";
1287
2750
  id: string;
1288
2751
  capability: OAuthClientCapability;
1289
2752
  upstream: URL;
1290
- endpoint: OAuthTokenEndpoint;
1291
2753
  }
1292
2754
  /** A call to one of the routes a service capability declares. */
1293
2755
  | {
@@ -1301,31 +2763,15 @@ export type CapabilitySettings = Readonly<Record<string, unknown>>;
1301
2763
  /**
1302
2764
  * The capability call an AppGateway path names, or null when the path names
1303
2765
  * an unknown capability (or an AI provider, which has its own route), a
1304
- * host outside the provider's, a path that could leave that host, a path
1305
- * that isn't one of an OAuth client's token endpoints, or a route a service
1306
- * capability doesn't declare. `settings` resolves an OAuth client's
1307
- * `hostSetting` (Mastodon's instance); `lookup` is where the id is found,
2766
+ * host outside the provider's, a path that could leave that host, or a
2767
+ * route a service capability doesn't declare. `settings` resolves an API-key provider's
2768
+ * `hostSetting` (a Shopify store's host); `lookup` is where the id is found,
1308
2769
  * the catalog alone by default.
1309
2770
  */
1310
2771
  export declare function parseIntegrationProxyPath(pathname: string, search: string, settings?: CapabilitySettings, lookup?: CapabilityLookup): IntegrationProxyRoute | null;
1311
- /**
1312
- * The origin an OAuth client's `hostSetting` names (its default when the
1313
- * setting is unset), or null for a client with a fixed host or a setting
1314
- * that isn't an https origin. A bare host is taken as https.
1315
- */
1316
- export declare function oauthClientOrigin(capability: OAuthClientCapability, settings: CapabilitySettings | undefined): string | null;
1317
- /**
1318
- * The token endpoint `upstream` is, by its exact host and path (a RegExp
1319
- * for a versioned one), or null. Its method is the caller's to check.
1320
- */
1321
- export declare function tokenEndpointFor(capability: OAuthClientCapability, upstream: URL, settings: CapabilitySettings | undefined): OAuthTokenEndpoint | null;
1322
- /** An OAuth client's token endpoints, as `POST https://host/path` lines for messages. */
1323
- export declare function describeTokenEndpoints(capability: OAuthClientCapability): string;
1324
- /** A token endpoint's path as people read it: a versioned one as `/v<version>/oauth/access_token`. */
1325
- export declare function tokenPathText(path: string | RegExp): string;
1326
2772
  /**
1327
2773
  * The command that gives the gateway `capability`'s client:
1328
- * `pnpm everyapp secret set <ID> <SECRET> [<HOST SETTING>]`.
2774
+ * `pnpm everyapp secret set <ID> <SECRET>`.
1329
2775
  */
1330
2776
  export declare function oauthClientSecretSetCommand(capability: OAuthClientCapability): string;
1331
2777
  /**