v1

latestOpenAPI 3.0.3MIT2026-07-17241338.5 KB
Resources

Get a resource

Returns a single resource by kind and name within the organization namespace.

get/api/orgs/{org}/resources/{kind}/{name}

Path parameters

orgstring required
Example:default

Organization slug

kindstring required
Example:Repository

Kubernetes resource kind

namestring required
Example:my-repo

Resource name

Response

Resource object

apiVersionstring required
kindstring required

Resource kind (e.g. Repository, AgentStack)

specobject

Resource spec (kind-specific fields)

statusobject

Resource status (set by controller)

Example response

{
  "apiVersion": "kradle.a5c.ai/v1alpha1",
  "kind": "AgentStack",
  "metadata": {
    "name": "my-stack",
    "namespace": "kradle-org-default"
  }
}