@weftlabs/sdk 0.31.0 → 0.32.1
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.
- package/dist/facilitator/middleware/index.js +1 -1
- package/dist/facilitator/middleware/index.js.map +1 -1
- package/dist/facilitator/middleware/index.mjs +1 -1
- package/dist/facilitator/middleware/index.mjs.map +1 -1
- package/dist/index.d.mts +808 -156
- package/dist/index.d.ts +808 -156
- package/dist/index.js +495 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +495 -45
- package/dist/index.mjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +1 -1
- package/dist/server.mjs.map +1 -1
- package/docs/FetchApi.md +1 -1
- package/docs/FetchResponse.md +3 -1
- package/docs/GetPurchaseIdParameter.md +30 -0
- package/docs/Purchase.md +2 -0
- package/docs/PurchasesApi.md +3 -3
- package/docs/SearchApi.md +2 -2
- package/docs/SearchCompactAccess.md +39 -0
- package/docs/SearchCompactAccessPrice.md +38 -0
- package/docs/SearchCompactNextCall.md +39 -0
- package/docs/SearchCompactResult.md +63 -0
- package/docs/SearchCompactResultAttribution.md +37 -0
- package/docs/SearchCompactResultBlockedScopesInner.md +34 -0
- package/docs/SearchCompactResultOperation.md +36 -0
- package/docs/SearchCompactResultProvider.md +34 -0
- package/docs/SearchRequest.md +2 -0
- package/docs/SearchResponse.md +6 -0
- package/docs/SearchWeftFetchCompatibility.md +2 -0
- package/package.json +13 -11
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import '@x402/core/server';
|
|
|
8
8
|
* Weft API
|
|
9
9
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
10
10
|
*
|
|
11
|
-
* The version of the OpenAPI document: 0.
|
|
11
|
+
* The version of the OpenAPI document: 0.32.1
|
|
12
12
|
*
|
|
13
13
|
*
|
|
14
14
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -193,7 +193,7 @@ declare class TextApiResponse {
|
|
|
193
193
|
* Weft API
|
|
194
194
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
195
195
|
*
|
|
196
|
-
* The version of the OpenAPI document: 0.
|
|
196
|
+
* The version of the OpenAPI document: 0.32.1
|
|
197
197
|
*
|
|
198
198
|
*
|
|
199
199
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -245,7 +245,7 @@ declare function AccountBootstrapApprovalToJSONTyped(value?: AccountBootstrapApp
|
|
|
245
245
|
* Weft API
|
|
246
246
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
247
247
|
*
|
|
248
|
-
* The version of the OpenAPI document: 0.
|
|
248
|
+
* The version of the OpenAPI document: 0.32.1
|
|
249
249
|
*
|
|
250
250
|
*
|
|
251
251
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -303,7 +303,7 @@ declare function AccountBootstrapCreatedApprovalToJSONTyped(value?: AccountBoots
|
|
|
303
303
|
* Weft API
|
|
304
304
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
305
305
|
*
|
|
306
|
-
* The version of the OpenAPI document: 0.
|
|
306
|
+
* The version of the OpenAPI document: 0.32.1
|
|
307
307
|
*
|
|
308
308
|
*
|
|
309
309
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -400,7 +400,7 @@ declare function AccountBootstrapCreatedToJSONTyped(value?: AccountBootstrapCrea
|
|
|
400
400
|
* Weft API
|
|
401
401
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
402
402
|
*
|
|
403
|
-
* The version of the OpenAPI document: 0.
|
|
403
|
+
* The version of the OpenAPI document: 0.32.1
|
|
404
404
|
*
|
|
405
405
|
*
|
|
406
406
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -434,7 +434,7 @@ declare function AccountBootstrapCreatedResponseToJSONTyped(value?: AccountBoots
|
|
|
434
434
|
* Weft API
|
|
435
435
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
436
436
|
*
|
|
437
|
-
* The version of the OpenAPI document: 0.
|
|
437
|
+
* The version of the OpenAPI document: 0.32.1
|
|
438
438
|
*
|
|
439
439
|
*
|
|
440
440
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -507,7 +507,7 @@ declare function AccountBootstrapRequestToJSONTyped(value?: AccountBootstrapRequ
|
|
|
507
507
|
* Weft API
|
|
508
508
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
509
509
|
*
|
|
510
|
-
* The version of the OpenAPI document: 0.
|
|
510
|
+
* The version of the OpenAPI document: 0.32.1
|
|
511
511
|
*
|
|
512
512
|
*
|
|
513
513
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -591,7 +591,7 @@ declare function AccountBootstrapStatusToJSONTyped(value?: AccountBootstrapStatu
|
|
|
591
591
|
* Weft API
|
|
592
592
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
593
593
|
*
|
|
594
|
-
* The version of the OpenAPI document: 0.
|
|
594
|
+
* The version of the OpenAPI document: 0.32.1
|
|
595
595
|
*
|
|
596
596
|
*
|
|
597
597
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -625,7 +625,7 @@ declare function AccountBootstrapStatusResponseToJSONTyped(value?: AccountBootst
|
|
|
625
625
|
* Weft API
|
|
626
626
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
627
627
|
*
|
|
628
|
-
* The version of the OpenAPI document: 0.
|
|
628
|
+
* The version of the OpenAPI document: 0.32.1
|
|
629
629
|
*
|
|
630
630
|
*
|
|
631
631
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -673,7 +673,7 @@ declare function MeApiKeyCreatorToJSONTyped(value?: MeApiKeyCreator | null, igno
|
|
|
673
673
|
* Weft API
|
|
674
674
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
675
675
|
*
|
|
676
|
-
* The version of the OpenAPI document: 0.
|
|
676
|
+
* The version of the OpenAPI document: 0.32.1
|
|
677
677
|
*
|
|
678
678
|
*
|
|
679
679
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -731,7 +731,7 @@ declare function MeApiKeyToJSONTyped(value?: MeApiKey | null, ignoreDiscriminato
|
|
|
731
731
|
* Weft API
|
|
732
732
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
733
733
|
*
|
|
734
|
-
* The version of the OpenAPI document: 0.
|
|
734
|
+
* The version of the OpenAPI document: 0.32.1
|
|
735
735
|
*
|
|
736
736
|
*
|
|
737
737
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -806,7 +806,7 @@ declare function AccountDetailsToJSONTyped(value?: AccountDetails | null, ignore
|
|
|
806
806
|
* Weft API
|
|
807
807
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
808
808
|
*
|
|
809
|
-
* The version of the OpenAPI document: 0.
|
|
809
|
+
* The version of the OpenAPI document: 0.32.1
|
|
810
810
|
*
|
|
811
811
|
*
|
|
812
812
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -869,7 +869,7 @@ declare function ApiKeyToJSONTyped(value?: ApiKey | null, ignoreDiscriminator?:
|
|
|
869
869
|
* Weft API
|
|
870
870
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
871
871
|
*
|
|
872
|
-
* The version of the OpenAPI document: 0.
|
|
872
|
+
* The version of the OpenAPI document: 0.32.1
|
|
873
873
|
*
|
|
874
874
|
*
|
|
875
875
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -926,7 +926,7 @@ declare function ApiKeyCreatedToJSONTyped(value?: ApiKeyCreated | null, ignoreDi
|
|
|
926
926
|
* Weft API
|
|
927
927
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
928
928
|
*
|
|
929
|
-
* The version of the OpenAPI document: 0.
|
|
929
|
+
* The version of the OpenAPI document: 0.32.1
|
|
930
930
|
*
|
|
931
931
|
*
|
|
932
932
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -960,7 +960,7 @@ declare function ApiKeyCreatedResponseToJSONTyped(value?: ApiKeyCreatedResponse
|
|
|
960
960
|
* Weft API
|
|
961
961
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
962
962
|
*
|
|
963
|
-
* The version of the OpenAPI document: 0.
|
|
963
|
+
* The version of the OpenAPI document: 0.32.1
|
|
964
964
|
*
|
|
965
965
|
*
|
|
966
966
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1011,7 +1011,7 @@ declare function PaginationToJSONTyped(value?: Pagination | null, ignoreDiscrimi
|
|
|
1011
1011
|
* Weft API
|
|
1012
1012
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1013
1013
|
*
|
|
1014
|
-
* The version of the OpenAPI document: 0.
|
|
1014
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1015
1015
|
*
|
|
1016
1016
|
*
|
|
1017
1017
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1051,7 +1051,7 @@ declare function ApiKeyListResponseToJSONTyped(value?: ApiKeyListResponse | null
|
|
|
1051
1051
|
* Weft API
|
|
1052
1052
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1053
1053
|
*
|
|
1054
|
-
* The version of the OpenAPI document: 0.
|
|
1054
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1055
1055
|
*
|
|
1056
1056
|
*
|
|
1057
1057
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1096,7 +1096,7 @@ declare function UserToJSONTyped(value?: User | null, ignoreDiscriminator?: bool
|
|
|
1096
1096
|
* Weft API
|
|
1097
1097
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1098
1098
|
*
|
|
1099
|
-
* The version of the OpenAPI document: 0.
|
|
1099
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1100
1100
|
*
|
|
1101
1101
|
*
|
|
1102
1102
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1142,7 +1142,7 @@ declare function AuthResponseDataToJSONTyped(value?: AuthResponseData | null, ig
|
|
|
1142
1142
|
* Weft API
|
|
1143
1143
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1144
1144
|
*
|
|
1145
|
-
* The version of the OpenAPI document: 0.
|
|
1145
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1146
1146
|
*
|
|
1147
1147
|
*
|
|
1148
1148
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1176,7 +1176,7 @@ declare function AuthResponseToJSONTyped(value?: AuthResponse | null, ignoreDisc
|
|
|
1176
1176
|
* Weft API
|
|
1177
1177
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1178
1178
|
*
|
|
1179
|
-
* The version of the OpenAPI document: 0.
|
|
1179
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1180
1180
|
*
|
|
1181
1181
|
*
|
|
1182
1182
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1250,7 +1250,7 @@ declare function WalletToJSONTyped(value?: Wallet | null, ignoreDiscriminator?:
|
|
|
1250
1250
|
* Weft API
|
|
1251
1251
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1252
1252
|
*
|
|
1253
|
-
* The version of the OpenAPI document: 0.
|
|
1253
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1254
1254
|
*
|
|
1255
1255
|
*
|
|
1256
1256
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1298,7 +1298,7 @@ declare function PromoBalanceToJSONTyped(value?: PromoBalance | null, ignoreDisc
|
|
|
1298
1298
|
* Weft API
|
|
1299
1299
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1300
1300
|
*
|
|
1301
|
-
* The version of the OpenAPI document: 0.
|
|
1301
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1302
1302
|
*
|
|
1303
1303
|
*
|
|
1304
1304
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1343,7 +1343,7 @@ declare function SpendingPolicyToJSONTyped(value?: SpendingPolicy | null, ignore
|
|
|
1343
1343
|
* Weft API
|
|
1344
1344
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1345
1345
|
*
|
|
1346
|
-
* The version of the OpenAPI document: 0.
|
|
1346
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1347
1347
|
*
|
|
1348
1348
|
*
|
|
1349
1349
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1416,7 +1416,7 @@ declare function BalanceResponseToJSONTyped(value?: BalanceResponse | null, igno
|
|
|
1416
1416
|
* Weft API
|
|
1417
1417
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1418
1418
|
*
|
|
1419
|
-
* The version of the OpenAPI document: 0.
|
|
1419
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1420
1420
|
*
|
|
1421
1421
|
*
|
|
1422
1422
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1449,7 +1449,7 @@ declare function ConfirmRequestToJSONTyped(value?: ConfirmRequest | null, ignore
|
|
|
1449
1449
|
* Weft API
|
|
1450
1450
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1451
1451
|
*
|
|
1452
|
-
* The version of the OpenAPI document: 0.
|
|
1452
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1453
1453
|
*
|
|
1454
1454
|
*
|
|
1455
1455
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1482,7 +1482,7 @@ declare function CreateApiKeyRequestToJSONTyped(value?: CreateApiKeyRequest | nu
|
|
|
1482
1482
|
* Weft API
|
|
1483
1483
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1484
1484
|
*
|
|
1485
|
-
* The version of the OpenAPI document: 0.
|
|
1485
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1486
1486
|
*
|
|
1487
1487
|
*
|
|
1488
1488
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1551,7 +1551,7 @@ declare function ResourceStatsToJSONTyped(value?: ResourceStats | null, ignoreDi
|
|
|
1551
1551
|
* Weft API
|
|
1552
1552
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1553
1553
|
*
|
|
1554
|
-
* The version of the OpenAPI document: 0.
|
|
1554
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1555
1555
|
*
|
|
1556
1556
|
*
|
|
1557
1557
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1671,7 +1671,7 @@ declare function EnrolledResourceToJSONTyped(value?: EnrolledResource | null, ig
|
|
|
1671
1671
|
* Weft API
|
|
1672
1672
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1673
1673
|
*
|
|
1674
|
-
* The version of the OpenAPI document: 0.
|
|
1674
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1675
1675
|
*
|
|
1676
1676
|
*
|
|
1677
1677
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1708,7 +1708,7 @@ declare function ErrorResponseToJSONTyped(value?: ErrorResponse | null, ignoreDi
|
|
|
1708
1708
|
* Weft API
|
|
1709
1709
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1710
1710
|
*
|
|
1711
|
-
* The version of the OpenAPI document: 0.
|
|
1711
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1712
1712
|
*
|
|
1713
1713
|
*
|
|
1714
1714
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1770,7 +1770,7 @@ declare function FetchBalanceSnapshotToJSONTyped(value?: FetchBalanceSnapshot |
|
|
|
1770
1770
|
* Weft API
|
|
1771
1771
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1772
1772
|
*
|
|
1773
|
-
* The version of the OpenAPI document: 0.
|
|
1773
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1774
1774
|
*
|
|
1775
1775
|
*
|
|
1776
1776
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1800,6 +1800,14 @@ interface FetchErrorResponse {
|
|
|
1800
1800
|
error: FetchErrorResponseErrorEnum;
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Optional context. Shape varies by error code.
|
|
1803
|
+
*
|
|
1804
|
+
* `purchase_id` (opaque string) is present when the failure follows a
|
|
1805
|
+
* payment row for this request — a new, resumed, or replayed payment.
|
|
1806
|
+
* It is the id that `GET /api/v1/purchases/{id}` accepts: read that
|
|
1807
|
+
* purchase to learn whether the charge settled, instead of assuming
|
|
1808
|
+
* either outcome. It is absent when the request was refused before
|
|
1809
|
+
* any payment row existed.
|
|
1810
|
+
*
|
|
1803
1811
|
* @type {{ [key: string]: any; }}
|
|
1804
1812
|
* @memberof FetchErrorResponse
|
|
1805
1813
|
*/
|
|
@@ -1878,7 +1886,7 @@ declare function FetchErrorResponseToJSONTyped(value?: FetchErrorResponse | null
|
|
|
1878
1886
|
* Weft API
|
|
1879
1887
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1880
1888
|
*
|
|
1881
|
-
* The version of the OpenAPI document: 0.
|
|
1889
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1882
1890
|
*
|
|
1883
1891
|
*
|
|
1884
1892
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1936,7 +1944,7 @@ declare function InsufficientScopeResponseToJSONTyped(value?: InsufficientScopeR
|
|
|
1936
1944
|
* Weft API
|
|
1937
1945
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1938
1946
|
*
|
|
1939
|
-
* The version of the OpenAPI document: 0.
|
|
1947
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1940
1948
|
*
|
|
1941
1949
|
*
|
|
1942
1950
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1959,7 +1967,7 @@ declare function Fetch403ResponseToJSONTyped(value?: Fetch403Response | null, ig
|
|
|
1959
1967
|
* Weft API
|
|
1960
1968
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1961
1969
|
*
|
|
1962
|
-
* The version of the OpenAPI document: 0.
|
|
1970
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1963
1971
|
*
|
|
1964
1972
|
*
|
|
1965
1973
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1981,7 +1989,7 @@ declare function FetchRequestBodyToJSONTyped(value?: FetchRequestBody | null, ig
|
|
|
1981
1989
|
* Weft API
|
|
1982
1990
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
1983
1991
|
*
|
|
1984
|
-
* The version of the OpenAPI document: 0.
|
|
1992
|
+
* The version of the OpenAPI document: 0.32.1
|
|
1985
1993
|
*
|
|
1986
1994
|
*
|
|
1987
1995
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2113,7 +2121,7 @@ declare function FetchRequestToJSONTyped(value?: FetchRequest | null, ignoreDisc
|
|
|
2113
2121
|
* Weft API
|
|
2114
2122
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2115
2123
|
*
|
|
2116
|
-
* The version of the OpenAPI document: 0.
|
|
2124
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2117
2125
|
*
|
|
2118
2126
|
*
|
|
2119
2127
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2124,6 +2132,7 @@ declare function FetchRequestToJSONTyped(value?: FetchRequest | null, ignoreDisc
|
|
|
2124
2132
|
* Successful fetch envelope. `body_base64` is the upstream artifact
|
|
2125
2133
|
* bytes, base64-encoded. `paid_usd`, `held_usd`, `payment_status`,
|
|
2126
2134
|
* `tx_hash`, and `protocol` describe the payment and settlement state.
|
|
2135
|
+
* `purchase_id` names the payment for a later status read.
|
|
2127
2136
|
*
|
|
2128
2137
|
* To retrieve a SIWX-protected result, use HTTPS GET with
|
|
2129
2138
|
* `max_cost_usd: "0"`. Weft signs a fresh, resource-bound challenge with
|
|
@@ -2227,6 +2236,31 @@ interface FetchResponse {
|
|
|
2227
2236
|
* @memberof FetchResponse
|
|
2228
2237
|
*/
|
|
2229
2238
|
artifactId: number | null;
|
|
2239
|
+
/**
|
|
2240
|
+
* The buyer purchase that paid for this fetch: an opaque id that
|
|
2241
|
+
* `GET /api/v1/purchases/{id}` accepts and that purchase rows carry
|
|
2242
|
+
* as `purchase_id`. It is not the sequential `Purchase.id`; do not
|
|
2243
|
+
* parse or order by it. That purchase reports its
|
|
2244
|
+
* own `status`, not `payment_status`: `signed` while the payment is
|
|
2245
|
+
* pending, then `settled` (charged its `amount_usd`, which can be
|
|
2246
|
+
* less than `held_usd`) or `declined`, `locked`, `expired`, or
|
|
2247
|
+
* `reverted` (not charged). A `settled` purchase with
|
|
2248
|
+
* `failure_reason: merchant_delivery_failed` was charged, but no
|
|
2249
|
+
* successful paid response was delivered. An idempotent
|
|
2250
|
+
* replay returns the same id, so bill at most once for each id.
|
|
2251
|
+
* `null` when no payment was made (`payment_status: not_required`).
|
|
2252
|
+
*
|
|
2253
|
+
* The lookup needs purchase-history access: a `wk_*` key, a claimed
|
|
2254
|
+
* `wbt_*` bearer, or a REST OAuth token with the `balance` scope. An
|
|
2255
|
+
* OAuth token issued for the MCP server cannot call this endpoint.
|
|
2256
|
+
* Current servers always send this field. It is optional in this
|
|
2257
|
+
* schema so that a client also accepts a response from an older
|
|
2258
|
+
* server.
|
|
2259
|
+
*
|
|
2260
|
+
* @type {string}
|
|
2261
|
+
* @memberof FetchResponse
|
|
2262
|
+
*/
|
|
2263
|
+
purchaseId?: string | null;
|
|
2230
2264
|
}
|
|
2231
2265
|
/**
|
|
2232
2266
|
* @export
|
|
@@ -2262,7 +2296,29 @@ declare function FetchResponseToJSONTyped(value?: FetchResponse | null, ignoreDi
|
|
|
2262
2296
|
* Weft API
|
|
2263
2297
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2264
2298
|
*
|
|
2265
|
-
* The version of the OpenAPI document: 0.
|
|
2299
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2300
|
+
*
|
|
2301
|
+
*
|
|
2302
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2303
|
+
* https://openapi-generator.tech
|
|
2304
|
+
* Do not edit the class manually.
|
|
2305
|
+
*/
|
|
2306
|
+
/**
|
|
2307
|
+
* @type GetPurchaseIdParameter
|
|
2308
|
+
*
|
|
2309
|
+
* @export
|
|
2310
|
+
*/
|
|
2311
|
+
type GetPurchaseIdParameter = number | string;
|
|
2312
|
+
declare function GetPurchaseIdParameterFromJSON(json: any): GetPurchaseIdParameter;
|
|
2313
|
+
declare function GetPurchaseIdParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPurchaseIdParameter;
|
|
2314
|
+
declare function GetPurchaseIdParameterToJSON(json: any): any;
|
|
2315
|
+
declare function GetPurchaseIdParameterToJSONTyped(value?: GetPurchaseIdParameter | null, ignoreDiscriminator?: boolean): any;
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* Weft API
|
|
2319
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2320
|
+
*
|
|
2321
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2266
2322
|
*
|
|
2267
2323
|
*
|
|
2268
2324
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2301,7 +2357,7 @@ declare function PrincipalWalletToJSONTyped(value?: PrincipalWallet | null, igno
|
|
|
2301
2357
|
* Weft API
|
|
2302
2358
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2303
2359
|
*
|
|
2304
|
-
* The version of the OpenAPI document: 0.
|
|
2360
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2305
2361
|
*
|
|
2306
2362
|
*
|
|
2307
2363
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2407,7 +2463,7 @@ declare function UserPrincipalToJSONTyped(value?: UserPrincipal | null, ignoreDi
|
|
|
2407
2463
|
* Weft API
|
|
2408
2464
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2409
2465
|
*
|
|
2410
|
-
* The version of the OpenAPI document: 0.
|
|
2466
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2411
2467
|
*
|
|
2412
2468
|
*
|
|
2413
2469
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2434,7 +2490,7 @@ declare function MeResponseDataToJSONTyped(value?: MeResponseData | null, ignore
|
|
|
2434
2490
|
* Weft API
|
|
2435
2491
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2436
2492
|
*
|
|
2437
|
-
* The version of the OpenAPI document: 0.
|
|
2493
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2438
2494
|
*
|
|
2439
2495
|
*
|
|
2440
2496
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2468,7 +2524,7 @@ declare function MeResponseToJSONTyped(value?: MeResponse | null, ignoreDiscrimi
|
|
|
2468
2524
|
* Weft API
|
|
2469
2525
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2470
2526
|
*
|
|
2471
|
-
* The version of the OpenAPI document: 0.
|
|
2527
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2472
2528
|
*
|
|
2473
2529
|
*
|
|
2474
2530
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2501,7 +2557,7 @@ declare function MessageResponseDataToJSONTyped(value?: MessageResponseData | nu
|
|
|
2501
2557
|
* Weft API
|
|
2502
2558
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2503
2559
|
*
|
|
2504
|
-
* The version of the OpenAPI document: 0.
|
|
2560
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2505
2561
|
*
|
|
2506
2562
|
*
|
|
2507
2563
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2535,7 +2591,7 @@ declare function MessageResponseToJSONTyped(value?: MessageResponse | null, igno
|
|
|
2535
2591
|
* Weft API
|
|
2536
2592
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2537
2593
|
*
|
|
2538
|
-
* The version of the OpenAPI document: 0.
|
|
2594
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2539
2595
|
*
|
|
2540
2596
|
*
|
|
2541
2597
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2591,7 +2647,7 @@ declare function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscrimi
|
|
|
2591
2647
|
* Weft API
|
|
2592
2648
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2593
2649
|
*
|
|
2594
|
-
* The version of the OpenAPI document: 0.
|
|
2650
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2595
2651
|
*
|
|
2596
2652
|
*
|
|
2597
2653
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2624,7 +2680,7 @@ declare function PasswordResetRequestToJSONTyped(value?: PasswordResetRequest |
|
|
|
2624
2680
|
* Weft API
|
|
2625
2681
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2626
2682
|
*
|
|
2627
|
-
* The version of the OpenAPI document: 0.
|
|
2683
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2628
2684
|
*
|
|
2629
2685
|
*
|
|
2630
2686
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2669,7 +2725,7 @@ declare function PasswordUpdateRequestToJSONTyped(value?: PasswordUpdateRequest
|
|
|
2669
2725
|
* Weft API
|
|
2670
2726
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2671
2727
|
*
|
|
2672
|
-
* The version of the OpenAPI document: 0.
|
|
2728
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2673
2729
|
*
|
|
2674
2730
|
*
|
|
2675
2731
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2774,7 +2830,7 @@ declare function PaymentToJSONTyped(value?: Payment | null, ignoreDiscriminator?
|
|
|
2774
2830
|
* Weft API
|
|
2775
2831
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2776
2832
|
*
|
|
2777
|
-
* The version of the OpenAPI document: 0.
|
|
2833
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2778
2834
|
*
|
|
2779
2835
|
*
|
|
2780
2836
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2814,7 +2870,7 @@ declare function PaymentListResponseToJSONTyped(value?: PaymentListResponse | nu
|
|
|
2814
2870
|
* Weft API
|
|
2815
2871
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2816
2872
|
*
|
|
2817
|
-
* The version of the OpenAPI document: 0.
|
|
2873
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2818
2874
|
*
|
|
2819
2875
|
*
|
|
2820
2876
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2848,7 +2904,7 @@ declare function PaymentResponseToJSONTyped(value?: PaymentResponse | null, igno
|
|
|
2848
2904
|
* Weft API
|
|
2849
2905
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2850
2906
|
*
|
|
2851
|
-
* The version of the OpenAPI document: 0.
|
|
2907
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2852
2908
|
*
|
|
2853
2909
|
*
|
|
2854
2910
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2899,7 +2955,7 @@ declare function PurchaseArtifactToJSONTyped(value?: PurchaseArtifact | null, ig
|
|
|
2899
2955
|
* Weft API
|
|
2900
2956
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
2901
2957
|
*
|
|
2902
|
-
* The version of the OpenAPI document: 0.
|
|
2958
|
+
* The version of the OpenAPI document: 0.32.1
|
|
2903
2959
|
*
|
|
2904
2960
|
*
|
|
2905
2961
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2919,6 +2975,17 @@ interface Purchase {
|
|
|
2919
2975
|
* @memberof Purchase
|
|
2920
2976
|
*/
|
|
2921
2977
|
id: number;
|
|
2978
|
+
/**
|
|
2979
|
+
* Opaque purchase id: the value fetch returns as `purchase_id` and
|
|
2980
|
+
* that `GET /api/v1/purchases/{id}` accepts. Prefer it over the
|
|
2981
|
+
* sequential `id`. Current servers always send this field; it is
|
|
2982
|
+
* optional in this schema so that a client also accepts a response
|
|
2983
|
+
* from an older server.
|
|
2984
|
+
*
|
|
2985
|
+
* @type {string}
|
|
2986
|
+
* @memberof Purchase
|
|
2987
|
+
*/
|
|
2988
|
+
purchaseId?: string;
|
|
2922
2989
|
/**
|
|
2923
2990
|
*
|
|
2924
2991
|
* @type {string}
|
|
@@ -3052,7 +3119,7 @@ declare function PurchaseToJSONTyped(value?: Purchase | null, ignoreDiscriminato
|
|
|
3052
3119
|
* Weft API
|
|
3053
3120
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3054
3121
|
*
|
|
3055
|
-
* The version of the OpenAPI document: 0.
|
|
3122
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3056
3123
|
*
|
|
3057
3124
|
*
|
|
3058
3125
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3092,7 +3159,7 @@ declare function PurchaseListResponseToJSONTyped(value?: PurchaseListResponse |
|
|
|
3092
3159
|
* Weft API
|
|
3093
3160
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3094
3161
|
*
|
|
3095
|
-
* The version of the OpenAPI document: 0.
|
|
3162
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3096
3163
|
*
|
|
3097
3164
|
*
|
|
3098
3165
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3126,7 +3193,7 @@ declare function PurchaseResponseToJSONTyped(value?: PurchaseResponse | null, ig
|
|
|
3126
3193
|
* Weft API
|
|
3127
3194
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3128
3195
|
*
|
|
3129
|
-
* The version of the OpenAPI document: 0.
|
|
3196
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3130
3197
|
*
|
|
3131
3198
|
*
|
|
3132
3199
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3172,7 +3239,7 @@ declare function RateLimitResponseToJSONTyped(value?: RateLimitResponse | null,
|
|
|
3172
3239
|
* Weft API
|
|
3173
3240
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3174
3241
|
*
|
|
3175
|
-
* The version of the OpenAPI document: 0.
|
|
3242
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3176
3243
|
*
|
|
3177
3244
|
*
|
|
3178
3245
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3205,7 +3272,7 @@ declare function ResendConfirmationRequestToJSONTyped(value?: ResendConfirmation
|
|
|
3205
3272
|
* Weft API
|
|
3206
3273
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3207
3274
|
*
|
|
3208
|
-
* The version of the OpenAPI document: 0.
|
|
3275
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3209
3276
|
*
|
|
3210
3277
|
*
|
|
3211
3278
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3262,7 +3329,7 @@ declare function ResourceEnrollmentRequestToJSONTyped(value?: ResourceEnrollment
|
|
|
3262
3329
|
* Weft API
|
|
3263
3330
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3264
3331
|
*
|
|
3265
|
-
* The version of the OpenAPI document: 0.
|
|
3332
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3266
3333
|
*
|
|
3267
3334
|
*
|
|
3268
3335
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3296,7 +3363,7 @@ declare function ResourceEnrollmentResponseToJSONTyped(value?: ResourceEnrollmen
|
|
|
3296
3363
|
* Weft API
|
|
3297
3364
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3298
3365
|
*
|
|
3299
|
-
* The version of the OpenAPI document: 0.
|
|
3366
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3300
3367
|
*
|
|
3301
3368
|
*
|
|
3302
3369
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3327,6 +3394,17 @@ interface SearchWeftFetchCompatibility {
|
|
|
3327
3394
|
* @memberof SearchWeftFetchCompatibility
|
|
3328
3395
|
*/
|
|
3329
3396
|
contractVersion: number;
|
|
3397
|
+
/**
|
|
3398
|
+
* Extent of the operation covered by weft_fetch. `terminal_response`
|
|
3399
|
+
* covers the terminal result; `submission_only` covers submission but
|
|
3400
|
+
* not completion or retrieval of the result; `none` means no coverage.
|
|
3401
|
+
* When absent, coverage is unknown, not terminal. Do not infer terminal
|
|
3402
|
+
* coverage from synchronous execution mode alone.
|
|
3403
|
+
*
|
|
3404
|
+
* @type {string}
|
|
3405
|
+
* @memberof SearchWeftFetchCompatibility
|
|
3406
|
+
*/
|
|
3407
|
+
coverage?: SearchWeftFetchCompatibilityCoverageEnum;
|
|
3330
3408
|
}
|
|
3331
3409
|
/**
|
|
3332
3410
|
* @export
|
|
@@ -3337,6 +3415,15 @@ declare const SearchWeftFetchCompatibilityStateEnum: {
|
|
|
3337
3415
|
readonly Unknown: "unknown";
|
|
3338
3416
|
};
|
|
3339
3417
|
type SearchWeftFetchCompatibilityStateEnum = typeof SearchWeftFetchCompatibilityStateEnum[keyof typeof SearchWeftFetchCompatibilityStateEnum];
|
|
3418
|
+
/**
|
|
3419
|
+
* @export
|
|
3420
|
+
*/
|
|
3421
|
+
declare const SearchWeftFetchCompatibilityCoverageEnum: {
|
|
3422
|
+
readonly TerminalResponse: "terminal_response";
|
|
3423
|
+
readonly SubmissionOnly: "submission_only";
|
|
3424
|
+
readonly None: "none";
|
|
3425
|
+
};
|
|
3426
|
+
type SearchWeftFetchCompatibilityCoverageEnum = typeof SearchWeftFetchCompatibilityCoverageEnum[keyof typeof SearchWeftFetchCompatibilityCoverageEnum];
|
|
3340
3427
|
/**
|
|
3341
3428
|
* Check if a given object implements the SearchWeftFetchCompatibility interface.
|
|
3342
3429
|
*/
|
|
@@ -3350,7 +3437,7 @@ declare function SearchWeftFetchCompatibilityToJSONTyped(value?: SearchWeftFetch
|
|
|
3350
3437
|
* Weft API
|
|
3351
3438
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3352
3439
|
*
|
|
3353
|
-
* The version of the OpenAPI document: 0.
|
|
3440
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3354
3441
|
*
|
|
3355
3442
|
*
|
|
3356
3443
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3462,7 +3549,7 @@ declare function SearchAccessMethodToJSONTyped(value?: SearchAccessMethod | null
|
|
|
3462
3549
|
* Weft API
|
|
3463
3550
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3464
3551
|
*
|
|
3465
|
-
* The version of the OpenAPI document: 0.
|
|
3552
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3466
3553
|
*
|
|
3467
3554
|
*
|
|
3468
3555
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3501,7 +3588,567 @@ declare function SearchCapabilityRefToJSONTyped(value?: SearchCapabilityRef | nu
|
|
|
3501
3588
|
* Weft API
|
|
3502
3589
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3503
3590
|
*
|
|
3504
|
-
* The version of the OpenAPI document: 0.
|
|
3591
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3592
|
+
*
|
|
3593
|
+
*
|
|
3594
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3595
|
+
* https://openapi-generator.tech
|
|
3596
|
+
* Do not edit the class manually.
|
|
3597
|
+
*/
|
|
3598
|
+
/**
|
|
3599
|
+
*
|
|
3600
|
+
* @export
|
|
3601
|
+
* @interface SearchCompactAccessPrice
|
|
3602
|
+
*/
|
|
3603
|
+
interface SearchCompactAccessPrice {
|
|
3604
|
+
/**
|
|
3605
|
+
* Price kind, such as `fixed`, `dynamic`, `free` or `unknown`.
|
|
3606
|
+
* @type {string}
|
|
3607
|
+
* @memberof SearchCompactAccessPrice
|
|
3608
|
+
*/
|
|
3609
|
+
kind?: string;
|
|
3610
|
+
/**
|
|
3611
|
+
* Indexed USD price. A `dynamic` price is not a cap.
|
|
3612
|
+
* @type {string}
|
|
3613
|
+
* @memberof SearchCompactAccessPrice
|
|
3614
|
+
*/
|
|
3615
|
+
indexedUsd?: string;
|
|
3616
|
+
/**
|
|
3617
|
+
*
|
|
3618
|
+
* @type {string}
|
|
3619
|
+
* @memberof SearchCompactAccessPrice
|
|
3620
|
+
*/
|
|
3621
|
+
unit?: string;
|
|
3622
|
+
/**
|
|
3623
|
+
*
|
|
3624
|
+
* @type {string}
|
|
3625
|
+
* @memberof SearchCompactAccessPrice
|
|
3626
|
+
*/
|
|
3627
|
+
hint?: string;
|
|
3628
|
+
}
|
|
3629
|
+
/**
|
|
3630
|
+
* Check if a given object implements the SearchCompactAccessPrice interface.
|
|
3631
|
+
*/
|
|
3632
|
+
declare function instanceOfSearchCompactAccessPrice(value: object): value is SearchCompactAccessPrice;
|
|
3633
|
+
declare function SearchCompactAccessPriceFromJSON(json: any): SearchCompactAccessPrice;
|
|
3634
|
+
declare function SearchCompactAccessPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactAccessPrice;
|
|
3635
|
+
declare function SearchCompactAccessPriceToJSON(json: any): SearchCompactAccessPrice;
|
|
3636
|
+
declare function SearchCompactAccessPriceToJSONTyped(value?: SearchCompactAccessPrice | null, ignoreDiscriminator?: boolean): any;
|
|
3637
|
+
|
|
3638
|
+
/**
|
|
3639
|
+
* Weft API
|
|
3640
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3641
|
+
*
|
|
3642
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3643
|
+
*
|
|
3644
|
+
*
|
|
3645
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3646
|
+
* https://openapi-generator.tech
|
|
3647
|
+
* Do not edit the class manually.
|
|
3648
|
+
*/
|
|
3649
|
+
|
|
3650
|
+
/**
|
|
3651
|
+
* The recommended access method for this operation.
|
|
3652
|
+
* @export
|
|
3653
|
+
* @interface SearchCompactAccess
|
|
3654
|
+
*/
|
|
3655
|
+
interface SearchCompactAccess {
|
|
3656
|
+
/**
|
|
3657
|
+
* The `access_method_id` to send to `POST /api/v1/fetch`.
|
|
3658
|
+
* @type {string}
|
|
3659
|
+
* @memberof SearchCompactAccess
|
|
3660
|
+
*/
|
|
3661
|
+
id?: string;
|
|
3662
|
+
/**
|
|
3663
|
+
*
|
|
3664
|
+
* @type {string}
|
|
3665
|
+
* @memberof SearchCompactAccess
|
|
3666
|
+
*/
|
|
3667
|
+
protocol?: string;
|
|
3668
|
+
/**
|
|
3669
|
+
* Whether the Weft fetch runtime can pay this access method (`state`, and `reason` and `coverage` when they fit).
|
|
3670
|
+
* @type {{ [key: string]: any; }}
|
|
3671
|
+
* @memberof SearchCompactAccess
|
|
3672
|
+
*/
|
|
3673
|
+
weftFetch?: {
|
|
3674
|
+
[key: string]: any;
|
|
3675
|
+
};
|
|
3676
|
+
/**
|
|
3677
|
+
*
|
|
3678
|
+
* @type {SearchCompactAccessPrice}
|
|
3679
|
+
* @memberof SearchCompactAccess
|
|
3680
|
+
*/
|
|
3681
|
+
price?: SearchCompactAccessPrice;
|
|
3682
|
+
}
|
|
3683
|
+
/**
|
|
3684
|
+
* Check if a given object implements the SearchCompactAccess interface.
|
|
3685
|
+
*/
|
|
3686
|
+
declare function instanceOfSearchCompactAccess(value: object): value is SearchCompactAccess;
|
|
3687
|
+
declare function SearchCompactAccessFromJSON(json: any): SearchCompactAccess;
|
|
3688
|
+
declare function SearchCompactAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactAccess;
|
|
3689
|
+
declare function SearchCompactAccessToJSON(json: any): SearchCompactAccess;
|
|
3690
|
+
declare function SearchCompactAccessToJSONTyped(value?: SearchCompactAccess | null, ignoreDiscriminator?: boolean): any;
|
|
3691
|
+
|
|
3692
|
+
/**
|
|
3693
|
+
* Weft API
|
|
3694
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3695
|
+
*
|
|
3696
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3697
|
+
*
|
|
3698
|
+
*
|
|
3699
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3700
|
+
* https://openapi-generator.tech
|
|
3701
|
+
* Do not edit the class manually.
|
|
3702
|
+
*/
|
|
3703
|
+
/**
|
|
3704
|
+
* A ready paid call, present when the request is determined and the
|
|
3705
|
+
* Weft fetch runtime can pay the access method. Replace each `{name}`
|
|
3706
|
+
* listed in `fill` in `body` (and add `max_cost_usd` or `body` when they
|
|
3707
|
+
* are listed), then send `body` as the JSON body of `POST /api/v1/fetch`
|
|
3708
|
+
* with an `Idempotency-Key` header. `body` uses the wire field names
|
|
3709
|
+
* (`max_cost_usd`, `search_id`); an SDK fetch call may name them
|
|
3710
|
+
* differently, so map each field and keep the attribution fields.
|
|
3711
|
+
*
|
|
3712
|
+
* @export
|
|
3713
|
+
* @interface SearchCompactNextCall
|
|
3714
|
+
*/
|
|
3715
|
+
interface SearchCompactNextCall {
|
|
3716
|
+
/**
|
|
3717
|
+
*
|
|
3718
|
+
* @type {string}
|
|
3719
|
+
* @memberof SearchCompactNextCall
|
|
3720
|
+
*/
|
|
3721
|
+
method: SearchCompactNextCallMethodEnum;
|
|
3722
|
+
/**
|
|
3723
|
+
*
|
|
3724
|
+
* @type {string}
|
|
3725
|
+
* @memberof SearchCompactNextCall
|
|
3726
|
+
*/
|
|
3727
|
+
path: SearchCompactNextCallPathEnum;
|
|
3728
|
+
/**
|
|
3729
|
+
* A `FetchRequest` with documented example values and `{name}` placeholders.
|
|
3730
|
+
* @type {{ [key: string]: any; }}
|
|
3731
|
+
* @memberof SearchCompactNextCall
|
|
3732
|
+
*/
|
|
3733
|
+
body: {
|
|
3734
|
+
[key: string]: any;
|
|
3735
|
+
};
|
|
3736
|
+
/**
|
|
3737
|
+
* Names to replace before you send the request.
|
|
3738
|
+
* @type {Array<string>}
|
|
3739
|
+
* @memberof SearchCompactNextCall
|
|
3740
|
+
*/
|
|
3741
|
+
fill: Array<string>;
|
|
3742
|
+
}
|
|
3743
|
+
/**
|
|
3744
|
+
* @export
|
|
3745
|
+
*/
|
|
3746
|
+
declare const SearchCompactNextCallMethodEnum: {
|
|
3747
|
+
readonly Post: "POST";
|
|
3748
|
+
};
|
|
3749
|
+
type SearchCompactNextCallMethodEnum = typeof SearchCompactNextCallMethodEnum[keyof typeof SearchCompactNextCallMethodEnum];
|
|
3750
|
+
/**
|
|
3751
|
+
* @export
|
|
3752
|
+
*/
|
|
3753
|
+
declare const SearchCompactNextCallPathEnum: {
|
|
3754
|
+
readonly ApiV1Fetch: "/api/v1/fetch";
|
|
3755
|
+
};
|
|
3756
|
+
type SearchCompactNextCallPathEnum = typeof SearchCompactNextCallPathEnum[keyof typeof SearchCompactNextCallPathEnum];
|
|
3757
|
+
/**
|
|
3758
|
+
* Check if a given object implements the SearchCompactNextCall interface.
|
|
3759
|
+
*/
|
|
3760
|
+
declare function instanceOfSearchCompactNextCall(value: object): value is SearchCompactNextCall;
|
|
3761
|
+
declare function SearchCompactNextCallFromJSON(json: any): SearchCompactNextCall;
|
|
3762
|
+
declare function SearchCompactNextCallFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactNextCall;
|
|
3763
|
+
declare function SearchCompactNextCallToJSON(json: any): SearchCompactNextCall;
|
|
3764
|
+
declare function SearchCompactNextCallToJSONTyped(value?: SearchCompactNextCall | null, ignoreDiscriminator?: boolean): any;
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* Weft API
|
|
3768
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3769
|
+
*
|
|
3770
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3771
|
+
*
|
|
3772
|
+
*
|
|
3773
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3774
|
+
* https://openapi-generator.tech
|
|
3775
|
+
* Do not edit the class manually.
|
|
3776
|
+
*/
|
|
3777
|
+
/**
|
|
3778
|
+
*
|
|
3779
|
+
* @export
|
|
3780
|
+
* @interface SearchCompactResultBlockedScopesInner
|
|
3781
|
+
*/
|
|
3782
|
+
interface SearchCompactResultBlockedScopesInner {
|
|
3783
|
+
/**
|
|
3784
|
+
*
|
|
3785
|
+
* @type {string}
|
|
3786
|
+
* @memberof SearchCompactResultBlockedScopesInner
|
|
3787
|
+
*/
|
|
3788
|
+
scope?: string;
|
|
3789
|
+
/**
|
|
3790
|
+
*
|
|
3791
|
+
* @type {string}
|
|
3792
|
+
* @memberof SearchCompactResultBlockedScopesInner
|
|
3793
|
+
*/
|
|
3794
|
+
state?: string;
|
|
3795
|
+
}
|
|
3796
|
+
/**
|
|
3797
|
+
* Check if a given object implements the SearchCompactResultBlockedScopesInner interface.
|
|
3798
|
+
*/
|
|
3799
|
+
declare function instanceOfSearchCompactResultBlockedScopesInner(value: object): value is SearchCompactResultBlockedScopesInner;
|
|
3800
|
+
declare function SearchCompactResultBlockedScopesInnerFromJSON(json: any): SearchCompactResultBlockedScopesInner;
|
|
3801
|
+
declare function SearchCompactResultBlockedScopesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactResultBlockedScopesInner;
|
|
3802
|
+
declare function SearchCompactResultBlockedScopesInnerToJSON(json: any): SearchCompactResultBlockedScopesInner;
|
|
3803
|
+
declare function SearchCompactResultBlockedScopesInnerToJSONTyped(value?: SearchCompactResultBlockedScopesInner | null, ignoreDiscriminator?: boolean): any;
|
|
3804
|
+
|
|
3805
|
+
/**
|
|
3806
|
+
* Weft API
|
|
3807
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3808
|
+
*
|
|
3809
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3810
|
+
*
|
|
3811
|
+
*
|
|
3812
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3813
|
+
* https://openapi-generator.tech
|
|
3814
|
+
* Do not edit the class manually.
|
|
3815
|
+
*/
|
|
3816
|
+
/**
|
|
3817
|
+
*
|
|
3818
|
+
* @export
|
|
3819
|
+
* @interface SearchCompactResultOperation
|
|
3820
|
+
*/
|
|
3821
|
+
interface SearchCompactResultOperation {
|
|
3822
|
+
/**
|
|
3823
|
+
* Catalog operation id. Send it as `operation_id` to `POST /api/v1/fetch`.
|
|
3824
|
+
* @type {string}
|
|
3825
|
+
* @memberof SearchCompactResultOperation
|
|
3826
|
+
*/
|
|
3827
|
+
id: string;
|
|
3828
|
+
/**
|
|
3829
|
+
*
|
|
3830
|
+
* @type {string}
|
|
3831
|
+
* @memberof SearchCompactResultOperation
|
|
3832
|
+
*/
|
|
3833
|
+
name?: string;
|
|
3834
|
+
/**
|
|
3835
|
+
*
|
|
3836
|
+
* @type {string}
|
|
3837
|
+
* @memberof SearchCompactResultOperation
|
|
3838
|
+
*/
|
|
3839
|
+
description?: string;
|
|
3840
|
+
}
|
|
3841
|
+
/**
|
|
3842
|
+
* Check if a given object implements the SearchCompactResultOperation interface.
|
|
3843
|
+
*/
|
|
3844
|
+
declare function instanceOfSearchCompactResultOperation(value: object): value is SearchCompactResultOperation;
|
|
3845
|
+
declare function SearchCompactResultOperationFromJSON(json: any): SearchCompactResultOperation;
|
|
3846
|
+
declare function SearchCompactResultOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactResultOperation;
|
|
3847
|
+
declare function SearchCompactResultOperationToJSON(json: any): SearchCompactResultOperation;
|
|
3848
|
+
declare function SearchCompactResultOperationToJSONTyped(value?: SearchCompactResultOperation | null, ignoreDiscriminator?: boolean): any;
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* Weft API
|
|
3852
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3853
|
+
*
|
|
3854
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3855
|
+
*
|
|
3856
|
+
*
|
|
3857
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3858
|
+
* https://openapi-generator.tech
|
|
3859
|
+
* Do not edit the class manually.
|
|
3860
|
+
*/
|
|
3861
|
+
/**
|
|
3862
|
+
* Free helper links for the upstream provider. GET these URLs.
|
|
3863
|
+
* Do not send them through `weft_fetch`.
|
|
3864
|
+
*
|
|
3865
|
+
* @export
|
|
3866
|
+
* @interface SearchHelperDocs
|
|
3867
|
+
*/
|
|
3868
|
+
interface SearchHelperDocs {
|
|
3869
|
+
/**
|
|
3870
|
+
*
|
|
3871
|
+
* @type {string}
|
|
3872
|
+
* @memberof SearchHelperDocs
|
|
3873
|
+
*/
|
|
3874
|
+
website?: string;
|
|
3875
|
+
/**
|
|
3876
|
+
*
|
|
3877
|
+
* @type {string}
|
|
3878
|
+
* @memberof SearchHelperDocs
|
|
3879
|
+
*/
|
|
3880
|
+
homepage?: string;
|
|
3881
|
+
/**
|
|
3882
|
+
*
|
|
3883
|
+
* @type {string}
|
|
3884
|
+
* @memberof SearchHelperDocs
|
|
3885
|
+
*/
|
|
3886
|
+
api?: string;
|
|
3887
|
+
/**
|
|
3888
|
+
*
|
|
3889
|
+
* @type {string}
|
|
3890
|
+
* @memberof SearchHelperDocs
|
|
3891
|
+
*/
|
|
3892
|
+
llmsTxt?: string;
|
|
3893
|
+
}
|
|
3894
|
+
/**
|
|
3895
|
+
* Check if a given object implements the SearchHelperDocs interface.
|
|
3896
|
+
*/
|
|
3897
|
+
declare function instanceOfSearchHelperDocs(value: object): value is SearchHelperDocs;
|
|
3898
|
+
declare function SearchHelperDocsFromJSON(json: any): SearchHelperDocs;
|
|
3899
|
+
declare function SearchHelperDocsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchHelperDocs;
|
|
3900
|
+
declare function SearchHelperDocsToJSON(json: any): SearchHelperDocs;
|
|
3901
|
+
declare function SearchHelperDocsToJSONTyped(value?: SearchHelperDocs | null, ignoreDiscriminator?: boolean): any;
|
|
3902
|
+
|
|
3903
|
+
/**
|
|
3904
|
+
* Weft API
|
|
3905
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3906
|
+
*
|
|
3907
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3908
|
+
*
|
|
3909
|
+
*
|
|
3910
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3911
|
+
* https://openapi-generator.tech
|
|
3912
|
+
* Do not edit the class manually.
|
|
3913
|
+
*/
|
|
3914
|
+
/**
|
|
3915
|
+
* Labels to send with the paid fetch so the purchase links to this
|
|
3916
|
+
* search. Left out when `next_call.body` already carries them.
|
|
3917
|
+
*
|
|
3918
|
+
* @export
|
|
3919
|
+
* @interface SearchCompactResultAttribution
|
|
3920
|
+
*/
|
|
3921
|
+
interface SearchCompactResultAttribution {
|
|
3922
|
+
/**
|
|
3923
|
+
*
|
|
3924
|
+
* @type {string}
|
|
3925
|
+
* @memberof SearchCompactResultAttribution
|
|
3926
|
+
*/
|
|
3927
|
+
searchId?: string;
|
|
3928
|
+
/**
|
|
3929
|
+
*
|
|
3930
|
+
* @type {string}
|
|
3931
|
+
* @memberof SearchCompactResultAttribution
|
|
3932
|
+
*/
|
|
3933
|
+
operationId?: string;
|
|
3934
|
+
/**
|
|
3935
|
+
*
|
|
3936
|
+
* @type {string}
|
|
3937
|
+
* @memberof SearchCompactResultAttribution
|
|
3938
|
+
*/
|
|
3939
|
+
accessMethodId?: string;
|
|
3940
|
+
}
|
|
3941
|
+
/**
|
|
3942
|
+
* Check if a given object implements the SearchCompactResultAttribution interface.
|
|
3943
|
+
*/
|
|
3944
|
+
declare function instanceOfSearchCompactResultAttribution(value: object): value is SearchCompactResultAttribution;
|
|
3945
|
+
declare function SearchCompactResultAttributionFromJSON(json: any): SearchCompactResultAttribution;
|
|
3946
|
+
declare function SearchCompactResultAttributionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactResultAttribution;
|
|
3947
|
+
declare function SearchCompactResultAttributionToJSON(json: any): SearchCompactResultAttribution;
|
|
3948
|
+
declare function SearchCompactResultAttributionToJSONTyped(value?: SearchCompactResultAttribution | null, ignoreDiscriminator?: boolean): any;
|
|
3949
|
+
|
|
3950
|
+
/**
|
|
3951
|
+
* Weft API
|
|
3952
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3953
|
+
*
|
|
3954
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3955
|
+
*
|
|
3956
|
+
*
|
|
3957
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3958
|
+
* https://openapi-generator.tech
|
|
3959
|
+
* Do not edit the class manually.
|
|
3960
|
+
*/
|
|
3961
|
+
/**
|
|
3962
|
+
*
|
|
3963
|
+
* @export
|
|
3964
|
+
* @interface SearchCompactResultProvider
|
|
3965
|
+
*/
|
|
3966
|
+
interface SearchCompactResultProvider {
|
|
3967
|
+
/**
|
|
3968
|
+
*
|
|
3969
|
+
* @type {string}
|
|
3970
|
+
* @memberof SearchCompactResultProvider
|
|
3971
|
+
*/
|
|
3972
|
+
id?: string;
|
|
3973
|
+
/**
|
|
3974
|
+
*
|
|
3975
|
+
* @type {string}
|
|
3976
|
+
* @memberof SearchCompactResultProvider
|
|
3977
|
+
*/
|
|
3978
|
+
name?: string;
|
|
3979
|
+
}
|
|
3980
|
+
/**
|
|
3981
|
+
* Check if a given object implements the SearchCompactResultProvider interface.
|
|
3982
|
+
*/
|
|
3983
|
+
declare function instanceOfSearchCompactResultProvider(value: object): value is SearchCompactResultProvider;
|
|
3984
|
+
declare function SearchCompactResultProviderFromJSON(json: any): SearchCompactResultProvider;
|
|
3985
|
+
declare function SearchCompactResultProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactResultProvider;
|
|
3986
|
+
declare function SearchCompactResultProviderToJSON(json: any): SearchCompactResultProvider;
|
|
3987
|
+
declare function SearchCompactResultProviderToJSONTyped(value?: SearchCompactResultProvider | null, ignoreDiscriminator?: boolean): any;
|
|
3988
|
+
|
|
3989
|
+
/**
|
|
3990
|
+
* Weft API
|
|
3991
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3992
|
+
*
|
|
3993
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3994
|
+
*
|
|
3995
|
+
*
|
|
3996
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3997
|
+
* https://openapi-generator.tech
|
|
3998
|
+
* Do not edit the class manually.
|
|
3999
|
+
*/
|
|
4000
|
+
|
|
4001
|
+
/**
|
|
4002
|
+
* One row of the compact agent view: the minimum contract for the next
|
|
4003
|
+
* paid call, below 2,000 JSON bytes. It is the hosted MCP `weft_search`
|
|
4004
|
+
* projection with REST references: `contract_url` replaces the MCP
|
|
4005
|
+
* `weft_contract` call, and `next_call` is a `POST /api/v1/fetch`
|
|
4006
|
+
* request instead of an MCP `weft_fetch` call. To stay in the budget,
|
|
4007
|
+
* the row drops optional fields in a fixed order (optional inputs, helper
|
|
4008
|
+
* docs, the example, the description, then summaries) and
|
|
4009
|
+
* `contract_detail` says what is left out. In the last resort the row
|
|
4010
|
+
* keeps the operation id, readiness states, the `weft_fetch` state,
|
|
4011
|
+
* `contract_url` and the search id, and can lose the input names, the
|
|
4012
|
+
* request recipe and price. The full contract at `contract_url` is
|
|
4013
|
+
* always complete. The search id is the
|
|
4014
|
+
* envelope `query_trace_id`; each row also carries it in `attribution`
|
|
4015
|
+
* or in `next_call.body`.
|
|
4016
|
+
*
|
|
4017
|
+
* @export
|
|
4018
|
+
* @interface SearchCompactResult
|
|
4019
|
+
*/
|
|
4020
|
+
interface SearchCompactResult {
|
|
4021
|
+
/**
|
|
4022
|
+
*
|
|
4023
|
+
* @type {SearchCompactResultProvider}
|
|
4024
|
+
* @memberof SearchCompactResult
|
|
4025
|
+
*/
|
|
4026
|
+
provider?: SearchCompactResultProvider;
|
|
4027
|
+
/**
|
|
4028
|
+
*
|
|
4029
|
+
* @type {SearchCompactResultOperation}
|
|
4030
|
+
* @memberof SearchCompactResult
|
|
4031
|
+
*/
|
|
4032
|
+
operation: SearchCompactResultOperation;
|
|
4033
|
+
/**
|
|
4034
|
+
* Typed business inputs (a bounded JSON schema), or the names and
|
|
4035
|
+
* locations of the required inputs when the full schema does not
|
|
4036
|
+
* fit. Read the full contract before you send an input not listed.
|
|
4037
|
+
*
|
|
4038
|
+
* @type {{ [key: string]: any; }}
|
|
4039
|
+
* @memberof SearchCompactResult
|
|
4040
|
+
*/
|
|
4041
|
+
inputs?: {
|
|
4042
|
+
[key: string]: any;
|
|
4043
|
+
};
|
|
4044
|
+
/**
|
|
4045
|
+
* The request recipe: `method`, canonical `url`, and, when known,
|
|
4046
|
+
* the path, query, header and JSON body bindings of each input.
|
|
4047
|
+
*
|
|
4048
|
+
* @type {{ [key: string]: any; }}
|
|
4049
|
+
* @memberof SearchCompactResult
|
|
4050
|
+
*/
|
|
4051
|
+
request?: {
|
|
4052
|
+
[key: string]: any;
|
|
4053
|
+
};
|
|
4054
|
+
/**
|
|
4055
|
+
*
|
|
4056
|
+
* @type {any}
|
|
4057
|
+
* @memberof SearchCompactResult
|
|
4058
|
+
*/
|
|
4059
|
+
example?: any | null;
|
|
4060
|
+
/**
|
|
4061
|
+
*
|
|
4062
|
+
* @type {SearchCompactAccess}
|
|
4063
|
+
* @memberof SearchCompactResult
|
|
4064
|
+
*/
|
|
4065
|
+
access: SearchCompactAccess;
|
|
4066
|
+
/**
|
|
4067
|
+
*
|
|
4068
|
+
* @type {SearchCompactResultAttribution}
|
|
4069
|
+
* @memberof SearchCompactResult
|
|
4070
|
+
*/
|
|
4071
|
+
attribution?: SearchCompactResultAttribution;
|
|
4072
|
+
/**
|
|
4073
|
+
* Media type, execution mode, a bounded output summary and, for async work, the poll workflow.
|
|
4074
|
+
* @type {{ [key: string]: any; }}
|
|
4075
|
+
* @memberof SearchCompactResult
|
|
4076
|
+
*/
|
|
4077
|
+
output?: {
|
|
4078
|
+
[key: string]: any;
|
|
4079
|
+
};
|
|
4080
|
+
/**
|
|
4081
|
+
*
|
|
4082
|
+
* @type {SearchHelperDocs}
|
|
4083
|
+
* @memberof SearchCompactResult
|
|
4084
|
+
*/
|
|
4085
|
+
docs?: SearchHelperDocs;
|
|
4086
|
+
/**
|
|
4087
|
+
* Content-addressed full Weft contract. GET it with your Weft
|
|
4088
|
+
* credential (a buyer account key, an OAuth token with the `search`
|
|
4089
|
+
* scope, or a claimed `wbt_*` bootstrap bearer) before you build a
|
|
4090
|
+
* request the summary does not fully describe. A pending bootstrap
|
|
4091
|
+
* bearer gets `401` until a human approves the account.
|
|
4092
|
+
*
|
|
4093
|
+
* @type {string}
|
|
4094
|
+
* @memberof SearchCompactResult
|
|
4095
|
+
*/
|
|
4096
|
+
contractUrl: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* What this summary leaves out of the full contract.
|
|
4099
|
+
* @type {string}
|
|
4100
|
+
* @memberof SearchCompactResult
|
|
4101
|
+
*/
|
|
4102
|
+
contractDetail: string;
|
|
4103
|
+
/**
|
|
4104
|
+
* Completion guidance when the completion rules did not fit inline.
|
|
4105
|
+
* @type {string}
|
|
4106
|
+
* @memberof SearchCompactResult
|
|
4107
|
+
*/
|
|
4108
|
+
completion?: string;
|
|
4109
|
+
/**
|
|
4110
|
+
*
|
|
4111
|
+
* @type {Array<SearchCompactResultBlockedScopesInner>}
|
|
4112
|
+
* @memberof SearchCompactResult
|
|
4113
|
+
*/
|
|
4114
|
+
blockedScopes?: Array<SearchCompactResultBlockedScopesInner>;
|
|
4115
|
+
/**
|
|
4116
|
+
* Contract fields that the review did not complete.
|
|
4117
|
+
* @type {Array<string>}
|
|
4118
|
+
* @memberof SearchCompactResult
|
|
4119
|
+
*/
|
|
4120
|
+
contractGaps?: Array<string>;
|
|
4121
|
+
/**
|
|
4122
|
+
* Independent readiness claims (`research`, `contract`, `runtime`,
|
|
4123
|
+
* `paid_terminal`), each with a `state` and, when it fits, a `scope`.
|
|
4124
|
+
*
|
|
4125
|
+
* @type {{ [key: string]: SearchCompactResultBlockedScopesInner; }}
|
|
4126
|
+
* @memberof SearchCompactResult
|
|
4127
|
+
*/
|
|
4128
|
+
readiness: {
|
|
4129
|
+
[key: string]: SearchCompactResultBlockedScopesInner;
|
|
4130
|
+
};
|
|
4131
|
+
/**
|
|
4132
|
+
*
|
|
4133
|
+
* @type {SearchCompactNextCall}
|
|
4134
|
+
* @memberof SearchCompactResult
|
|
4135
|
+
*/
|
|
4136
|
+
nextCall?: SearchCompactNextCall;
|
|
4137
|
+
}
|
|
4138
|
+
/**
|
|
4139
|
+
* Check if a given object implements the SearchCompactResult interface.
|
|
4140
|
+
*/
|
|
4141
|
+
declare function instanceOfSearchCompactResult(value: object): value is SearchCompactResult;
|
|
4142
|
+
declare function SearchCompactResultFromJSON(json: any): SearchCompactResult;
|
|
4143
|
+
declare function SearchCompactResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCompactResult;
|
|
4144
|
+
declare function SearchCompactResultToJSON(json: any): SearchCompactResult;
|
|
4145
|
+
declare function SearchCompactResultToJSONTyped(value?: SearchCompactResult | null, ignoreDiscriminator?: boolean): any;
|
|
4146
|
+
|
|
4147
|
+
/**
|
|
4148
|
+
* Weft API
|
|
4149
|
+
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4150
|
+
*
|
|
4151
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3505
4152
|
*
|
|
3506
4153
|
*
|
|
3507
4154
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3548,7 +4195,7 @@ declare function SearchCuratedCallabilityToJSONTyped(value?: SearchCuratedCallab
|
|
|
3548
4195
|
* Weft API
|
|
3549
4196
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3550
4197
|
*
|
|
3551
|
-
* The version of the OpenAPI document: 0.
|
|
4198
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3552
4199
|
*
|
|
3553
4200
|
*
|
|
3554
4201
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3590,7 +4237,7 @@ declare function SearchCuratedExecutionToJSONTyped(value?: SearchCuratedExecutio
|
|
|
3590
4237
|
* Weft API
|
|
3591
4238
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3592
4239
|
*
|
|
3593
|
-
* The version of the OpenAPI document: 0.
|
|
4240
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3594
4241
|
*
|
|
3595
4242
|
*
|
|
3596
4243
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3635,7 +4282,7 @@ declare function SearchCuratedOperationToJSONTyped(value?: SearchCuratedOperatio
|
|
|
3635
4282
|
* Weft API
|
|
3636
4283
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3637
4284
|
*
|
|
3638
|
-
* The version of the OpenAPI document: 0.
|
|
4285
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3639
4286
|
*
|
|
3640
4287
|
*
|
|
3641
4288
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3674,7 +4321,7 @@ declare function SearchCuratedServiceToJSONTyped(value?: SearchCuratedService |
|
|
|
3674
4321
|
* Weft API
|
|
3675
4322
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3676
4323
|
*
|
|
3677
|
-
* The version of the OpenAPI document: 0.
|
|
4324
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3678
4325
|
*
|
|
3679
4326
|
*
|
|
3680
4327
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3726,7 +4373,7 @@ declare function SearchCuratedSourceToJSONTyped(value?: SearchCuratedSource | nu
|
|
|
3726
4373
|
* Weft API
|
|
3727
4374
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3728
4375
|
*
|
|
3729
|
-
* The version of the OpenAPI document: 0.
|
|
4376
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3730
4377
|
*
|
|
3731
4378
|
*
|
|
3732
4379
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3759,7 +4406,7 @@ declare function SearchEndpointCallInputSchemaToJSONTyped(value?: SearchEndpoint
|
|
|
3759
4406
|
* Weft API
|
|
3760
4407
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3761
4408
|
*
|
|
3762
|
-
* The version of the OpenAPI document: 0.
|
|
4409
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3763
4410
|
*
|
|
3764
4411
|
*
|
|
3765
4412
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3821,7 +4468,7 @@ declare function SearchEndpointCallToJSONTyped(value?: SearchEndpointCall | null
|
|
|
3821
4468
|
* Weft API
|
|
3822
4469
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3823
4470
|
*
|
|
3824
|
-
* The version of the OpenAPI document: 0.
|
|
4471
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3825
4472
|
*
|
|
3826
4473
|
*
|
|
3827
4474
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3899,60 +4546,7 @@ declare function SearchPaymentOfferToJSONTyped(value?: SearchPaymentOffer | null
|
|
|
3899
4546
|
* Weft API
|
|
3900
4547
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3901
4548
|
*
|
|
3902
|
-
* The version of the OpenAPI document: 0.
|
|
3903
|
-
*
|
|
3904
|
-
*
|
|
3905
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3906
|
-
* https://openapi-generator.tech
|
|
3907
|
-
* Do not edit the class manually.
|
|
3908
|
-
*/
|
|
3909
|
-
/**
|
|
3910
|
-
* Free helper links for the upstream provider. GET these URLs.
|
|
3911
|
-
* Do not send them through `weft_fetch`.
|
|
3912
|
-
*
|
|
3913
|
-
* @export
|
|
3914
|
-
* @interface SearchHelperDocs
|
|
3915
|
-
*/
|
|
3916
|
-
interface SearchHelperDocs {
|
|
3917
|
-
/**
|
|
3918
|
-
*
|
|
3919
|
-
* @type {string}
|
|
3920
|
-
* @memberof SearchHelperDocs
|
|
3921
|
-
*/
|
|
3922
|
-
website?: string;
|
|
3923
|
-
/**
|
|
3924
|
-
*
|
|
3925
|
-
* @type {string}
|
|
3926
|
-
* @memberof SearchHelperDocs
|
|
3927
|
-
*/
|
|
3928
|
-
homepage?: string;
|
|
3929
|
-
/**
|
|
3930
|
-
*
|
|
3931
|
-
* @type {string}
|
|
3932
|
-
* @memberof SearchHelperDocs
|
|
3933
|
-
*/
|
|
3934
|
-
api?: string;
|
|
3935
|
-
/**
|
|
3936
|
-
*
|
|
3937
|
-
* @type {string}
|
|
3938
|
-
* @memberof SearchHelperDocs
|
|
3939
|
-
*/
|
|
3940
|
-
llmsTxt?: string;
|
|
3941
|
-
}
|
|
3942
|
-
/**
|
|
3943
|
-
* Check if a given object implements the SearchHelperDocs interface.
|
|
3944
|
-
*/
|
|
3945
|
-
declare function instanceOfSearchHelperDocs(value: object): value is SearchHelperDocs;
|
|
3946
|
-
declare function SearchHelperDocsFromJSON(json: any): SearchHelperDocs;
|
|
3947
|
-
declare function SearchHelperDocsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchHelperDocs;
|
|
3948
|
-
declare function SearchHelperDocsToJSON(json: any): SearchHelperDocs;
|
|
3949
|
-
declare function SearchHelperDocsToJSONTyped(value?: SearchHelperDocs | null, ignoreDiscriminator?: boolean): any;
|
|
3950
|
-
|
|
3951
|
-
/**
|
|
3952
|
-
* Weft API
|
|
3953
|
-
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
3954
|
-
*
|
|
3955
|
-
* The version of the OpenAPI document: 0.31.0
|
|
4549
|
+
* The version of the OpenAPI document: 0.32.1
|
|
3956
4550
|
*
|
|
3957
4551
|
*
|
|
3958
4552
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4035,7 +4629,7 @@ declare function SearchEndpointPriceToJSONTyped(value?: SearchEndpointPrice | nu
|
|
|
4035
4629
|
* Weft API
|
|
4036
4630
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4037
4631
|
*
|
|
4038
|
-
* The version of the OpenAPI document: 0.
|
|
4632
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4039
4633
|
*
|
|
4040
4634
|
*
|
|
4041
4635
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4239,7 +4833,7 @@ declare function SearchEndpointHitToJSONTyped(value?: SearchEndpointHit | null,
|
|
|
4239
4833
|
* Weft API
|
|
4240
4834
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4241
4835
|
*
|
|
4242
|
-
* The version of the OpenAPI document: 0.
|
|
4836
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4243
4837
|
*
|
|
4244
4838
|
*
|
|
4245
4839
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4279,6 +4873,7 @@ declare const SearchErrorResponseErrorEnum: {
|
|
|
4279
4873
|
readonly InvalidQuery: "INVALID_QUERY";
|
|
4280
4874
|
readonly InvalidMaxResults: "INVALID_MAX_RESULTS";
|
|
4281
4875
|
readonly InvalidFilters: "INVALID_FILTERS";
|
|
4876
|
+
readonly InvalidView: "INVALID_VIEW";
|
|
4282
4877
|
readonly UnknownParameter: "UNKNOWN_PARAMETER";
|
|
4283
4878
|
readonly SearchUpstreamError: "SEARCH_UPSTREAM_ERROR";
|
|
4284
4879
|
readonly SearchBackendMisconfigured: "SEARCH_BACKEND_MISCONFIGURED";
|
|
@@ -4297,7 +4892,7 @@ declare function SearchErrorResponseToJSONTyped(value?: SearchErrorResponse | nu
|
|
|
4297
4892
|
* Weft API
|
|
4298
4893
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4299
4894
|
*
|
|
4300
|
-
* The version of the OpenAPI document: 0.
|
|
4895
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4301
4896
|
*
|
|
4302
4897
|
*
|
|
4303
4898
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4354,7 +4949,7 @@ declare function SearchExecutionModeFilterToJSONTyped(value?: SearchExecutionMod
|
|
|
4354
4949
|
* Weft API
|
|
4355
4950
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4356
4951
|
*
|
|
4357
|
-
* The version of the OpenAPI document: 0.
|
|
4952
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4358
4953
|
*
|
|
4359
4954
|
*
|
|
4360
4955
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4413,7 +5008,7 @@ declare function SearchProtocolFilterToJSONTyped(value?: SearchProtocolFilter |
|
|
|
4413
5008
|
* Weft API
|
|
4414
5009
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4415
5010
|
*
|
|
4416
|
-
* The version of the OpenAPI document: 0.
|
|
5011
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4417
5012
|
*
|
|
4418
5013
|
*
|
|
4419
5014
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4478,7 +5073,7 @@ declare function SearchMethodFilterToJSONTyped(value?: SearchMethodFilter | null
|
|
|
4478
5073
|
* Weft API
|
|
4479
5074
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4480
5075
|
*
|
|
4481
|
-
* The version of the OpenAPI document: 0.
|
|
5076
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4482
5077
|
*
|
|
4483
5078
|
*
|
|
4484
5079
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4543,7 +5138,7 @@ declare function SearchResourceTypeFilterToJSONTyped(value?: SearchResourceTypeF
|
|
|
4543
5138
|
* Weft API
|
|
4544
5139
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4545
5140
|
*
|
|
4546
|
-
* The version of the OpenAPI document: 0.
|
|
5141
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4547
5142
|
*
|
|
4548
5143
|
*
|
|
4549
5144
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4606,7 +5201,7 @@ declare function SearchPriceUsdFilterToJSONTyped(value?: SearchPriceUsdFilter |
|
|
|
4606
5201
|
* Weft API
|
|
4607
5202
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4608
5203
|
*
|
|
4609
|
-
* The version of the OpenAPI document: 0.
|
|
5204
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4610
5205
|
*
|
|
4611
5206
|
*
|
|
4612
5207
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4668,7 +5263,7 @@ declare function SearchPriceAtomicFilterToJSONTyped(value?: SearchPriceAtomicFil
|
|
|
4668
5263
|
* Weft API
|
|
4669
5264
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4670
5265
|
*
|
|
4671
|
-
* The version of the OpenAPI document: 0.
|
|
5266
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4672
5267
|
*
|
|
4673
5268
|
*
|
|
4674
5269
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4707,7 +5302,7 @@ declare function SearchStringSetFilterToJSONTyped(value?: SearchStringSetFilter
|
|
|
4707
5302
|
* Weft API
|
|
4708
5303
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4709
5304
|
*
|
|
4710
|
-
* The version of the OpenAPI document: 0.
|
|
5305
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4711
5306
|
*
|
|
4712
5307
|
*
|
|
4713
5308
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4803,7 +5398,7 @@ declare function SearchFilterSpecToJSONTyped(value?: SearchFilterSpec | null, ig
|
|
|
4803
5398
|
* Weft API
|
|
4804
5399
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4805
5400
|
*
|
|
4806
|
-
* The version of the OpenAPI document: 0.
|
|
5401
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4807
5402
|
*
|
|
4808
5403
|
*
|
|
4809
5404
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4848,7 +5443,7 @@ declare function SearchProviderRefToJSONTyped(value?: SearchProviderRef | null,
|
|
|
4848
5443
|
* Weft API
|
|
4849
5444
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4850
5445
|
*
|
|
4851
|
-
* The version of the OpenAPI document: 0.
|
|
5446
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4852
5447
|
*
|
|
4853
5448
|
*
|
|
4854
5449
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4880,7 +5475,28 @@ interface SearchRequest {
|
|
|
4880
5475
|
* @memberof SearchRequest
|
|
4881
5476
|
*/
|
|
4882
5477
|
filters?: SearchFilterSpec;
|
|
5478
|
+
/**
|
|
5479
|
+
* Response view. Absent means `full`: the complete `SearchResult`
|
|
5480
|
+
* rows in `results`. `compact` returns the hosted MCP agent view in
|
|
5481
|
+
* `compact_results` (see `SearchCompactResult`). The compact view
|
|
5482
|
+
* applies the same selection as hosted MCP search: it leaves out
|
|
5483
|
+
* incomplete PayWithLocus gateway contracts. It does not add filters;
|
|
5484
|
+
* send `weft_fetch_compatible: true` to get only results that
|
|
5485
|
+
* `POST /api/v1/fetch` can pay.
|
|
5486
|
+
*
|
|
5487
|
+
* @type {string}
|
|
5488
|
+
* @memberof SearchRequest
|
|
5489
|
+
*/
|
|
5490
|
+
view?: SearchRequestViewEnum;
|
|
4883
5491
|
}
|
|
5492
|
+
/**
|
|
5493
|
+
* @export
|
|
5494
|
+
*/
|
|
5495
|
+
declare const SearchRequestViewEnum: {
|
|
5496
|
+
readonly Full: "full";
|
|
5497
|
+
readonly Compact: "compact";
|
|
5498
|
+
};
|
|
5499
|
+
type SearchRequestViewEnum = typeof SearchRequestViewEnum[keyof typeof SearchRequestViewEnum];
|
|
4884
5500
|
/**
|
|
4885
5501
|
* Check if a given object implements the SearchRequest interface.
|
|
4886
5502
|
*/
|
|
@@ -4894,7 +5510,7 @@ declare function SearchRequestToJSONTyped(value?: SearchRequest | null, ignoreDi
|
|
|
4894
5510
|
* Weft API
|
|
4895
5511
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4896
5512
|
*
|
|
4897
|
-
* The version of the OpenAPI document: 0.
|
|
5513
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4898
5514
|
*
|
|
4899
5515
|
*
|
|
4900
5516
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4946,7 +5562,7 @@ declare function SearchResultToJSONTyped(value?: SearchResult | null, ignoreDisc
|
|
|
4946
5562
|
* Weft API
|
|
4947
5563
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4948
5564
|
*
|
|
4949
|
-
* The version of the OpenAPI document: 0.
|
|
5565
|
+
* The version of the OpenAPI document: 0.32.1
|
|
4950
5566
|
*
|
|
4951
5567
|
*
|
|
4952
5568
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4997,7 +5613,7 @@ declare function SearchResponseWarningsInnerToJSONTyped(value?: SearchResponseWa
|
|
|
4997
5613
|
* Weft API
|
|
4998
5614
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
4999
5615
|
*
|
|
5000
|
-
* The version of the OpenAPI document: 0.
|
|
5616
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5001
5617
|
*
|
|
5002
5618
|
*
|
|
5003
5619
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5052,7 +5668,9 @@ interface SearchResponse {
|
|
|
5052
5668
|
* THIS, not `results.length`, for the count: on a `markdown` response
|
|
5053
5669
|
* `results` is empty by design, so `result_count > 0` with an empty
|
|
5054
5670
|
* `results` is a rendered table while `result_count == 0` is a genuine
|
|
5055
|
-
* zero-result.
|
|
5671
|
+
* zero-result. On a `compact` view response it counts
|
|
5672
|
+
* `compact_results`; there, `result_count == 0` with
|
|
5673
|
+
* `omitted_results` means every ranked result was too large to show.
|
|
5056
5674
|
*
|
|
5057
5675
|
* @type {number}
|
|
5058
5676
|
* @memberof SearchResponse
|
|
@@ -5174,12 +5792,38 @@ interface SearchResponse {
|
|
|
5174
5792
|
* empty or nothing cleared the relevance floor. Results BELOW the floor
|
|
5175
5793
|
* are never returned — an empty list plus a `reason` is the honest
|
|
5176
5794
|
* answer, not a list of near-misses in the same shape as a genuine
|
|
5177
|
-
* match.
|
|
5795
|
+
* match. Empty on a `compact` view response; read `compact_results`.
|
|
5178
5796
|
*
|
|
5179
5797
|
* @type {Array<SearchResult>}
|
|
5180
5798
|
* @memberof SearchResponse
|
|
5181
5799
|
*/
|
|
5182
5800
|
results: Array<SearchResult>;
|
|
5801
|
+
/**
|
|
5802
|
+
* The view this response carries. Present as `compact` when the
|
|
5803
|
+
* request asked for `view: "compact"`; absent means `full`.
|
|
5804
|
+
*
|
|
5805
|
+
* @type {string}
|
|
5806
|
+
* @memberof SearchResponse
|
|
5807
|
+
*/
|
|
5808
|
+
view?: SearchResponseViewEnum;
|
|
5809
|
+
/**
|
|
5810
|
+
* Ranked compact results, present only on a `compact` view response.
|
|
5811
|
+
* `result_count` is their count. They are a separate field so that
|
|
5812
|
+
* typed clients keep the full `SearchResult` shape for `results`.
|
|
5813
|
+
*
|
|
5814
|
+
* @type {Array<SearchCompactResult>}
|
|
5815
|
+
* @memberof SearchResponse
|
|
5816
|
+
*/
|
|
5817
|
+
compactResults?: Array<SearchCompactResult>;
|
|
5818
|
+
/**
|
|
5819
|
+
* Compact view only: how many ranked results were left out because
|
|
5820
|
+
* even their minimum summary does not fit the per-result budget.
|
|
5821
|
+
* Absent when none were left out.
|
|
5822
|
+
*
|
|
5823
|
+
* @type {number}
|
|
5824
|
+
* @memberof SearchResponse
|
|
5825
|
+
*/
|
|
5826
|
+
omittedResults?: number;
|
|
5183
5827
|
}
|
|
5184
5828
|
/**
|
|
5185
5829
|
* @export
|
|
@@ -5224,6 +5868,14 @@ declare const SearchResponseReasonEnum: {
|
|
|
5224
5868
|
readonly IndexUnavailable: "index_unavailable";
|
|
5225
5869
|
};
|
|
5226
5870
|
type SearchResponseReasonEnum = typeof SearchResponseReasonEnum[keyof typeof SearchResponseReasonEnum];
|
|
5871
|
+
/**
|
|
5872
|
+
* @export
|
|
5873
|
+
*/
|
|
5874
|
+
declare const SearchResponseViewEnum: {
|
|
5875
|
+
readonly Full: "full";
|
|
5876
|
+
readonly Compact: "compact";
|
|
5877
|
+
};
|
|
5878
|
+
type SearchResponseViewEnum = typeof SearchResponseViewEnum[keyof typeof SearchResponseViewEnum];
|
|
5227
5879
|
/**
|
|
5228
5880
|
* Check if a given object implements the SearchResponse interface.
|
|
5229
5881
|
*/
|
|
@@ -5237,7 +5889,7 @@ declare function SearchResponseToJSONTyped(value?: SearchResponse | null, ignore
|
|
|
5237
5889
|
* Weft API
|
|
5238
5890
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5239
5891
|
*
|
|
5240
|
-
* The version of the OpenAPI document: 0.
|
|
5892
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5241
5893
|
*
|
|
5242
5894
|
*
|
|
5243
5895
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5276,7 +5928,7 @@ declare function SignInRequestToJSONTyped(value?: SignInRequest | null, ignoreDi
|
|
|
5276
5928
|
* Weft API
|
|
5277
5929
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5278
5930
|
*
|
|
5279
|
-
* The version of the OpenAPI document: 0.
|
|
5931
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5280
5932
|
*
|
|
5281
5933
|
*
|
|
5282
5934
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5321,7 +5973,7 @@ declare function SignUpRequestToJSONTyped(value?: SignUpRequest | null, ignoreDi
|
|
|
5321
5973
|
* Weft API
|
|
5322
5974
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5323
5975
|
*
|
|
5324
|
-
* The version of the OpenAPI document: 0.
|
|
5976
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5325
5977
|
*
|
|
5326
5978
|
*
|
|
5327
5979
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5373,7 +6025,7 @@ declare class APIKeysApi extends BaseAPI {
|
|
|
5373
6025
|
* Weft API
|
|
5374
6026
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5375
6027
|
*
|
|
5376
|
-
* The version of the OpenAPI document: 0.
|
|
6028
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5377
6029
|
*
|
|
5378
6030
|
*
|
|
5379
6031
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5401,7 +6053,7 @@ declare class AccountApi extends BaseAPI {
|
|
|
5401
6053
|
* Weft API
|
|
5402
6054
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5403
6055
|
*
|
|
5404
|
-
* The version of the OpenAPI document: 0.
|
|
6056
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5405
6057
|
*
|
|
5406
6058
|
*
|
|
5407
6059
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5456,7 +6108,7 @@ declare class AgentBootstrapApi extends BaseAPI {
|
|
|
5456
6108
|
* Weft API
|
|
5457
6109
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5458
6110
|
*
|
|
5459
|
-
* The version of the OpenAPI document: 0.
|
|
6111
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5460
6112
|
*
|
|
5461
6113
|
*
|
|
5462
6114
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5540,7 +6192,7 @@ declare class AuthApi extends BaseAPI {
|
|
|
5540
6192
|
* Weft API
|
|
5541
6193
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5542
6194
|
*
|
|
5543
|
-
* The version of the OpenAPI document: 0.
|
|
6195
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5544
6196
|
*
|
|
5545
6197
|
*
|
|
5546
6198
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5568,7 +6220,7 @@ declare class BalanceApi extends BaseAPI {
|
|
|
5568
6220
|
* Weft API
|
|
5569
6221
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5570
6222
|
*
|
|
5571
|
-
* The version of the OpenAPI document: 0.
|
|
6223
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5572
6224
|
*
|
|
5573
6225
|
*
|
|
5574
6226
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5594,7 +6246,7 @@ declare class DocumentationApi extends BaseAPI {
|
|
|
5594
6246
|
* Weft API
|
|
5595
6247
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5596
6248
|
*
|
|
5597
|
-
* The version of the OpenAPI document: 0.
|
|
6249
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5598
6250
|
*
|
|
5599
6251
|
*
|
|
5600
6252
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5611,12 +6263,12 @@ interface FetchOperationRequest {
|
|
|
5611
6263
|
*/
|
|
5612
6264
|
declare class FetchApi extends BaseAPI {
|
|
5613
6265
|
/**
|
|
5614
|
-
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a merchant-principal `max_cost_usd` ceiling, and optional `method` / `body` / `headers`. Weft: 1. Issues the request. 2. On `402 Payment Required`, selects a supported x402 or MPP challenge. 3. Compares the asking price to `max_cost_usd` and the buyer\'s policy (`max_tx_usd`, daily/weekly limits). 4. If refill is allowed and an eligible mainnet MPP challenge finds its Tempo token short, creates or adopts a buyer-owned Base-to-Tempo refill and returns `409 FUNDING_PENDING` with `details.reason=funding_active`. If an overlapping payment invalidates the balance observation before a bridge is created, the same retryable response carries `details.reason=balance_changed`. The caller retries the identical fetch after `details.retry_after_seconds`; that later request obtains a fresh challenge and reruns rail selection and all payment controls. 5. Authorizes payment from the buyer\'s wallet on the selected rail. 6. Replays the request with the protocol-specific payment credential. 7. Streams the upstream artifact back, base64-encoded under `body_base64`, with `paid_usd`, `held_usd`, `payment_status`, `tx_hash`, and `
|
|
6266
|
+
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a merchant-principal `max_cost_usd` ceiling, and optional `method` / `body` / `headers`. Weft: 1. Issues the request. 2. On `402 Payment Required`, selects a supported x402 or MPP challenge. 3. Compares the asking price to `max_cost_usd` and the buyer\'s policy (`max_tx_usd`, daily/weekly limits). 4. If refill is allowed and an eligible mainnet MPP challenge finds its Tempo token short, creates or adopts a buyer-owned Base-to-Tempo refill and returns `409 FUNDING_PENDING` with `details.reason=funding_active`. If an overlapping payment invalidates the balance observation before a bridge is created, the same retryable response carries `details.reason=balance_changed`. The caller retries the identical fetch after `details.retry_after_seconds`; that later request obtains a fresh challenge and reruns rail selection and all payment controls. 5. Authorizes payment from the buyer\'s wallet on the selected rail. 6. Replays the request with the protocol-specific payment credential. 7. Streams the upstream artifact back, base64-encoded under `body_base64`, with `paid_usd`, `held_usd`, `payment_status`, `tx_hash`, `protocol`, and `purchase_id`. `paid_usd` is \"0.00\" until the charge is CONFIRMED settled — a signed-but- unsettled hold (the common case for x402, which settles asynchronously) reports its amount in `held_usd` instead, never in `paid_usd`. `purchase_id` is the id that `GET /api/v1/purchases/{id}` accepts, so a caller can read how a pending charge ends. **Opt-in safety controls:** `allow_tempo_refill: false` prevents this request from creating, adopting, or enqueueing a Base-to-Tempo bridge. A Tempo shortfall returns `402 INSUFFICIENT_BALANCE`; unrelated bridges and their jobs remain unchanged. `access_method_id` is advisory and does not enforce a payment rail. `max_total_cost_usd` is an all-in ceiling covering merchant principal, network gas, provider fees, and prerequisite buyer-paid operations. It disables refill; explicitly combining it with `allow_tempo_refill: true` returns `422 INCOMPATIBLE_FETCH_CONTROLS`. Current wallet integrations provide no supported binding all-in fee guarantee. Therefore all-in requests return `402 TOTAL_COST_UNVERIFIABLE` before payment preparation, approval, reservation, or refill. This also refuses recovery of older payments and SIWX wallet signing; it admits no positive paid route. Increasing the ceiling does not resolve missing fee authority. Omitted controls preserve existing behavior. Ordinary non-402 merchant responses retain `MERCHANT_RETURNED_NON_402`. Stored-result replay is historical payment information, not a new bounded authorization. Errors are structured with a stable `error` code, and each error response carries the buyer\'s `policy`, `balance`, and a `dashboard_url` so a CLI can render an actionable message without a second round-trip. Account-scoped: the bearer must be a buyer-scoped API key, an OAuth access token carrying `fetch`, or a claimed `wbt_*` bearer. **Forwarded headers:** the caller\'s `headers` are passed through to the upstream, except a denylist of hop-by-hop and Weft-internal headers (`host`, `authorization`, `cookie`, `proxy-authorization`, `x-forwarded-*`, `x-real-ip`, `x-payment`, `connection`, `upgrade`). Up to 32 headers, 4 KB of combined value bytes.
|
|
5615
6267
|
* Pay-and-fetch any URL (x402/MPP proxy)
|
|
5616
6268
|
*/
|
|
5617
6269
|
fetchRaw(requestParameters: FetchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<FetchResponse>>;
|
|
5618
6270
|
/**
|
|
5619
|
-
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a merchant-principal `max_cost_usd` ceiling, and optional `method` / `body` / `headers`. Weft: 1. Issues the request. 2. On `402 Payment Required`, selects a supported x402 or MPP challenge. 3. Compares the asking price to `max_cost_usd` and the buyer\'s policy (`max_tx_usd`, daily/weekly limits). 4. If refill is allowed and an eligible mainnet MPP challenge finds its Tempo token short, creates or adopts a buyer-owned Base-to-Tempo refill and returns `409 FUNDING_PENDING` with `details.reason=funding_active`. If an overlapping payment invalidates the balance observation before a bridge is created, the same retryable response carries `details.reason=balance_changed`. The caller retries the identical fetch after `details.retry_after_seconds`; that later request obtains a fresh challenge and reruns rail selection and all payment controls. 5. Authorizes payment from the buyer\'s wallet on the selected rail. 6. Replays the request with the protocol-specific payment credential. 7. Streams the upstream artifact back, base64-encoded under `body_base64`, with `paid_usd`, `held_usd`, `payment_status`, `tx_hash`, and `
|
|
6271
|
+
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a merchant-principal `max_cost_usd` ceiling, and optional `method` / `body` / `headers`. Weft: 1. Issues the request. 2. On `402 Payment Required`, selects a supported x402 or MPP challenge. 3. Compares the asking price to `max_cost_usd` and the buyer\'s policy (`max_tx_usd`, daily/weekly limits). 4. If refill is allowed and an eligible mainnet MPP challenge finds its Tempo token short, creates or adopts a buyer-owned Base-to-Tempo refill and returns `409 FUNDING_PENDING` with `details.reason=funding_active`. If an overlapping payment invalidates the balance observation before a bridge is created, the same retryable response carries `details.reason=balance_changed`. The caller retries the identical fetch after `details.retry_after_seconds`; that later request obtains a fresh challenge and reruns rail selection and all payment controls. 5. Authorizes payment from the buyer\'s wallet on the selected rail. 6. Replays the request with the protocol-specific payment credential. 7. Streams the upstream artifact back, base64-encoded under `body_base64`, with `paid_usd`, `held_usd`, `payment_status`, `tx_hash`, `protocol`, and `purchase_id`. `paid_usd` is \"0.00\" until the charge is CONFIRMED settled — a signed-but- unsettled hold (the common case for x402, which settles asynchronously) reports its amount in `held_usd` instead, never in `paid_usd`. `purchase_id` is the id that `GET /api/v1/purchases/{id}` accepts, so a caller can read how a pending charge ends. **Opt-in safety controls:** `allow_tempo_refill: false` prevents this request from creating, adopting, or enqueueing a Base-to-Tempo bridge. A Tempo shortfall returns `402 INSUFFICIENT_BALANCE`; unrelated bridges and their jobs remain unchanged. `access_method_id` is advisory and does not enforce a payment rail. `max_total_cost_usd` is an all-in ceiling covering merchant principal, network gas, provider fees, and prerequisite buyer-paid operations. It disables refill; explicitly combining it with `allow_tempo_refill: true` returns `422 INCOMPATIBLE_FETCH_CONTROLS`. Current wallet integrations provide no supported binding all-in fee guarantee. Therefore all-in requests return `402 TOTAL_COST_UNVERIFIABLE` before payment preparation, approval, reservation, or refill. This also refuses recovery of older payments and SIWX wallet signing; it admits no positive paid route. Increasing the ceiling does not resolve missing fee authority. Omitted controls preserve existing behavior. Ordinary non-402 merchant responses retain `MERCHANT_RETURNED_NON_402`. Stored-result replay is historical payment information, not a new bounded authorization. Errors are structured with a stable `error` code, and each error response carries the buyer\'s `policy`, `balance`, and a `dashboard_url` so a CLI can render an actionable message without a second round-trip. Account-scoped: the bearer must be a buyer-scoped API key, an OAuth access token carrying `fetch`, or a claimed `wbt_*` bearer. **Forwarded headers:** the caller\'s `headers` are passed through to the upstream, except a denylist of hop-by-hop and Weft-internal headers (`host`, `authorization`, `cookie`, `proxy-authorization`, `x-forwarded-*`, `x-real-ip`, `x-payment`, `connection`, `upgrade`). Up to 32 headers, 4 KB of combined value bytes.
|
|
5620
6272
|
* Pay-and-fetch any URL (x402/MPP proxy)
|
|
5621
6273
|
*/
|
|
5622
6274
|
fetch(requestParameters: FetchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<FetchResponse>;
|
|
@@ -5626,7 +6278,7 @@ declare class FetchApi extends BaseAPI {
|
|
|
5626
6278
|
* Weft API
|
|
5627
6279
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5628
6280
|
*
|
|
5629
|
-
* The version of the OpenAPI document: 0.
|
|
6281
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5630
6282
|
*
|
|
5631
6283
|
*
|
|
5632
6284
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5667,7 +6319,7 @@ declare class PaymentsApi extends BaseAPI {
|
|
|
5667
6319
|
* Weft API
|
|
5668
6320
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5669
6321
|
*
|
|
5670
|
-
* The version of the OpenAPI document: 0.
|
|
6322
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5671
6323
|
*
|
|
5672
6324
|
*
|
|
5673
6325
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5676,7 +6328,7 @@ declare class PaymentsApi extends BaseAPI {
|
|
|
5676
6328
|
*/
|
|
5677
6329
|
|
|
5678
6330
|
interface GetPurchaseRequest {
|
|
5679
|
-
id:
|
|
6331
|
+
id: GetPurchaseIdParameter;
|
|
5680
6332
|
}
|
|
5681
6333
|
interface ListPurchasesRequest {
|
|
5682
6334
|
page?: number;
|
|
@@ -5710,7 +6362,7 @@ declare class PurchasesApi extends BaseAPI {
|
|
|
5710
6362
|
* Weft API
|
|
5711
6363
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5712
6364
|
*
|
|
5713
|
-
* The version of the OpenAPI document: 0.
|
|
6365
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5714
6366
|
*
|
|
5715
6367
|
*
|
|
5716
6368
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5741,7 +6393,7 @@ declare class ResourcesApi extends BaseAPI {
|
|
|
5741
6393
|
* Weft API
|
|
5742
6394
|
* The Weft API powers the `weft` CLI, the hosted MCP server (`weft.network/mcp`), and third-party applications that discover and pay for resources on Weft. The buyer runtime covers six concerns: 1. Account creation and recovery (`/api/v1/auth/_*`) 2. Credential identity (`/api/v1/me`) 3. Wallet visibility (`/api/v1/balance`) 4. Discovery (`/api/v1/search`) 5. Paid execution (`/api/v1/fetch`) 6. Purchase history (`/api/v1/purchases`) Buyer runtime calls require a dashboard-created `wk_*` account key, an OAuth access token with the relevant scope, or a claimed `wbt_*` bearer on its fixed allowlist. The organization-scoped API key and payment operations in this document are seller administration surfaces and require an `ax_live_*` resource key. These credential types are not interchangeable. This document is a deliberate subset of the `/api/v1` surface, not an inventory of it. The seller-side management endpoints — `/api/v1/agents`, `/api/v1/webhook_endpoints`, and `/api/v1/analytics` — are reachable with an `ax_live_*` key but are intentionally left undocumented: they are dashboard-facing and not part of the published client contract. Nothing outside this document is a supported contract, and the response-validation gate in `config/environments/test.rb` enforces only what is declared here. Before claim, a `wbt_*` bearer is temporary and permits only search plus its own status/cancel operations for 30 minutes. Human approval binds it to the User and promotes the same secret to durable identity, search, balance, fetch, purchase-history, status, and revocation capabilities. It remains valid until revoked. Seller, organization, API-key administration, dashboard-session, transfer, withdrawal, and MCP surfaces always refuse it. Bootstrap lifecycle successes follow the API-standard `{ \"data\": ... }` envelope. All errors share the envelope defined by `ErrorResponse`, except the buyer-runtime endpoints (`/search`, `/fetch`) which use bespoke envelopes carrying additional context — see `SearchErrorResponse` and `FetchErrorResponse`.
|
|
5743
6395
|
*
|
|
5744
|
-
* The version of the OpenAPI document: 0.
|
|
6396
|
+
* The version of the OpenAPI document: 0.32.1
|
|
5745
6397
|
*
|
|
5746
6398
|
*
|
|
5747
6399
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5757,12 +6409,12 @@ interface SearchOperationRequest {
|
|
|
5757
6409
|
*/
|
|
5758
6410
|
declare class SearchApi extends BaseAPI {
|
|
5759
6411
|
/**
|
|
5760
|
-
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt.
|
|
6412
|
+
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt. Compact view: send `view: \"compact\"` to get the agent view of the hosted MCP `weft_search` tool. Each result is a small contract for the next paid call (below 2,000 JSON bytes): typed inputs, the request recipe, one access method with price, attribution, a ready `next_call` to `POST /api/v1/fetch` when the request is determined, and the authenticated `contract_url` for the full contract. Use it when you give search results to a model. The compact rows are in `compact_results`; `results` is empty. The compact view is JSON only and needs the curated search backend.
|
|
5761
6413
|
* Search the Weft index
|
|
5762
6414
|
*/
|
|
5763
6415
|
searchRaw(requestParameters: SearchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<SearchResponse>>;
|
|
5764
6416
|
/**
|
|
5765
|
-
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt.
|
|
6417
|
+
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt. Compact view: send `view: \"compact\"` to get the agent view of the hosted MCP `weft_search` tool. Each result is a small contract for the next paid call (below 2,000 JSON bytes): typed inputs, the request recipe, one access method with price, attribution, a ready `next_call` to `POST /api/v1/fetch` when the request is determined, and the authenticated `contract_url` for the full contract. Use it when you give search results to a model. The compact rows are in `compact_results`; `results` is empty. The compact view is JSON only and needs the curated search backend.
|
|
5766
6418
|
* Search the Weft index
|
|
5767
6419
|
*/
|
|
5768
6420
|
search(requestParameters: SearchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SearchResponse>;
|
|
@@ -5836,4 +6488,4 @@ declare class WeftError extends Error {
|
|
|
5836
6488
|
}
|
|
5837
6489
|
declare function normalizeWeftError(error: unknown, paid?: boolean): Promise<unknown>;
|
|
5838
6490
|
|
|
5839
|
-
export { APIKeysApi, AccountApi, type AccountBootstrapApproval, AccountBootstrapApprovalFromJSON, AccountBootstrapApprovalFromJSONTyped, AccountBootstrapApprovalMethodEnum, AccountBootstrapApprovalToJSON, AccountBootstrapApprovalToJSONTyped, type AccountBootstrapCreated, type AccountBootstrapCreatedApproval, AccountBootstrapCreatedApprovalFromJSON, AccountBootstrapCreatedApprovalFromJSONTyped, AccountBootstrapCreatedApprovalMethodEnum, AccountBootstrapCreatedApprovalToJSON, AccountBootstrapCreatedApprovalToJSONTyped, AccountBootstrapCreatedCapabilitiesEnum, AccountBootstrapCreatedFromJSON, AccountBootstrapCreatedFromJSONTyped, type AccountBootstrapCreatedResponse, AccountBootstrapCreatedResponseFromJSON, AccountBootstrapCreatedResponseFromJSONTyped, AccountBootstrapCreatedResponseToJSON, AccountBootstrapCreatedResponseToJSONTyped, AccountBootstrapCreatedStatusEnum, AccountBootstrapCreatedToJSON, AccountBootstrapCreatedToJSONTyped, type AccountBootstrapRequest, AccountBootstrapRequestFromJSON, AccountBootstrapRequestFromJSONTyped, AccountBootstrapRequestRequestedScopesEnum, AccountBootstrapRequestToJSON, AccountBootstrapRequestToJSONTyped, type AccountBootstrapStatus, AccountBootstrapStatusCapabilitiesEnum, AccountBootstrapStatusFromJSON, AccountBootstrapStatusFromJSONTyped, type AccountBootstrapStatusResponse, AccountBootstrapStatusResponseFromJSON, AccountBootstrapStatusResponseFromJSONTyped, AccountBootstrapStatusResponseToJSON, AccountBootstrapStatusResponseToJSONTyped, AccountBootstrapStatusStatusEnum, AccountBootstrapStatusToJSON, AccountBootstrapStatusToJSONTyped, type AccountDetails, AccountDetailsFromJSON, AccountDetailsFromJSONTyped, AccountDetailsPrincipalTypeEnum, AccountDetailsToJSON, AccountDetailsToJSONTyped, AgentBootstrapApi, type ApiKey, type ApiKeyCreated, ApiKeyCreatedFromJSON, ApiKeyCreatedFromJSONTyped, type ApiKeyCreatedResponse, ApiKeyCreatedResponseFromJSON, ApiKeyCreatedResponseFromJSONTyped, ApiKeyCreatedResponseToJSON, ApiKeyCreatedResponseToJSONTyped, ApiKeyCreatedToJSON, ApiKeyCreatedToJSONTyped, ApiKeyFromJSON, ApiKeyFromJSONTyped, type ApiKeyListResponse, ApiKeyListResponseFromJSON, ApiKeyListResponseFromJSONTyped, ApiKeyListResponseToJSON, ApiKeyListResponseToJSONTyped, ApiKeyToJSON, ApiKeyToJSONTyped, type ApiResponse, AuthApi, type AuthResponse, type AuthResponseData, AuthResponseDataFromJSON, AuthResponseDataFromJSONTyped, AuthResponseDataToJSON, AuthResponseDataToJSONTyped, AuthResponseFromJSON, AuthResponseFromJSONTyped, AuthResponseToJSON, AuthResponseToJSONTyped, BASE_PATH, BalanceApi, type BalanceResponse, BalanceResponseFromJSON, BalanceResponseFromJSONTyped, BalanceResponseToJSON, BalanceResponseToJSONTyped, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, type CancelAccountBootstrapRequest, Configuration, type ConfigurationParameters, type ConfirmAccountRequest, type ConfirmRequest, ConfirmRequestFromJSON, ConfirmRequestFromJSONTyped, ConfirmRequestToJSON, ConfirmRequestToJSONTyped, type Consume, type CreateAccountBootstrapRequest, type CreateApiKeyOperationRequest, type CreateApiKeyRequest, CreateApiKeyRequestFromJSON, CreateApiKeyRequestFromJSONTyped, CreateApiKeyRequestToJSON, CreateApiKeyRequestToJSONTyped, DefaultConfig, DocumentationApi, type EnrollResourceRequest, type EnrolledResource, EnrolledResourceFromJSON, EnrolledResourceFromJSONTyped, EnrolledResourceToJSON, EnrolledResourceToJSONTyped, type ErrorContext, type ErrorResponse, ErrorResponseFromJSON, ErrorResponseFromJSONTyped, ErrorResponseToJSON, ErrorResponseToJSONTyped, type Fetch403Response, Fetch403ResponseFromJSON, Fetch403ResponseFromJSONTyped, Fetch403ResponseToJSON, Fetch403ResponseToJSONTyped, type FetchAPI, FetchApi, type FetchBalanceSnapshot, FetchBalanceSnapshotFromJSON, FetchBalanceSnapshotFromJSONTyped, FetchBalanceSnapshotToJSON, FetchBalanceSnapshotToJSONTyped, FetchError, type FetchErrorResponse, FetchErrorResponseErrorEnum, FetchErrorResponseFromJSON, FetchErrorResponseFromJSONTyped, FetchErrorResponseToJSON, FetchErrorResponseToJSONTyped, type FetchOperationRequest, type FetchOptions, type FetchParams, type FetchRequest, type FetchRequestBody, FetchRequestBodyFromJSON, FetchRequestBodyFromJSONTyped, FetchRequestBodyToJSON, FetchRequestBodyToJSONTyped, FetchRequestFromJSON, FetchRequestFromJSONTyped, FetchRequestMethodEnum, FetchRequestToJSON, FetchRequestToJSONTyped, type FetchResponse, FetchResponseFromJSON, FetchResponseFromJSONTyped, FetchResponsePaymentStatusEnum, FetchResponseProtocolEnum, FetchResponseToJSON, FetchResponseToJSONTyped, type GetAccountBootstrapRequest, type GetPaymentRequest, type GetPurchaseRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, type InsufficientScopeResponse, InsufficientScopeResponseErrorEnum, InsufficientScopeResponseFromJSON, InsufficientScopeResponseFromJSONTyped, InsufficientScopeResponseToJSON, InsufficientScopeResponseToJSONTyped, JSONApiResponse, type Json, type ListPaymentsRequest, type ListPurchasesRequest, type MeApiKey, type MeApiKeyCreator, MeApiKeyCreatorFromJSON, MeApiKeyCreatorFromJSONTyped, MeApiKeyCreatorToJSON, MeApiKeyCreatorToJSONTyped, MeApiKeyFromJSON, MeApiKeyFromJSONTyped, MeApiKeyToJSON, MeApiKeyToJSONTyped, type MeResponse, type MeResponseData, MeResponseDataFromJSON, MeResponseDataFromJSONTyped, MeResponseDataToJSON, MeResponseDataToJSONTyped, MeResponseFromJSON, MeResponseFromJSONTyped, MeResponseToJSON, MeResponseToJSONTyped, type MessageResponse, type MessageResponseData, MessageResponseDataFromJSON, MessageResponseDataFromJSONTyped, MessageResponseDataToJSON, MessageResponseDataToJSONTyped, MessageResponseFromJSON, MessageResponseFromJSONTyped, MessageResponseToJSON, MessageResponseToJSONTyped, type Middleware, type ModelError, ModelErrorFromJSON, ModelErrorFromJSONTyped, ModelErrorToJSON, ModelErrorToJSONTyped, type ModelPropertyNaming, type Pagination, PaginationFromJSON, PaginationFromJSONTyped, PaginationToJSON, PaginationToJSONTyped, type PaidFetchRequest, type PasswordResetRequest, PasswordResetRequestFromJSON, PasswordResetRequestFromJSONTyped, PasswordResetRequestToJSON, PasswordResetRequestToJSONTyped, type PasswordUpdateRequest, PasswordUpdateRequestFromJSON, PasswordUpdateRequestFromJSONTyped, PasswordUpdateRequestToJSON, PasswordUpdateRequestToJSONTyped, type Payment, PaymentFromJSON, PaymentFromJSONTyped, type PaymentListResponse, PaymentListResponseFromJSON, PaymentListResponseFromJSONTyped, PaymentListResponseToJSON, PaymentListResponseToJSONTyped, type PaymentResponse, PaymentResponseFromJSON, PaymentResponseFromJSONTyped, PaymentResponseToJSON, PaymentResponseToJSONTyped, PaymentToJSON, PaymentToJSONTyped, PaymentsApi, type PrincipalWallet, PrincipalWalletFromJSON, PrincipalWalletFromJSONTyped, PrincipalWalletToJSON, PrincipalWalletToJSONTyped, type PromoBalance, PromoBalanceFromJSON, PromoBalanceFromJSONTyped, PromoBalanceToJSON, PromoBalanceToJSONTyped, type Purchase, type PurchaseArtifact, PurchaseArtifactFromJSON, PurchaseArtifactFromJSONTyped, PurchaseArtifactToJSON, PurchaseArtifactToJSONTyped, PurchaseAttributionStatusEnum, PurchaseFromJSON, PurchaseFromJSONTyped, type PurchaseListOptions, type PurchaseListResponse, PurchaseListResponseFromJSON, PurchaseListResponseFromJSONTyped, PurchaseListResponseToJSON, PurchaseListResponseToJSONTyped, PurchaseProtocolEnum, type PurchaseResponse, PurchaseResponseFromJSON, PurchaseResponseFromJSONTyped, PurchaseResponseToJSON, PurchaseResponseToJSONTyped, PurchaseStatusEnum, PurchaseToJSON, PurchaseToJSONTyped, PurchasesApi, type RateLimitResponse, RateLimitResponseErrorEnum, RateLimitResponseFromJSON, RateLimitResponseFromJSONTyped, RateLimitResponseToJSON, RateLimitResponseToJSONTyped, type RequestContext, type RequestOpts, type RequestPasswordResetRequest, RequiredError, type ResendConfirmationOperationRequest, type ResendConfirmationRequest, ResendConfirmationRequestFromJSON, ResendConfirmationRequestFromJSONTyped, ResendConfirmationRequestToJSON, ResendConfirmationRequestToJSONTyped, type ResourceEnrollmentRequest, ResourceEnrollmentRequestFromJSON, ResourceEnrollmentRequestFromJSONTyped, ResourceEnrollmentRequestToJSON, ResourceEnrollmentRequestToJSONTyped, type ResourceEnrollmentResponse, ResourceEnrollmentResponseFromJSON, ResourceEnrollmentResponseFromJSONTyped, ResourceEnrollmentResponseToJSON, ResourceEnrollmentResponseToJSONTyped, type ResourceStats, ResourceStatsFromJSON, ResourceStatsFromJSONTyped, ResourceStatsToJSON, ResourceStatsToJSONTyped, ResourcesApi, type ResponseContext, ResponseError, type ResponseTransformer, type RevokeApiKeyRequest, type SearchAccessMethod, SearchAccessMethodFromJSON, SearchAccessMethodFromJSONTyped, SearchAccessMethodProtocolEnum, SearchAccessMethodStatusEnum, SearchAccessMethodToJSON, SearchAccessMethodToJSONTyped, SearchApi, type SearchCapabilityRef, SearchCapabilityRefFromJSON, SearchCapabilityRefFromJSONTyped, SearchCapabilityRefToJSON, SearchCapabilityRefToJSONTyped, type SearchCuratedCallability, SearchCuratedCallabilityFromJSON, SearchCuratedCallabilityFromJSONTyped, SearchCuratedCallabilityStateEnum, SearchCuratedCallabilityToJSON, SearchCuratedCallabilityToJSONTyped, type SearchCuratedExecution, SearchCuratedExecutionFromJSON, SearchCuratedExecutionFromJSONTyped, SearchCuratedExecutionModeEnum, SearchCuratedExecutionToJSON, SearchCuratedExecutionToJSONTyped, type SearchCuratedOperation, SearchCuratedOperationFromJSON, SearchCuratedOperationFromJSONTyped, SearchCuratedOperationToJSON, SearchCuratedOperationToJSONTyped, type SearchCuratedService, SearchCuratedServiceFromJSON, SearchCuratedServiceFromJSONTyped, SearchCuratedServiceToJSON, SearchCuratedServiceToJSONTyped, type SearchCuratedSource, SearchCuratedSourceCatalogEnum, SearchCuratedSourceFromJSON, SearchCuratedSourceFromJSONTyped, SearchCuratedSourceToJSON, SearchCuratedSourceToJSONTyped, type SearchEndpointCall, SearchEndpointCallFromJSON, SearchEndpointCallFromJSONTyped, type SearchEndpointCallInputSchema, SearchEndpointCallInputSchemaFromJSON, SearchEndpointCallInputSchemaFromJSONTyped, SearchEndpointCallInputSchemaToJSON, SearchEndpointCallInputSchemaToJSONTyped, SearchEndpointCallToJSON, SearchEndpointCallToJSONTyped, type SearchEndpointHit, SearchEndpointHitFromJSON, SearchEndpointHitFromJSONTyped, SearchEndpointHitOperatorTypeEnum, SearchEndpointHitToJSON, SearchEndpointHitToJSONTyped, type SearchEndpointPrice, SearchEndpointPriceFromJSON, SearchEndpointPriceFromJSONTyped, SearchEndpointPriceSourceEnum, SearchEndpointPriceToJSON, SearchEndpointPriceToJSONTyped, type SearchErrorResponse, SearchErrorResponseErrorEnum, SearchErrorResponseFromJSON, SearchErrorResponseFromJSONTyped, SearchErrorResponseToJSON, SearchErrorResponseToJSONTyped, type SearchExecutionModeFilter, SearchExecutionModeFilterEqEnum, SearchExecutionModeFilterFromJSON, SearchExecutionModeFilterFromJSONTyped, SearchExecutionModeFilterInEnum, SearchExecutionModeFilterToJSON, SearchExecutionModeFilterToJSONTyped, type SearchFilterSpec, SearchFilterSpecFromJSON, SearchFilterSpecFromJSONTyped, SearchFilterSpecToJSON, SearchFilterSpecToJSONTyped, type SearchHelperDocs, SearchHelperDocsFromJSON, SearchHelperDocsFromJSONTyped, SearchHelperDocsToJSON, SearchHelperDocsToJSONTyped, type SearchMethodFilter, SearchMethodFilterEqEnum, SearchMethodFilterFromJSON, SearchMethodFilterFromJSONTyped, SearchMethodFilterInEnum, SearchMethodFilterToJSON, SearchMethodFilterToJSONTyped, type SearchOperationRequest, type SearchPaymentOffer, SearchPaymentOfferFromJSON, SearchPaymentOfferFromJSONTyped, SearchPaymentOfferToJSON, SearchPaymentOfferToJSONTyped, type SearchPriceAtomicFilter, SearchPriceAtomicFilterFromJSON, SearchPriceAtomicFilterFromJSONTyped, SearchPriceAtomicFilterToJSON, SearchPriceAtomicFilterToJSONTyped, type SearchPriceUsdFilter, SearchPriceUsdFilterFromJSON, SearchPriceUsdFilterFromJSONTyped, SearchPriceUsdFilterToJSON, SearchPriceUsdFilterToJSONTyped, type SearchProtocolFilter, SearchProtocolFilterEqEnum, SearchProtocolFilterFromJSON, SearchProtocolFilterFromJSONTyped, SearchProtocolFilterInEnum, SearchProtocolFilterToJSON, SearchProtocolFilterToJSONTyped, type SearchProviderRef, SearchProviderRefFromJSON, SearchProviderRefFromJSONTyped, SearchProviderRefToJSON, SearchProviderRefToJSONTyped, type SearchRequest, SearchRequestFromJSON, SearchRequestFromJSONTyped, SearchRequestToJSON, SearchRequestToJSONTyped, type SearchResourceTypeFilter, SearchResourceTypeFilterEqEnum, SearchResourceTypeFilterFromJSON, SearchResourceTypeFilterFromJSONTyped, SearchResourceTypeFilterInEnum, SearchResourceTypeFilterToJSON, SearchResourceTypeFilterToJSONTyped, type SearchResponse, SearchResponseDecompositionSourceEnum, SearchResponseFormatEnum, SearchResponseFromJSON, SearchResponseFromJSONTyped, SearchResponseMatchQualityEnum, SearchResponseReasonEnum, SearchResponseServedFromEnum, SearchResponseToJSON, SearchResponseToJSONTyped, type SearchResponseWarningsInner, SearchResponseWarningsInnerFromJSON, SearchResponseWarningsInnerFromJSONTyped, SearchResponseWarningsInnerToJSON, SearchResponseWarningsInnerToJSONTyped, type SearchResult, SearchResultFromJSON, SearchResultFromJSONTyped, SearchResultToJSON, SearchResultToJSONTyped, type SearchStringSetFilter, SearchStringSetFilterFromJSON, SearchStringSetFilterFromJSONTyped, SearchStringSetFilterToJSON, SearchStringSetFilterToJSONTyped, type SearchWeftFetchCompatibility, SearchWeftFetchCompatibilityFromJSON, SearchWeftFetchCompatibilityFromJSONTyped, SearchWeftFetchCompatibilityStateEnum, SearchWeftFetchCompatibilityToJSON, SearchWeftFetchCompatibilityToJSONTyped, type SignInOperationRequest, type SignInRequest, SignInRequestFromJSON, SignInRequestFromJSONTyped, SignInRequestToJSON, SignInRequestToJSONTyped, type SignUpOperationRequest, type SignUpRequest, SignUpRequestFromJSON, SignUpRequestFromJSONTyped, SignUpRequestToJSON, SignUpRequestToJSONTyped, type SpendingPolicy, SpendingPolicyFromJSON, SpendingPolicyFromJSONTyped, SpendingPolicyToJSON, SpendingPolicyToJSONTyped, TextApiResponse, type UpdatePasswordRequest, type User, UserFromJSON, UserFromJSONTyped, type UserPrincipal, UserPrincipalFromJSON, UserPrincipalFromJSONTyped, UserPrincipalPrincipalTypeEnum, UserPrincipalProvisioningStatusEnum, UserPrincipalStatusEnum, UserPrincipalToJSON, UserPrincipalToJSONTyped, UserToJSON, UserToJSONTyped, VoidApiResponse, type Wallet, WalletFromJSON, WalletFromJSONTyped, WalletProviderEnum, WalletToJSON, WalletToJSONTyped, type WeftCharge, WeftClient, type WeftClientOptions, WeftError, type WeftErrorOptions, type WeftOAuthClientOptions, canConsumeForm, exists, instanceOfAccountBootstrapApproval, instanceOfAccountBootstrapCreated, instanceOfAccountBootstrapCreatedApproval, instanceOfAccountBootstrapCreatedResponse, instanceOfAccountBootstrapRequest, instanceOfAccountBootstrapStatus, instanceOfAccountBootstrapStatusResponse, instanceOfAccountDetails, instanceOfApiKey, instanceOfApiKeyCreated, instanceOfApiKeyCreatedResponse, instanceOfApiKeyListResponse, instanceOfAuthResponse, instanceOfAuthResponseData, instanceOfBalanceResponse, instanceOfConfirmRequest, instanceOfCreateApiKeyRequest, instanceOfEnrolledResource, instanceOfErrorResponse, instanceOfFetchBalanceSnapshot, instanceOfFetchErrorResponse, instanceOfFetchRequest, instanceOfFetchResponse, instanceOfInsufficientScopeResponse, instanceOfMeApiKey, instanceOfMeApiKeyCreator, instanceOfMeResponse, instanceOfMessageResponse, instanceOfMessageResponseData, instanceOfModelError, instanceOfPagination, instanceOfPasswordResetRequest, instanceOfPasswordUpdateRequest, instanceOfPayment, instanceOfPaymentListResponse, instanceOfPaymentResponse, instanceOfPrincipalWallet, instanceOfPromoBalance, instanceOfPurchase, instanceOfPurchaseArtifact, instanceOfPurchaseListResponse, instanceOfPurchaseResponse, instanceOfRateLimitResponse, instanceOfResendConfirmationRequest, instanceOfResourceEnrollmentRequest, instanceOfResourceEnrollmentResponse, instanceOfResourceStats, instanceOfSearchAccessMethod, instanceOfSearchCapabilityRef, instanceOfSearchCuratedCallability, instanceOfSearchCuratedExecution, instanceOfSearchCuratedOperation, instanceOfSearchCuratedService, instanceOfSearchCuratedSource, instanceOfSearchEndpointCall, instanceOfSearchEndpointCallInputSchema, instanceOfSearchEndpointHit, instanceOfSearchEndpointPrice, instanceOfSearchErrorResponse, instanceOfSearchExecutionModeFilter, instanceOfSearchFilterSpec, instanceOfSearchHelperDocs, instanceOfSearchMethodFilter, instanceOfSearchPaymentOffer, instanceOfSearchPriceAtomicFilter, instanceOfSearchPriceUsdFilter, instanceOfSearchProtocolFilter, instanceOfSearchProviderRef, instanceOfSearchRequest, instanceOfSearchResourceTypeFilter, instanceOfSearchResponse, instanceOfSearchResponseWarningsInner, instanceOfSearchResult, instanceOfSearchStringSetFilter, instanceOfSearchWeftFetchCompatibility, instanceOfSignInRequest, instanceOfSignUpRequest, instanceOfSpendingPolicy, instanceOfUser, instanceOfUserPrincipal, instanceOfWallet, mapValues, normalizeWeftError, querystring };
|
|
6491
|
+
export { APIKeysApi, AccountApi, type AccountBootstrapApproval, AccountBootstrapApprovalFromJSON, AccountBootstrapApprovalFromJSONTyped, AccountBootstrapApprovalMethodEnum, AccountBootstrapApprovalToJSON, AccountBootstrapApprovalToJSONTyped, type AccountBootstrapCreated, type AccountBootstrapCreatedApproval, AccountBootstrapCreatedApprovalFromJSON, AccountBootstrapCreatedApprovalFromJSONTyped, AccountBootstrapCreatedApprovalMethodEnum, AccountBootstrapCreatedApprovalToJSON, AccountBootstrapCreatedApprovalToJSONTyped, AccountBootstrapCreatedCapabilitiesEnum, AccountBootstrapCreatedFromJSON, AccountBootstrapCreatedFromJSONTyped, type AccountBootstrapCreatedResponse, AccountBootstrapCreatedResponseFromJSON, AccountBootstrapCreatedResponseFromJSONTyped, AccountBootstrapCreatedResponseToJSON, AccountBootstrapCreatedResponseToJSONTyped, AccountBootstrapCreatedStatusEnum, AccountBootstrapCreatedToJSON, AccountBootstrapCreatedToJSONTyped, type AccountBootstrapRequest, AccountBootstrapRequestFromJSON, AccountBootstrapRequestFromJSONTyped, AccountBootstrapRequestRequestedScopesEnum, AccountBootstrapRequestToJSON, AccountBootstrapRequestToJSONTyped, type AccountBootstrapStatus, AccountBootstrapStatusCapabilitiesEnum, AccountBootstrapStatusFromJSON, AccountBootstrapStatusFromJSONTyped, type AccountBootstrapStatusResponse, AccountBootstrapStatusResponseFromJSON, AccountBootstrapStatusResponseFromJSONTyped, AccountBootstrapStatusResponseToJSON, AccountBootstrapStatusResponseToJSONTyped, AccountBootstrapStatusStatusEnum, AccountBootstrapStatusToJSON, AccountBootstrapStatusToJSONTyped, type AccountDetails, AccountDetailsFromJSON, AccountDetailsFromJSONTyped, AccountDetailsPrincipalTypeEnum, AccountDetailsToJSON, AccountDetailsToJSONTyped, AgentBootstrapApi, type ApiKey, type ApiKeyCreated, ApiKeyCreatedFromJSON, ApiKeyCreatedFromJSONTyped, type ApiKeyCreatedResponse, ApiKeyCreatedResponseFromJSON, ApiKeyCreatedResponseFromJSONTyped, ApiKeyCreatedResponseToJSON, ApiKeyCreatedResponseToJSONTyped, ApiKeyCreatedToJSON, ApiKeyCreatedToJSONTyped, ApiKeyFromJSON, ApiKeyFromJSONTyped, type ApiKeyListResponse, ApiKeyListResponseFromJSON, ApiKeyListResponseFromJSONTyped, ApiKeyListResponseToJSON, ApiKeyListResponseToJSONTyped, ApiKeyToJSON, ApiKeyToJSONTyped, type ApiResponse, AuthApi, type AuthResponse, type AuthResponseData, AuthResponseDataFromJSON, AuthResponseDataFromJSONTyped, AuthResponseDataToJSON, AuthResponseDataToJSONTyped, AuthResponseFromJSON, AuthResponseFromJSONTyped, AuthResponseToJSON, AuthResponseToJSONTyped, BASE_PATH, BalanceApi, type BalanceResponse, BalanceResponseFromJSON, BalanceResponseFromJSONTyped, BalanceResponseToJSON, BalanceResponseToJSONTyped, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, type CancelAccountBootstrapRequest, Configuration, type ConfigurationParameters, type ConfirmAccountRequest, type ConfirmRequest, ConfirmRequestFromJSON, ConfirmRequestFromJSONTyped, ConfirmRequestToJSON, ConfirmRequestToJSONTyped, type Consume, type CreateAccountBootstrapRequest, type CreateApiKeyOperationRequest, type CreateApiKeyRequest, CreateApiKeyRequestFromJSON, CreateApiKeyRequestFromJSONTyped, CreateApiKeyRequestToJSON, CreateApiKeyRequestToJSONTyped, DefaultConfig, DocumentationApi, type EnrollResourceRequest, type EnrolledResource, EnrolledResourceFromJSON, EnrolledResourceFromJSONTyped, EnrolledResourceToJSON, EnrolledResourceToJSONTyped, type ErrorContext, type ErrorResponse, ErrorResponseFromJSON, ErrorResponseFromJSONTyped, ErrorResponseToJSON, ErrorResponseToJSONTyped, type Fetch403Response, Fetch403ResponseFromJSON, Fetch403ResponseFromJSONTyped, Fetch403ResponseToJSON, Fetch403ResponseToJSONTyped, type FetchAPI, FetchApi, type FetchBalanceSnapshot, FetchBalanceSnapshotFromJSON, FetchBalanceSnapshotFromJSONTyped, FetchBalanceSnapshotToJSON, FetchBalanceSnapshotToJSONTyped, FetchError, type FetchErrorResponse, FetchErrorResponseErrorEnum, FetchErrorResponseFromJSON, FetchErrorResponseFromJSONTyped, FetchErrorResponseToJSON, FetchErrorResponseToJSONTyped, type FetchOperationRequest, type FetchOptions, type FetchParams, type FetchRequest, type FetchRequestBody, FetchRequestBodyFromJSON, FetchRequestBodyFromJSONTyped, FetchRequestBodyToJSON, FetchRequestBodyToJSONTyped, FetchRequestFromJSON, FetchRequestFromJSONTyped, FetchRequestMethodEnum, FetchRequestToJSON, FetchRequestToJSONTyped, type FetchResponse, FetchResponseFromJSON, FetchResponseFromJSONTyped, FetchResponsePaymentStatusEnum, FetchResponseProtocolEnum, FetchResponseToJSON, FetchResponseToJSONTyped, type GetAccountBootstrapRequest, type GetPaymentRequest, type GetPurchaseIdParameter, GetPurchaseIdParameterFromJSON, GetPurchaseIdParameterFromJSONTyped, GetPurchaseIdParameterToJSON, GetPurchaseIdParameterToJSONTyped, type GetPurchaseRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, type InsufficientScopeResponse, InsufficientScopeResponseErrorEnum, InsufficientScopeResponseFromJSON, InsufficientScopeResponseFromJSONTyped, InsufficientScopeResponseToJSON, InsufficientScopeResponseToJSONTyped, JSONApiResponse, type Json, type ListPaymentsRequest, type ListPurchasesRequest, type MeApiKey, type MeApiKeyCreator, MeApiKeyCreatorFromJSON, MeApiKeyCreatorFromJSONTyped, MeApiKeyCreatorToJSON, MeApiKeyCreatorToJSONTyped, MeApiKeyFromJSON, MeApiKeyFromJSONTyped, MeApiKeyToJSON, MeApiKeyToJSONTyped, type MeResponse, type MeResponseData, MeResponseDataFromJSON, MeResponseDataFromJSONTyped, MeResponseDataToJSON, MeResponseDataToJSONTyped, MeResponseFromJSON, MeResponseFromJSONTyped, MeResponseToJSON, MeResponseToJSONTyped, type MessageResponse, type MessageResponseData, MessageResponseDataFromJSON, MessageResponseDataFromJSONTyped, MessageResponseDataToJSON, MessageResponseDataToJSONTyped, MessageResponseFromJSON, MessageResponseFromJSONTyped, MessageResponseToJSON, MessageResponseToJSONTyped, type Middleware, type ModelError, ModelErrorFromJSON, ModelErrorFromJSONTyped, ModelErrorToJSON, ModelErrorToJSONTyped, type ModelPropertyNaming, type Pagination, PaginationFromJSON, PaginationFromJSONTyped, PaginationToJSON, PaginationToJSONTyped, type PaidFetchRequest, type PasswordResetRequest, PasswordResetRequestFromJSON, PasswordResetRequestFromJSONTyped, PasswordResetRequestToJSON, PasswordResetRequestToJSONTyped, type PasswordUpdateRequest, PasswordUpdateRequestFromJSON, PasswordUpdateRequestFromJSONTyped, PasswordUpdateRequestToJSON, PasswordUpdateRequestToJSONTyped, type Payment, PaymentFromJSON, PaymentFromJSONTyped, type PaymentListResponse, PaymentListResponseFromJSON, PaymentListResponseFromJSONTyped, PaymentListResponseToJSON, PaymentListResponseToJSONTyped, type PaymentResponse, PaymentResponseFromJSON, PaymentResponseFromJSONTyped, PaymentResponseToJSON, PaymentResponseToJSONTyped, PaymentToJSON, PaymentToJSONTyped, PaymentsApi, type PrincipalWallet, PrincipalWalletFromJSON, PrincipalWalletFromJSONTyped, PrincipalWalletToJSON, PrincipalWalletToJSONTyped, type PromoBalance, PromoBalanceFromJSON, PromoBalanceFromJSONTyped, PromoBalanceToJSON, PromoBalanceToJSONTyped, type Purchase, type PurchaseArtifact, PurchaseArtifactFromJSON, PurchaseArtifactFromJSONTyped, PurchaseArtifactToJSON, PurchaseArtifactToJSONTyped, PurchaseAttributionStatusEnum, PurchaseFromJSON, PurchaseFromJSONTyped, type PurchaseListOptions, type PurchaseListResponse, PurchaseListResponseFromJSON, PurchaseListResponseFromJSONTyped, PurchaseListResponseToJSON, PurchaseListResponseToJSONTyped, PurchaseProtocolEnum, type PurchaseResponse, PurchaseResponseFromJSON, PurchaseResponseFromJSONTyped, PurchaseResponseToJSON, PurchaseResponseToJSONTyped, PurchaseStatusEnum, PurchaseToJSON, PurchaseToJSONTyped, PurchasesApi, type RateLimitResponse, RateLimitResponseErrorEnum, RateLimitResponseFromJSON, RateLimitResponseFromJSONTyped, RateLimitResponseToJSON, RateLimitResponseToJSONTyped, type RequestContext, type RequestOpts, type RequestPasswordResetRequest, RequiredError, type ResendConfirmationOperationRequest, type ResendConfirmationRequest, ResendConfirmationRequestFromJSON, ResendConfirmationRequestFromJSONTyped, ResendConfirmationRequestToJSON, ResendConfirmationRequestToJSONTyped, type ResourceEnrollmentRequest, ResourceEnrollmentRequestFromJSON, ResourceEnrollmentRequestFromJSONTyped, ResourceEnrollmentRequestToJSON, ResourceEnrollmentRequestToJSONTyped, type ResourceEnrollmentResponse, ResourceEnrollmentResponseFromJSON, ResourceEnrollmentResponseFromJSONTyped, ResourceEnrollmentResponseToJSON, ResourceEnrollmentResponseToJSONTyped, type ResourceStats, ResourceStatsFromJSON, ResourceStatsFromJSONTyped, ResourceStatsToJSON, ResourceStatsToJSONTyped, ResourcesApi, type ResponseContext, ResponseError, type ResponseTransformer, type RevokeApiKeyRequest, type SearchAccessMethod, SearchAccessMethodFromJSON, SearchAccessMethodFromJSONTyped, SearchAccessMethodProtocolEnum, SearchAccessMethodStatusEnum, SearchAccessMethodToJSON, SearchAccessMethodToJSONTyped, SearchApi, type SearchCapabilityRef, SearchCapabilityRefFromJSON, SearchCapabilityRefFromJSONTyped, SearchCapabilityRefToJSON, SearchCapabilityRefToJSONTyped, type SearchCompactAccess, SearchCompactAccessFromJSON, SearchCompactAccessFromJSONTyped, type SearchCompactAccessPrice, SearchCompactAccessPriceFromJSON, SearchCompactAccessPriceFromJSONTyped, SearchCompactAccessPriceToJSON, SearchCompactAccessPriceToJSONTyped, SearchCompactAccessToJSON, SearchCompactAccessToJSONTyped, type SearchCompactNextCall, SearchCompactNextCallFromJSON, SearchCompactNextCallFromJSONTyped, SearchCompactNextCallMethodEnum, SearchCompactNextCallPathEnum, SearchCompactNextCallToJSON, SearchCompactNextCallToJSONTyped, type SearchCompactResult, type SearchCompactResultAttribution, SearchCompactResultAttributionFromJSON, SearchCompactResultAttributionFromJSONTyped, SearchCompactResultAttributionToJSON, SearchCompactResultAttributionToJSONTyped, type SearchCompactResultBlockedScopesInner, SearchCompactResultBlockedScopesInnerFromJSON, SearchCompactResultBlockedScopesInnerFromJSONTyped, SearchCompactResultBlockedScopesInnerToJSON, SearchCompactResultBlockedScopesInnerToJSONTyped, SearchCompactResultFromJSON, SearchCompactResultFromJSONTyped, type SearchCompactResultOperation, SearchCompactResultOperationFromJSON, SearchCompactResultOperationFromJSONTyped, SearchCompactResultOperationToJSON, SearchCompactResultOperationToJSONTyped, type SearchCompactResultProvider, SearchCompactResultProviderFromJSON, SearchCompactResultProviderFromJSONTyped, SearchCompactResultProviderToJSON, SearchCompactResultProviderToJSONTyped, SearchCompactResultToJSON, SearchCompactResultToJSONTyped, type SearchCuratedCallability, SearchCuratedCallabilityFromJSON, SearchCuratedCallabilityFromJSONTyped, SearchCuratedCallabilityStateEnum, SearchCuratedCallabilityToJSON, SearchCuratedCallabilityToJSONTyped, type SearchCuratedExecution, SearchCuratedExecutionFromJSON, SearchCuratedExecutionFromJSONTyped, SearchCuratedExecutionModeEnum, SearchCuratedExecutionToJSON, SearchCuratedExecutionToJSONTyped, type SearchCuratedOperation, SearchCuratedOperationFromJSON, SearchCuratedOperationFromJSONTyped, SearchCuratedOperationToJSON, SearchCuratedOperationToJSONTyped, type SearchCuratedService, SearchCuratedServiceFromJSON, SearchCuratedServiceFromJSONTyped, SearchCuratedServiceToJSON, SearchCuratedServiceToJSONTyped, type SearchCuratedSource, SearchCuratedSourceCatalogEnum, SearchCuratedSourceFromJSON, SearchCuratedSourceFromJSONTyped, SearchCuratedSourceToJSON, SearchCuratedSourceToJSONTyped, type SearchEndpointCall, SearchEndpointCallFromJSON, SearchEndpointCallFromJSONTyped, type SearchEndpointCallInputSchema, SearchEndpointCallInputSchemaFromJSON, SearchEndpointCallInputSchemaFromJSONTyped, SearchEndpointCallInputSchemaToJSON, SearchEndpointCallInputSchemaToJSONTyped, SearchEndpointCallToJSON, SearchEndpointCallToJSONTyped, type SearchEndpointHit, SearchEndpointHitFromJSON, SearchEndpointHitFromJSONTyped, SearchEndpointHitOperatorTypeEnum, SearchEndpointHitToJSON, SearchEndpointHitToJSONTyped, type SearchEndpointPrice, SearchEndpointPriceFromJSON, SearchEndpointPriceFromJSONTyped, SearchEndpointPriceSourceEnum, SearchEndpointPriceToJSON, SearchEndpointPriceToJSONTyped, type SearchErrorResponse, SearchErrorResponseErrorEnum, SearchErrorResponseFromJSON, SearchErrorResponseFromJSONTyped, SearchErrorResponseToJSON, SearchErrorResponseToJSONTyped, type SearchExecutionModeFilter, SearchExecutionModeFilterEqEnum, SearchExecutionModeFilterFromJSON, SearchExecutionModeFilterFromJSONTyped, SearchExecutionModeFilterInEnum, SearchExecutionModeFilterToJSON, SearchExecutionModeFilterToJSONTyped, type SearchFilterSpec, SearchFilterSpecFromJSON, SearchFilterSpecFromJSONTyped, SearchFilterSpecToJSON, SearchFilterSpecToJSONTyped, type SearchHelperDocs, SearchHelperDocsFromJSON, SearchHelperDocsFromJSONTyped, SearchHelperDocsToJSON, SearchHelperDocsToJSONTyped, type SearchMethodFilter, SearchMethodFilterEqEnum, SearchMethodFilterFromJSON, SearchMethodFilterFromJSONTyped, SearchMethodFilterInEnum, SearchMethodFilterToJSON, SearchMethodFilterToJSONTyped, type SearchOperationRequest, type SearchPaymentOffer, SearchPaymentOfferFromJSON, SearchPaymentOfferFromJSONTyped, SearchPaymentOfferToJSON, SearchPaymentOfferToJSONTyped, type SearchPriceAtomicFilter, SearchPriceAtomicFilterFromJSON, SearchPriceAtomicFilterFromJSONTyped, SearchPriceAtomicFilterToJSON, SearchPriceAtomicFilterToJSONTyped, type SearchPriceUsdFilter, SearchPriceUsdFilterFromJSON, SearchPriceUsdFilterFromJSONTyped, SearchPriceUsdFilterToJSON, SearchPriceUsdFilterToJSONTyped, type SearchProtocolFilter, SearchProtocolFilterEqEnum, SearchProtocolFilterFromJSON, SearchProtocolFilterFromJSONTyped, SearchProtocolFilterInEnum, SearchProtocolFilterToJSON, SearchProtocolFilterToJSONTyped, type SearchProviderRef, SearchProviderRefFromJSON, SearchProviderRefFromJSONTyped, SearchProviderRefToJSON, SearchProviderRefToJSONTyped, type SearchRequest, SearchRequestFromJSON, SearchRequestFromJSONTyped, SearchRequestToJSON, SearchRequestToJSONTyped, SearchRequestViewEnum, type SearchResourceTypeFilter, SearchResourceTypeFilterEqEnum, SearchResourceTypeFilterFromJSON, SearchResourceTypeFilterFromJSONTyped, SearchResourceTypeFilterInEnum, SearchResourceTypeFilterToJSON, SearchResourceTypeFilterToJSONTyped, type SearchResponse, SearchResponseDecompositionSourceEnum, SearchResponseFormatEnum, SearchResponseFromJSON, SearchResponseFromJSONTyped, SearchResponseMatchQualityEnum, SearchResponseReasonEnum, SearchResponseServedFromEnum, SearchResponseToJSON, SearchResponseToJSONTyped, SearchResponseViewEnum, type SearchResponseWarningsInner, SearchResponseWarningsInnerFromJSON, SearchResponseWarningsInnerFromJSONTyped, SearchResponseWarningsInnerToJSON, SearchResponseWarningsInnerToJSONTyped, type SearchResult, SearchResultFromJSON, SearchResultFromJSONTyped, SearchResultToJSON, SearchResultToJSONTyped, type SearchStringSetFilter, SearchStringSetFilterFromJSON, SearchStringSetFilterFromJSONTyped, SearchStringSetFilterToJSON, SearchStringSetFilterToJSONTyped, type SearchWeftFetchCompatibility, SearchWeftFetchCompatibilityCoverageEnum, SearchWeftFetchCompatibilityFromJSON, SearchWeftFetchCompatibilityFromJSONTyped, SearchWeftFetchCompatibilityStateEnum, SearchWeftFetchCompatibilityToJSON, SearchWeftFetchCompatibilityToJSONTyped, type SignInOperationRequest, type SignInRequest, SignInRequestFromJSON, SignInRequestFromJSONTyped, SignInRequestToJSON, SignInRequestToJSONTyped, type SignUpOperationRequest, type SignUpRequest, SignUpRequestFromJSON, SignUpRequestFromJSONTyped, SignUpRequestToJSON, SignUpRequestToJSONTyped, type SpendingPolicy, SpendingPolicyFromJSON, SpendingPolicyFromJSONTyped, SpendingPolicyToJSON, SpendingPolicyToJSONTyped, TextApiResponse, type UpdatePasswordRequest, type User, UserFromJSON, UserFromJSONTyped, type UserPrincipal, UserPrincipalFromJSON, UserPrincipalFromJSONTyped, UserPrincipalPrincipalTypeEnum, UserPrincipalProvisioningStatusEnum, UserPrincipalStatusEnum, UserPrincipalToJSON, UserPrincipalToJSONTyped, UserToJSON, UserToJSONTyped, VoidApiResponse, type Wallet, WalletFromJSON, WalletFromJSONTyped, WalletProviderEnum, WalletToJSON, WalletToJSONTyped, type WeftCharge, WeftClient, type WeftClientOptions, WeftError, type WeftErrorOptions, type WeftOAuthClientOptions, canConsumeForm, exists, instanceOfAccountBootstrapApproval, instanceOfAccountBootstrapCreated, instanceOfAccountBootstrapCreatedApproval, instanceOfAccountBootstrapCreatedResponse, instanceOfAccountBootstrapRequest, instanceOfAccountBootstrapStatus, instanceOfAccountBootstrapStatusResponse, instanceOfAccountDetails, instanceOfApiKey, instanceOfApiKeyCreated, instanceOfApiKeyCreatedResponse, instanceOfApiKeyListResponse, instanceOfAuthResponse, instanceOfAuthResponseData, instanceOfBalanceResponse, instanceOfConfirmRequest, instanceOfCreateApiKeyRequest, instanceOfEnrolledResource, instanceOfErrorResponse, instanceOfFetchBalanceSnapshot, instanceOfFetchErrorResponse, instanceOfFetchRequest, instanceOfFetchResponse, instanceOfInsufficientScopeResponse, instanceOfMeApiKey, instanceOfMeApiKeyCreator, instanceOfMeResponse, instanceOfMessageResponse, instanceOfMessageResponseData, instanceOfModelError, instanceOfPagination, instanceOfPasswordResetRequest, instanceOfPasswordUpdateRequest, instanceOfPayment, instanceOfPaymentListResponse, instanceOfPaymentResponse, instanceOfPrincipalWallet, instanceOfPromoBalance, instanceOfPurchase, instanceOfPurchaseArtifact, instanceOfPurchaseListResponse, instanceOfPurchaseResponse, instanceOfRateLimitResponse, instanceOfResendConfirmationRequest, instanceOfResourceEnrollmentRequest, instanceOfResourceEnrollmentResponse, instanceOfResourceStats, instanceOfSearchAccessMethod, instanceOfSearchCapabilityRef, instanceOfSearchCompactAccess, instanceOfSearchCompactAccessPrice, instanceOfSearchCompactNextCall, instanceOfSearchCompactResult, instanceOfSearchCompactResultAttribution, instanceOfSearchCompactResultBlockedScopesInner, instanceOfSearchCompactResultOperation, instanceOfSearchCompactResultProvider, instanceOfSearchCuratedCallability, instanceOfSearchCuratedExecution, instanceOfSearchCuratedOperation, instanceOfSearchCuratedService, instanceOfSearchCuratedSource, instanceOfSearchEndpointCall, instanceOfSearchEndpointCallInputSchema, instanceOfSearchEndpointHit, instanceOfSearchEndpointPrice, instanceOfSearchErrorResponse, instanceOfSearchExecutionModeFilter, instanceOfSearchFilterSpec, instanceOfSearchHelperDocs, instanceOfSearchMethodFilter, instanceOfSearchPaymentOffer, instanceOfSearchPriceAtomicFilter, instanceOfSearchPriceUsdFilter, instanceOfSearchProtocolFilter, instanceOfSearchProviderRef, instanceOfSearchRequest, instanceOfSearchResourceTypeFilter, instanceOfSearchResponse, instanceOfSearchResponseWarningsInner, instanceOfSearchResult, instanceOfSearchStringSetFilter, instanceOfSearchWeftFetchCompatibility, instanceOfSignInRequest, instanceOfSignUpRequest, instanceOfSpendingPolicy, instanceOfUser, instanceOfUserPrincipal, instanceOfWallet, mapValues, normalizeWeftError, querystring };
|