Download OpenAPI specification:
REST API for Obsyk - Observability & Security for AI Workloads
Returns all clusters for the authenticated user's organization
[- {
- "agentVersion": "string",
- "createdAt": "string",
- "id": "string",
- "kubernetesVersion": "string",
- "lastHeartbeatAt": "string",
- "name": "string",
- "namespaceCount": 0,
- "platform": "string",
- "podCount": 0,
- "region": "string",
- "serviceCount": 0,
- "status": "string"
}
]Creates a new cluster and returns OAuth client credentials for agent authentication
Cluster registration request
| name required | string [ 1 .. 253 ] characters |
| publicKey required | string |
{- "name": "string",
- "publicKey": "string"
}{- "clientId": "string",
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "status": "string"
}Returns detailed information for a specific cluster
| id required | string Cluster ID (UUID) |
{- "agentVersion": "string",
- "clusterUid": "string",
- "createdAt": "string",
- "id": "string",
- "kubernetesVersion": "string",
- "lastHeartbeatAt": "string",
- "lastSnapshotAt": "string",
- "name": "string",
- "namespaceCount": 0,
- "platform": "string",
- "podCount": 0,
- "region": "string",
- "serviceCount": 0,
- "status": "string"
}Returns namespaces and resource counts for a specific cluster
| id required | string Cluster ID (UUID) |
{- "namespaces": [
- {
- "id": "string",
- "name": "string",
- "phase": "string"
}
], - "podCount": 0,
- "serviceCount": 0
}Returns all daemonsets for a specific namespace in a cluster
| id required | string Cluster ID (UUID) |
| namespace required | string Namespace name |
[- {
- "createdAt": "string",
- "currentNumberScheduled": 0,
- "desiredNumberScheduled": 0,
- "id": "string",
- "image": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "namespace": "string",
- "numberAvailable": 0,
- "numberMisscheduled": 0,
- "numberReady": 0,
- "numberUnavailable": 0,
- "updatedNumberScheduled": 0
}
]Returns all deployments for a specific namespace in a cluster
| id required | string Cluster ID (UUID) |
| namespace required | string Namespace name |
[- {
- "availableReplicas": 0,
- "createdAt": "string",
- "id": "string",
- "image": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "namespace": "string",
- "readyReplicas": 0,
- "replicas": 0,
- "unavailableReplicas": 0,
- "updatedReplicas": 0
}
]Returns all statefulsets for a specific namespace in a cluster
| id required | string Cluster ID (UUID) |
| namespace required | string Namespace name |
[- {
- "availableReplicas": 0,
- "createdAt": "string",
- "currentReplicas": 0,
- "id": "string",
- "image": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "namespace": "string",
- "podManagementPolicy": "string",
- "readyReplicas": 0,
- "replicas": 0,
- "serviceName": "string",
- "updatedReplicas": 0
}
]Updates a user's role in the organization
| id required | string User ID (UUID) |
Role update request
| role required | string |
{- "role": "string"
}{- "property1": "string",
- "property2": "string"
}Invites a new user to the organization or adds an existing user
Invite request
| email required | string |
| name | string |
| role required | string |
{- "email": "string",
- "name": "string",
- "role": "string"
}{- "property1": "string",
- "property2": "string"
}