D

Dagger GraphQL API

GraphQL discovered

Details
Endpoint
http://127.0.0.1:{DAGGER_SESSION_PORT}/query
Spec
introspection
Docs
https://docs.dagger.io/getting-started/api/http/
Authentication
Dagger session token basic discovered
Authorization: Basic <credential>

Start a Dagger session with the Dagger CLI installation guide. The CLI exposes a per-session local API and provides the token in the DAGGER_SESSION_TOKEN environment variable; docs show using dagger run ... for ephemeral sessions or setting DAGGER_SESSION_TOKEN yourself before dagger listen --allow-cors to run a local GraphQL server. Use the token as the HTTP Basic username with an empty password (or token: before Base64 encoding). See Using the Dagger API with HTTP and GraphQL and GraphQL Playground.