Are there any "apis" - i couldn't find any in the ...
# general
d
Are there any "apis" - i couldn't find any in the docs when i looked and not sure if gpt4o hallucinated rest apis for creating alerts, users etc
p
Can you share more on what do you mean by APIs? We have APIs for logs & traces - https://signoz.io/docs/logs-management/logs-api/overview/ https://signoz.io/docs/logs-management/logs-api/overview/
d
I mean APIs to manage Signoz - i.e. if i want to create an alert, or a user - rather than using the UI, I'd want to be able to use an API. Or write a wrapper around terraform / pulumi to do it. So i can have signoz config as code
šŸ‘ 1
Ah i guess not - just found this from back in 2022 - https://github.com/SigNoz/signoz/issues/1851
l
I’m interested in the same thing, in particular the option to create dashboards and alerts with terraform / api. Thanks
a
All the APIs are accessible via access_token which is in self-hosted enterprise plan or cloud plan.
d
Yea i was looking at that, there is no "api token" type page in non cloud version right?
the UI seems to use the oauth token from the user
so I can't create a static API key for my user and then use that on the APIs? i'd have to "login" store my oauth temporarily and then use it right?
ah - misread, you said enterprise plan only
l
I’m using the cloud plan but I cannot find any documentation about how to use the api token to create dashboard or alerts. is it documented?
d
As client is in China - can't really use cloud šŸ˜•
😐 1
see getall uses /api/dashboards, get is /dashboards/${dashboard.uuid} etc
l
Thank you Darren šŸ’Ŗ
d
np - i think its /api/v1/dashboards from the look of the UI
a
@Prashant Shahi @Srikanth Chekuri don't we have docs for dashboards and alerts CRUD APIs?
p
We had docs for it before, however after the new website migration. It is not working anymore. I had raised this issue over our internal communication. I believe it is work in-progress. cc @Yunus M @Ashu
For time-being, you can refer to the following API Reference netlify page of our old website. https://frosty-austin-928e43.netlify.app/api_reference
šŸ™Œ 2
d
I have to say, I do love LLMs
šŸ‘Œ 2
image.png
how cool is that šŸ™‚
šŸš€ 4
p
Nice. @Darren Smith you should join one of our community calls and demo what you built from this and how you used LLMs šŸ™‚
@Nitish šŸ‘†
n
Hey @Darren Smith, we'd love to see you joining the SigNoz Community call. Please register on this link. Reference: https://signoz-community.slack.com/archives/C01HWUTP4HH/p1718722800627379
d
I've just registered, talk tomorrow šŸ™‚
n
Looking forward to see you!
@Darren Smith DMed you something related to talk, please check.