---
title: API Discovery
summary: >-
  These endpoints allow you to enable, disable, and check the enablement status
  of the API Discovery product on your services.
url: https://www.fastly.com/documentation/reference/api/products/api_discovery
---

These endpoints allow you to enable, disable, and check the enablement status of the API Discovery product on your services.

## Data model

| Field | Type | Description |
|-------|------|-------------|
| `_links` | object |  |
| `customer` | object |  |
| `product` | object |  |
| `services` | array | A list of services for a customer with API Discovery enabled. |
| `service` | object |  |

## API endpoints

### Get product enablement status

**GET** `/enabled-products/v1/api_discovery/services/{service_id}`

Get the enablement status of the API Discovery product on a service.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `service_id` | string | path | Yes | Alphanumeric string identifying the service. |

### Enable product

**PUT** `/enabled-products/v1/api_discovery/services/{service_id}`

Enable the API Discovery product on a service.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `service_id` | string | path | Yes | Alphanumeric string identifying the service. |

### Disable product

**DELETE** `/enabled-products/v1/api_discovery/services/{service_id}`

Disable the API Discovery product on a service.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `service_id` | string | path | Yes | Alphanumeric string identifying the service. |

### Get services with product enabled

**GET** `/enabled-products/v1/api_discovery/services`

Get all the services for a customer that has the API Discovery product enabled.
