Connections

Test connection

Check that the endpoint is reachable and the credentials work.

POSThttps://app.elunos.ai/api/v1/spaces/{space}/connections/{connection}/test

Calls the endpoint with the stored credentials and reports whether that works. Useful right after storing the credentials in the platform.

Path parameters

spacestringPflicht

Slug of the space, e.g. `praxis-mueller`. Returned by `GET /spaces`.

connectionuuidPflicht

ID of the connection.

Example

curl -X POST https://app.elunos.ai/api/v1/spaces/praxis-mueller/connections/0199a3c3-5b6c-7a02-b4d1-9e8f7a6c5d32/test \
  -H "Authorization: Bearer np_xxxxxxxx"

Response

{
  "data": {
    "ok": true,
    "status": 200,
    "message": "Reachable."
  }
}

status is the HTTP status of your endpoint. With ok: false, message says what went wrong.