For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Domain keys

Technical Preview

The Go SDK is a technical preview. Its API surface may still evolve and changes may not follow semantic versioning. Pin an exact version if you need stability.

The Camunda Domain Type System replaces the bare string identifiers emitted by the OpenAPI generator with validated named types. Passing a ProcessInstanceKey where a JobKey is expected is a compile error, so whole classes of identifier mix-ups are caught before the request is sent.

import openapi "github.com/camunda/orchestration-cluster-api-go/client"

Every key type exposes the same surface, shown here for AgentDefinitionKey:

Function or methodDescription
MustAgentDefinitionKey(s string) AgentDefinitionKeyMustAgentDefinitionKey is like NewAgentDefinitionKey but panics if s is invalid.
NewAgentDefinitionKey(s string) (AgentDefinitionKey, error)NewAgentDefinitionKey validates s against the AgentDefinitionKey constraints and returns a AgentDefinitionKey.
(k AgentDefinitionKey) String() stringString returns the underlying string value.
(k AgentDefinitionKey) Validate() errorValidate reports whether k satisfies the AgentDefinitionKey constraints.

Key types

Key typeUnderlyingDescription
AgentDefinitionKeystringIdentifier for an agent definition.
AgentHistoryItemKeystringIdentifier for an agent history item.
AgentInstanceKeystringIdentifier for an agent instance.
AuditLogEntityKeystringIdentifier for an audit log entity.
AuditLogKeystringIdentifier for an audit log.
AuthorizationKeystringIdentifier for an authorization.
BatchOperationKeystringIdentifier for a batch operation.
BusinessIdstringIdentifier for a business.
ClientIdstringIdentifier for a client.
ClusterVariableNamestringName of a cluster variable.
ConditionalEvaluationKeystringIdentifier for a conditional evaluation.
DecisionDefinitionIdstringIdentifier for a decision definition.
DecisionDefinitionKeystringIdentifier for a decision definition.
DecisionEvaluationInstanceKeystringIdentifier for a decision evaluation instance.
DecisionEvaluationKeystringIdentifier for a decision evaluation.
DecisionInstanceKeystringIdentifier for a decision instance.
DecisionRequirementsKeystringIdentifier for a decision requirements.
DeploymentKeystringIdentifier for a deployment.
DocumentIdstringIdentifier for a document.
ElementIdstringIdentifier for an element.
ElementInstanceKeystringIdentifier for an element instance.
EndCursorstringPagination cursor marking the end of a result page.
FormIdstringIdentifier for a form.
FormKeystringIdentifier for a form.
GlobalListenerIdstringIdentifier for a global listener.
GroupIdstringIdentifier for a group.
IncidentKeystringIdentifier for an incident.
JobKeystringIdentifier for a job.
MappingRuleIdstringIdentifier for a mapping rule.
MessageKeystringIdentifier for a message.
MessageSubscriptionKeystringIdentifier for a message subscription.
ProcessDefinitionIdstringIdentifier for a process definition.
ProcessDefinitionKeystringIdentifier for a process definition.
ProcessInstanceKeystringIdentifier for a process instance.
ResourceKeystringIdentifier for a resource.
RoleIdstringIdentifier for a role.
SignalKeystringIdentifier for a signal.
StartCursorstringPagination cursor marking the start of a result page.
TagstringValidated tag value.
TenantIdstringIdentifier for a tenant.
UserTaskKeystringIdentifier for a user task.
UsernamestringValidated username value.
VariableKeystringIdentifier for a variable.

Each key also has a matching <Key>ExactMatch wrapper used by the search filter models to express an exact-value match.