JavaScript
Runtime Errors
Record a runtime error from the Based engine
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.usebrainbase.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key authentication
Path Parameters
Body
application/json
Error type/class (e.g., "ValueError", "RuntimeError")
Service that generated the error (e.g., "based_engine", "sms")
Error message
Full stack trace
Available options:
warning, error, critical Function being executed when error occurred
Line number in Based code
Additional context
Deployment ID (optional)
Flow ID (used to lookup deployment if deploymentId not provided)
Session ID for trace correlation
Response
Runtime error recorded successfully
