Skip to content

docs(openapi): add 402 response to Actor execution endpoints#2412

Merged
tobice merged 3 commits intomasterfrom
docs/add-402-actor-execution-endpoints
Apr 14, 2026
Merged

docs(openapi): add 402 response to Actor execution endpoints#2412
tobice merged 3 commits intomasterfrom
docs/add-402-actor-execution-endpoints

Conversation

@tobice
Copy link
Copy Markdown
Contributor

@tobice tobice commented Apr 9, 2026

Updates API schema to match changes from apify/apify-core#26917: unauthenticated Actor execution requests now return 402 with X402 payment info instead of 401.

I have also updated the PamentRequired example to be more realistic.

Actor execution endpoints now return 402 Payment Required with X402
payment info when a request has no auth token and no payment headers.
See apify/apify-core#26917.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added the t-core-services Issues with this label are in the ownership of the core services team. label Apr 9, 2026
@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit 86f43429 and is ready at https://pr-2412.preview.docs.apify.com!

@tobice tobice requested review from mvolfik and stepskop and removed request for fnesveda and janbuchar April 9, 2026 11:47
@tobice tobice added the adhoc Ad-hoc unplanned task added during the sprint. label Apr 9, 2026
@tobice tobice changed the title docs(openapi): Add 402 response to Actor sync execution endpoints docs(openapi): add 402 response to Actor execution endpoints Apr 9, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tobice
Copy link
Copy Markdown
Contributor Author

tobice commented Apr 9, 2026

The POST <...>/runs execution endpoint has been already updated by @Pijukatel 😄 🏃 #2390

@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit eaac11f5 and is ready at https://pr-2412.preview.docs.apify.com!

@apify-service-account
Copy link
Copy Markdown

A PR to update the Python client models has been created: apify/apify-client-python#711

This was automatically triggered by OpenAPI specification changes in this PR.

@tobice tobice requested a review from janbuchar April 9, 2026 14:43
…execution-endpoints

# Conflicts:
#	apify-api/openapi/components/schemas/common/ErrorResponse.yaml
#	apify-api/openapi/components/schemas/common/ErrorType.yaml
@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit e24d3abb and is ready at https://pr-2412.preview.docs.apify.com!

@apify-service-account
Copy link
Copy Markdown

The Python client model PR has been updated with the latest OpenAPI spec changes: apify/apify-client-python#711

@tobice tobice merged commit a497673 into master Apr 14, 2026
15 checks passed
@tobice tobice deleted the docs/add-402-actor-execution-endpoints branch April 14, 2026 07:57
vdusek pushed a commit to apify/apify-client-python that referenced this pull request Apr 14, 2026
This PR updates the auto-generated Pydantic models based on OpenAPI
specification changes in [apify-docs PR
#2412](apify/apify-docs#2412).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-core-services Issues with this label are in the ownership of the core services team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants