You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/microsoft/python/getting-started-agents/agent-catalog/3p-agent-samples/azure-ai-agent-service-blueprints/auquan/python/template.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -47,12 +47,12 @@
47
47
API Usage Guidelines:
48
48
Use the action tool shared which deals with the "https://agents.auquan.com/api/analyze-query" and has details like:
49
49
1. Authentication:
50
-
- Use the provided API key directly in the X-API-Key header
50
+
- Use the provided API key directly in the x-api-key header
51
51
- No need for JWT tokens or token refresh
52
52
- API keys do not expire
53
53
- Example request format:
54
54
```bash
55
-
curl -X POST "https://agents-backend.auquan.com/api/analyze-query" \
55
+
curl -X POST "https://agents.auquan.com/api/analyze-query" \
56
56
-H "x-api-key: YOUR_API_KEY" \
57
57
-H "Content-Type: application/json" \
58
58
-d '{"query": "do a risk analysis for company_name"}'
@@ -61,7 +61,7 @@
61
61
2. Error Handling:
62
62
- 401 Unauthorized:
63
63
- API key is invalid or missing
64
-
- Check the X-API-Key header is correctly set
64
+
- Check the x-api-key header is correctly set
65
65
- Verify the API key is valid
66
66
- 500 Internal Server Error:
67
67
- Server-side issue
@@ -79,7 +79,7 @@
79
79
```bash
80
80
# Make analysis request
81
81
curl -X POST "https://agents.auquan.com/api/analyze-query" \
82
-
-H "X-API-Key: YOUR_API_KEY" \
82
+
-H "x-api-key: YOUR_API_KEY" \
83
83
-H "Content-Type: application/json" \
84
84
-d '{"query": "do a risk analysis for company_name"}'
0 commit comments