{
  "opencollection": "1.0.0",
  "info": {
    "name": "Viam Billing Arm Saved Queries API",
    "version": "2026.05"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "key",
      "value": "{{key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Saved Queries",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Viam Create Saved Query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.viam.com/viam.app.data.v1.DataService/CreateSavedQuery",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Persist a named SQL/MQL query in the organization."
        },
        {
          "info": {
            "name": "Viam List Saved Queries",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.viam.com/viam.app.data.v1.DataService/ListSavedQueries",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "List saved queries in an organization."
        },
        {
          "info": {
            "name": "Viam Get Saved Query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.viam.com/viam.app.data.v1.DataService/GetSavedQuery",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieve a saved query by id."
        },
        {
          "info": {
            "name": "Viam Update Saved Query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.viam.com/viam.app.data.v1.DataService/UpdateSavedQuery",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a saved query."
        },
        {
          "info": {
            "name": "Viam Delete Saved Query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.viam.com/viam.app.data.v1.DataService/DeleteSavedQuery",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete a saved query."
        }
      ]
    }
  ],
  "bundled": true
}