make Uptime kuma API easier to use #2769

Closed
opened 2026-02-28 03:06:32 -05:00 by deekerman · 2 comments
Owner

Originally created by @kokofixcomputers on GitHub (Nov 10, 2023).

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I'm trying to intergrate uptime kuma api with something else but i just could not figure it out since i'm coding in python and can't quite figure out how to turn my python app into a Prometheus compatible code. Would anyone mind helping make the api easier to use? like https://<uptimekumaurl>:<uptimekumaport>/api/monitors then it will return a json list of monitors same with create delete and pause/resume monitors or something like that

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.3

💻 Operating System and Arch

Linux

🌐 Browser

Google Chrome

🐋 Docker Version

No response

🟩 NodeJS Version

No response

Originally created by @kokofixcomputers on GitHub (Nov 10, 2023). ### ⚠️ Please verify that this bug has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### 📝 Describe your problem I'm trying to intergrate uptime kuma api with something else but i just could not figure it out since i'm coding in python and can't quite figure out how to turn my python app into a Prometheus compatible code. Would anyone mind helping make the api easier to use? like `https://<uptimekumaurl>:<uptimekumaport>/api/monitors` then it will return a json list of monitors same with create delete and pause/resume monitors or something like that ### 📝 Error Message(s) or Log _No response_ ### 🐻 Uptime-Kuma Version 1.23.3 ### 💻 Operating System and Arch Linux ### 🌐 Browser Google Chrome ### 🐋 Docker Version _No response_ ### 🟩 NodeJS Version _No response_
deekerman 2026-02-28 03:06:32 -05:00
  • closed this issue
  • added the
    help
    label
Author
Owner

@CommanderStorm commented on GitHub (Nov 11, 2023):

can't quite figure out how to turn my python app into a Prometheus compatible code

Just to be sure: have you looked at https://github.com/louislam/uptime-kuma/wiki/Prometheus-Integration ?

like https://<uptimekumaurl>:<uptimekumaport>/api/monitors then it will return a json list of monitors same with create delete and pause/resume monitors or something like that

Currently, we don't offer an api. See #118 for further details.
The current attempt at adding such a functionality is https://github.com/louislam/uptime-kuma/pull/3854 and might be merged into v2.1 if all goes well.

You can find external tooling which does wrap around our internal web socket endpoints, see https://uptime-kuma-api.readthedocs.io/en/latest/

@CommanderStorm commented on GitHub (Nov 11, 2023): > can't quite figure out how to turn my python app into a Prometheus compatible code Just to be sure: have you looked at https://github.com/louislam/uptime-kuma/wiki/Prometheus-Integration ? > like `https://<uptimekumaurl>:<uptimekumaport>/api/monitors` then it will return a json list of monitors same with create delete and pause/resume monitors or something like that Currently, we don't offer an api. See #118 for further details. The current attempt at adding such a functionality is https://github.com/louislam/uptime-kuma/pull/3854 and might be merged into `v2.1` if all goes well. You can find external tooling which does wrap around our internal web socket endpoints, see https://uptime-kuma-api.readthedocs.io/en/latest/
Author
Owner

@kokofixcomputers commented on GitHub (Nov 11, 2023):

I did.
On Nov 11, 2023, 6:04 AM -0800, Frank Elsinga @.***>, wrote:

can't quite figure out how to turn my python app into a Prometheus compatible code
Just to be sure: have you looked at https://github.com/louislam/uptime-kuma/wiki/Prometheus-Integration ?
like https://:/api/monitors then it will return a json list of monitors same with create delete and pause/resume monitors or something like that
Currently, we don't offer an api. See #118 for further details.
The current attempt at adding such a functionality is #3854 and might be merged into v2.1 if all goes well.
You can find external tooling which does wrap around our internal web socket endpoints, see https://uptime-kuma-api.readthedocs.io/en/latest/

Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@kokofixcomputers commented on GitHub (Nov 11, 2023): I did. On Nov 11, 2023, 6:04 AM -0800, Frank Elsinga ***@***.***>, wrote: > > can't quite figure out how to turn my python app into a Prometheus compatible code > Just to be sure: have you looked at https://github.com/louislam/uptime-kuma/wiki/Prometheus-Integration ? > > like https://<uptimekumaurl>:<uptimekumaport>/api/monitors then it will return a json list of monitors same with create delete and pause/resume monitors or something like that > Currently, we don't offer an api. See #118 for further details. > The current attempt at adding such a functionality is #3854 and might be merged into v2.1 if all goes well. > You can find external tooling which does wrap around our internal web socket endpoints, see https://uptime-kuma-api.readthedocs.io/en/latest/ > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you authored the thread.Message ID: ***@***.***>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#2769
No description provided.