## GET /v1/account/billing

Read whether your account can start sessions, with the same check that admits a session, including credit and contact email. `GET /v1/account/budget` reports spend limits.

Required permissions: read:account.
API key: Supported.
CLI user token: Supported.
Session token: Requires the ellipsis:api scope, and the session's permissions.ellipsis rules must allow the operation.
Higher permission levels include lower levels: read < write < delete.

### Response

```text
{
  "workflows_block_reason": str
}
```

### Python

```python
import os

from ellipsis import Ellipsis

client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])

result = client.account.billing.status()
print(result)
```

### TypeScript

```typescript
import { Ellipsis } from '@ellipsis-dev/sdk';

const client = new Ellipsis({
  apiKey: process.env.ELLIPSIS_API_TOKEN!,
});

const result = await client.account.billing.status();
console.log(result);
```

### cURL

```bash
curl "https://api.ellipsis.dev/v1/account/billing" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN"
```

### Response schema

```json
{
  "properties": {
    "workflows_block_reason": {
      "anyOf": [
        {
          "enum": [
            "canceled",
            "out_of_credit",
            "blocked",
            "contact_email_required"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "workflows_block_reason"
  ],
  "type": "object"
}
```
