---
title: "Retrieves the report that matches the provided id"
method: GET
path: "/v1.0/mireports/user-defined"
tags: ["Mi Reports User defined"]
---

# Retrieves the report that matches the provided id

`GET /v1.0/mireports/user-defined`

## Query parameters

- `id` integer, required

## Response `200`

OK

- MiReportUserDefinedDTO
  - `reportName` string, required
  - `description` string
  - `queryDefinition` string, required
  - `categories` MiReportUserDefinedCategoryDTO[]
    - `id` integer, required
    - `name` string
  - `lastUpdatedOn` string, date-time
  - `favourite` boolean

## Other responses

- `400` — Bad Request Error Code | Description MIREPORT1000 | Invalid MI Report type
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2026-08-11** `c3a5c6052f25` — 1 info
  - added the optional property `favourite` to the response with the `200` status
- **2026-07-13** `d1a7e945507c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/mireports/user-defined/get.md)

---

[API](https://skmtc.dev/beis/apis/mets-api-documentation.md) · [All operations](https://skmtc.dev/beis/apis/mets-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beis/mets-api-documentation/revisions/c3a5c6052f25/schema)
