---
title: "All Insights"
method: GET
path: "/v2/prisms/ontology/all-insights"
tags: ["Prisms Internal"]
---

# All Insights

`GET /v2/prisms/ontology/all-insights`

The whole prism-eligible insight corpus in one shot.

Served from the in-process store, so the CAMS picker fetches once and
filters client-side instead of round-tripping per keystroke. ``version``
is also the ETag: a client holding the current version gets a 304 with no
body. Provider restriction is applied here rather than in the cached
store, since the blacklist belongs to the account, not the graph.

Served from the published store; when nothing is published for the current
ontology version the corpus is built live for this one response.

## Response `200`

Successful Response

- PrismInsightStoreResponse — Whole prism-eligible corpus, served in one shot for client-side search. Unpaginated by design — the corpus is ~1.2k rows and the picker filters it in memory. ``version`` is the graph version stamp and doubles as the ETag, so a client holding it revalidates into a 304.
  - `version` string, required
  - `total` integer, required
  - `items` InsightStoreItem[], required
    - `insight_id` integer, required
    - `label` string, required
    - `insight_name` string, nullable
    - `sources` string[], nullable
    - `topic_id` integer, nullable
    - `topic_key` string, nullable
    - `topic_label` string, nullable
    - `topic_description` string, nullable
    - `subject_id` integer, nullable
    - `subject_key` string, nullable
    - `subject_label` string, nullable
    - `dataset_id` string, nullable
    - `insight_type` string, nullable
    - `insight_type_label` string, nullable
    - `is_event` boolean, nullable
    - `historic` boolean, nullable
    - `has_entity` boolean, nullable
    - `blocked` integer, nullable
    - `insight_overview` integer, nullable
    - `last_updated_timestamp` string, date-time, nullable
  - `excluded` PrismInsightExcluded, required — Why graph insights were hidden from the prism picker.
    - `provider_restricted` integer
    - `not_daily_grain` integer
    - `not_sum_timeseries` integer
    - `cadence_too_slow` integer

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-api-documentation.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-api-documentation/revisions/4850d81778a4/schema)
