diff --git a/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml b/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml index aa0145c665..95a22688a6 100644 --- a/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml +++ b/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml @@ -10,8 +10,6 @@ sharedGet: &sharedGet $ref: ../../responses/BadRequest.yaml "401": $ref: ../../responses/Unauthorized.yaml - "402": - $ref: ../../responses/PaymentRequired.yaml "403": $ref: ../../responses/Forbidden.yaml "404": diff --git a/apify-api/openapi/components/objects/datasets/dataset.yaml b/apify-api/openapi/components/objects/datasets/dataset.yaml index 56e74faf00..64f8019cce 100644 --- a/apify-api/openapi/components/objects/datasets/dataset.yaml +++ b/apify-api/openapi/components/objects/datasets/dataset.yaml @@ -53,8 +53,6 @@ sharedTaskLastRun: &sharedTaskLastRun sharedGet: &sharedGet responses: <<: [*common200, *commonErrors] - "402": - $ref: ../../responses/PaymentRequired.yaml deprecated: false getById: diff --git a/apify-api/openapi/components/objects/key-value-stores/key-value-store-keys.yaml b/apify-api/openapi/components/objects/key-value-stores/key-value-store-keys.yaml index 922fd640de..c65f90a710 100644 --- a/apify-api/openapi/components/objects/key-value-stores/key-value-store-keys.yaml +++ b/apify-api/openapi/components/objects/key-value-stores/key-value-store-keys.yaml @@ -35,8 +35,6 @@ sharedTagTaskLastRun: &sharedTagTaskLastRun sharedGet: &sharedGet responses: <<: *commonErrors - "402": - $ref: ../../responses/PaymentRequired.yaml "200": description: "" headers: {} diff --git a/apify-api/openapi/components/objects/key-value-stores/key-value-store-record.yaml b/apify-api/openapi/components/objects/key-value-stores/key-value-store-record.yaml index 6d72b2639a..29efdc5b6a 100644 --- a/apify-api/openapi/components/objects/key-value-stores/key-value-store-record.yaml +++ b/apify-api/openapi/components/objects/key-value-stores/key-value-store-record.yaml @@ -35,8 +35,6 @@ sharedTagTaskLastRun: &sharedTagTaskLastRun sharedGet: &sharedGet responses: <<: *commonErrors - "402": - $ref: ../../responses/PaymentRequired.yaml "200": description: "" headers: {} diff --git a/apify-api/openapi/components/objects/key-value-stores/key-value-store.yaml b/apify-api/openapi/components/objects/key-value-stores/key-value-store.yaml index 1e8f8c6ab8..cb523b9545 100644 --- a/apify-api/openapi/components/objects/key-value-stores/key-value-store.yaml +++ b/apify-api/openapi/components/objects/key-value-stores/key-value-store.yaml @@ -53,8 +53,6 @@ sharedTaskLastRun: &sharedTaskLastRun sharedGet: &sharedGet responses: <<: [*common200, *commonErrors] - "402": - $ref: ../../responses/PaymentRequired.yaml deprecated: false getById: diff --git a/apify-api/openapi/components/objects/request-queues/request-queue-head.yaml b/apify-api/openapi/components/objects/request-queues/request-queue-head.yaml index 74e9a24dea..c6790d129a 100644 --- a/apify-api/openapi/components/objects/request-queues/request-queue-head.yaml +++ b/apify-api/openapi/components/objects/request-queues/request-queue-head.yaml @@ -41,8 +41,6 @@ sharedGet: &sharedGet application/json: schema: $ref: ../../schemas/request-queues/RequestQueueHeadResponse.yaml - "402": - $ref: ../../responses/PaymentRequired.yaml <<: *commonErrors deprecated: false diff --git a/apify-api/openapi/components/objects/request-queues/request-queue-request.yaml b/apify-api/openapi/components/objects/request-queues/request-queue-request.yaml index ddf79b88a2..4608462235 100644 --- a/apify-api/openapi/components/objects/request-queues/request-queue-request.yaml +++ b/apify-api/openapi/components/objects/request-queues/request-queue-request.yaml @@ -37,8 +37,6 @@ sharedGet: &sharedGet application/json: schema: $ref: ../../schemas/request-queues/RequestResponse.yaml - "402": - $ref: ../../responses/PaymentRequired.yaml <<: *commonErrors deprecated: false diff --git a/apify-api/openapi/components/objects/request-queues/request-queue-requests.yaml b/apify-api/openapi/components/objects/request-queues/request-queue-requests.yaml index 6fe9a4c61b..9952eb1c55 100644 --- a/apify-api/openapi/components/objects/request-queues/request-queue-requests.yaml +++ b/apify-api/openapi/components/objects/request-queues/request-queue-requests.yaml @@ -41,8 +41,6 @@ sharedGet: &sharedGet application/json: schema: $ref: ../../schemas/request-queues/ListOfRequestsResponse.yaml - "402": - $ref: ../../responses/PaymentRequired.yaml <<: *commonErrors deprecated: false diff --git a/apify-api/openapi/components/objects/request-queues/request-queue.yaml b/apify-api/openapi/components/objects/request-queues/request-queue.yaml index 287a7be006..b80a3c1edf 100644 --- a/apify-api/openapi/components/objects/request-queues/request-queue.yaml +++ b/apify-api/openapi/components/objects/request-queues/request-queue.yaml @@ -53,8 +53,6 @@ sharedTaskLastRun: &sharedTaskLastRun sharedGet: &sharedGet responses: <<: [*common200, *commonErrors] - "402": - $ref: ../../responses/PaymentRequired.yaml deprecated: false getById: diff --git a/apify-api/openapi/components/responses/PaymentRequired.yaml b/apify-api/openapi/components/responses/PaymentRequired.yaml index 32bd44ebdd..c0fb545534 100644 --- a/apify-api/openapi/components/responses/PaymentRequired.yaml +++ b/apify-api/openapi/components/responses/PaymentRequired.yaml @@ -1,9 +1,9 @@ -description: Payment required - the user has exceeded their usage limit, does not have enough credits, or the request lacks authentication and payment credentials. +description: Payment required - the request exceeds a plan limit (Actor memory or concurrent runs), the user does not have enough remaining usage to run a paid Actor, or the dataset is locked because its owner has overdue invoices or has reached their monthly usage limit. content: application/json: schema: $ref: ../schemas/common/ErrorResponse.yaml example: error: - type: x402-payment-required - message: Please provide X402-PAYMENT-SIGNATURE header with the payment. See https://x402.org. + type: actor-memory-limit-exceeded + message: "By launching this job you will exceed the memory limit of 8192MB for all your Actor runs and builds (currently used: 8192MB, requested: 1024MB). Please consider an upgrade to a paid plan at https://console.apify.com/billing/subscription to increase your Actor memory limit." diff --git a/apify-api/openapi/components/schemas/common/ErrorType.yaml b/apify-api/openapi/components/schemas/common/ErrorType.yaml index 17ce3010f4..8c3e7f5248 100644 --- a/apify-api/openapi/components/schemas/common/ErrorType.yaml +++ b/apify-api/openapi/components/schemas/common/ErrorType.yaml @@ -15,16 +15,9 @@ enum: - actor-not-found - actor-not-github-actor - actor-not-public - - actor-permission-level-not-supported-for-agentic-payments - actor-review-already-exists - actor-run-failed - - actor-standby-not-supported-for-agentic-payments - actor-task-name-not-unique - - agentic-payment-info-retrieval-error - - agentic-payment-information-missing - - agentic-payment-insufficient-amount - - agentic-payment-provider-internal-error - - agentic-payment-provider-unauthorized - airtable-webhook-deprecated - already-subscribed-to-paid-actor - apify-plan-required-to-use-paid-actor @@ -357,7 +350,6 @@ enum: - unknown-build-tag - unknown-payment-provider - unsubscribe-token-invalid - - unsupported-actor-pricing-model-for-agentic-payments - unsupported-content-encoding - unsupported-file-type-for-issue - unsupported-file-type-image-expected @@ -397,12 +389,4 @@ enum: - version-already-exists - versions-size-exceeded - weak-password - - x402-agentic-payment-already-finalized - - x402-agentic-payment-insufficient-amount - - x402-agentic-payment-malformed-token - - x402-agentic-payment-settlement-failed - - x402-agentic-payment-settlement-in-progress - - x402-agentic-payment-settlement-stuck - - x402-agentic-payment-unauthorized - - x402-payment-required - zero-invoice diff --git a/apify-api/openapi/components/schemas/store/ListOfStoreActorsResponse.yaml b/apify-api/openapi/components/schemas/store/ListOfStoreActorsResponse.yaml index 3d983906ce..8d9a5292c2 100644 --- a/apify-api/openapi/components/schemas/store/ListOfStoreActorsResponse.yaml +++ b/apify-api/openapi/components/schemas/store/ListOfStoreActorsResponse.yaml @@ -36,7 +36,6 @@ example: currentPricingInfo: pricingModel: FREE isVerified: true - isWhiteListedForAgenticPayments: true - id: zdc3Pyhyz3m8vjDeM title: My Public Actor name: my-public-actor @@ -59,4 +58,3 @@ example: currentPricingInfo: pricingModel: FREE isVerified: false - isWhiteListedForAgenticPayments: false diff --git a/apify-api/openapi/components/schemas/store/StoreActor.yaml b/apify-api/openapi/components/schemas/store/StoreActor.yaml index 6c36fddc59..6b02acbbd4 100644 --- a/apify-api/openapi/components/schemas/store/StoreActor.yaml +++ b/apify-api/openapi/components/schemas/store/StoreActor.yaml @@ -84,9 +84,6 @@ properties: description: The number of reviews the Actor has received in Apify Store. currentPricingInfo: $ref: ./CurrentPricingInfo.yaml - isWhiteListedForAgenticPayments: - type: [boolean, "null"] - description: Whether the Actor is whitelisted for agentic payment processing. isVerified: type: boolean description: Whether the Actor's developer has a verified identity. diff --git a/apify-api/openapi/openapi.yaml b/apify-api/openapi/openapi.yaml index 649b0d9640..ee3cf88b22 100644 --- a/apify-api/openapi/openapi.yaml +++ b/apify-api/openapi/openapi.yaml @@ -72,17 +72,11 @@ info: ### Agentic payments - AI agents can authenticate and pay for Actor runs without an Apify account - using agentic payments. Instead of an API token, the request carries a - payment credential that both authorizes and pays for the call. Apify supports - the [x402 protocol](https://docs.apify.com/platform/integrations/x402) - (`PAYMENT-SIGNATURE` header) and - [Skyfire](https://docs.apify.com/platform/integrations/skyfire) - (`skyfire-pay-id` header). - - Agents can also pay once with x402 or the - [Machine Payments Protocol (MPP)](https://docs.apify.com/integrations/mpp) - and receive a temporary API token with a fixed spend cap from the Apify + AI agents can pay for Actor runs without an Apify account. An agent pays + once with the [x402 protocol](https://docs.apify.com/integrations/x402), + the [Machine Payments Protocol (MPP)](https://docs.apify.com/integrations/mpp), + a card, or [Skyfire](https://docs.apify.com/integrations/skyfire), + and receives a temporary API token with a fixed spend cap from the Apify Agent General Interface (AGI) at [https://agi.apify.com](https://agi.apify.com). Use that token as a regular `Bearer` token. diff --git a/apify-api/openapi/paths/store/store.yaml b/apify-api/openapi/paths/store/store.yaml index 936d2ddc17..2e6a3f42d5 100644 --- a/apify-api/openapi/paths/store/store.yaml +++ b/apify-api/openapi/paths/store/store.yaml @@ -77,16 +77,6 @@ get: - PRICE_PER_DATASET_ITEM - PAY_PER_EVENT example: FREE - - name: allowsAgenticUsers - in: query - description: | - If true, only return Actors that allow agentic users. If false, only - return Actors that do not allow agentic users. - style: form - explode: true - schema: - type: boolean - example: true - name: responseFormat in: query description: |