@weftlabs/sdk 0.30.0 → 0.32.0
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/README.md +64 -23
- 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 +850 -159
- package/dist/index.d.ts +850 -159
- package/dist/index.js +563 -55
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +563 -55
- 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 +5 -5
- package/docs/FetchRequest.md +4 -0
- 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.mts
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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
|
*/
|
|
@@ -1833,6 +1841,9 @@ declare const FetchErrorResponseErrorEnum: {
|
|
|
1833
1841
|
readonly UnknownParameter: "UNKNOWN_PARAMETER";
|
|
1834
1842
|
readonly InvalidUrl: "INVALID_URL";
|
|
1835
1843
|
readonly InvalidMaxCostUsd: "INVALID_MAX_COST_USD";
|
|
1844
|
+
readonly InvalidAllowTempoRefill: "INVALID_ALLOW_TEMPO_REFILL";
|
|
1845
|
+
readonly InvalidMaxTotalCostUsd: "INVALID_MAX_TOTAL_COST_USD";
|
|
1846
|
+
readonly IncompatibleFetchControls: "INCOMPATIBLE_FETCH_CONTROLS";
|
|
1836
1847
|
readonly UnsupportedMethod: "UNSUPPORTED_METHOD";
|
|
1837
1848
|
readonly InvalidBody: "INVALID_BODY";
|
|
1838
1849
|
readonly InvalidHeaders: "INVALID_HEADERS";
|
|
@@ -1840,6 +1851,7 @@ declare const FetchErrorResponseErrorEnum: {
|
|
|
1840
1851
|
readonly IdempotencyConflict: "IDEMPOTENCY_CONFLICT";
|
|
1841
1852
|
readonly AccountClosing: "ACCOUNT_CLOSING";
|
|
1842
1853
|
readonly ExceededMaxCost: "EXCEEDED_MAX_COST";
|
|
1854
|
+
readonly TotalCostUnverifiable: "TOTAL_COST_UNVERIFIABLE";
|
|
1843
1855
|
readonly FundingPending: "FUNDING_PENDING";
|
|
1844
1856
|
readonly InsufficientBalance: "INSUFFICIENT_BALANCE";
|
|
1845
1857
|
readonly PaymentAuthorizationRequired: "PAYMENT_AUTHORIZATION_REQUIRED";
|
|
@@ -1874,7 +1886,7 @@ declare function FetchErrorResponseToJSONTyped(value?: FetchErrorResponse | null
|
|
|
1874
1886
|
* Weft API
|
|
1875
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`.
|
|
1876
1888
|
*
|
|
1877
|
-
* The version of the OpenAPI document: 0.
|
|
1889
|
+
* The version of the OpenAPI document: 0.32.0
|
|
1878
1890
|
*
|
|
1879
1891
|
*
|
|
1880
1892
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1932,7 +1944,7 @@ declare function InsufficientScopeResponseToJSONTyped(value?: InsufficientScopeR
|
|
|
1932
1944
|
* Weft API
|
|
1933
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`.
|
|
1934
1946
|
*
|
|
1935
|
-
* The version of the OpenAPI document: 0.
|
|
1947
|
+
* The version of the OpenAPI document: 0.32.0
|
|
1936
1948
|
*
|
|
1937
1949
|
*
|
|
1938
1950
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1955,7 +1967,7 @@ declare function Fetch403ResponseToJSONTyped(value?: Fetch403Response | null, ig
|
|
|
1955
1967
|
* Weft API
|
|
1956
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`.
|
|
1957
1969
|
*
|
|
1958
|
-
* The version of the OpenAPI document: 0.
|
|
1970
|
+
* The version of the OpenAPI document: 0.32.0
|
|
1959
1971
|
*
|
|
1960
1972
|
*
|
|
1961
1973
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1977,7 +1989,7 @@ declare function FetchRequestBodyToJSONTyped(value?: FetchRequestBody | null, ig
|
|
|
1977
1989
|
* Weft API
|
|
1978
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`.
|
|
1979
1991
|
*
|
|
1980
|
-
* The version of the OpenAPI document: 0.
|
|
1992
|
+
* The version of the OpenAPI document: 0.32.0
|
|
1981
1993
|
*
|
|
1982
1994
|
*
|
|
1983
1995
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1998,11 +2010,38 @@ interface FetchRequest {
|
|
|
1998
2010
|
*/
|
|
1999
2011
|
url: string;
|
|
2000
2012
|
/**
|
|
2001
|
-
*
|
|
2013
|
+
* Merchant-principal ceiling, excluding gas, provider fees and prerequisites. Defaults to `0.10` USD; use `max_total_cost_usd` for an all-in bound.
|
|
2002
2014
|
* @type {string}
|
|
2003
2015
|
* @memberof FetchRequest
|
|
2004
2016
|
*/
|
|
2005
2017
|
maxCostUsd?: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* Whether this request may create, adopt, or enqueue a Base-to-Tempo
|
|
2020
|
+
* refill. Only JSON booleans are accepted. Omission allows legacy
|
|
2021
|
+
* refill behavior unless `max_total_cost_usd` is supplied, in which
|
|
2022
|
+
* case refill is disabled. False leaves unrelated bridges and jobs
|
|
2023
|
+
* unchanged and reports an unfunded Tempo pocket as
|
|
2024
|
+
* `INSUFFICIENT_BALANCE`. This does not select a rail or bound fees.
|
|
2025
|
+
*
|
|
2026
|
+
* @type {boolean}
|
|
2027
|
+
* @memberof FetchRequest
|
|
2028
|
+
*/
|
|
2029
|
+
allowTempoRefill?: boolean;
|
|
2030
|
+
/**
|
|
2031
|
+
* Optional all-in buyer-debit ceiling in USD, including principal,
|
|
2032
|
+
* gas, provider fees and prerequisite operations. Requires a binding
|
|
2033
|
+
* upstream upper bound before any payment effect. Current integrations
|
|
2034
|
+
* have no such guarantee, so requests requiring wallet signing or
|
|
2035
|
+
* payment fail closed with `TOTAL_COST_UNVERIFIABLE`, including
|
|
2036
|
+
* recovery and replay of previous payments. No positive paid route
|
|
2037
|
+
* is currently admitted in this mode. Estimates, expected sponsorship
|
|
2038
|
+
* and receipts are not authority. Implies no refill; explicit
|
|
2039
|
+
* `allow_tempo_refill: true` is invalid. Omission preserves legacy behavior.
|
|
2040
|
+
*
|
|
2041
|
+
* @type {string}
|
|
2042
|
+
* @memberof FetchRequest
|
|
2043
|
+
*/
|
|
2044
|
+
maxTotalCostUsd?: string;
|
|
2006
2045
|
/**
|
|
2007
2046
|
* HTTP method to use against the upstream.
|
|
2008
2047
|
* @type {string}
|
|
@@ -2050,7 +2089,7 @@ interface FetchRequest {
|
|
|
2050
2089
|
*/
|
|
2051
2090
|
operationId?: string;
|
|
2052
2091
|
/**
|
|
2053
|
-
* Advisory access-method id returned by search.
|
|
2092
|
+
* Advisory access-method id returned by search; does not enforce a payment rail.
|
|
2054
2093
|
* @type {string}
|
|
2055
2094
|
* @memberof FetchRequest
|
|
2056
2095
|
*/
|
|
@@ -2082,7 +2121,7 @@ declare function FetchRequestToJSONTyped(value?: FetchRequest | null, ignoreDisc
|
|
|
2082
2121
|
* Weft API
|
|
2083
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`.
|
|
2084
2123
|
*
|
|
2085
|
-
* The version of the OpenAPI document: 0.
|
|
2124
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2086
2125
|
*
|
|
2087
2126
|
*
|
|
2088
2127
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2093,6 +2132,7 @@ declare function FetchRequestToJSONTyped(value?: FetchRequest | null, ignoreDisc
|
|
|
2093
2132
|
* Successful fetch envelope. `body_base64` is the upstream artifact
|
|
2094
2133
|
* bytes, base64-encoded. `paid_usd`, `held_usd`, `payment_status`,
|
|
2095
2134
|
* `tx_hash`, and `protocol` describe the payment and settlement state.
|
|
2135
|
+
* `purchase_id` names the payment for a later status read.
|
|
2096
2136
|
*
|
|
2097
2137
|
* To retrieve a SIWX-protected result, use HTTPS GET with
|
|
2098
2138
|
* `max_cost_usd: "0"`. Weft signs a fresh, resource-bound challenge with
|
|
@@ -2196,6 +2236,31 @@ interface FetchResponse {
|
|
|
2196
2236
|
* @memberof FetchResponse
|
|
2197
2237
|
*/
|
|
2198
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;
|
|
2199
2264
|
}
|
|
2200
2265
|
/**
|
|
2201
2266
|
* @export
|
|
@@ -2231,7 +2296,29 @@ declare function FetchResponseToJSONTyped(value?: FetchResponse | null, ignoreDi
|
|
|
2231
2296
|
* Weft API
|
|
2232
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`.
|
|
2233
2298
|
*
|
|
2234
|
-
* The version of the OpenAPI document: 0.
|
|
2299
|
+
* The version of the OpenAPI document: 0.32.0
|
|
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.0
|
|
2235
2322
|
*
|
|
2236
2323
|
*
|
|
2237
2324
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2270,7 +2357,7 @@ declare function PrincipalWalletToJSONTyped(value?: PrincipalWallet | null, igno
|
|
|
2270
2357
|
* Weft API
|
|
2271
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`.
|
|
2272
2359
|
*
|
|
2273
|
-
* The version of the OpenAPI document: 0.
|
|
2360
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2274
2361
|
*
|
|
2275
2362
|
*
|
|
2276
2363
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2376,7 +2463,7 @@ declare function UserPrincipalToJSONTyped(value?: UserPrincipal | null, ignoreDi
|
|
|
2376
2463
|
* Weft API
|
|
2377
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`.
|
|
2378
2465
|
*
|
|
2379
|
-
* The version of the OpenAPI document: 0.
|
|
2466
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2380
2467
|
*
|
|
2381
2468
|
*
|
|
2382
2469
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2403,7 +2490,7 @@ declare function MeResponseDataToJSONTyped(value?: MeResponseData | null, ignore
|
|
|
2403
2490
|
* Weft API
|
|
2404
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`.
|
|
2405
2492
|
*
|
|
2406
|
-
* The version of the OpenAPI document: 0.
|
|
2493
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2407
2494
|
*
|
|
2408
2495
|
*
|
|
2409
2496
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2437,7 +2524,7 @@ declare function MeResponseToJSONTyped(value?: MeResponse | null, ignoreDiscrimi
|
|
|
2437
2524
|
* Weft API
|
|
2438
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`.
|
|
2439
2526
|
*
|
|
2440
|
-
* The version of the OpenAPI document: 0.
|
|
2527
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2441
2528
|
*
|
|
2442
2529
|
*
|
|
2443
2530
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2470,7 +2557,7 @@ declare function MessageResponseDataToJSONTyped(value?: MessageResponseData | nu
|
|
|
2470
2557
|
* Weft API
|
|
2471
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`.
|
|
2472
2559
|
*
|
|
2473
|
-
* The version of the OpenAPI document: 0.
|
|
2560
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2474
2561
|
*
|
|
2475
2562
|
*
|
|
2476
2563
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2504,7 +2591,7 @@ declare function MessageResponseToJSONTyped(value?: MessageResponse | null, igno
|
|
|
2504
2591
|
* Weft API
|
|
2505
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`.
|
|
2506
2593
|
*
|
|
2507
|
-
* The version of the OpenAPI document: 0.
|
|
2594
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2508
2595
|
*
|
|
2509
2596
|
*
|
|
2510
2597
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2560,7 +2647,7 @@ declare function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscrimi
|
|
|
2560
2647
|
* Weft API
|
|
2561
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`.
|
|
2562
2649
|
*
|
|
2563
|
-
* The version of the OpenAPI document: 0.
|
|
2650
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2564
2651
|
*
|
|
2565
2652
|
*
|
|
2566
2653
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2593,7 +2680,7 @@ declare function PasswordResetRequestToJSONTyped(value?: PasswordResetRequest |
|
|
|
2593
2680
|
* Weft API
|
|
2594
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`.
|
|
2595
2682
|
*
|
|
2596
|
-
* The version of the OpenAPI document: 0.
|
|
2683
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2597
2684
|
*
|
|
2598
2685
|
*
|
|
2599
2686
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2638,7 +2725,7 @@ declare function PasswordUpdateRequestToJSONTyped(value?: PasswordUpdateRequest
|
|
|
2638
2725
|
* Weft API
|
|
2639
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`.
|
|
2640
2727
|
*
|
|
2641
|
-
* The version of the OpenAPI document: 0.
|
|
2728
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2642
2729
|
*
|
|
2643
2730
|
*
|
|
2644
2731
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2743,7 +2830,7 @@ declare function PaymentToJSONTyped(value?: Payment | null, ignoreDiscriminator?
|
|
|
2743
2830
|
* Weft API
|
|
2744
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`.
|
|
2745
2832
|
*
|
|
2746
|
-
* The version of the OpenAPI document: 0.
|
|
2833
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2747
2834
|
*
|
|
2748
2835
|
*
|
|
2749
2836
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2783,7 +2870,7 @@ declare function PaymentListResponseToJSONTyped(value?: PaymentListResponse | nu
|
|
|
2783
2870
|
* Weft API
|
|
2784
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`.
|
|
2785
2872
|
*
|
|
2786
|
-
* The version of the OpenAPI document: 0.
|
|
2873
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2787
2874
|
*
|
|
2788
2875
|
*
|
|
2789
2876
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2817,7 +2904,7 @@ declare function PaymentResponseToJSONTyped(value?: PaymentResponse | null, igno
|
|
|
2817
2904
|
* Weft API
|
|
2818
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`.
|
|
2819
2906
|
*
|
|
2820
|
-
* The version of the OpenAPI document: 0.
|
|
2907
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2821
2908
|
*
|
|
2822
2909
|
*
|
|
2823
2910
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2868,7 +2955,7 @@ declare function PurchaseArtifactToJSONTyped(value?: PurchaseArtifact | null, ig
|
|
|
2868
2955
|
* Weft API
|
|
2869
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`.
|
|
2870
2957
|
*
|
|
2871
|
-
* The version of the OpenAPI document: 0.
|
|
2958
|
+
* The version of the OpenAPI document: 0.32.0
|
|
2872
2959
|
*
|
|
2873
2960
|
*
|
|
2874
2961
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2888,6 +2975,17 @@ interface Purchase {
|
|
|
2888
2975
|
* @memberof Purchase
|
|
2889
2976
|
*/
|
|
2890
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;
|
|
2891
2989
|
/**
|
|
2892
2990
|
*
|
|
2893
2991
|
* @type {string}
|
|
@@ -3021,7 +3119,7 @@ declare function PurchaseToJSONTyped(value?: Purchase | null, ignoreDiscriminato
|
|
|
3021
3119
|
* Weft API
|
|
3022
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`.
|
|
3023
3121
|
*
|
|
3024
|
-
* The version of the OpenAPI document: 0.
|
|
3122
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3025
3123
|
*
|
|
3026
3124
|
*
|
|
3027
3125
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3061,7 +3159,7 @@ declare function PurchaseListResponseToJSONTyped(value?: PurchaseListResponse |
|
|
|
3061
3159
|
* Weft API
|
|
3062
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`.
|
|
3063
3161
|
*
|
|
3064
|
-
* The version of the OpenAPI document: 0.
|
|
3162
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3065
3163
|
*
|
|
3066
3164
|
*
|
|
3067
3165
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3095,7 +3193,7 @@ declare function PurchaseResponseToJSONTyped(value?: PurchaseResponse | null, ig
|
|
|
3095
3193
|
* Weft API
|
|
3096
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`.
|
|
3097
3195
|
*
|
|
3098
|
-
* The version of the OpenAPI document: 0.
|
|
3196
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3099
3197
|
*
|
|
3100
3198
|
*
|
|
3101
3199
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3141,7 +3239,7 @@ declare function RateLimitResponseToJSONTyped(value?: RateLimitResponse | null,
|
|
|
3141
3239
|
* Weft API
|
|
3142
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`.
|
|
3143
3241
|
*
|
|
3144
|
-
* The version of the OpenAPI document: 0.
|
|
3242
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3145
3243
|
*
|
|
3146
3244
|
*
|
|
3147
3245
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3174,7 +3272,7 @@ declare function ResendConfirmationRequestToJSONTyped(value?: ResendConfirmation
|
|
|
3174
3272
|
* Weft API
|
|
3175
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`.
|
|
3176
3274
|
*
|
|
3177
|
-
* The version of the OpenAPI document: 0.
|
|
3275
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3178
3276
|
*
|
|
3179
3277
|
*
|
|
3180
3278
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3231,7 +3329,7 @@ declare function ResourceEnrollmentRequestToJSONTyped(value?: ResourceEnrollment
|
|
|
3231
3329
|
* Weft API
|
|
3232
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`.
|
|
3233
3331
|
*
|
|
3234
|
-
* The version of the OpenAPI document: 0.
|
|
3332
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3235
3333
|
*
|
|
3236
3334
|
*
|
|
3237
3335
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3265,7 +3363,7 @@ declare function ResourceEnrollmentResponseToJSONTyped(value?: ResourceEnrollmen
|
|
|
3265
3363
|
* Weft API
|
|
3266
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`.
|
|
3267
3365
|
*
|
|
3268
|
-
* The version of the OpenAPI document: 0.
|
|
3366
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3269
3367
|
*
|
|
3270
3368
|
*
|
|
3271
3369
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3296,6 +3394,17 @@ interface SearchWeftFetchCompatibility {
|
|
|
3296
3394
|
* @memberof SearchWeftFetchCompatibility
|
|
3297
3395
|
*/
|
|
3298
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;
|
|
3299
3408
|
}
|
|
3300
3409
|
/**
|
|
3301
3410
|
* @export
|
|
@@ -3306,6 +3415,15 @@ declare const SearchWeftFetchCompatibilityStateEnum: {
|
|
|
3306
3415
|
readonly Unknown: "unknown";
|
|
3307
3416
|
};
|
|
3308
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];
|
|
3309
3427
|
/**
|
|
3310
3428
|
* Check if a given object implements the SearchWeftFetchCompatibility interface.
|
|
3311
3429
|
*/
|
|
@@ -3319,7 +3437,7 @@ declare function SearchWeftFetchCompatibilityToJSONTyped(value?: SearchWeftFetch
|
|
|
3319
3437
|
* Weft API
|
|
3320
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`.
|
|
3321
3439
|
*
|
|
3322
|
-
* The version of the OpenAPI document: 0.
|
|
3440
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3323
3441
|
*
|
|
3324
3442
|
*
|
|
3325
3443
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3431,7 +3549,7 @@ declare function SearchAccessMethodToJSONTyped(value?: SearchAccessMethod | null
|
|
|
3431
3549
|
* Weft API
|
|
3432
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`.
|
|
3433
3551
|
*
|
|
3434
|
-
* The version of the OpenAPI document: 0.
|
|
3552
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3435
3553
|
*
|
|
3436
3554
|
*
|
|
3437
3555
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3470,7 +3588,567 @@ declare function SearchCapabilityRefToJSONTyped(value?: SearchCapabilityRef | nu
|
|
|
3470
3588
|
* Weft API
|
|
3471
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`.
|
|
3472
3590
|
*
|
|
3473
|
-
* The version of the OpenAPI document: 0.
|
|
3591
|
+
* The version of the OpenAPI document: 0.32.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
3474
4152
|
*
|
|
3475
4153
|
*
|
|
3476
4154
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3517,7 +4195,7 @@ declare function SearchCuratedCallabilityToJSONTyped(value?: SearchCuratedCallab
|
|
|
3517
4195
|
* Weft API
|
|
3518
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`.
|
|
3519
4197
|
*
|
|
3520
|
-
* The version of the OpenAPI document: 0.
|
|
4198
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3521
4199
|
*
|
|
3522
4200
|
*
|
|
3523
4201
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3559,7 +4237,7 @@ declare function SearchCuratedExecutionToJSONTyped(value?: SearchCuratedExecutio
|
|
|
3559
4237
|
* Weft API
|
|
3560
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`.
|
|
3561
4239
|
*
|
|
3562
|
-
* The version of the OpenAPI document: 0.
|
|
4240
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3563
4241
|
*
|
|
3564
4242
|
*
|
|
3565
4243
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3604,7 +4282,7 @@ declare function SearchCuratedOperationToJSONTyped(value?: SearchCuratedOperatio
|
|
|
3604
4282
|
* Weft API
|
|
3605
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`.
|
|
3606
4284
|
*
|
|
3607
|
-
* The version of the OpenAPI document: 0.
|
|
4285
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3608
4286
|
*
|
|
3609
4287
|
*
|
|
3610
4288
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3643,7 +4321,7 @@ declare function SearchCuratedServiceToJSONTyped(value?: SearchCuratedService |
|
|
|
3643
4321
|
* Weft API
|
|
3644
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`.
|
|
3645
4323
|
*
|
|
3646
|
-
* The version of the OpenAPI document: 0.
|
|
4324
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3647
4325
|
*
|
|
3648
4326
|
*
|
|
3649
4327
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3695,7 +4373,7 @@ declare function SearchCuratedSourceToJSONTyped(value?: SearchCuratedSource | nu
|
|
|
3695
4373
|
* Weft API
|
|
3696
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`.
|
|
3697
4375
|
*
|
|
3698
|
-
* The version of the OpenAPI document: 0.
|
|
4376
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3699
4377
|
*
|
|
3700
4378
|
*
|
|
3701
4379
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3728,7 +4406,7 @@ declare function SearchEndpointCallInputSchemaToJSONTyped(value?: SearchEndpoint
|
|
|
3728
4406
|
* Weft API
|
|
3729
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`.
|
|
3730
4408
|
*
|
|
3731
|
-
* The version of the OpenAPI document: 0.
|
|
4409
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3732
4410
|
*
|
|
3733
4411
|
*
|
|
3734
4412
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3790,7 +4468,7 @@ declare function SearchEndpointCallToJSONTyped(value?: SearchEndpointCall | null
|
|
|
3790
4468
|
* Weft API
|
|
3791
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`.
|
|
3792
4470
|
*
|
|
3793
|
-
* The version of the OpenAPI document: 0.
|
|
4471
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3794
4472
|
*
|
|
3795
4473
|
*
|
|
3796
4474
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3868,60 +4546,7 @@ declare function SearchPaymentOfferToJSONTyped(value?: SearchPaymentOffer | null
|
|
|
3868
4546
|
* Weft API
|
|
3869
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`.
|
|
3870
4548
|
*
|
|
3871
|
-
* The version of the OpenAPI document: 0.
|
|
3872
|
-
*
|
|
3873
|
-
*
|
|
3874
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3875
|
-
* https://openapi-generator.tech
|
|
3876
|
-
* Do not edit the class manually.
|
|
3877
|
-
*/
|
|
3878
|
-
/**
|
|
3879
|
-
* Free helper links for the upstream provider. GET these URLs.
|
|
3880
|
-
* Do not send them through `weft_fetch`.
|
|
3881
|
-
*
|
|
3882
|
-
* @export
|
|
3883
|
-
* @interface SearchHelperDocs
|
|
3884
|
-
*/
|
|
3885
|
-
interface SearchHelperDocs {
|
|
3886
|
-
/**
|
|
3887
|
-
*
|
|
3888
|
-
* @type {string}
|
|
3889
|
-
* @memberof SearchHelperDocs
|
|
3890
|
-
*/
|
|
3891
|
-
website?: string;
|
|
3892
|
-
/**
|
|
3893
|
-
*
|
|
3894
|
-
* @type {string}
|
|
3895
|
-
* @memberof SearchHelperDocs
|
|
3896
|
-
*/
|
|
3897
|
-
homepage?: string;
|
|
3898
|
-
/**
|
|
3899
|
-
*
|
|
3900
|
-
* @type {string}
|
|
3901
|
-
* @memberof SearchHelperDocs
|
|
3902
|
-
*/
|
|
3903
|
-
api?: string;
|
|
3904
|
-
/**
|
|
3905
|
-
*
|
|
3906
|
-
* @type {string}
|
|
3907
|
-
* @memberof SearchHelperDocs
|
|
3908
|
-
*/
|
|
3909
|
-
llmsTxt?: string;
|
|
3910
|
-
}
|
|
3911
|
-
/**
|
|
3912
|
-
* Check if a given object implements the SearchHelperDocs interface.
|
|
3913
|
-
*/
|
|
3914
|
-
declare function instanceOfSearchHelperDocs(value: object): value is SearchHelperDocs;
|
|
3915
|
-
declare function SearchHelperDocsFromJSON(json: any): SearchHelperDocs;
|
|
3916
|
-
declare function SearchHelperDocsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchHelperDocs;
|
|
3917
|
-
declare function SearchHelperDocsToJSON(json: any): SearchHelperDocs;
|
|
3918
|
-
declare function SearchHelperDocsToJSONTyped(value?: SearchHelperDocs | null, ignoreDiscriminator?: boolean): any;
|
|
3919
|
-
|
|
3920
|
-
/**
|
|
3921
|
-
* Weft API
|
|
3922
|
-
* 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`.
|
|
3923
|
-
*
|
|
3924
|
-
* The version of the OpenAPI document: 0.30.0
|
|
4549
|
+
* The version of the OpenAPI document: 0.32.0
|
|
3925
4550
|
*
|
|
3926
4551
|
*
|
|
3927
4552
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4004,7 +4629,7 @@ declare function SearchEndpointPriceToJSONTyped(value?: SearchEndpointPrice | nu
|
|
|
4004
4629
|
* Weft API
|
|
4005
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`.
|
|
4006
4631
|
*
|
|
4007
|
-
* The version of the OpenAPI document: 0.
|
|
4632
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4008
4633
|
*
|
|
4009
4634
|
*
|
|
4010
4635
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4208,7 +4833,7 @@ declare function SearchEndpointHitToJSONTyped(value?: SearchEndpointHit | null,
|
|
|
4208
4833
|
* Weft API
|
|
4209
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`.
|
|
4210
4835
|
*
|
|
4211
|
-
* The version of the OpenAPI document: 0.
|
|
4836
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4212
4837
|
*
|
|
4213
4838
|
*
|
|
4214
4839
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4248,6 +4873,7 @@ declare const SearchErrorResponseErrorEnum: {
|
|
|
4248
4873
|
readonly InvalidQuery: "INVALID_QUERY";
|
|
4249
4874
|
readonly InvalidMaxResults: "INVALID_MAX_RESULTS";
|
|
4250
4875
|
readonly InvalidFilters: "INVALID_FILTERS";
|
|
4876
|
+
readonly InvalidView: "INVALID_VIEW";
|
|
4251
4877
|
readonly UnknownParameter: "UNKNOWN_PARAMETER";
|
|
4252
4878
|
readonly SearchUpstreamError: "SEARCH_UPSTREAM_ERROR";
|
|
4253
4879
|
readonly SearchBackendMisconfigured: "SEARCH_BACKEND_MISCONFIGURED";
|
|
@@ -4266,7 +4892,7 @@ declare function SearchErrorResponseToJSONTyped(value?: SearchErrorResponse | nu
|
|
|
4266
4892
|
* Weft API
|
|
4267
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`.
|
|
4268
4894
|
*
|
|
4269
|
-
* The version of the OpenAPI document: 0.
|
|
4895
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4270
4896
|
*
|
|
4271
4897
|
*
|
|
4272
4898
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4323,7 +4949,7 @@ declare function SearchExecutionModeFilterToJSONTyped(value?: SearchExecutionMod
|
|
|
4323
4949
|
* Weft API
|
|
4324
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`.
|
|
4325
4951
|
*
|
|
4326
|
-
* The version of the OpenAPI document: 0.
|
|
4952
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4327
4953
|
*
|
|
4328
4954
|
*
|
|
4329
4955
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4382,7 +5008,7 @@ declare function SearchProtocolFilterToJSONTyped(value?: SearchProtocolFilter |
|
|
|
4382
5008
|
* Weft API
|
|
4383
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`.
|
|
4384
5010
|
*
|
|
4385
|
-
* The version of the OpenAPI document: 0.
|
|
5011
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4386
5012
|
*
|
|
4387
5013
|
*
|
|
4388
5014
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4447,7 +5073,7 @@ declare function SearchMethodFilterToJSONTyped(value?: SearchMethodFilter | null
|
|
|
4447
5073
|
* Weft API
|
|
4448
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`.
|
|
4449
5075
|
*
|
|
4450
|
-
* The version of the OpenAPI document: 0.
|
|
5076
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4451
5077
|
*
|
|
4452
5078
|
*
|
|
4453
5079
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4512,7 +5138,7 @@ declare function SearchResourceTypeFilterToJSONTyped(value?: SearchResourceTypeF
|
|
|
4512
5138
|
* Weft API
|
|
4513
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`.
|
|
4514
5140
|
*
|
|
4515
|
-
* The version of the OpenAPI document: 0.
|
|
5141
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4516
5142
|
*
|
|
4517
5143
|
*
|
|
4518
5144
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4575,7 +5201,7 @@ declare function SearchPriceUsdFilterToJSONTyped(value?: SearchPriceUsdFilter |
|
|
|
4575
5201
|
* Weft API
|
|
4576
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`.
|
|
4577
5203
|
*
|
|
4578
|
-
* The version of the OpenAPI document: 0.
|
|
5204
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4579
5205
|
*
|
|
4580
5206
|
*
|
|
4581
5207
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4637,7 +5263,7 @@ declare function SearchPriceAtomicFilterToJSONTyped(value?: SearchPriceAtomicFil
|
|
|
4637
5263
|
* Weft API
|
|
4638
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`.
|
|
4639
5265
|
*
|
|
4640
|
-
* The version of the OpenAPI document: 0.
|
|
5266
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4641
5267
|
*
|
|
4642
5268
|
*
|
|
4643
5269
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4676,7 +5302,7 @@ declare function SearchStringSetFilterToJSONTyped(value?: SearchStringSetFilter
|
|
|
4676
5302
|
* Weft API
|
|
4677
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`.
|
|
4678
5304
|
*
|
|
4679
|
-
* The version of the OpenAPI document: 0.
|
|
5305
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4680
5306
|
*
|
|
4681
5307
|
*
|
|
4682
5308
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4772,7 +5398,7 @@ declare function SearchFilterSpecToJSONTyped(value?: SearchFilterSpec | null, ig
|
|
|
4772
5398
|
* Weft API
|
|
4773
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`.
|
|
4774
5400
|
*
|
|
4775
|
-
* The version of the OpenAPI document: 0.
|
|
5401
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4776
5402
|
*
|
|
4777
5403
|
*
|
|
4778
5404
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4817,7 +5443,7 @@ declare function SearchProviderRefToJSONTyped(value?: SearchProviderRef | null,
|
|
|
4817
5443
|
* Weft API
|
|
4818
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`.
|
|
4819
5445
|
*
|
|
4820
|
-
* The version of the OpenAPI document: 0.
|
|
5446
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4821
5447
|
*
|
|
4822
5448
|
*
|
|
4823
5449
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4849,7 +5475,28 @@ interface SearchRequest {
|
|
|
4849
5475
|
* @memberof SearchRequest
|
|
4850
5476
|
*/
|
|
4851
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;
|
|
4852
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];
|
|
4853
5500
|
/**
|
|
4854
5501
|
* Check if a given object implements the SearchRequest interface.
|
|
4855
5502
|
*/
|
|
@@ -4863,7 +5510,7 @@ declare function SearchRequestToJSONTyped(value?: SearchRequest | null, ignoreDi
|
|
|
4863
5510
|
* Weft API
|
|
4864
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`.
|
|
4865
5512
|
*
|
|
4866
|
-
* The version of the OpenAPI document: 0.
|
|
5513
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4867
5514
|
*
|
|
4868
5515
|
*
|
|
4869
5516
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4915,7 +5562,7 @@ declare function SearchResultToJSONTyped(value?: SearchResult | null, ignoreDisc
|
|
|
4915
5562
|
* Weft API
|
|
4916
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`.
|
|
4917
5564
|
*
|
|
4918
|
-
* The version of the OpenAPI document: 0.
|
|
5565
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4919
5566
|
*
|
|
4920
5567
|
*
|
|
4921
5568
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4966,7 +5613,7 @@ declare function SearchResponseWarningsInnerToJSONTyped(value?: SearchResponseWa
|
|
|
4966
5613
|
* Weft API
|
|
4967
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`.
|
|
4968
5615
|
*
|
|
4969
|
-
* The version of the OpenAPI document: 0.
|
|
5616
|
+
* The version of the OpenAPI document: 0.32.0
|
|
4970
5617
|
*
|
|
4971
5618
|
*
|
|
4972
5619
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5021,7 +5668,9 @@ interface SearchResponse {
|
|
|
5021
5668
|
* THIS, not `results.length`, for the count: on a `markdown` response
|
|
5022
5669
|
* `results` is empty by design, so `result_count > 0` with an empty
|
|
5023
5670
|
* `results` is a rendered table while `result_count == 0` is a genuine
|
|
5024
|
-
* 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.
|
|
5025
5674
|
*
|
|
5026
5675
|
* @type {number}
|
|
5027
5676
|
* @memberof SearchResponse
|
|
@@ -5143,12 +5792,38 @@ interface SearchResponse {
|
|
|
5143
5792
|
* empty or nothing cleared the relevance floor. Results BELOW the floor
|
|
5144
5793
|
* are never returned — an empty list plus a `reason` is the honest
|
|
5145
5794
|
* answer, not a list of near-misses in the same shape as a genuine
|
|
5146
|
-
* match.
|
|
5795
|
+
* match. Empty on a `compact` view response; read `compact_results`.
|
|
5147
5796
|
*
|
|
5148
5797
|
* @type {Array<SearchResult>}
|
|
5149
5798
|
* @memberof SearchResponse
|
|
5150
5799
|
*/
|
|
5151
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;
|
|
5152
5827
|
}
|
|
5153
5828
|
/**
|
|
5154
5829
|
* @export
|
|
@@ -5193,6 +5868,14 @@ declare const SearchResponseReasonEnum: {
|
|
|
5193
5868
|
readonly IndexUnavailable: "index_unavailable";
|
|
5194
5869
|
};
|
|
5195
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];
|
|
5196
5879
|
/**
|
|
5197
5880
|
* Check if a given object implements the SearchResponse interface.
|
|
5198
5881
|
*/
|
|
@@ -5206,7 +5889,7 @@ declare function SearchResponseToJSONTyped(value?: SearchResponse | null, ignore
|
|
|
5206
5889
|
* Weft API
|
|
5207
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`.
|
|
5208
5891
|
*
|
|
5209
|
-
* The version of the OpenAPI document: 0.
|
|
5892
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5210
5893
|
*
|
|
5211
5894
|
*
|
|
5212
5895
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5245,7 +5928,7 @@ declare function SignInRequestToJSONTyped(value?: SignInRequest | null, ignoreDi
|
|
|
5245
5928
|
* Weft API
|
|
5246
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`.
|
|
5247
5930
|
*
|
|
5248
|
-
* The version of the OpenAPI document: 0.
|
|
5931
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5249
5932
|
*
|
|
5250
5933
|
*
|
|
5251
5934
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5290,7 +5973,7 @@ declare function SignUpRequestToJSONTyped(value?: SignUpRequest | null, ignoreDi
|
|
|
5290
5973
|
* Weft API
|
|
5291
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`.
|
|
5292
5975
|
*
|
|
5293
|
-
* The version of the OpenAPI document: 0.
|
|
5976
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5294
5977
|
*
|
|
5295
5978
|
*
|
|
5296
5979
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5342,7 +6025,7 @@ declare class APIKeysApi extends BaseAPI {
|
|
|
5342
6025
|
* Weft API
|
|
5343
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`.
|
|
5344
6027
|
*
|
|
5345
|
-
* The version of the OpenAPI document: 0.
|
|
6028
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5346
6029
|
*
|
|
5347
6030
|
*
|
|
5348
6031
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5370,7 +6053,7 @@ declare class AccountApi extends BaseAPI {
|
|
|
5370
6053
|
* Weft API
|
|
5371
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`.
|
|
5372
6055
|
*
|
|
5373
|
-
* The version of the OpenAPI document: 0.
|
|
6056
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5374
6057
|
*
|
|
5375
6058
|
*
|
|
5376
6059
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5425,7 +6108,7 @@ declare class AgentBootstrapApi extends BaseAPI {
|
|
|
5425
6108
|
* Weft API
|
|
5426
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`.
|
|
5427
6110
|
*
|
|
5428
|
-
* The version of the OpenAPI document: 0.
|
|
6111
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5429
6112
|
*
|
|
5430
6113
|
*
|
|
5431
6114
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5509,7 +6192,7 @@ declare class AuthApi extends BaseAPI {
|
|
|
5509
6192
|
* Weft API
|
|
5510
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`.
|
|
5511
6194
|
*
|
|
5512
|
-
* The version of the OpenAPI document: 0.
|
|
6195
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5513
6196
|
*
|
|
5514
6197
|
*
|
|
5515
6198
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5537,7 +6220,7 @@ declare class BalanceApi extends BaseAPI {
|
|
|
5537
6220
|
* Weft API
|
|
5538
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`.
|
|
5539
6222
|
*
|
|
5540
|
-
* The version of the OpenAPI document: 0.
|
|
6223
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5541
6224
|
*
|
|
5542
6225
|
*
|
|
5543
6226
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5563,7 +6246,7 @@ declare class DocumentationApi extends BaseAPI {
|
|
|
5563
6246
|
* Weft API
|
|
5564
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`.
|
|
5565
6248
|
*
|
|
5566
|
-
* The version of the OpenAPI document: 0.
|
|
6249
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5567
6250
|
*
|
|
5568
6251
|
*
|
|
5569
6252
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5580,12 +6263,12 @@ interface FetchOperationRequest {
|
|
|
5580
6263
|
*/
|
|
5581
6264
|
declare class FetchApi extends BaseAPI {
|
|
5582
6265
|
/**
|
|
5583
|
-
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a
|
|
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.
|
|
5584
6267
|
* Pay-and-fetch any URL (x402/MPP proxy)
|
|
5585
6268
|
*/
|
|
5586
6269
|
fetchRaw(requestParameters: FetchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<FetchResponse>>;
|
|
5587
6270
|
/**
|
|
5588
|
-
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a
|
|
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.
|
|
5589
6272
|
* Pay-and-fetch any URL (x402/MPP proxy)
|
|
5590
6273
|
*/
|
|
5591
6274
|
fetch(requestParameters: FetchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<FetchResponse>;
|
|
@@ -5595,7 +6278,7 @@ declare class FetchApi extends BaseAPI {
|
|
|
5595
6278
|
* Weft API
|
|
5596
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`.
|
|
5597
6280
|
*
|
|
5598
|
-
* The version of the OpenAPI document: 0.
|
|
6281
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5599
6282
|
*
|
|
5600
6283
|
*
|
|
5601
6284
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5636,7 +6319,7 @@ declare class PaymentsApi extends BaseAPI {
|
|
|
5636
6319
|
* Weft API
|
|
5637
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`.
|
|
5638
6321
|
*
|
|
5639
|
-
* The version of the OpenAPI document: 0.
|
|
6322
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5640
6323
|
*
|
|
5641
6324
|
*
|
|
5642
6325
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5645,7 +6328,7 @@ declare class PaymentsApi extends BaseAPI {
|
|
|
5645
6328
|
*/
|
|
5646
6329
|
|
|
5647
6330
|
interface GetPurchaseRequest {
|
|
5648
|
-
id:
|
|
6331
|
+
id: GetPurchaseIdParameter;
|
|
5649
6332
|
}
|
|
5650
6333
|
interface ListPurchasesRequest {
|
|
5651
6334
|
page?: number;
|
|
@@ -5679,7 +6362,7 @@ declare class PurchasesApi extends BaseAPI {
|
|
|
5679
6362
|
* Weft API
|
|
5680
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`.
|
|
5681
6364
|
*
|
|
5682
|
-
* The version of the OpenAPI document: 0.
|
|
6365
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5683
6366
|
*
|
|
5684
6367
|
*
|
|
5685
6368
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5710,7 +6393,7 @@ declare class ResourcesApi extends BaseAPI {
|
|
|
5710
6393
|
* Weft API
|
|
5711
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`.
|
|
5712
6395
|
*
|
|
5713
|
-
* The version of the OpenAPI document: 0.
|
|
6396
|
+
* The version of the OpenAPI document: 0.32.0
|
|
5714
6397
|
*
|
|
5715
6398
|
*
|
|
5716
6399
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5726,12 +6409,12 @@ interface SearchOperationRequest {
|
|
|
5726
6409
|
*/
|
|
5727
6410
|
declare class SearchApi extends BaseAPI {
|
|
5728
6411
|
/**
|
|
5729
|
-
* 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.
|
|
5730
6413
|
* Search the Weft index
|
|
5731
6414
|
*/
|
|
5732
6415
|
searchRaw(requestParameters: SearchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<SearchResponse>>;
|
|
5733
6416
|
/**
|
|
5734
|
-
* 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.
|
|
5735
6418
|
* Search the Weft index
|
|
5736
6419
|
*/
|
|
5737
6420
|
search(requestParameters: SearchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SearchResponse>;
|
|
@@ -5779,6 +6462,12 @@ declare class WeftClient {
|
|
|
5779
6462
|
purchase(id: number): Promise<PurchaseResponse>;
|
|
5780
6463
|
}
|
|
5781
6464
|
|
|
6465
|
+
/**
|
|
6466
|
+
* Whether the failed call can have created a charge. `none` covers this call
|
|
6467
|
+
* only: an earlier call under the same idempotency key can still have paid.
|
|
6468
|
+
* After `possible`, retry only with the same idempotency key and request.
|
|
6469
|
+
*/
|
|
6470
|
+
type WeftCharge = "none" | "possible";
|
|
5782
6471
|
interface WeftErrorOptions {
|
|
5783
6472
|
status: number;
|
|
5784
6473
|
code: string;
|
|
@@ -5786,6 +6475,7 @@ interface WeftErrorOptions {
|
|
|
5786
6475
|
requestId?: string;
|
|
5787
6476
|
retryable: boolean;
|
|
5788
6477
|
details?: unknown;
|
|
6478
|
+
charge?: WeftCharge;
|
|
5789
6479
|
}
|
|
5790
6480
|
declare class WeftError extends Error {
|
|
5791
6481
|
readonly status: number;
|
|
@@ -5793,8 +6483,9 @@ declare class WeftError extends Error {
|
|
|
5793
6483
|
readonly requestId?: string;
|
|
5794
6484
|
readonly retryable: boolean;
|
|
5795
6485
|
readonly details?: unknown;
|
|
6486
|
+
readonly charge: WeftCharge;
|
|
5796
6487
|
constructor(options: WeftErrorOptions);
|
|
5797
6488
|
}
|
|
5798
|
-
declare function normalizeWeftError(error: unknown): Promise<unknown>;
|
|
6489
|
+
declare function normalizeWeftError(error: unknown, paid?: boolean): Promise<unknown>;
|
|
5799
6490
|
|
|
5800
|
-
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, 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 };
|