Typed Errors & Audit Log API Keys
This release improves error handling across the Python and TypeScript SDKs with a new structured error hierarchy. SDK methods now raise specific typed exceptions with status codes and error codes, making error handling in your code more precise and predictable.
Audit logs now capture and display a masked version of the API key used for each action, helping admins identify which key was responsible without exposing the full secret. The daemon adds OpenTelemetry resource attributes for snapshot versions, enabling per-snapshot metric filtering in Prometheus and Grafana.
Documentation adds an agent skills reference, and the API improves unauthorized response handling.
Release Details
Features:
api,dashboard: include actor api key in audit log (#3695)
daemon: emit daytona_snapshot as OTel resource attribute (#4400)
daemon: custom OTel resource labels (#4402)
daemon,sdk-python,sdk-typescript: standardize typed errors (#4228)
docs: add agent skills reference (#4403)
Fixes:
api: improve api responses on unauthorized (#4344)
Refactor:
api: custom snapshot repository (#4284)
Chores: