Datadog API: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
=HTTP=
=HTTP=
* https://docs.datadoghq.com/api/latest/
* https://docs.datadoghq.com/api/latest/
Organization information:


<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>

Revision as of 02:07, 18 February 2022

External

Internal

Overview

Datadog resources can be provisioned via an API.

HTTP

Organization information:

curl -s -X GET "https://api.datadoghq.com/api/v1/org" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DATADOG_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DATADOG_APP_KEY}"

Python

Playground

https://github.com/ovidiuf/playground/tree/master/datadog/python-api