API Playground: Chain API responses as inputs to other API calls #4992
mayank2yk
started this conversation in
Feature Requests
Replies: 1 comment
-
|
Adding more context from real-world usage: We're building a multi-step API workflow system (similar to orchestrating dependent endpoints like create → fetch → enrich). Currently in the Playground:
This becomes:
What would help:
This would essentially unlock:
Happy to share a quick prototype / mock if helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great to have the ability to chain API calls within the API Playground. Specifically, I'd like to use the response value from one API endpoint as the request parameter/body for another API endpoint.
Use Case:
When testing multi-step API workflows, users often need to:
Call an initial endpoint (e.g., create a resource)
Take a value from the response (e.g., an id)
Use that value as input for a subsequent API call (e.g., get resource details)
Currently, users must manually copy and paste values between API calls, which is tedious and error-prone.
Proposed Behavior:
Allow users to reference response fields from a previously executed API call as input parameters for another API call
Support mapping response fields to request parameters/body fields
Enable multi-step API workflow testing within the Playground
This would significantly improve the developer experience when exploring APIs with dependent endpoints.
Beta Was this translation helpful? Give feedback.
All reactions