From 7070fdef9c26395325ac398d1659db2e89d5d31e Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 9 Jul 2026 13:16:17 +0000 Subject: [PATCH 1/3] fix(openapi): document missing 401 and 402 error responses Add error responses that the live API returns but the spec did not document, each surfaced by the response validator as "no schema defined for status code". Error: no schema defined for status code '402' in the openapi spec (GET /v2/datasets/{datasetId}/items) Files: apify-api/openapi/components/objects/datasets/dataset-items.yaml (sharedGet.responses) Root cause: Every request passes through agentic-payment middleware and x402 payment-reuse checks, so a read on a storage endpoint can return 402 when a new payment hits a non-execution route or the account lacks usage/credit. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/agentic-payments/src/x402/x402_client.ts#L875 Error: no schema defined for status code '402' in the openapi spec (POST /v2/actor-tasks/{actorTaskId}/runs) Files: apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml (post.responses) Root cause: Task run creation goes through run-limit checks that throw notEnoughUsageToRunPaidActor / memory / concurrency errors with HTTP 402. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/actor-server/src/actor_jobs/run_limits_helper.ts#L194 Error: no schema defined for status code '402' in the openapi spec (GET & POST /v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items) Files: apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@run-sync-get-dataset-items.yaml (get.responses, post.responses) Root cause: Both variants launch a task run and hit the same run-limit checks that can return 402. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/actor-server/src/actor_jobs/run_limits_helper.ts#L194 Error: no schema defined for status code '401' in the openapi spec (POST /v2/actors/{actorId}/run-sync-get-dataset-items) Files: apify-api/openapi/paths/actors/acts@{actorId}@run-sync-get-dataset-items.yaml (post.responses) Root cause: The operation inherits global bearer/api-key security; an invalid token is rejected with 401 by the auth middleware. The GET sibling already documented 401, the POST did not. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/api/src/routes/routes_config.ts#L648 Error: no schema defined for status code '401' in the openapi spec (GET /v2/store) Files: apify-api/openapi/paths/store/store.yaml (get.responses) Root cause: The global auth middleware validates any supplied token before the route runs, so passing an invalid token to store search returns 401. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/api/src/middleware/authentication.ts#L91 Error: no schema defined for status code '401' in the openapi spec (GET /v2/actors/{actorId}/builds/default) Files: apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml (get.responses) Root cause: Although the endpoint does not require a token (security: []), the auth middleware still validates any token that is supplied and returns 401 for an invalid one - the same reason the file already documents 403. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/api/src/routes/routes_config.ts#L521 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01GyrB88NwS8d521dFAkwveu --- .../openapi/components/objects/datasets/dataset-items.yaml | 2 ++ .../actor-tasks@{actorTaskId}@run-sync-get-dataset-items.yaml | 4 ++++ .../paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml | 2 ++ .../openapi/paths/actors/acts@{actorId}@builds@default.yaml | 3 +++ .../actors/acts@{actorId}@run-sync-get-dataset-items.yaml | 2 ++ apify-api/openapi/paths/store/store.yaml | 2 ++ 6 files changed, 15 insertions(+) diff --git a/apify-api/openapi/components/objects/datasets/dataset-items.yaml b/apify-api/openapi/components/objects/datasets/dataset-items.yaml index 212a50d100..37684af855 100644 --- a/apify-api/openapi/components/objects/datasets/dataset-items.yaml +++ b/apify-api/openapi/components/objects/datasets/dataset-items.yaml @@ -93,6 +93,8 @@ sharedGet: &sharedGet example: barbar2 "400": $ref: ../../responses/BadRequest.yaml + "402": + $ref: ../../responses/PaymentRequired.yaml deprecated: false listById: diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@run-sync-get-dataset-items.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@run-sync-get-dataset-items.yaml index 5f15d9ebdd..40e71a7888 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@run-sync-get-dataset-items.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@run-sync-get-dataset-items.yaml @@ -67,6 +67,8 @@ get: $ref: ../../components/responses/BadRequest.yaml "401": $ref: ../../components/responses/Unauthorized.yaml + "402": + $ref: ../../components/responses/PaymentRequired.yaml "403": $ref: ../../components/responses/Forbidden.yaml "404": @@ -175,6 +177,8 @@ post: $ref: ../../components/responses/BadRequest.yaml "401": $ref: ../../components/responses/Unauthorized.yaml + "402": + $ref: ../../components/responses/PaymentRequired.yaml "403": $ref: ../../components/responses/Forbidden.yaml "404": diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml index 707d0d3f32..3bd2fc8bce 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml @@ -133,6 +133,8 @@ post: $ref: ../../components/responses/BadRequest.yaml "401": $ref: ../../components/responses/Unauthorized.yaml + "402": + $ref: ../../components/responses/PaymentRequired.yaml "403": $ref: ../../components/responses/Forbidden.yaml "404": diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml index 3d230cc0e9..9be94d9d95 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml @@ -25,6 +25,9 @@ get: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml "400": $ref: ../../components/responses/BadRequest.yaml + "401": + # Although the endpoint does not require a token, the API still validates any token that is supplied and returns 401 for an invalid one. + $ref: ../../components/responses/Unauthorized.yaml "403": # It should be 404, but is 403 for backwards compatibility. https://github.com/apify/apify-core/pull/17414 $ref: ../../components/responses/Forbidden.yaml diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@run-sync-get-dataset-items.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@run-sync-get-dataset-items.yaml index 8f8d9ef4d5..070a912d43 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@run-sync-get-dataset-items.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@run-sync-get-dataset-items.yaml @@ -87,6 +87,8 @@ post: myOtherValue: some other value "400": $ref: ../../components/responses/BadRequest.yaml + "401": + $ref: ../../components/responses/Unauthorized.yaml "402": $ref: ../../components/responses/PaymentRequired.yaml "403": diff --git a/apify-api/openapi/paths/store/store.yaml b/apify-api/openapi/paths/store/store.yaml index 5052105282..6efd4591d0 100644 --- a/apify-api/openapi/paths/store/store.yaml +++ b/apify-api/openapi/paths/store/store.yaml @@ -115,6 +115,8 @@ get: $ref: ../../components/schemas/store/ListOfActorsInStoreResponse.yaml "400": $ref: ../../components/responses/BadRequest.yaml + "401": + $ref: ../../components/responses/Unauthorized.yaml "405": $ref: ../../components/responses/MethodNotAllowed.yaml "429": From 093ed17659ceb249235a445be16c75626fc3e9ad Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 9 Jul 2026 13:16:37 +0000 Subject: [PATCH 2/3] fix(openapi): correct response schemas to match API output Relax over-constrained response schemas that the validator flagged when the live API returned null values or omitted optional fields. Error: type.openapi.validation "must be number" at /response/data/options/maxTotalChargeUsd Files: apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml:30 Root cause: maxTotalChargeUsd is an optional run option, only stored when truthy, so runs created without it surface null. Made nullable to match the sibling maxItems field. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/schemas/src/actors.ts#L97 Error: minimum.openapi.validation "must be >= 1" at /response/data/options/maxItems Files: apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml:27 Root cause: The API defines maxItems with min 0 and treats 0 as a valid sentinel; the spec's minimum: 1 was stricter than the API. Lowered to 0. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/schemas/src/actors.ts#L94 Error: required.openapi.validation "must have required property 'deleteCount'" / 'listCount' at /response/data/stats Files: apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml:2 Root cause: The stats serializer picks only present fields and the DB marks every counter optional, so a pre-existing (get-or-create) store can omit deleteCount/listCount. Removed them from required. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/api/src/lib/key_value_stores.ts#L682 Error: required.openapi.validation "must have required property 'proxy'" at /response/data/proxy Files: apify-api/openapi/components/schemas/users/UserPrivateInfo.yaml:4 Root cause: proxy is only attached when the user has proxy USE permission; otherwise the key is omitted. Removed from required. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/api/src/routes/users/user.ts#L84 Error: type.openapi.validation "must be string" at /response/data/requestUrl Files: apify-api/openapi/components/schemas/webhooks/Webhook.yaml:48 Root cause: requestUrl is modeled as nullish and is only meaningful for HTTP-request webhooks; other action types return null. Made nullable. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/zod-types/src/common/webhooks.ts#L57 Error: required.openapi.validation "must have required property 'currentPricingInfo'" at /response/data/items/{i}/currentPricingInfo Files: apify-api/openapi/components/schemas/store/StoreListActor.yaml:2 Root cause: The Recombee-backed store search maps items without a currentPricingInfo field, so it is not guaranteed. Removed from required. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/actor-server/src/recombee/recombee_store_search.ts#L183 Error: type.openapi.validation "must be string" at /response/data/items/{i}/notice (store) and /response/data/notice (actor) Files: apify-api/openapi/components/schemas/store/StoreListActor.yaml:37, apify-api/openapi/components/schemas/actors/Actor.yaml:97 Root cause: notice is modeled as string | null in the data layer and coalesced to null when absent. Made nullable in both independent schemas. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/types/src/recombee.ts#L34 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01GyrB88NwS8d521dFAkwveu --- .../openapi/components/schemas/actor-runs/RunOptions.yaml | 4 ++-- apify-api/openapi/components/schemas/actors/Actor.yaml | 2 +- .../schemas/key-value-stores/KeyValueStoreStats.yaml | 2 -- .../openapi/components/schemas/store/StoreListActor.yaml | 3 +-- .../openapi/components/schemas/users/UserPrivateInfo.yaml | 1 - apify-api/openapi/components/schemas/webhooks/Webhook.yaml | 2 +- 6 files changed, 5 insertions(+), 9 deletions(-) diff --git a/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml b/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml index dc4b9a3f59..44bd4b8afb 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml @@ -24,9 +24,9 @@ properties: examples: [2048] maxItems: type: [integer, "null"] - minimum: 1 + minimum: 0 examples: [1000] maxTotalChargeUsd: - type: number + type: [number, "null"] minimum: 0 examples: [5] diff --git a/apify-api/openapi/components/schemas/actors/Actor.yaml b/apify-api/openapi/components/schemas/actors/Actor.yaml index 4cacd68d4e..6d609ab92d 100644 --- a/apify-api/openapi/components/schemas/actors/Actor.yaml +++ b/apify-api/openapi/components/schemas/actors/Actor.yaml @@ -94,7 +94,7 @@ properties: type: [string, "null"] examples: ["https://my-actor.apify.actor"] notice: - type: string + type: [string, "null"] examples: [NONE] categories: type: array diff --git a/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml b/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml index 2bf4db71b5..e1c063b9eb 100644 --- a/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml +++ b/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml @@ -2,8 +2,6 @@ title: KeyValueStoreStats required: - readCount - writeCount - - deleteCount - - listCount type: object properties: readCount: diff --git a/apify-api/openapi/components/schemas/store/StoreListActor.yaml b/apify-api/openapi/components/schemas/store/StoreListActor.yaml index 5b4505c5e1..f988b492b5 100644 --- a/apify-api/openapi/components/schemas/store/StoreListActor.yaml +++ b/apify-api/openapi/components/schemas/store/StoreListActor.yaml @@ -5,7 +5,6 @@ required: - name - username - stats - - currentPricingInfo type: object properties: id: @@ -34,7 +33,7 @@ properties: - MARKETING - LEAD_GENERATION notice: - type: string + type: [string, "null"] pictureUrl: type: [string, "null"] format: uri diff --git a/apify-api/openapi/components/schemas/users/UserPrivateInfo.yaml b/apify-api/openapi/components/schemas/users/UserPrivateInfo.yaml index 4443cc5d8d..5f4b8b2b09 100644 --- a/apify-api/openapi/components/schemas/users/UserPrivateInfo.yaml +++ b/apify-api/openapi/components/schemas/users/UserPrivateInfo.yaml @@ -1,7 +1,6 @@ title: UserPrivateInfo required: - username - - proxy - plan - effectivePlatformFeatures - isPaying diff --git a/apify-api/openapi/components/schemas/webhooks/Webhook.yaml b/apify-api/openapi/components/schemas/webhooks/Webhook.yaml index 3f52936ae8..6ef6faf7c8 100644 --- a/apify-api/openapi/components/schemas/webhooks/Webhook.yaml +++ b/apify-api/openapi/components/schemas/webhooks/Webhook.yaml @@ -45,7 +45,7 @@ properties: type: [boolean, "null"] examples: [false] requestUrl: - type: string + type: [string, "null"] format: uri examples: ["http://example.com/"] payloadTemplate: From 8c7833f5e057600a8e7f93f040fbb9e597d16718 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 10 Jul 2026 08:25:44 +0000 Subject: [PATCH 3/3] fix(openapi): document 402 on storage read endpoints reachable via x402 payment reuse Reusing an existing x402 agentic payment to read a run's results is allowed on any storage route, so any storage GET (read) endpoint can return 402. Add 402 to the shared GET response blocks of datasets, key-value stores, and request queues (applied to the read variants only, not to writes). Error: no schema defined for status code '402' in the openapi spec (storage read endpoints, e.g. GET /v2/datasets/{datasetId}/items) Files: apify-api/openapi/components/objects/datasets/dataset.yaml (sharedGet), apify-api/openapi/components/objects/datasets/dataset-statistics.yaml (sharedGet), apify-api/openapi/components/objects/key-value-stores/key-value-store.yaml (sharedGet), apify-api/openapi/components/objects/key-value-stores/key-value-store-keys.yaml (sharedGet), apify-api/openapi/components/objects/key-value-stores/key-value-store-record.yaml (sharedGet), apify-api/openapi/components/objects/request-queues/request-queue.yaml (sharedGet), apify-api/openapi/components/objects/request-queues/request-queue-head.yaml (sharedGet), apify-api/openapi/components/objects/request-queues/request-queue-requests.yaml (sharedGet), apify-api/openapi/components/objects/request-queues/request-queue-request.yaml (sharedGet) Root cause: A new x402 payment must be initiated on an Actor execution route, but reusing an already-initiated payment to read results is permitted on any route; when the reuse check fails on a non-execution (storage) route the API returns 402. The shared GET blocks also cover the default and last-run storage variants. Reference: https://github.com/apify/apify-core/tree/abeddcb4b7b3dee66ea2169435153144dae91c19/src/packages/agentic-payments/src/x402/x402_client.ts#L873 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01GyrB88NwS8d521dFAkwveu --- .../openapi/components/objects/datasets/dataset-statistics.yaml | 2 ++ apify-api/openapi/components/objects/datasets/dataset.yaml | 2 ++ .../objects/key-value-stores/key-value-store-keys.yaml | 2 ++ .../objects/key-value-stores/key-value-store-record.yaml | 2 ++ .../components/objects/key-value-stores/key-value-store.yaml | 2 ++ .../components/objects/request-queues/request-queue-head.yaml | 2 ++ .../objects/request-queues/request-queue-request.yaml | 2 ++ .../objects/request-queues/request-queue-requests.yaml | 2 ++ .../components/objects/request-queues/request-queue.yaml | 2 ++ 9 files changed, 18 insertions(+) diff --git a/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml b/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml index 2f00866dac..ae5d920af2 100644 --- a/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml +++ b/apify-api/openapi/components/objects/datasets/dataset-statistics.yaml @@ -10,6 +10,8 @@ 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 e1b85bbe11..4943bedd9f 100644 --- a/apify-api/openapi/components/objects/datasets/dataset.yaml +++ b/apify-api/openapi/components/objects/datasets/dataset.yaml @@ -52,6 +52,8 @@ 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 dd468b58e1..fda7bc1711 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 @@ -31,6 +31,8 @@ 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 c2ecc8236a..d03d0058ce 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 @@ -31,6 +31,8 @@ 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 ca09ec0799..e6861631ae 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 @@ -52,6 +52,8 @@ 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 47b3ec0121..30275b0148 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 @@ -37,6 +37,8 @@ sharedGet: &sharedGet application/json: schema: $ref: ../../schemas/request-queues/HeadResponse.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 37970ff65a..798ff86046 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,6 +37,8 @@ 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 97d3ee7ee4..5ee27fbb2f 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 @@ -37,6 +37,8 @@ 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 4fa32c9f7a..61c870be84 100644 --- a/apify-api/openapi/components/objects/request-queues/request-queue.yaml +++ b/apify-api/openapi/components/objects/request-queues/request-queue.yaml @@ -52,6 +52,8 @@ sharedTaskLastRun: &sharedTaskLastRun sharedGet: &sharedGet responses: <<: [*common200, *commonErrors] + "402": + $ref: ../../responses/PaymentRequired.yaml deprecated: false getById: