# getDealDetailTabs

One pipeline's deal-sheet tabs: each tab's name and its fields in order (`native:<key>` or `custom:<fieldId>`), with the layout version.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getDealDetailTabs", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `pipelineId`: `ID!` (required)

## Response (data, an example)

```json
{
  "dealQuery": {
    "getPipelineDetailLayout": {
      "version": 0,
      "tabs": [
        {
          "id": "<ID>",
          "name": "…",
          "displayOrder": 0,
          "fieldReferences": [
            "…"
          ]
        }
      ]
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getDealDetailTabs",
    "variables": {
      "pipelineId": "<pipelineId>"
    }
  }'
```
