provider Responses GET
/responses/{response_id} @utdk/openai
/responses/{response_id} Retrieves a model response with the given ID.
- response_id path required
- The ID of the response to retrieve.
- string
- include query
- Additional fields to include in the response. See the `include` parameter for Response creation above for more information.
- array
Try it
Authentication
Configure credentials for OpenAI API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import openai from '@utdk/openai';
await openai.getresponse()