# GET /service-requests/:id

**Resource:** [Service Requests](./service-requests.md)  
**Scopes:** `service-requests:read`  
**Write operation:** no

Get a single service request by ID. Returns the full record including notes array, related_ids, context JSON, and slack_message_ts.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | string | yes | Service request UUID |

## Request example

```bash
curl https://ucqwijexmjctglmrxlej.supabase.co/functions/v1/api/v1/service-requests/f112de7b-c7df-4193-bacd-2d43c31c1f11 \
  -H "Authorization: Bearer tp_live_..."
```

## Response example

```json
{
  "data": {
    "id": "f112de7b-c7df-4193-bacd-2d43c31c1f11",
    "title": "Add status filter to list_opportunities",
    "description": "Cannot filter opportunities by status (won/lost/open). Had to fetch all opportunities and filter client-side.",
    "status": "pending",
    "context": {
      "source": "api",
      "category": "missing_filter",
      "priority": "medium",
      "affected_tools": ["list_opportunities"],
      "suggested_solution": "Add a status query parameter to GET /opportunities",
      "use_case": "User asked for a report of won deals from last quarter"
    },
    "related_ids": [],
    "notes": [],
    "slack_message_ts": "1745035736.123456",
    "created_at": "2026-04-19T05:08:56.498025+00:00",
    "updated_at": "2026-04-19T05:08:56.498025+00:00",
    "user_id": "771a4a38-3a5d-4a9b-98c3-e10879850c9d"
  },
  "meta": { "credits_remaining": 3456 }
}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`