# List a session's line items (/docs/api/checkout-sessions/list-checkout-session-line-items)

## List a session's line items

`GET https://runepay.co/api/v1/checkout_sessions/{id}/line_items`

Scope: `checkout_sessions:read`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` (required) | path | string | The object id. |
| `limit` | query | integer | Page size, 1 to 100. |
| `starting_after` | query | string | An object id from the previous page; the page starts after it. |

Response `200`:

```json
{
  "object": "list",
  "url": "/api/v1/checkout_sessions/cs_01KA4XZY8T2R5M7P1Q4W6E8R0T/line_items",
  "data": [
    {
      "id": "li_01KA4XZY8T2R5M7P1Q4W6E8R0T",
      "object": "item",
      "currency": "USD",
      "quantity": 1,
      "price_data": {
        "currency": "USD",
        "unit_amount": 1999,
        "product_data": {
          "name": "Pro plan, 1 month"
        },
        "tax_code": "saas",
        "tax_behavior": "exclusive"
      },
      "amount_subtotal": 1999,
      "amount_tax": 0,
      "amount_total": 1999
    }
  ],
  "has_more": false
}
```

Errors: 400, 401, 403, 404, 500, 503, with the [error shape](/docs/api/errors).
