How to use ThirdEye API
ThirdEye exposes a consistent CRUD API. This make it easy to use ThirdEye as a headless service, from your apps. The easiest way to discover and try the different endpoints is to use Swagger.
Swagger is exposed by the coordinator at
If you use StarTree ThirdEye or the helm charts, Swagger is also exposed by the frontend app at
If your instance uses authentication, click the "Authorize" button and provide a bearer token.
If your instance use HTTPS, switch HTTP to HTTPS.
Try the endpoints.
If your instance use authentication, the frontend passes a Bearer Token when performing requests.
In your browser, in the devtools, you can see the Bearer token.
You can copy and paste the token in the Swagger UI.
StarTree cloud users: To obtain a basic auth token for StarTree ThirdEye, contact StarTree Tech Support (opens in a new tab), and then complete step 3 below (skipping steps 1-2).
auth: enabled: true basic: enabled: true users: - username: <USERNAME> password: <PASSWORD>
To authenticate a request, add the
Authorization header with the token value as the base64 encoded value of
username:password prefixed with
Authorization: Basic YWRtaW46cGFzcw== where
YWRtaW46cGFzcw== is the base64 encoded value of
To encode on macOs:
echo -D '<USERNAME>:<PASSWORD>' | base64
Copy and paste the token
YWRtaW46cGFzcw== in the Swagger UI as