> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://docs.ampdb.io/api/mcp` to find what you need.

# Registry API

:::note
A client built from `RegistryApi` has no service to talk to right now.
:::

A dataset registry is a catalog of datasets that people publish for others to find and use. The SDK describes its API,
version 1, as an Effect `HttpApi` definition, `RegistryApi.ApiV1`. It doesn't include a client:
`HttpApiClient.make(RegistryApi.ApiV1, { baseUrl })` builds one, with a property for each group of endpoints, and a
method for each endpoint:

* **`health`:** `getHealth`, `getLiveness`, and `getReadiness`.
* **`datasets`:** `listDatasets`, `getDatasetByFqdn`, `searchDatasets`, `aiSearchDatasets`, `getDatasetCountsByChain`,
  `getDatasetCountsByKeyword`, `getDatasetCountsByLastUpdated`, `listDatasetVersions`, `getLatestDatasetVersion`,
  `getDatasetVersionByRevision`, `listLatestDatasetQueries`, `listDatasetQueries`, `getLatestDatasetManifest`, and
  `getDatasetManifest`.
* **`ownedDatasets`:** `listOwnedDatasets` and `searchOwnedDatasets`.
* **`myDatasets`:** `listMyDatasets`, `getMyDatasetByFqdn`, `searchMyDatasets`, `getMyDatasetCountsByChain`,
  `getMyDatasetCountsByKeyword`, `getMyDatasetCountsByLastUpdated`, `getMyDatasetCountsByStatus`,
  `getMyDatasetCountsByVisibility`, `listMyDatasetQueries`, `publishMyDataset`, `publishMyDatasetVersion`,
  `updateMyDatasetMetadata`, `updateMyDatasetVisibility`, `updateMyDatasetVersionStatus`, and
  `archiveMyDatasetVersion`.

## Reference

`@edgeandnode/amp/registry/api` has `ApiV1` and its groups: `HealthApiGroup`, `DatasetsApiGroup`,
`OwnedDatasetsApiGroup`, and `MyDatasetsApiGroup`. `@edgeandnode/amp/registry/domain` has the requests' and responses'
schemas, each a schema and a type of the same name, and `@edgeandnode/amp/registry/error` the
[errors](/sdks/typescript/error-codes#registry-api).
