Get the health of the integrations
curl --request GET \
--url https://api.getlurk.com/v1/integrations/health \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/integrations/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/integrations/health"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"key": "<string>",
"status": "connected",
"problems": [
{
"code": "<string>",
"message": "<string>",
"fix": "<string>",
"fix_url": "<string>"
}
],
"checked_at": "2023-11-07T05:31:56Z"
}
],
"needs_attention": 1
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Integrations
Get the health of the integrations
What is wrong with this project’s connectors, and how to fix it. Without key it answers for those connected or needing attention; with key, for that one. needs_attention counts them all. A failing webhook endpoint or refused Web collection is a problem; an endpoint a person turned off is not.
GET
/
v1
/
integrations
/
health
Get the health of the integrations
curl --request GET \
--url https://api.getlurk.com/v1/integrations/health \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/integrations/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/integrations/health"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"key": "<string>",
"status": "connected",
"problems": [
{
"code": "<string>",
"message": "<string>",
"fix": "<string>",
"fix_url": "<string>"
}
],
"checked_at": "2023-11-07T05:31:56Z"
}
],
"needs_attention": 1
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}