Skip to content

Commit 242c200

Browse files
Merge pull request #5833 from vkurpad/main
Update use-rest-api.md
2 parents c0dbc78 + 5aba184 commit 242c200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/content-understanding/quickstart/use-rest-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ Operation-Location: {endpoint}/contentunderstanding/analyzerResults/{resultId}?a
9696
Use the `resultId` from the [`POST` response](#post-response) and retrieve the result of the analysis.
9797

9898
1. Replace `{endpoint}` and `{key}` with the endpoint and key values from your Azure portal Azure AI Foundry instance.
99-
2. Replace `{resultId}` with the `resultId` from the `POST` response.
99+
2. Replace `{analyzerResultId}` with the `id` from the `POST` response or use the complete URL from the `Operation-Location` response header.
100100

101101
#### GET request
102102
```bash
103-
curl -i -X GET "GET {endpoint}/contentunderstanding/analyzers/{analyzerId}?api-version=2025-05-01-preview" \
103+
curl -i -X GET "GET {endpoint}/contentunderstanding/analyzerResults/{analyzerResultId}?api-version=2025-05-01-preview" \
104104
-H "Ocp-Apim-Subscription-Key: {key}"
105105
```
106106

0 commit comments

Comments
 (0)