# Get metadata template details

`GET /api/v1/Tenants/{tenantId}/MetadataTemplate/{templateId}`

Core API · MetadataTemplates · base URL `https://core-api.ancon.io` · auth: `Access-Token` header · docs: https://ancon.dev/api/core/metadata-templates/get-metadata-template-details

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `templateId` | string (uuid) | yes |  |
| `tenantId` | string (uuid) | yes |  |

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `correlationId` | string | no | Correlation Id for the request |

## Responses

| Status | Description |
| --- | --- |
| 200 | OK |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Not Found |

### 200 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `metaDataTemplate` | object or null | no |  |
| `metaDataTemplate.id` | string (uuid) | no |  |
| `metaDataTemplate.type` | integer (int32) | no | Allowed values: `0`. |
| `metaDataTemplate.isDeleted` | boolean | no |  |
| `metaDataTemplate.created` | string (date-time) | no |  |
| `metaDataTemplate.modified` | string (date-time) | no |  |
| `metaDataTemplate.deleted` | string (date-time) or null | no |  |
| `metaDataTemplate.tenantId` | string (uuid) | no |  |
| `metaDataTemplate.data` | map<string, array<array<array<array>>>> or null | no |  |

#### Example

```json
{
  "metaDataTemplate": {
    "id": "aa5a7192-22ad-4dca-aef3-cd8fbbdf46b1",
    "type": 0,
    "isDeleted": false,
    "created": "2026-10-23T14:33:34.1212729Z",
    "modified": "2026-10-23T14:33:34.1212729Z",
    "deleted": null,
    "tenantId": "e57844e8-22c6-4b8d-9e06-af44c2a085c2",
    "data": {
      "UserSchemaProperties": "abc"
    }
  }
}
```

### 400 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |
| `errorCode` | string (uuid) | no |  |
| `additionalData` | any or null | no |  |

#### Delivery request is not valid

```json
{
  "message": "Delivery information is not valid!",
  "errorCode": "41fcedd1-dfef-4d0d-a5b3-2e28da7dfc9a",
  "additionalData": null
}
```

### 401 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |

#### Example (from schema)

```json
{
  "message": "string"
}
```

### 404 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |
| `errorCode` | string (uuid) | no |  |

#### Example (from schema)

```json
{
  "message": "string",
  "errorCode": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```

## Example request

```bash
curl -X GET "https://core-api.ancon.io/api/v1/Tenants/{tenantId}/MetadataTemplate/{templateId}" \
  -H "Access-Token: $ANCON_TOKEN"
```
