Base URL
In production, set the OUTPUT_API_PORT environment variable to change the port.
Environment Variables
The API server reads these environment variables:
AWS Credential Permissions
The API only reads traces — the worker is what uploads them (see Tracing for the write-side policy). The credentials in OUTPUT_AWS_ACCESS_KEY_ID / OUTPUT_AWS_SECRET_ACCESS_KEY must allow read access to the trace bucket:
If these read permissions are missing, trace fetches fail with a generic download error. A misconfigured bucket policy — granting the worker write access but not granting the API identity s3:GetObject / s3:ListBucket — is the most common cause of output workflow debug and dataset generate --download failing against production runs.