> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# API Endpoints

> Create and manage API endpoints within an API collection

# API Endpoints

An **API Endpoint** represents a single API operation within an API Collection. It captures the request method, URL, request/response schemas, and other metadata.

> [!NOTE]
>
> Entity schema follows the [OpenMetadata Standard](https://openmetadatastandards.org/data-assets/apis/api-endpoint/).

## Entity Hierarchy

API Endpoints belong to an API Collection:

```txt API Endpoint theme={null}
APIService
└── APICollection
    └── APIEndpoint (this page)
```

## Fully Qualified Name

The FQN format for an API endpoint is:

```
service.collection.endpointName
```

For example: `sample_api_service.pet.addPet`

***

## API Endpoints

| Method | Endpoint | Description |
| - | - | - |
| `PUT` | `/v1/apiEndpoints` | [Create or update an API endpoint](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/create.md) |
| `POST` | `/v1/apiEndpoints` | [Create an API endpoint (POST variant)](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/create.md) |
| `GET` | `/v1/apiEndpoints` | [List API endpoints](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/list.md) |
| `GET` | `/v1/apiEndpoints/{id}` | [Get by ID](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/retrieve.md) |
| `GET` | `/v1/apiEndpoints/name/{fqn}` | [Get by FQN](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/retrieve.md) |
| `PATCH` | `/v1/apiEndpoints/{id}` | [Update by ID](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/update.md) |
| `PATCH` | `/v1/apiEndpoints/name/{fqn}` | [Update by name](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/update.md) |
| `DELETE` | `/v1/apiEndpoints/{id}` | [Delete by ID](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/delete.md) |
| `DELETE` | `/v1/apiEndpoints/name/{fqn}` | [Delete by name](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/delete.md) |
| `PUT` | `/v1/apiEndpoints/restore` | [Restore soft-deleted API endpoint](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/delete.md) |
| `GET` | `/v1/apiEndpoints/{id}/versions` | [List versions](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/versions.md) |
| `GET` | `/v1/apiEndpoints/{id}/versions/{version}` | [Get specific version](https://docs.open-metadata.org/v2.1.x/api-reference/data-assets/api-endpoints/versions.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.