Authentication
PromptOrchestraClientOptions:
accessToken- user access token (JWT)apiKey- API key (sk_...)
resolveAuthToken behavior:
- if route is
access_token_only: requiresaccessToken - if route is
api_key_only: requiresapiKey - if route is
api_key_or_access_token: usesaccessTokenwhen provided, otherwiseapiKey
If accessToken is provided, the SDK always uses it and does not fall back to apiKey after request failure.