---
title: "List recently ran queries"
method: GET
path: "/inventory/api/v1/query/run/history"
tags: ["named_query"]
---

# List recently ran queries

`GET /inventory/api/v1/query/run/history`

## Request

- Base URL: `https://api.opengovernance.io`
- URL: `https://api.opengovernance.io/inventory/api/v1/query/run/history`
- Auth: API key in header `Authorization`

List queries which have been run recently

## Response `200`

OK

- GithubComOpengovernOpengovernancePkgInventoryApiNamedQueryHistory[]
  - `executed_at` string
  - `query` string

---

[API](https://skmtc.dev/opengovern/apis/opengovernance-service-api.md) - [All operations](https://skmtc.dev/opengovern/apis/opengovernance-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opengovern/apis/opengovernance-service-api/revisions/ab05295c4094?raw)
