v1

latestSwagger 2.02026-07-17172265595.1 KB
named_query

Get named query by ID

Retrieving list of named queries by specified filters and tags filters

get/inventory/api/v3/query/{query_id}

Path parameters

query_idstring required

QueryID

Response

OK

descriptionstring
idstring

Query Id

integration_typesstring[]

Provider

tagsobject

Tags

titlestring

Title

Example response

{
  "query": {
    "createdAt": "2023-06-07T14:00:15.677558Z",
    "engine": "steampipe-v0.5",
    "id": "azure_ad_manual_control",
    "listOfTables": [
      "null"
    ],
    "parameters": [
      {
        "key": "key",
        "required": true
      }
    ],
    "primaryTable": "null",
    "queryToExecute": "select\n  -- Required Columns\n  'active_directory' as resource,\n  'info' as status,\n  'Manual verification required.' as reason;\n",
    "updatedAt": "2023-06-16T14:58:08.759554Z"
  }
}