Skip to content

API Reference

Generated by make docs-sync from tools/gendocs/api. Source of truth is api/proto/keystone/core/v1/*.proto (gRPC) and api/openapi/openapi-spec.yaml (REST). Do not edit by hand — make docs-sync re-runs the generator and git diff will catch drift.

This is an index. For request / response field detail, follow the Source link to the relevant .proto block or the openapi spec entry.

gRPC services

AgentService

RPCRequestResponseSource
GetAgentInfoGetAgentInfoRequestGetAgentInfoResponseapi/proto/keystone/core/v1/agent.proto:38
HeartbeatHeartbeatRequestHeartbeatResponseapi/proto/keystone/core/v1/agent.proto:27
RegisterRegisterRequestRegisterResponseapi/proto/keystone/core/v1/agent.proto:24

BlueprintService

RPCRequestResponseSource
ApplyBlueprintApplyBlueprintRequestApplyBlueprintResponseapi/proto/keystone/core/v1/blueprint.proto:14
GetBlueprintGetBlueprintRequestGetBlueprintResponseapi/proto/keystone/core/v1/blueprint.proto:13
ListBlueprintsListBlueprintsRequestListBlueprintsResponseapi/proto/keystone/core/v1/blueprint.proto:12

ClusterService

RPCRequestResponseSource
AddMemberAddMemberRequestAddMemberResponseapi/proto/keystone/core/v1/cluster.proto:17
CreateBackupCreateBackupRequestCreateBackupResponseapi/proto/keystone/core/v1/cluster.proto:25
GetClusterStatusGetClusterStatusRequestGetClusterStatusResponseapi/proto/keystone/core/v1/cluster.proto:13
GetLeaderGetLeaderRequestGetLeaderResponseapi/proto/keystone/core/v1/cluster.proto:20
GetMemberGetMemberRequestGetMemberResponseapi/proto/keystone/core/v1/cluster.proto:16
ListMembersListMembersRequestListMembersResponseapi/proto/keystone/core/v1/cluster.proto:15
RebalanceRebalanceRequestRebalanceResponseapi/proto/keystone/core/v1/cluster.proto:23
RemoveMemberRemoveMemberRequestRemoveMemberResponseapi/proto/keystone/core/v1/cluster.proto:18
RestoreBackupRestoreBackupRequestRestoreBackupResponseapi/proto/keystone/core/v1/cluster.proto:26
TransferLeaderTransferLeaderRequestTransferLeaderResponseapi/proto/keystone/core/v1/cluster.proto:21
WatchLeadershipWatchLeadershipRequeststream WatchLeadershipResponseapi/proto/keystone/core/v1/cluster.proto:32
WatchMembershipWatchMembershipRequeststream WatchMembershipResponseapi/proto/keystone/core/v1/cluster.proto:29

ControlPlaneService

RPCRequestResponseSource
BatchExecuteCommandBatchExecuteCommandRequeststream BatchExecuteCommandResponseapi/proto/keystone/core/v1/controlplane.proto:39
CancelBatchJobCancelBatchJobRequestCancelBatchJobResponseapi/proto/keystone/core/v1/controlplane.proto:53
ExecuteCommandExecuteCommandRequeststream ExecuteCommandResponseapi/proto/keystone/core/v1/controlplane.proto:33
GetAgentGetAgentRequestGetAgentResponseapi/proto/keystone/core/v1/controlplane.proto:17
GetBatchAgentResultGetBatchAgentResultRequestGetBatchAgentResultResponseapi/proto/keystone/core/v1/controlplane.proto:59
GetBatchJobGetBatchJobRequestGetBatchJobResponseapi/proto/keystone/core/v1/controlplane.proto:45
GetCommandStatusGetCommandStatusRequestGetCommandStatusResponseapi/proto/keystone/core/v1/controlplane.proto:41
ListAgentsListAgentsRequestListAgentsResponseapi/proto/keystone/core/v1/controlplane.proto:16
ListBatchAgentResultsListBatchAgentResultsRequestListBatchAgentResultsResponseapi/proto/keystone/core/v1/controlplane.proto:56
ListBatchJobsListBatchJobsRequestListBatchJobsResponseapi/proto/keystone/core/v1/controlplane.proto:49
ListCommandHistoryListCommandHistoryRequestListCommandHistoryResponseapi/proto/keystone/core/v1/controlplane.proto:42
QuarantineAgentQuarantineAgentRequestQuarantineAgentResponseapi/proto/keystone/core/v1/controlplane.proto:23
ServerStatusServerStatusRequestServerStatusResponseapi/proto/keystone/core/v1/controlplane.proto:14
UnquarantineAgentUnquarantineAgentRequestUnquarantineAgentResponseapi/proto/keystone/core/v1/controlplane.proto:24
VerifyAgentVerifyAgentRequestVerifyAgentResponseapi/proto/keystone/core/v1/controlplane.proto:29

CoordinationService

RPCRequestResponseSource
ClusterHealthClusterHealthRequestClusterHealthResponseapi/proto/keystone/core/v1/coordination.proto:25
LookupLeaderLookupLeaderRequestLookupLeaderResponseapi/proto/keystone/core/v1/coordination.proto:26
NATSStatusNATSStatusRequestNATSStatusResponseapi/proto/keystone/core/v1/coordination.proto:27
NodeHeartbeatNodeHeartbeatRequestNodeHeartbeatResponseapi/proto/keystone/core/v1/coordination.proto:29
PropagateStatePropagateStateRequestPropagateStateResponseapi/proto/keystone/core/v1/coordination.proto:30
RecoveryCoordinateRecoveryCoordinateRequestRecoveryCoordinateResponseapi/proto/keystone/core/v1/coordination.proto:28

EventService

RPCRequestResponseSource
EmitEventEmitEventRequestEmitEventResponseapi/proto/keystone/core/v1/event.proto:18
GetEventGetEventRequestGetEventResponseapi/proto/keystone/core/v1/event.proto:17
GetEventStatsGetEventStatsRequestGetEventStatsResponseapi/proto/keystone/core/v1/event.proto:28
GetEventTypesGetEventTypesRequestGetEventTypesResponseapi/proto/keystone/core/v1/event.proto:27
ListEventsListEventsRequestListEventsResponseapi/proto/keystone/core/v1/event.proto:16
SubscribeEventsSubscribeEventsRequeststream SubscribeEventsResponseapi/proto/keystone/core/v1/event.proto:25

IdentityService

RPCRequestResponseSource
CleanupJoinTokensCleanupJoinTokensRequestCleanupJoinTokensResponseapi/proto/keystone/core/v1/identity.proto:38
CreateJoinTokenCreateJoinTokenRequestCreateJoinTokenResponseapi/proto/keystone/core/v1/identity.proto:23
DeleteJoinTokenDeleteJoinTokenRequestDeleteJoinTokenResponseapi/proto/keystone/core/v1/identity.proto:32
ExportCAExportCARequestExportCAResponseapi/proto/keystone/core/v1/identity.proto:55
GetCAInfoGetCAInfoRequestGetCAInfoResponseapi/proto/keystone/core/v1/identity.proto:43
GetStatusGetStatusRequestGetStatusResponseapi/proto/keystone/core/v1/identity.proto:58
ListJoinTokensListJoinTokensRequestListJoinTokensResponseapi/proto/keystone/core/v1/identity.proto:28
RotateSigningCARotateSigningCARequestRotateSigningCAResponseapi/proto/keystone/core/v1/identity.proto:50

PolicyService

RPCRequestResponseSource
CreatePolicyCreatePolicyRequestCreatePolicyResponseapi/proto/keystone/core/v1/policy.proto:40
DeletePolicyDeletePolicyRequestDeletePolicyResponseapi/proto/keystone/core/v1/policy.proto:42
EvaluatePolicyEvaluatePolicyRequestEvaluatePolicyResponseapi/proto/keystone/core/v1/policy.proto:25
EvaluatePolicySetEvaluatePolicySetRequestEvaluatePolicySetResponseapi/proto/keystone/core/v1/policy.proto:26
GetAuditLogGetAuditLogRequestGetAuditLogResponseapi/proto/keystone/core/v1/policy.proto:37
GetComplianceReportGetComplianceReportRequestGetComplianceReportResponseapi/proto/keystone/core/v1/policy.proto:36
GetPolicyGetPolicyRequestGetPolicyResponseapi/proto/keystone/core/v1/policy.proto:29
GetPolicySetGetPolicySetRequestGetPolicySetResponseapi/proto/keystone/core/v1/policy.proto:31
ListPoliciesListPoliciesRequestListPoliciesResponseapi/proto/keystone/core/v1/policy.proto:30
ListPolicySetsListPolicySetsRequestListPolicySetsResponseapi/proto/keystone/core/v1/policy.proto:32
ListViolationsListViolationsRequestListViolationsResponseapi/proto/keystone/core/v1/policy.proto:33
UpdatePolicyUpdatePolicyRequestUpdatePolicyResponseapi/proto/keystone/core/v1/policy.proto:41

RunbookService

RPCRequestResponseSource
ExecuteRunbookExecuteRunbookRequestExecuteRunbookResponseapi/proto/keystone/core/v1/runbook.proto:14
GetRunbookGetRunbookRequestGetRunbookResponseapi/proto/keystone/core/v1/runbook.proto:13
GetRunbookExecutionGetRunbookExecutionRequestGetRunbookExecutionResponseapi/proto/keystone/core/v1/runbook.proto:15
ListRunbooksListRunbooksRequestListRunbooksResponseapi/proto/keystone/core/v1/runbook.proto:12

SecretsService

RPCRequestResponseSource
DecryptDecryptRequestDecryptResponseapi/proto/keystone/core/v1/secrets.proto:27
DeleteSecretDeleteSecretRequestDeleteSecretResponseapi/proto/keystone/core/v1/secrets.proto:17
EncryptEncryptRequestEncryptResponseapi/proto/keystone/core/v1/secrets.proto:26
GetLeaseGetLeaseRequestGetLeaseResponseapi/proto/keystone/core/v1/secrets.proto:20
GetSecretGetSecretRequestGetSecretResponseapi/proto/keystone/core/v1/secrets.proto:14
ListLeasesListLeasesRequestListLeasesResponseapi/proto/keystone/core/v1/secrets.proto:21
ListSecretsListSecretsRequestListSecretsResponseapi/proto/keystone/core/v1/secrets.proto:15
RenewLeaseRenewLeaseRequestRenewLeaseResponseapi/proto/keystone/core/v1/secrets.proto:22
RevokeLeaseRevokeLeaseRequestRevokeLeaseResponseapi/proto/keystone/core/v1/secrets.proto:23
SignSignRequestSignResponseapi/proto/keystone/core/v1/secrets.proto:28
VerifyVerifyRequestVerifyResponseapi/proto/keystone/core/v1/secrets.proto:29
WriteSecretWriteSecretRequestWriteSecretResponseapi/proto/keystone/core/v1/secrets.proto:16

StateService

RPCRequestResponseSource
ApplyStateApplyStateRequeststream ApplyStateResponseapi/proto/keystone/core/v1/state.proto:22
CheckStateCheckStateRequestCheckStateResponseapi/proto/keystone/core/v1/state.proto:26
DetectDriftDetectDriftRequestDetectDriftResponseapi/proto/keystone/core/v1/state.proto:30
GetStateHistoryGetStateHistoryRequestGetStateHistoryResponseapi/proto/keystone/core/v1/state.proto:34
GetStateStatusGetStateStatusRequestGetStateStatusResponseapi/proto/keystone/core/v1/state.proto:38
RollbackStateRollbackStateRequeststream RollbackStateResponseapi/proto/keystone/core/v1/state.proto:46

REST endpoints

Source: api/openapi/openapi-spec.yaml. Method / path tuples below.

MethodPathSource
GET/api/v1/agentsapi/openapi/openapi-spec.yaml:363
GET/api/v1/agents/{id}api/openapi/openapi-spec.yaml:400
DELETE/api/v1/agents/{id}api/openapi/openapi-spec.yaml:413
GET/api/v1/apikeysapi/openapi/openapi-spec.yaml:425
POST/api/v1/apikeysapi/openapi/openapi-spec.yaml:441
GET/api/v1/apikeys/{id}api/openapi/openapi-spec.yaml:476
DELETE/api/v1/apikeys/{id}api/openapi/openapi-spec.yaml:488
GET/api/v1/cluster/statusapi/openapi/openapi-spec.yaml:499
GET/api/v1/cluster/leaderapi/openapi/openapi-spec.yaml:517
GET/api/v1/cluster/membersapi/openapi/openapi-spec.yaml:532
POST/api/v1/cluster/membersapi/openapi/openapi-spec.yaml:544
GET/api/v1/cluster/members/{id}api/openapi/openapi-spec.yaml:556
DELETE/api/v1/cluster/members/{id}api/openapi/openapi-spec.yaml:566
POST/api/v1/cluster/backupapi/openapi/openapi-spec.yaml:573
POST/api/v1/cluster/restoreapi/openapi/openapi-spec.yaml:588
GET/api/v1/eventsapi/openapi/openapi-spec.yaml:597
POST/api/v1/eventsapi/openapi/openapi-spec.yaml:617
GET/api/v1/events/typesapi/openapi/openapi-spec.yaml:636
GET/api/v1/events/statsapi/openapi/openapi-spec.yaml:652
GET/api/v1/events/{id}api/openapi/openapi-spec.yaml:677
GET/api/v1/execution/commandsapi/openapi/openapi-spec.yaml:691
POST/api/v1/execution/commandsapi/openapi/openapi-spec.yaml:706
POST/api/v1/execution/batchapi/openapi/openapi-spec.yaml:739
GET/api/v1/execution/commands/{id}api/openapi/openapi-spec.yaml:773
DELETE/api/v1/execution/commands/{id}api/openapi/openapi-spec.yaml:784
GET/api/v1/gitops/reposapi/openapi/openapi-spec.yaml:794
POST/api/v1/gitops/reposapi/openapi/openapi-spec.yaml:800
DELETE/api/v1/gitops/repos/{id}api/openapi/openapi-spec.yaml:812
POST/api/v1/gitops/syncapi/openapi/openapi-spec.yaml:819
POST/api/v1/gitops/webhookapi/openapi/openapi-spec.yaml:826
GET/api/v1/maintenance/windowsapi/openapi/openapi-spec.yaml:837
POST/api/v1/maintenance/windowsapi/openapi/openapi-spec.yaml:843
GET/api/v1/maintenance/windows/{id}api/openapi/openapi-spec.yaml:855
DELETE/api/v1/maintenance/windows/{id}api/openapi/openapi-spec.yaml:862
GET/api/v1/policiesapi/openapi/openapi-spec.yaml:872
GET/api/v1/policies/{id}api/openapi/openapi-spec.yaml:890
POST/api/v1/policies/evaluateapi/openapi/openapi-spec.yaml:902
GET/api/v1/policies/violationsapi/openapi/openapi-spec.yaml:918
GET/api/v1/policies/complianceapi/openapi/openapi-spec.yaml:931
GET/api/v1/policies/auditapi/openapi/openapi-spec.yaml:938
GET/api/v1/runbooksapi/openapi/openapi-spec.yaml:947
POST/api/v1/runbooksapi/openapi/openapi-spec.yaml:953
GET/api/v1/runbooks/{id}api/openapi/openapi-spec.yaml:965
DELETE/api/v1/runbooks/{id}api/openapi/openapi-spec.yaml:972
POST/api/v1/runbooks/{id}/runapi/openapi/openapi-spec.yaml:985
GET/api/v1/schedulesapi/openapi/openapi-spec.yaml:1001
POST/api/v1/schedulesapi/openapi/openapi-spec.yaml:1007
GET/api/v1/schedules/{id}api/openapi/openapi-spec.yaml:1019
DELETE/api/v1/schedules/{id}api/openapi/openapi-spec.yaml:1026
GET/api/v1/secrets/{path}api/openapi/openapi-spec.yaml:1046
PUT/api/v1/secrets/{path}api/openapi/openapi-spec.yaml:1062
DELETE/api/v1/secrets/{path}api/openapi/openapi-spec.yaml:1072
GET/api/v1/leasesapi/openapi/openapi-spec.yaml:1079
GET/api/v1/leases/{id}api/openapi/openapi-spec.yaml:1097
POST/api/v1/leases/{id}/renewapi/openapi/openapi-spec.yaml:1114
POST/api/v1/leases/{id}/revokeapi/openapi/openapi-spec.yaml:1130
POST/api/v1/transit/encryptapi/openapi/openapi-spec.yaml:1137
POST/api/v1/transit/decryptapi/openapi/openapi-spec.yaml:1144
POST/api/v1/transit/signapi/openapi/openapi-spec.yaml:1151
POST/api/v1/transit/verifyapi/openapi/openapi-spec.yaml:1158
POST/api/v1/state/applyapi/openapi/openapi-spec.yaml:1174
POST/api/v1/state/checkapi/openapi/openapi-spec.yaml:1198
POST/api/v1/state/driftapi/openapi/openapi-spec.yaml:1205
GET/api/v1/state/runsapi/openapi/openapi-spec.yaml:1212
GET/api/v1/state/runs/{id}api/openapi/openapi-spec.yaml:1224
GET/api/v1/webhooksapi/openapi/openapi-spec.yaml:1234
POST/api/v1/webhooksapi/openapi/openapi-spec.yaml:1240
GET/api/v1/webhooks/{id}api/openapi/openapi-spec.yaml:1252
DELETE/api/v1/webhooks/{id}api/openapi/openapi-spec.yaml:1259
POST/api/v1/webhooks/{id}/testapi/openapi/openapi-spec.yaml:1272