{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-dev-prometheus-labels",
  "title": "Prometheus List Label Names",
  "section": "Library asset reference",
  "description": "List Label Names. Returns one bounded response; follow explicit continuation when supplied.",
  "kind": "node",
  "url": "/wiki/reference-dev-prometheus-labels/",
  "markdown": "/wiki/reference-dev-prometheus-labels/index.md",
  "json": "/wiki/reference-dev-prometheus-labels/index.json",
  "headings": [
    {
      "id": "operation-arguments",
      "title": "Operation arguments",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "provider-operation-contract",
      "title": "Provider operation contract",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "prometheus",
  "pack": "pack_prometheus",
  "contract": {
    "key": "dev.prometheus.labels",
    "slug": "dev-prometheus-labels",
    "name": "Prometheus List Label Names",
    "kind": "node",
    "family": "prometheus",
    "packId": "pack_prometheus",
    "category": "Developer integrations",
    "description": "List Label Names. Returns one bounded response; follow explicit continuation when supplied.",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "start",
        "name": "Start",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "end",
        "name": "End",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "match",
        "name": "Match",
        "type": "string",
        "typeName": "Text",
        "required": false
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "status",
        "name": "Status",
        "type": "number",
        "typeName": "Number",
        "required": true
      },
      {
        "id": "request_id",
        "name": "Request Id",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "operation_url",
        "name": "Operation Url",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "value",
        "name": "Value",
        "type": "def_c5fc8fea11ea",
        "typeName": "Named contract",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "error",
        "name": "On error",
        "type": "control",
        "typeName": "Control",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {
        "baseUrl": {
          "type": "string",
          "maxLength": 2000
        },
        "allowHttp": {
          "type": "boolean",
          "default": false
        },
        "tokenSecret": {
          "type": "string",
          "maxLength": 120
        },
        "username": {
          "type": "string",
          "maxLength": 160
        },
        "usernameSecret": {
          "type": "string",
          "maxLength": 120
        },
        "passwordSecret": {
          "type": "string",
          "maxLength": 120
        },
        "requestTimeoutMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 120000,
          "default": 15000
        },
        "maxBytes": {
          "type": "integer",
          "minimum": 1024,
          "maximum": 3000000,
          "default": 1048576
        },
        "maxPages": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20,
          "default": 1
        },
        "maxItems": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5000,
          "default": 1000
        },
        "confirmWrites": {
          "type": "boolean",
          "default": false
        }
      },
      "additionalProperties": true
    },
    "documentation": "List Label Names. Returns one bounded response; follow explicit continuation when supplied.\n\nGET /api/v1/labels. Read operation.\n\nInputs: start (optional), end (optional), match (optional). Missing inputs may come from the selected connection profile config or explicit node defaults. Outputs: status, request_id, operation_url, value. Optional outputs are absent when the provider omits them. HTTP202 is acceptance, not completed work; operation_url exposes a same-origin asynchronous status URL when supplied.\n\nSetup: configure baseUrl (https://prometheus.example.com), bearer credentials through encrypted secret names or Connections. Default secret name: PROMETHEUS_TOKEN. Connection credentials accessToken/apiKey or username/password are resolved at execution. Never put credentials in literal inputs, baseUrl or logs. Required access: Read permission for the selected resource.\n\nBounds: requestTimeoutMs=15000 (100..120000), maxBytes=1048576 (1024..3000000), maxItems=1000 (1..5000), maxPages=1 (1..20). One bounded request; use the provider-specific explicit paging inputs where offered. HTTPS is required; private HTTP needs allowHttp=true. TLS validation remains enabled. Redirects, cross-origin/escaped continuation URLs and repeated continuations fail. No implicit retries. Error text contains provider/status only, never raw response bodies or credentials. Reconcile an uncertain external action before another attempt.\n\nSynthetic example inputs:\n\n```json\n{}\n```\n\nThis example is documentation, not a run. \n\nSource: https://prometheus.io/docs/prometheus/latest/querying/api/",
    "runtime": "javascript",
    "tags": [
      "developer-packs",
      "prometheus",
      "read"
    ],
    "source": "developer-catalog",
    "operation": {
      "key": "labels",
      "method": "GET",
      "path": "/api/v1/labels",
      "effect": "read",
      "description": "List Label Names. Returns one bounded response; follow explicit continuation when supplied.",
      "scopes": "Read permission for the selected resource.",
      "arguments": {
        "start": {
          "type": "string"
        },
        "end": {
          "type": "string"
        },
        "match": {
          "type": "string"
        }
      },
      "response": {
        "kind": "json",
        "path": [
          "data"
        ],
        "successPath": [
          "status"
        ],
        "successValue": "success"
      },
      "sampleInputs": {},
      "sampleResponse": {
        "status": "success",
        "data": [
          "__name__",
          "job"
        ]
      },
      "sources": [
        "https://prometheus.io/docs/prometheus/latest/querying/api/"
      ]
    }
  }
}
