Applies to:
- Plan - Any
- Deployment - Any
- Use case - Understanding permissions needed for service tokens that write logs to Braintrust
Summary
Overview: Service tokens for log ingestion require specific permission combinations to write logs successfully to Braintrust projects. Key insight: Log writes use merge/update operations internally, requiring update permissions even for new log creation.How log ingestion permissions work
Required permissions
Why Logs Create alone fails
Logs Create permission is insufficient because:
- All log writes use a merge/update operation internally
- The system does not distinguish between inserting new logs and updating existing ones
- Even “new” log entries follow the update code path