Kubernetes · Agentic Access

Kubernetes Agentic Access

x-agentic-access generated

Kubernetes exposes 34 API operations that an AI agent could call, of which 17 are state-changing ‘acting’ operations. This is a recommended x-agentic-access execution contract — the scope, audience, consequence tier, short-lived token constraints, and escalation each action should carry before it is handed to an autonomous agent.

By consequence: 17 read, 13 write, and 4 physical.

Contracts are classified heuristically from the provider’s OpenAPI and refresh on every APIs.io network build; audience is bound per deployment. The model follows Curity’s Access Intelligence (apidays Munich 2026). Browse every provider’s agent contracts at agentic-access.apis.io.

AutomationCloud NativeCNCFContainersDeploymentOpen SourceOrchestrationScaling
Operations: 34 Acting: 17 Human-in-the-loop: 0 Method: generated

By consequence

read 17 write 13 physical 4

Highest-consequence actions

The physical and safety-critical operations an agent could invoke — the ones that most warrant scoped tokens, tight TTLs, and escalation. Full per-operation contracts are in the source below.

MethodPathConsequenceHuman-in-loop
POST /apis/apps/v1/namespaces/{namespace}/deployments physical conditional
PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name} physical conditional
DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name} physical conditional
PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale physical conditional

Source

Agentic Access

Raw ↑
generated: '2026-07-15'
method: generated
source: openapi/kubernetes-api-openapi.yml
description: Recommended x-agentic-access execution contracts, classified heuristically from
  the OpenAPI. A governance starting point for exposing this API to AI agents — review and bind
  audience per deployment. See research/curity/agentic-governance/.
summary:
  operations: 34
  by_action_class:
    connected: 17
    acting: 17
  by_consequence:
    read: 17
    write: 13
    physical: 4
  human_in_the_loop_required: 0
operations:
- path: /api/v1/namespaces
  method: get
  operationId: listNamespaces
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces
  method: post
  operationId: createNamespace
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{name}
  method: get
  operationId: getNamespace
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces/{name}
  method: put
  operationId: replaceNamespace
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{name}
  method: delete
  operationId: deleteNamespace
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/pods
  method: get
  operationId: listNamespacedPods
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces/{namespace}/pods
  method: post
  operationId: createNamespacedPod
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/pods/{name}
  method: get
  operationId: getNamespacedPod
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces/{namespace}/pods/{name}
  method: put
  operationId: replaceNamespacedPod
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/pods/{name}
  method: delete
  operationId: deleteNamespacedPod
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/pods/{name}/log
  method: get
  operationId: readNamespacedPodLog
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /apis/apps/v1/namespaces/{namespace}/deployments
  method: get
  operationId: listNamespacedDeployments
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /apis/apps/v1/namespaces/{namespace}/deployments
  method: post
  operationId: createNamespacedDeployment
  x-agentic-access:
    action-class: acting
    consequence: physical
    subject: required
    audience: null
    token:
      max-ttl: 300
      exchange: true
      purpose-required: true
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /apis/apps/v1/namespaces/{namespace}/deployments/{name}
  method: get
  operationId: getNamespacedDeployment
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /apis/apps/v1/namespaces/{namespace}/deployments/{name}
  method: put
  operationId: replaceNamespacedDeployment
  x-agentic-access:
    action-class: acting
    consequence: physical
    subject: required
    audience: null
    token:
      max-ttl: 300
      exchange: true
      purpose-required: true
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /apis/apps/v1/namespaces/{namespace}/deployments/{name}
  method: delete
  operationId: deleteNamespacedDeployment
  x-agentic-access:
    action-class: acting
    consequence: physical
    subject: required
    audience: null
    token:
      max-ttl: 300
      exchange: true
      purpose-required: true
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale
  method: get
  operationId: getNamespacedDeploymentScale
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale
  method: put
  operationId: replaceNamespacedDeploymentScale
  x-agentic-access:
    action-class: acting
    consequence: physical
    subject: required
    audience: null
    token:
      max-ttl: 300
      exchange: true
      purpose-required: true
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/services
  method: get
  operationId: listNamespacedServices
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces/{namespace}/services
  method: post
  operationId: createNamespacedService
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/services/{name}
  method: get
  operationId: getNamespacedService
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces/{namespace}/services/{name}
  method: put
  operationId: replaceNamespacedService
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/services/{name}
  method: delete
  operationId: deleteNamespacedService
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/configmaps
  method: get
  operationId: listNamespacedConfigMaps
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces/{namespace}/configmaps
  method: post
  operationId: createNamespacedConfigMap
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/namespaces/{namespace}/secrets
  method: get
  operationId: listNamespacedSecrets
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/namespaces/{namespace}/secrets
  method: post
  operationId: createNamespacedSecret
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /api/v1/nodes
  method: get
  operationId: listNodes
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /api/v1/nodes/{name}
  method: get
  operationId: getNode
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /apis/rbac.authorization.k8s.io/v1/clusterroles
  method: get
  operationId: listClusterRoles
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /apis/rbac.authorization.k8s.io/v1/clusterroles
  method: post
  operationId: createClusterRole
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers
  method: get
  operationId: listNamespacedHorizontalPodAutoscalers
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
- path: /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers
  method: post
  operationId: createNamespacedHorizontalPodAutoscaler
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
- path: /apis/events.k8s.io/v1/namespaces/{namespace}/events
  method: get
  operationId: listNamespacedEvents
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none