For the complete documentation index, see llms.txt. This page is also available as Markdown.

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-api

Every path shown in this section (e.g. /v1/tenants/{tenant}/resources/apps) is relative to this base URL.

Use either of the following:

Header
Format
Example

Authorization

Bearer JWT

Authorization: Bearer <access_token>

apikey

API key string

apikey: <your-apikey>

Optional headers:

Header
Required
Description

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:

apikey header
curl -X GET \
  "https://$BASE_URL/v1/tenants/engineering/resources/apps" \
  -H "Accept: application/json" \
  -H "apikey: <your-apikey>"
Bearer token
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?