Integrations
Preview

Test a connection

Makes real calls to the tool and reports what they found, before anything is saved. Nothing is written to Wardn or to the tool. Datadog validates the API key and counts the monitors the application key can see. Grafana reads its organization and asks what the service account may do, without writing

POST
/deploy-markers/{provider}/test
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

provider*string

The tool markers go to.

Value in"datadog""grafana"
application/json
  1. body
name*string
Lengthlength <= 100
site?string

Datadog's site key, one of sites in the integration.

url?string

Grafana's address.

Lengthlength <= 512
apiKey?string

Datadog's API key. Write-only; kept in the secret store.

appKey?string

Datadog's application key. Write-only; kept in the secret store.

token?string

Grafana's service account token. Write-only; kept in the secret store.

Response Body

The credentials work.

application/json
  1. response
ok*boolean
detail*string
monitors?integer
canWrite*boolean
tookMs*integer
Example Request
curl -X POST 'https://wardn.example.com/api/v1/deploy-markers/datadog/test' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "ok": true,  "detail": "Site US1; both keys are valid; 38 monitors visible.",  "monitors": 0,  "canWrite": true,  "tookMs": 0}