> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/deployment/monitoring-and-analytics/vision-events/get-image-metadata-schema.md).

# Get Image Metadata Schema

## About

This endpoint returns the [image metadata](/deployment/monitoring-and-analytics/vision-events/create-a-vision-event.md#image-metadata) keys that events in a [Use Case](/deployment/monitoring-and-analytics/vision-events/use-cases.md) have used, with the value types seen for each key. Use it to discover which keys exist, since image metadata is set per event rather than by a fixed schema.

Keys are for discovery and display only. You cannot filter [event queries](/deployment/monitoring-and-analytics/vision-events/query-events.md) on them yet. For event-level keys, use [Get Custom Metadata Schema](/deployment/monitoring-and-analytics/vision-events/get-custom-metadata-schema.md) instead.

## HTTP API

**Required scope:** `vision-events:read`

{% openapi src="/files/sCDP9kVopV4JkkRK7GDd" path="/vision-events/image-metadata-schema/{useCaseId}" method="get" %}
[openapi.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-2afefc06c784ca78eb7ec96a99bee48f8a2daaa5%2Fopenapi.yaml?alt=media)
{% endopenapi %}

A key stays listed until its data ages out, so a key can appear after the last event that used it was replaced.
