# getPlatformStatus

Whether texting is slow for everyone right now, not just this organization, as one aggregate over every organization (refreshed at most once a minute): of the texts the carrier accepted in the last 15 minutes that record when, how many and the p50 and p95 seconds from a text being created to the carrier accepting it (all three null when fewer than 20, so no one organization shows), and of the texts created in the last 6 hours, how many still wait to go out and the 95th-percentile seconds they have waited (both null when fewer than 20; a stalled send queue shows here). Names and counts no organization. Email has no queue to measure (a send goes straight to the mailbox provider), and no provider incident is recorded, so neither is here. Compare with listFailedTexts before blaming the carrier.

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

## Variables

None.

## Response (data, an example)

```json
{
  "deliveryHealthQuery": {
    "platformStatus": {
      "windowMinutes": 0,
      "measuredAt": "2026-01-01T00:00:00.000Z",
      "texts": {
        "acceptedCount": 0,
        "p50LagSeconds": 0,
        "p95LagSeconds": 0,
        "waitingCount": 0,
        "p95WaitingSeconds": 0
      }
    }
  }
}
```

## Example

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