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.requestIdrequired in all responsesmeta.timingMs.totalrequired in all responses- Success:
error=null,datapopulated - Failure:
data=null, populatederror
Last updated on