---
updatedAt: 2025-08-27T17:31:51.000Z
agentTools:
  projectIndex: https://documentation.bunnyshell.com/llms.txt
---

# Get kubernetes resources

Get kubernetes resources

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Bunnyshell Environments",
    "description": "Interact with Bunnyshell Platform",
    "termsOfService": "https://www.bunnyshell.com/bunnyshell-customer-agreement/",
    "contact": {
      "name": "API Support",
      "url": "https://www.bunnyshell.com/",
      "email": "osi+support@bunnyshell.com"
    },
    "version": "1.1.0"
  },
  "servers": [
    {
      "url": "api.environments.bunnyshell.com/",
      "description": ""
    }
  ],
  "paths": {
    "/v1/components/{id}/resources": {
      "get": {
        "operationId": "componentResources",
        "tags": [
          "component"
        ],
        "responses": {
          "200": {
            "description": "component resource",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/component.Resource-item"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Resource not found"
          },
          "4XX": {
            "description": "Request Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/problem.generic"
                }
              }
            }
          }
        },
        "summary": "Get kubernetes resources",
        "description": "Get kubernetes resources",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Resource identifier",
            "required": true,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "simple",
            "explode": false
          }
        ],
        "deprecated": false
      },
      "parameters": []
    }
  },
  "components": {
    "schemas": {
      "component.Resource-item": {
        "type": "object",
        "description": "A service component represents either an application or a group of applications as a single unit",
        "properties": {
          "kind": {
            "description": "Kubernetes resource kind.",
            "type": "string"
          },
          "name": {
            "description": "Kubernetes resource name.",
            "type": "string"
          },
          "namespace": {
            "description": "Kubernetes resource namespace.",
            "type": "string",
            "nullable": true
          }
        }
      },
      "problem.generic": {
        "type": "object",
        "description": "Generic Error",
        "properties": {
          "title": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "violations": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/problem.violation"
            }
          }
        }
      },
      "problem.violation": {
        "type": "object",
        "description": "A validation error",
        "properties": {
          "propertyPath": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "oauth": {
        "type": "oauth2",
        "description": "OAuth 2.0 password Grant",
        "flows": {
          "password": {
            "tokenUrl": "/token",
            "refreshUrl": "refresh",
            "scopes": {}
          }
        }
      },
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "Value for the X-Auth-Token header parameter.",
        "name": "X-Auth-Token",
        "in": "header"
      },
      "JWT": {
        "type": "apiKey",
        "description": "Value for the Authorization header parameter.",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "oauth": []
    },
    {
      "ApiKeyAuth": []
    },
    {
      "JWT": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```