---
title: "Retrieve the available models for the authenticated user."
method: GET
path: "/domains/{domainId}/schemas"
tags: ["Domains"]
---

# Retrieve the available models for the authenticated user.

`GET /domains/{domainId}/schemas`

## Request

- Base URL: `http://metadata.openintegrationhub.com/api/v1`
- URL: `http://metadata.openintegrationhub.com/api/v1/domains/{domainId}/schemas`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api/docs/domains/:domainId/schemas/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `domainId` string, required

## Response `200`

successful operation

- object
  - `data` Domain[]
    - `name` string, required
    - `description` string
    - `public` boolean
    - `owners` Owner[]
      - `id` string
      - `type` string: Type of Owner entity, e.g. GROUP, TENANT, USER, etc.
    - `id` string, required
    - `createdAt` string, date-time, required: Client creation time
    - `updatedAt` string, date-time: Client update time
  - `meta` Meta
    - `page` integer
    - `perPage` integer
    - `total` integer
    - `totalPages` integer

## Changes

- **2019-07-08** `f3d6b449bc4f`: 1 info
  - the endpoint scheme security `BearerAuth` was added to the API
- **2019-07-08** `1746e9d51ff0`: 1 info
  - the endpoint scheme security `BearerAuth` was removed from the API
- **2019-07-05** `3b62c5b2416c`: 1 info
  - the endpoint scheme security `BearerAuth` was added to the API
- **2019-07-05** `201b1dd7a054`: 1 warning, 2 info
  - removed the optional property `definitons` from the response with the `200` status
  - added the optional property `data` to the response with the `200` status
  - added the optional property `meta` to the response with the `200` status
- **2019-05-13** `52cedae0dc44`: 1 breaking, 1 info
  - the response's body type changed from no type to `object` for status `200`
  - added the optional property `definitons` to the response with the `200` status

[Operation history](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api/changes/domains/:domainId/schemas/get.md)

---

[API](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api.md) - [All operations](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api/revisions/834571f85ba3?raw)
