Skip to main content

JSON Envelope

Success​

{
"success": true,
"data": {},
"metadata": {
"request_id": "uuid",
"timestamp": "2026-05-26T00:00:00Z",
"api_version": "v1.0",
"duration_ms": 123
}
}

Error​

{
"success": false,
"error": {
"code": "AUTH_FAILED",
"message": "Authentication failed: ..."
},
"metadata": {
"request_id": "uuid",
"timestamp": "2026-05-26T00:00:00Z",
"api_version": "v1.0"
}
}

Paged lists​

A list command run without --all-pages adds has_more to metadata, and next_link (Graph's @odata.nextLink) when has_more is true. data is unchanged. With --all-pages, has_more is false.

{
"success": true,
"data": [],
"metadata": {
"request_id": "uuid",
"timestamp": "2026-10-27T00:00:00Z",
"api_version": "v1.0",
"duration_ms": 123,
"has_more": true,
"next_link": "https://graph.microsoft.com/v1.0/me/chats?$skiptoken=..."
}
}