File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
articles/ai-services/openai/includes/batch Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -258,9 +258,8 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/batches?api-version=2024
258
258
Use the REST API to list all batch jobs with additional sorting/filtering options.
259
259
260
260
``` http
261
- curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/batches?api-version=2024-10-01-preview \
262
- -H "api-key: $AZURE_OPENAI_API_KEY" \
263
- -H "filter: 'created_at gt 1728773533 and created_at lt 1729032733 and status eq 'Completed''" \
264
- -H "orderby: created_at asc"
265
-
261
+ curl "YOUR_RESOURCE_NAME.openai.azure.com/batches?api-version=2024-10-01-preview&$filter=created_at%20gt%201728773533%20and%20created_at%20lt%201729032733%20and%20status%20eq%20'Completed'&$orderby=created_at%20asc" \
262
+ -H "api-key: $AZURE_OPENAI_API_KEY""
266
263
```
264
+
265
+ To avoid the error ` URL rejected: Malformed input to a URL function ` spaces are replaced with ` %20 ` .
You can’t perform that action at this time.
0 commit comments