Authentication
Authenticate platform-api requests with a Bearer token or apikey header, plus optional tracing headers.
All platform-api endpoints require authentication when authorization is enabled on the gateway.
Base URL:
https://<DATAOS_FQDN>/platform-apiEvery path shown in this section (e.g. /v1/tenants/{tenant}/resources/apps) is relative to this base URL.
Use either of the following:
Authorization
Bearer JWT
Authorization: Bearer <access_token>
apikey
API key string
apikey: <your-apikey>
Optional headers:
Accept
No
Recommended: application/json
Dataos-Correlation-Id
No
Correlation ID for request tracing (forwarded to upstream services)
X-Request-Id
No
Used as a correlation ID fallback when Dataos-Correlation-Id is absent
Example:
curl -X GET \
"https://$BASE_URL/v1/tenants/engineering/resources/apps" \
-H "Accept: application/json" \
-H "apikey: <your-apikey>"curl -X GET \
"https://$BASE_URL/v1/tenants/engineering/resources/apps" \
-H "Accept: application/json" \
-H "Authorization: Bearer <access_token>"$BASE_URL is <DATAOS_FQDN>/platform-api from the base URL above.
Last updated
Was this helpful?