API Keys
Generate and use API keys for programmatic access.
Last updated
curl -X POST https://auth.duku.ai/realms/duku/protocol/openid-connect/token \
-d "grant_type=client_credentials" \
-d "client_id=<your_client_id>" \
-d "client_secret=<your_client_secret>" \
-d "scope=openid"{
"access_token": "eyJhbGciOi...",
"expires_in": 300,
"token_type": "Bearer"
}curl -X POST https://platform.duku.ai/graphql \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/json" \
-d '{"query": "{ subjects { id name } }"}'