K

Kestra REST API (Enterprise / Cloud)

REST discovered

Details
URL
https://<your-kestra-host>/api/v1
Docs
https://kestra.io/docs/api-reference/enterprise
Authentication
Kestra API token bearer discovered Get token ↗
Authorization: Bearer <credential>

In Kestra Enterprise, open your profile and click + Create API Token for a user token, or go to Administration / Service Accounts / API Tokens to create a service-account token. Follow the steps in API Tokens in Kestra and Service Accounts in Kestra Enterprise. Copy the token when it is shown; Kestra says it will not be displayed again.

Kestra basic-auth user credentials basic discovered
Authorization: Basic <credential>

Create or use a Kestra user account with Basic Auth enabled on your Kestra instance. The API guide shows authenticating requests with -u username:password, and kestractl supports --username and --password when adding a context. See Extend Kestra with the API and kestractl.