telemetry exports
List Destinations
GET
/
api
/
telemetry-destinations
List Destinations
curl --request GET \
--url https://api.aixy-gateway.com/api/telemetry-destinations \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/telemetry-destinations"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/telemetry-destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"config": {},
"secret_hint": "<string>",
"project_ids": [
"<string>"
],
"signals": [
"logs"
],
"event_types": [
"gateway.usage"
],
"enabled": true,
"health": "<string>",
"last_attempt_at": "<string>",
"last_success_at": "<string>",
"last_error": "<string>",
"consecutive_failures": 123,
"delivered_events": 123,
"failed_events": 123,
"created_at": "<string>",
"updated_at": "<string>",
"object": "telemetry.destination"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}⌘I
List Destinations
curl --request GET \
--url https://api.aixy-gateway.com/api/telemetry-destinations \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/telemetry-destinations"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/telemetry-destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"config": {},
"secret_hint": "<string>",
"project_ids": [
"<string>"
],
"signals": [
"logs"
],
"event_types": [
"gateway.usage"
],
"enabled": true,
"health": "<string>",
"last_attempt_at": "<string>",
"last_success_at": "<string>",
"last_error": "<string>",
"consecutive_failures": 123,
"delivered_events": 123,
"failed_events": 123,
"created_at": "<string>",
"updated_at": "<string>",
"object": "telemetry.destination"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}