Docs
Live demo
GET/api/v2/targets/{id}/k8s/namespaces/{namespace}/object-names
targets:readAPI token

Retrieve live object names for a namespaced resource in the Kubernetes target, queried directly from the cluster (metadata only). Results are deduplicated, sorted, and capped at the first 500 names. Intended for UI autocomplete suggestions.

Parameters

Path and query3 required of 4
idstringpathrequired

Target ID (UUID)

namespacestringpathrequired

Namespace name (lowercase RFC 1123 label)

resourcestringqueryrequired

Lowercase plural resource name (e.g. deployments)

api_groupstringquery

API group of the resource (e.g. apps, networking.k8s.io). Omit or leave empty for the core group

Responses

200

OK

ListK8sObjectNamesResponse · 2 fields
itemsarray of string
totalinteger

Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close