---
search:
  tags:
    - database-services
    - GET
seo:
  description: >-
    Read the license grant a database holds, and how to… Reference for the GET
    /api/v1/database-services/{id}/grant endpoint in the TimescaleDB Enterprise
    API.
  noindex: true
sidebar:
  label: Get the license grant
  badge: GET
title: Get the license grant
type: openapi-operation
---
Read the license grant a database holds, and how to issue one.

`GET /api/v1/database-services/{id}/grant`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "account_id": "string",
  "fingerprint": "string",
  "held": true,
  "last_error": "string",
  "license_id": "string",
  "reason": "string",
  "self_service": true,
  "ttl_seconds": 0
}
```
