---
title: "Get insight schemas"
method: GET
path: "/network-notifications/v1/insights-schema"
tags: ["Insights"]
---

# Get insight schemas

`GET /network-notifications/v1/insights-schema`

Returns the JSON schema definition for one or all available insights.

Behavior:
- If `insight-id` is provided, returns only the schema for that specific insight.
- If `insight-id` is omitted, returns schemas for all available insights as a JSON string.

## Query parameters

- `insight-id` string

## Response `200`

Insights schema definitions response.

- AIOpsInsightsSchemasResult
  - `schemaJson` string, required — JSON string containing schema definitions keyed by insight ID.
  - `count` integer, required — Number of insight schemas returned.

## Other responses

- `400` — Invalid input received.
- `401` — Unauthorized. Authentication credentials are required or invalid.
- `403` — Forbidden: Access is denied.
- `404` — Not Found error.
- `429` — Too Many Requests. The user has sent too many requests in a given amount of time.
- `500` — Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.net/arubanetworks/apis/authorization.md) · [All operations](https://skmtc.net/arubanetworks/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arubanetworks/authorization/revisions/74c95058b11f/schema)
