curl -X POST "https://heimdall.qa.zoniqx.com/astra/sync" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>"
const response = await fetch("https://heimdall.qa.zoniqx.com/astra/sync", {
method: "POST",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data = await response.json();type AstraController_syncAstraUserIntentResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/astra/sync", {
method: "POST",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data: AstraController_syncAstraUserIntentResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/astra/sync"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
response = requests.post(url, headers=headers)
data = response.json()