---
search:
  tags:
    - Checkout Sessions
    - GET
seo:
  description: >-
    Get a checkout session, including its diagnosis. Reference for the GET
    /checkout-sessions/{checkout_session_id} endpoint in the Sarvex V1 API.
sidebar:
  label: Get a checkout session, including its diagnosis
  badge: GET
title: Get a checkout session, including its diagnosis
type: openapi-operation
---
`GET /checkout-sessions/{checkout_session_id}`

**Responses**

- `200` — Checkout session.
- `404` — Resource not found within the caller's tenant.

Response example, 200:

```json
{
  "checkout_id": "string",
  "store_id": "string",
  "surface": "ucp_checkout",
  "agent_platform": "string",
  "state": "initiated",
  "current_stage": "string",
  "started_at": "2019-08-24T14:15:22Z",
  "last_activity_at": "2019-08-24T14:15:22Z",
  "terminal_at": "2019-08-24T14:15:22Z",
  "cart_summary": {
    "currency": "AUD",
    "total_minor": 0,
    "item_count": 0
  },
  "escalation": {
    "reason": "string",
    "escalated_at": "2019-08-24T14:15:22Z",
    "continue_url_issued": true,
    "returned_at": "2019-08-24T14:15:22Z",
    "resolved": true
  },
  "failure": {
    "code": "string",
    "cause": "string",
    "stage": "string"
  },
  "diagnosis": {
    "stage_reached": "string",
    "cause": "connector_create_failed",
    "plain_language_summary": "string",
    "recommended_action": "string",
    "evidence": [
      0
    ]
  },
  "event_count": 0,
  "updated_at": "2019-08-24T14:15:22Z"
}
```

Response example, 404:

```json
{
  "error": {
    "code": "not_found",
    "message": "Resource not found.",
    "details": null
  }
}
```
