Skip to Content
ReferenceResponse Envelope

Response Envelope

All V4 SDKs and CLI commands align to this canonical wire shape:

{ "data": {}, "meta": { "requestId": "req_123", "sessionId": "ses_123", "executionId": "exec_123", "lineageId": "lin_123", "timingMs": { "total": 132, "policy": 16, "route": 8, "tool": 91 } }, "error": null }

Invariants

  • meta.requestId required in all responses
  • meta.timingMs.total required in all responses
  • Success: error=null, data populated
  • Failure: data=null, populated error
Last updated on