# getCreditPrices

Fixed credit packs for EVERY credit type. Quote `packs` (credit type, code, units, whole-pack price in cents); skip a pack whose `available` is false. AI Agent Credits: 1 credit = 1 cent of AI cost. Texting Credits: 1 credit = 1 outbound text segment; inbound texts are free. No credit pays for mail: the provider bills the org’s own account at rates Goliath cannot see; never quote a price or range. The agent cannot buy: hand over getCreditsPurchaseUrl.

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

## Variables

None.

## Response (data, an example)

```json
{
  "billing": {
    "getCreditPrices": {
      "packs": [
        {
          "creditType": "EXPORT_PROPERTIES",
          "code": "…",
          "units": 0,
          "priceCents": 0,
          "available": true
        }
      ]
    }
  }
}
```

## Example

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