Canvas workflows are semver-versioned. Publishing creates an immutable snapshot inDocumentation Index
Fetch the complete documentation index at: https://docs.medera.info/llms.txt
Use this file to discover all available pages before exploring further.
agent_workflow_versions and triggers an automatic sandbox deployment.
Tables
| Table | Migration | Purpose |
|---|---|---|
agent_workflows | 061 / 110 / 130 | Current draft + status + lock_version for optimistic concurrency |
agent_workflow_versions | 110 | Immutable per-version snapshot (nodes, connections, variables, settings) |
agent_workflow_executions | 110 | Per-execution trace + trigger_type (canvas_test / api / scheduled / webhook) |
workflow_approvals | 111 | user-approval pauses persist here for human review |
workflow_schedules | 112 / 133 | Cron-driven scheduled triggers |
agent_deployments | 138 / 151 / 152 | Runtime deployments — environment, status, snapshots, URLs, auto-rollback config |
agent_links | 141 | Shareable canonical URL per deployment (org_slug, agent_slug, version_number) |
agent_calls | 142 | Per-call tracking against a deployment |
agent_call_function_logs | 143 | High-volume per-function-invocation log (BIGSERIAL) |
deployment_preview_access | 144 | Token-based sandbox sharing |
deployment_audit_log | 140 / 145 | WORM-style immutable audit of every deployment event |
deployment_metrics | 148 | Time-bucketed call / latency / error metrics |
deployment_alerts | 149 | Threshold-based alerting + resolution |
Deployment lifecycle
- Sandbox URL:
https://sandbox.medera.info/{org_slug}/{agent_slug}-v{version} - Production URL:
https://agents.medera.info/{org_slug}/{agent_slug} - Sandbox auto-expiry:
auto_expire_atis set 72 h after deploy;expirePreviewTokenscron runs daily at 3 AM
Auto-rollback
agent_deployments.auto_rollback_config declares thresholds (error rate, p95 latency, alert severity). When triggered, the deployment rolls back to the previous successful version and writes an event_type='rolled_back' row to deployment_audit_log.
WORM audit
deployment_audit_log is an append-only table. UPDATE and DELETE are blocked by triggers (migration 145 fixed the FK from RESTRICT → SET NULL to preserve WORM semantics when actors are deleted).