File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
articles/ai-services/openai Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ curl -X POST https://YOUR-RESOURCE-NAME.openai.azure.com/openai/responses?api-ve
156
156
** Microsoft Entra ID** :
157
157
158
158
``` bash
159
- curl -X POST " https://YOUR-RESOURCE-NAME.openai.azure.com/openai/responses?api-version=2025-04-01-preview" \
159
+ curl -X POST https://YOUR-RESOURCE-NAME.openai.azure.com/openai/responses? api-version=2025-04-01-preview \
160
160
-H " Content-Type: application/json" \
161
161
-H " Authorization: Bearer $AZURE_OPENAI_AUTH_TOKEN " \
162
162
-d ' {
@@ -182,7 +182,7 @@ curl -X POST https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses?api
182
182
** Microsoft Entra ID** :
183
183
184
184
``` bash
185
- curl -X POST " https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses?api-version=preview" \
185
+ curl -X POST https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses? api-version=preview \
186
186
-H " Content-Type: application/json" \
187
187
-H " Authorization: Bearer $AZURE_OPENAI_AUTH_TOKEN " \
188
188
-d ' {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ The Responses API is a new stateful API from Azure OpenAI. It brings together th
19
19
20
20
### API support
21
21
22
- - [ v1 preview API is required for access to the latest features] ( /azure/ai-services/openai/reference-preview-latest?#responses- api---create )
22
+ - [ v1 preview API is required for access to the latest features] ( ../api-version-lifecycle.md# api-evolution )
23
23
24
24
### Region Availability
25
25
@@ -60,7 +60,7 @@ Not every model is available in the regions supported by the responses API. Chec
60
60
61
61
### Reference documentation
62
62
63
- - [ Responses API reference documentation] ( /azure/ai-services/openai/reference-preview?#responses-api---create )
63
+ - [ Responses API reference documentation] ( /azure/ai-services/openai/reference-preview-latest ?#responses-api---create )
64
64
65
65
## Getting started with the responses API
66
66
@@ -123,7 +123,7 @@ print(response.model_dump_json(indent=2))
123
123
### Microsoft Entra ID
124
124
125
125
``` bash
126
- curl -X POST " https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses?api-version=preview" \
126
+ curl -X POST https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses? api-version=preview \
127
127
-H " Content-Type: application/json" \
128
128
-H " Authorization: Bearer $AZURE_OPENAI_AUTH_TOKEN " \
129
129
-d ' {
@@ -247,7 +247,7 @@ response = client.responses.retrieve("resp_67cb61fa3a448190bcf2c42d96f0d1a8")
247
247
### Microsoft Entra ID
248
248
249
249
``` bash
250
- curl -X GET " https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses/{response_id}?api-version=preview" \
250
+ curl -X GET https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses/{response_id}? api-version=preview \
251
251
-H " Content-Type: application/json" \
252
252
-H " Authorization: Bearer $AZURE_OPENAI_AUTH_TOKEN "
253
253
```
You can’t perform that action at this time.
0 commit comments