Skip to content

Commit 5c6eddb

Browse files
edits
1 parent 3d1cce0 commit 5c6eddb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ This guide will walk you through the steps of adding human feedback to an AI Gat
2121

2222
Once you have the token, you can use it in API requests by adding it to the authorization header as a bearer token. Here is an example of how to use it in a request:
2323

24-
````bash
24+
```bash
2525
curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs" \
2626
--header "Authorization: Bearer {your_api_token}"
27+
```
2728

2829
In the request above:
2930

@@ -53,7 +54,7 @@ In the example below, the `cf-aig-log-id` is `01JADMCQQQBWH3NXZ5GCRN98DP`.
5354
"cf-aig-log-id": "01JADMCQQQBWH3NXZ5GCRN98DP"
5455
}
5556
}
56-
````
57+
```
5758

5859
### Method 2: Retrieve the `cf-aig-log-id` via API (GET request)
5960

0 commit comments

Comments
 (0)