Skip to content

<!-- CODE GENERATED BY cmd/harbor-gen-protocol-docs. DO NOT EDIT. -->

Protocol wire types

The 224 canonical Harbor Protocol wire types, generated from the single-source inventory (internal/protocol/singlesource.CanonicalWireTypes) by reflection over the declaring packages. Field order is wire order; the Wire key column is the JSON key a client reads and writes. The Protocol version is 0.1.0 (RFC §5.3 — bumping it is an RFC change with a deprecation window).

Unknown-field tolerance: clients SHOULD ignore response fields they do not know (additive evolution is non-breaking); the Runtime rejects unknown REQUEST fields on the surfaces that decode strictly, so send only what a type declares.

Agent

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
namestring
descriptionstring
incarnationint64
version_hashstring
ownerstring
statustypes.AgentStatus
healthtypes.AgentHealth
hostingtypes.AgentHosting
planner_typestring
modelstring
tools_countint
mcp_countint
registered_atstring
updated_atstring

AgentAggregates

Declared in internal/protocol/types.

Wire keyGo typeNotes
totalint64
activeint64
pausedint64
drainedint64

AgentConfig

Declared in internal/protocol/types.

Wire keyGo typeNotes
planner_typestring
planner_configmap[string]stringoptional (omitempty)
modelstring
model_policymap[string]stringoptional (omitempty)
max_stepsint

AgentControlRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring
reasonstringoptional (omitempty)

AgentControlResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agent_idstring
commandstring
statustypes.AgentStatus

AgentCostCeiling

Declared in internal/protocol/types.

Wire keyGo typeNotes
tierstring
limit_usdfloat64
spend_usdfloat64

AgentFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
status[]types.AgentStatusoptional (omitempty)
planner_type[]stringoptional (omitempty)
searchstringoptional (omitempty)

AgentGetRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

AgentGetResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agenttypes.Agent — see Agent
configtypes.AgentConfig — see AgentConfig
agent_card_refstringoptional (omitempty)

AgentGovernance

Declared in internal/protocol/types.

Wire keyGo typeNotes
ceilings[]types.AgentCostCeiling — see AgentCostCeiling
rate_limits[]types.AgentRateLimit — see AgentRateLimit

AgentGovernanceRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

AgentGovernanceResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agent_idstring
governancetypes.AgentGovernance — see AgentGovernance

AgentListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
filtertypes.AgentFilter — see AgentFilteroptional (omitempty)
pageintoptional (omitempty)
page_sizeintoptional (omitempty)

AgentListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agents[]types.Agent — see Agent
pageint
page_sizeint
page_countint
total_rowsint64
aggregatestypes.AgentAggregates — see AgentAggregates

AgentMemoryBinding

Declared in internal/protocol/types.

Wire keyGo typeNotes
strategy_idstring
ttl_secondsint64
scopestring

AgentMemoryRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

AgentMemoryResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agent_idstring
bindingtypes.AgentMemoryBinding — see AgentMemoryBinding

AgentMetrics

Declared in internal/protocol/types.

Wire keyGo typeNotes
active_agentsint64
running_tasksint64
total_cost_usdfloat64
total_tokensint64

AgentMetricsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope

AgentMetricsResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
metricstypes.AgentMetrics — see AgentMetrics

AgentPermissions

Declared in internal/protocol/types.

Wire keyGo typeNotes
modelstring
descriptionstring
allowed_principals[]stringoptional (omitempty)

AgentPermissionsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

AgentPermissionsResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agent_idstring
permissionstypes.AgentPermissions — see AgentPermissions

AgentRateLimit

Declared in internal/protocol/types.

Wire keyGo typeNotes
tierstring
requests_per_minuteint64
max_tokensint64

AgentSkillBinding

Declared in internal/protocol/types.

Wire keyGo typeNotes
skill_idstring
namestring
generatedbool

AgentSkillsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

AgentSkillsResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agent_idstring
skills[]types.AgentSkillBinding — see AgentSkillBinding

AgentToolBinding

Declared in internal/protocol/types.

Wire keyGo typeNotes
tool_idstring
tool_namestring
transportstring
auth_statusstring
binding_scopestringoptional (omitempty)

AgentToolsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

AgentToolsResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
agent_idstring
bindings[]types.AgentToolBinding — see AgentToolBinding

ArtifactRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
mime_typestringoptional (omitempty)
size_bytesint64
filenamestringoptional (omitempty)
sha256stringoptional (omitempty)
namespacestringoptional (omitempty)
scopetypes.ArtifactScope — see ArtifactScope

ArtifactRefSummary

Declared in internal/protocol/types.

Wire keyGo typeNotes
filenamestring
mimestring
size_bytesint64
created_attime.Time

ArtifactRow

Declared in internal/protocol/types.

Wire keyGo typeNotes
reftypes.ArtifactRef — see ArtifactRef
tags[]stringoptional (omitempty)
sourcetypes.ArtifactSourceoptional (omitempty)
driverstringoptional (omitempty)
created_attime.Timeoptional (omitempty)

ArtifactScope

Declared in internal/protocol/types.

Wire keyGo typeNotes
tenantstring
userstring
sessionstring
taskstringoptional (omitempty)

ArtifactsDeleteRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
scopetypes.ArtifactScope — see ArtifactScope
idstring

ArtifactsDeleteResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
deletedbool
protocol_versionstring

ArtifactsGetRefRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
scopetypes.ArtifactScope — see ArtifactScope
idstring
expirytime.Durationoptional (omitempty)

ArtifactsGetRefResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
reftypes.ArtifactRef — see ArtifactRef
presigned_urlstring
expires_attime.Time
protocol_versionstring

ArtifactsListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
scopetypes.ArtifactScope — see ArtifactScope
mime_type[]stringoptional (omitempty)
source[]types.ArtifactSourceoptional (omitempty)
size_range*types.SizeRange — see SizeRangeoptional (omitempty)
created_range*types.TimeRange — see TimeRangeoptional (omitempty)
tags[]stringoptional (omitempty)
limitintoptional (omitempty)

ArtifactsListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
rows[]types.ArtifactRow — see ArtifactRow
total_matchedint
protocol_versionstring

ArtifactsPutOpts

Declared in internal/protocol/types.

Wire keyGo typeNotes
mime_typestringoptional (omitempty)
filenamestringoptional (omitempty)
namespacestringoptional (omitempty)
sourcetypes.ArtifactSourceoptional (omitempty)
tags[]stringoptional (omitempty)

ArtifactsPutRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
scopetypes.ArtifactScope — see ArtifactScope
bytes[]uint8
optstypes.ArtifactsPutOpts — see ArtifactsPutOptsoptional (omitempty)

ArtifactsPutResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
reftypes.ArtifactRef — see ArtifactRef
protocol_versionstring

AuthRotateTokenRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope

AuthRotateTokenResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
new_tokenstring
expires_attime.Time

ControlRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
payloadmap[string]anyoptional (omitempty)
event_idstringoptional (omitempty)

ControlResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
acceptedbool
methodstring
protocol_versionstring

Deprecation

Declared in internal/protocol/types.

Wire keyGo typeNotes
subjectstring
kindtypes.DeprecationKind
deprecated_instring
removed_instring
replacementstringoptional (omitempty)
notestringoptional (omitempty)

Error

Declared in internal/protocol/errors.

Wire keyGo typeNotes
codeerrors.Code
messagestring

EventAggregateRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScopeoptional (omitempty)
filtertypes.EventFilter — see EventFilter
windowtime.Duration
buckettime.Duration

EventAggregateResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
buckets[]types.EventBucket — see EventBucket
protocol_versionstring

EventBucket

Declared in internal/protocol/types.

Wire keyGo typeNotes
bucket_starttime.Time
bucket_endtime.Time
countsmap[string]int64

EventFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
event_types[]stringoptional (omitempty)
tenant_ids[]stringoptional (omitempty)
user_ids[]stringoptional (omitempty)
session_ids[]stringoptional (omitempty)
run_ids[]stringoptional (omitempty)
sincetime.Timeoptional (omitempty)
untiltime.Timeoptional (omitempty)

Flow

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
namestring
ownerstringoptional (omitempty)
versionstringoptional (omitempty)
planner_familystringoptional (omitempty)
node_countint
edge_countint
runs_24hint64
p50_latency_msint64
p95_latency_msint64
success_ratefloat64
last_runtime.Timeoptional (omitempty)
budgettypes.FlowBudget — see FlowBudget

FlowArtifactRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
mime_typestringoptional (omitempty)
size_bytesint64optional (omitempty)
filenamestringoptional (omitempty)
sha256stringoptional (omitempty)

FlowBudget

Declared in internal/protocol/types.

Wire keyGo typeNotes
deadline_msint64optional (omitempty)
request_capintoptional (omitempty)
cost_cap_usdfloat64optional (omitempty)
token_capint64optional (omitempty)

FlowBudgetConsumption

Declared in internal/protocol/types.

Wire keyGo typeNotes
requests_usedint
cost_usd_usedfloat64
tokens_usedint64

FlowDescribeRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

FlowDescription

Declared in internal/protocol/types.

Wire keyGo typeNotes
flowtypes.Flow — see Flow
nodes[]types.FlowNode — see FlowNode
edges[]types.FlowEdge — see FlowEdge
sourcestringoptional (omitempty)
budget_consumptiontypes.FlowBudgetConsumption — see FlowBudgetConsumption

FlowEdge

Declared in internal/protocol/types.

Wire keyGo typeNotes
fromstring
tostring

FlowFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
tenants[]stringoptional (omitempty)
planner_families[]stringoptional (omitempty)
querystringoptional (omitempty)

FlowListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
filtertypes.FlowFilter — see FlowFilter
pageintoptional (omitempty)
page_sizeintoptional (omitempty)

FlowListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
flows[]types.Flow — see Flow
pageint
page_sizeint
page_countint
total_rowsint

FlowMetrics

Declared in internal/protocol/types.

Wire keyGo typeNotes
flow_idstring
window_starttime.Time
window_endtime.Time
buckets[]types.FlowMetricsBucket — see FlowMetricsBucket
budget_consumptiontypes.FlowBudgetConsumption — see FlowBudgetConsumption

FlowMetricsBucket

Declared in internal/protocol/types.

Wire keyGo typeNotes
bucket_starttime.Time
runsint64
p95_latency_msint64
success_ratefloat64
cost_usdfloat64

FlowMetricsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
flow_idstring
window_msint64optional (omitempty)
bucket_msint64optional (omitempty)

FlowNode

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
typetypes.FlowNodeKind
descriptorstringoptional (omitempty)
policy*types.FlowNodePolicy — see FlowNodePolicyoptional (omitempty)

FlowNodePolicy

Declared in internal/protocol/types.

Wire keyGo typeNotes
max_retriesintoptional (omitempty)
timeout_msint64optional (omitempty)

FlowNodeRunState

Declared in internal/protocol/types.

Wire keyGo typeNotes
node_idstring
statustypes.FlowRunStatus
duration_msint64optional (omitempty)
retriesintoptional (omitempty)
error_classstringoptional (omitempty)

FlowRun

Declared in internal/protocol/types.

Wire keyGo typeNotes
run_idstring
flow_idstring
statustypes.FlowRunStatus
triggertypes.FlowRunTrigger
started_attime.Time
duration_msint64optional (omitempty)
cost_usdfloat64optional (omitempty)
identitytypes.IdentityScope — see IdentityScope
error_classstringoptional (omitempty)

FlowRunDescribeRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
run_idstring

FlowRunDescription

Declared in internal/protocol/types.

Wire keyGo typeNotes
runtypes.FlowRun — see FlowRun
node_states[]types.FlowNodeRunState — see FlowNodeRunState
output_previewstringoptional (omitempty)
output_ref*types.FlowArtifactRef — see FlowArtifactRefoptional (omitempty)

FlowRunRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
flow_idstring
inputsmap[string]anyoptional (omitempty)

FlowRunResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
run_idstring
statustypes.FlowRunStatus
started_attime.Time

FlowRunsListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
flow_idstring
tenants[]stringoptional (omitempty)
pageintoptional (omitempty)
page_sizeintoptional (omitempty)

FlowRunsListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
runs[]types.FlowRun — see FlowRun
pageint
page_sizeint
page_countint
total_rowsint

GovernancePostureRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
tenant_idstringoptional (omitempty)

GovernancePostureResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
default_tierstring
resolved_tierstring
identity_tiersmap[string]types.IdentityTierView — see IdentityTierView
protocol_versionstring

HistogramBucket

Declared in internal/protocol/types.

Wire keyGo typeNotes
upper_boundfloat64
countuint64

IdentityScope

Declared in internal/protocol/types.

Wire keyGo typeNotes
tenantstring
userstring
sessionstring
runstringoptional (omitempty)
scopestringoptional (omitempty)
actor*types.IdentityScope — see IdentityScopeoptional (omitempty)
requester*types.IdentityScope — see IdentityScopeoptional (omitempty)
impersonating*types.IdentityScope — see IdentityScopeoptional (omitempty)

IdentityTierView

Declared in internal/protocol/types.

Wire keyGo typeNotes
budget_ceiling_usdfloat64
rate_limittypes.RateLimitView — see RateLimitView
max_tokensint

InterventionSummary

Declared in internal/protocol/types.

Wire keyGo typeNotes
typestring
reasonstring
outcomestring
occurred_attime.Time

LLMPostureRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
tenant_idstringoptional (omitempty)

LLMPostureResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
providerstring
modelstring
regionstring
mock_modebool
protocol_versionstring

MCPAppCallToolRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
toolstring
argumentsjson.RawMessageoptional (omitempty)

MCPAppCallToolResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
toolstring
contentjson.RawMessageoptional (omitempty)
artifact_ref*types.MCPResourceArtifactRef — see MCPResourceArtifactRefoptional (omitempty)
is_errorbool
app*types.MCPAppRef — see MCPAppRefoptional (omitempty)
protocol_versionstring

MCPAppRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
server_idstringoptional (omitempty)
tool_call_idstringoptional (omitempty)
resource_uristring
display_modestringoptional (omitempty)
raw_html_trustedbool

MCPBindingScopeCount

Declared in internal/protocol/types.

Wire keyGo typeNotes
binding_scopestring
countint32

MCPBindingView

Declared in internal/protocol/types.

Wire keyGo typeNotes
principal_idstring
binding_scopestring
scopes[]string
expires_attime.Time
last_used_attime.Time

MCPHealthBucket

Declared in internal/protocol/types.

Wire keyGo typeNotes
start_msint64
latency_msint64

MCPPromptArg

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
descriptionstringoptional (omitempty)
requiredbool

MCPPromptView

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
descriptionstringoptional (omitempty)
arguments[]types.MCPPromptArg — see MCPPromptArg

MCPReconnect

Declared in internal/protocol/types.

Wire keyGo typeNotes
occurred_attime.Time
reasonstringoptional (omitempty)

MCPResourceArtifactRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
mime_typestringoptional (omitempty)
size_bytesint64optional (omitempty)
filenamestringoptional (omitempty)
sha256stringoptional (omitempty)

MCPResourceView

Declared in internal/protocol/types.

Wire keyGo typeNotes
uristring
mime_typestringoptional (omitempty)
size_bytesint64optional (omitempty)
namestringoptional (omitempty)
titlestringoptional (omitempty)

MCPServerBindingsListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerBindingsListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
bindings[]types.MCPBindingView — see MCPBindingView
protocol_versionstring

MCPServerGetRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerGetResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
servertypes.MCPServerView — see MCPServerView
display_modes_advertised[]string
content_shapes[]string
tool_policytypes.MCPToolPolicyView — see MCPToolPolicyView
bindings_summary[]types.MCPBindingScopeCount — see MCPBindingScopeCount
protocol_versionstring

MCPServerHealthRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerHealthResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
handshake_latency_buckets[]types.MCPHealthBucket — see MCPHealthBucket
reconnect_history[]types.MCPReconnect — see MCPReconnect
transport_error_ratefloat64
protocol_versionstring

MCPServerPolicyRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerPolicyResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
tool_policytypes.MCPToolPolicyView — see MCPToolPolicyView
protocol_versionstring

MCPServerProbeRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerProbeResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
okbool
latency_msint64
errorstringoptional (omitempty)
protocol_versionstring

MCPServerPromptsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerPromptsResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
prompts[]types.MCPPromptView — see MCPPromptView
protocol_versionstring

MCPServerRefreshBindingRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring
principal_idstringoptional (omitempty)

MCPServerRefreshBindingResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
authorize_urlstring
statestring
protocol_versionstring

MCPServerRefreshDiscoveryRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerRefreshDiscoveryResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
discovery_idstring
tool_countint32
resource_countint32
prompt_countint32
protocol_versionstring

MCPServerResourcesRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring

MCPServerResourcesResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
resources[]types.MCPResourceView — see MCPResourceView
protocol_versionstring

MCPServerRevokeBindingRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring
principal_idstringoptional (omitempty)

MCPServerRevokeBindingResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
revokedbool
protocol_versionstring

MCPServerSetRawHTMLTrustRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
namestring
trustedbool

MCPServerSetRawHTMLTrustResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
trustedbool
protocol_versionstring

MCPServerView

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
transportstring
url_or_commandstring
statetypes.MCPServerStateView
last_discovery_attime.Time
tool_countint32
resource_countint32
prompt_countint32
recent_latency_msint64
error_rate_per_minfloat64
oauth_binding_countint32
raw_html_trustedbool

MCPServersListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
state[]types.MCPServerStateViewoptional (omitempty)
transport[]stringoptional (omitempty)
has_oauth*booloptional (omitempty)
has_recent_error*booloptional (omitempty)
name_prefixstringoptional (omitempty)
page_tokenstringoptional (omitempty)
page_sizeint32optional (omitempty)

MCPServersListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
servers[]types.MCPServerView — see MCPServerView
next_page_tokenstringoptional (omitempty)
protocol_versionstring

MCPToolPolicyView

Declared in internal/protocol/types.

Wire keyGo typeNotes
timeout_msint64
max_retriesint32
concurrency_capint32

MemoryAggregates

Declared in internal/protocol/types.

Wire keyGo typeNotes
totalint64
expiring_in_1hint64
identity_rejected_24hint64
recovery_dropped_24hint64

MemoryArtifactRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
mime_typestringoptional (omitempty)
size_bytesint64optional (omitempty)
filenamestringoptional (omitempty)
sha256stringoptional (omitempty)

MemoryDeleteRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
keystring

MemoryDeleteResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
deletedbool
remaining_turnsint
protocol_versionstring

MemoryFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
tenant_ids[]stringoptional (omitempty)
user_ids[]stringoptional (omitempty)
session_ids[]stringoptional (omitempty)
agent_ids[]stringoptional (omitempty)
scopes[]stringoptional (omitempty)
drivers[]stringoptional (omitempty)
strategies[]stringoptional (omitempty)
has_ttl_expiringbooloptional (omitempty)
content_searchstringoptional (omitempty)

MemoryGetRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
keystring

MemoryGetResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
detailtypes.MemoryItemDetail — see MemoryItemDetail
protocol_versionstring

MemoryHealthAggregate

Declared in internal/protocol/types.

Wire keyGo typeNotes
totalint64
expiring_in_1hint64
identity_rejected_24hint64
recovery_dropped_24hint64
driver_by_scopemap[string]string

MemoryHealthRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope

MemoryHealthResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
aggregatetypes.MemoryHealthAggregate — see MemoryHealthAggregate
protocol_versionstring

MemoryItem

Declared in internal/protocol/types.

Wire keyGo typeNotes
keystring
strategystring
scopestring
identitytypes.IdentityScope — see IdentityScope
agent_idstringoptional (omitempty)
created_attime.Time
last_updated_attime.Time
expires_attime.Timeoptional (omitempty)
size_bytesint64
heavy_contentbooloptional (omitempty)
driverstring

MemoryItemDetail

Declared in internal/protocol/types.

Wire keyGo typeNotes
itemtypes.MemoryItem — see MemoryItem
value[]uint8optional (omitempty)
value_artifact*types.MemoryArtifactRef — see MemoryArtifactRefoptional (omitempty)
metadatatypes.MemoryMetadata — see MemoryMetadata

MemoryListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
filtertypes.MemoryFilter — see MemoryFilteroptional (omitempty)
pageintoptional (omitempty)
page_sizeintoptional (omitempty)

MemoryListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
items[]types.MemoryItem — see MemoryItem
pageint
page_sizeint
page_countint
total_rowsint
aggregatestypes.MemoryAggregates — see MemoryAggregates
protocol_versionstring

MemoryMetadata

Declared in internal/protocol/types.

Wire keyGo typeNotes
ttltime.Durationoptional (omitempty)
strategy_configmap[string]stringoptional (omitempty)
related_event_ids[]stringoptional (omitempty)

MemoryPutRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
turntypes.MemoryTurnInput — see MemoryTurnInput

MemoryPutResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
keystring
protocol_versionstring

MemoryStrategyTrace

Declared in internal/protocol/types.

Wire keyGo typeNotes
strategystring
summarystring
recent_turn_countint
estimated_tokensint
healthstring

MemoryStrategyTraceRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope

MemoryStrategyTraceResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
tracetypes.MemoryStrategyTrace — see MemoryStrategyTrace
protocol_versionstring

MemoryTurnInput

Declared in internal/protocol/types.

Wire keyGo typeNotes
user_textstring
assistant_textstring

MetricsSnapshot

Declared in internal/protocol/types.

Wire keyGo typeNotes
counters[]types.NamedCounter — see NamedCounter
histograms[]types.NamedHistogram — see NamedHistogram
gauges[]types.NamedGauge — see NamedGauge
snapshot_atint64

NamedCounter

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
valuefloat64
labelsmap[string]stringoptional (omitempty)

NamedGauge

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
valuefloat64
labelsmap[string]stringoptional (omitempty)

NamedHistogram

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
countuint64
sumfloat64
buckets[]types.HistogramBucket — see HistogramBucketoptional (omitempty)
labelsmap[string]stringoptional (omitempty)

PauseArtifactRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
mime_typestringoptional (omitempty)
size_bytesint64optional (omitempty)
filenamestringoptional (omitempty)
sha256stringoptional (omitempty)

PauseFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
status[]stringoptional (omitempty)
tenant_ids[]stringoptional (omitempty)
user_ids[]stringoptional (omitempty)
session_ids[]stringoptional (omitempty)
run_ids[]stringoptional (omitempty)
reasons[]stringoptional (omitempty)
sincetime.Timeoptional (omitempty)
untiltime.Timeoptional (omitempty)

PauseListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
filtertypes.PauseFilter — see PauseFilteroptional (omitempty)
pageintoptional (omitempty)
page_sizeintoptional (omitempty)

PauseListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
snapshots[]types.PauseSnapshot — see PauseSnapshot
pageint
page_sizeint
page_countint
total_rowsint
truncatedbooloptional (omitempty)

PauseSnapshot

Declared in internal/protocol/types.

Wire keyGo typeNotes
tokenstring
reasonstring
statetypes.PauseSnapshotState
identitytypes.IdentityScope — see IdentityScope
paused_attime.Time
resumed_attime.Timeoptional (omitempty)
payloadmap[string]anyoptional (omitempty)
payload_ref*types.PauseArtifactRef — see PauseArtifactRefoptional (omitempty)

RateLimitView

Declared in internal/protocol/types.

Wire keyGo typeNotes
capacityint
refill_tokensint
refill_interval_msint64

ReadMCPResourceRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
server_idstring
resource_uristring

ReadMCPResourceResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
resource_uristring
mime_typestringoptional (omitempty)
contentstringoptional (omitempty)
artifact_ref*types.MCPResourceArtifactRef — see MCPResourceArtifactRefoptional (omitempty)
protocol_versionstring

RunOverrides

Declared in internal/protocol/types.

Wire keyGo typeNotes
session_idstring
reasoning_effort*stringoptional (omitempty)
temperature*float64optional (omitempty)
max_tokens*intoptional (omitempty)
system_prompt_override*stringoptional (omitempty)

RunSetOverridesRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
overridestypes.RunOverrides — see RunOverrides

RunSetOverridesResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
applied_attime.Time
protocol_versionstring

RuntimeCounters

Declared in internal/protocol/types.

Wire keyGo typeNotes
events_per_secondfloat64
tasks_runningint64
background_jobs_activeint64
mcp_connections_healthyint64
sessions_activeint64
snapshot_atint64

RuntimeDrivers

Declared in internal/protocol/types.

Wire keyGo typeNotes
subsystems[]types.SubsystemDriver — see SubsystemDriver

RuntimeHealth

Declared in internal/protocol/types.

Wire keyGo typeNotes
subsystems[]types.SubsystemHealth — see SubsystemHealth

RuntimeInfo

Declared in internal/protocol/types.

Wire keyGo typeNotes
instance_idstring
display_namestringoptional (omitempty)
build_versionstring
build_commitstring
build_datestringoptional (omitempty)
build_go_versionstring
protocol_versionstring
capabilities[]types.Capability
uptime_secondsint64
mcp_app_display_modes[]stringoptional (omitempty)

RuntimeInfoRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope

SearchArtifactRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
mime_typestringoptional (omitempty)
size_bytesint64optional (omitempty)
filenamestringoptional (omitempty)
sha256stringoptional (omitempty)

SearchFacet

Declared in internal/protocol/types.

Wire keyGo typeNotes
keystring
valuestring

SearchFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
tenant_ids[]stringoptional (omitempty)
user_ids[]stringoptional (omitempty)
session_ids[]stringoptional (omitempty)
sincetime.Timeoptional (omitempty)
untiltime.Timeoptional (omitempty)

SearchRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
querystringoptional (omitempty)
indexes[]types.SearchIndexoptional (omitempty)
filtertypes.SearchFilter — see SearchFilteroptional (omitempty)
facets[]types.SearchFacet — see SearchFacetoptional (omitempty)
pageintoptional (omitempty)
page_sizeintoptional (omitempty)

SearchResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
rows[]types.SearchResultRow — see SearchResultRow
pageint
page_sizeint
page_countint
total_countint64
has_morebool
protocol_versionstring

SearchResultRow

Declared in internal/protocol/types.

Wire keyGo typeNotes
indextypes.SearchIndex
idstring
tenant_idstring
user_idstring
session_idstring
run_idstringoptional (omitempty)
occurred_attime.Timeoptional (omitempty)
previewstringoptional (omitempty)
ref*types.SearchArtifactRef — see SearchArtifactRefoptional (omitempty)
facetsmap[string]stringoptional (omitempty)

SessionFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
statuses[]types.SessionStatusoptional (omitempty)
agent_ids[]stringoptional (omitempty)
user_ids[]stringoptional (omitempty)
tenant_ids[]stringoptional (omitempty)
started_windowtypes.Window — see Windowoptional (omitempty)
has_intervention*booloptional (omitempty)
has_failed_task*booloptional (omitempty)
cost_above_cents*int64optional (omitempty)
querystringoptional (omitempty)

SessionRow

Declared in internal/protocol/types.

Wire keyGo typeNotes
session_idstring
statustypes.SessionStatus
agent_idstring
agent_namestring
user_idstring
tenant_idstring
started_attime.Time
last_activity_attime.Time
durationtime.Duration
tasks_countint
events_countint
total_cost_centsint64
total_tokensint64
has_pending_interventionbool
has_failed_taskbool
identitytypes.IdentityScope — see IdentityScope

SessionsInspectRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
session_idstring

SessionsInspectResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
rowtypes.SessionRow — see SessionRow
recent_interventions[]types.InterventionSummary — see InterventionSummary
recent_artifacts[]types.ArtifactRefSummary — see ArtifactRefSummary

SessionsListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
filtertypes.SessionFilter — see SessionFilter
sorttypes.SessionSortoptional (omitempty)
cursorstringoptional (omitempty)
limitintoptional (omitempty)

SessionsListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
rows[]types.SessionRow — see SessionRow
next_cursorstring
truncatedbool

SizeRange

Declared in internal/protocol/types.

Wire keyGo typeNotes
min_bytes*int64optional (omitempty)
max_bytes*int64optional (omitempty)

StartRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
querystringoptional (omitempty)
descriptionstringoptional (omitempty)
priorityintoptional (omitempty)
idempotency_keystringoptional (omitempty)
input_artifact_ids[]stringoptional (omitempty)
input_artifact_dispositionsmap[string]stringoptional (omitempty)

StartResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
task_idstring
reusedbool
protocol_versionstring

SubsystemDriver

Declared in internal/protocol/types.

Wire keyGo typeNotes
subsystemstring
driverstring
modestringoptional (omitempty)

SubsystemHealth

Declared in internal/protocol/types.

Wire keyGo typeNotes
subsystemstring
statusstring
detailstringoptional (omitempty)

TaskCostRollup

Declared in internal/protocol/types.

Wire keyGo typeNotes
total_tokensint64
prompt_tokensint64
output_tokensint64
usdfloat64
per_step[]types.TaskCostStep — see TaskCostStep

TaskCostStep

Declared in internal/protocol/types.

Wire keyGo typeNotes
step_indexint
tokensint64
usdfloat64

TaskDetail

Declared in internal/protocol/types.

Wire keyGo typeNotes
tasktypes.TaskRow — see TaskRow
parent_sessiontypes.TaskParentSessionRef — see TaskParentSessionRef
parent_task*types.TaskParentTaskRef — see TaskParentTaskRefoptional (omitempty)
costtypes.TaskCostRollup — see TaskCostRollup
planner_snapshot*types.TaskPlannerSnapshotRef — see TaskPlannerSnapshotRefoptional (omitempty)
result_ref*types.ArtifactRef — see ArtifactRefoptional (omitempty)
result_inlinestringoptional (omitempty)
trajectory*types.TaskTrajectoryRef — see TaskTrajectoryRefoptional (omitempty)
input_artifacts[]types.TaskInputArtifact — see TaskInputArtifactoptional (omitempty)

TaskFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
statuses[]types.TaskStatusoptional (omitempty)
kinds[]types.TaskKindoptional (omitempty)
parent_task_idstringoptional (omitempty)
identities[]types.IdentityScope — see IdentityScopeoptional (omitempty)
sincetime.Timeoptional (omitempty)
untiltime.Timeoptional (omitempty)
error_classes[]stringoptional (omitempty)
latency_above_msint64optional (omitempty)
searchstringoptional (omitempty)
group_idstringoptional (omitempty)
has_pending_approval*booloptional (omitempty)

TaskGetRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

TaskInputArtifact

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
dispositionstringoptional (omitempty)

TaskListAggregates

Declared in internal/protocol/types.

Wire keyGo typeNotes
pendingint64
runningint64
pausedint64
failedint64
completeint64
cancelledint64

TaskListCursor

Declared in internal/protocol/types.

Wire keyGo typeNotes
next_page_tokenstringoptional (omitempty)

TaskListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
filtertypes.TaskFilter — see TaskFilter
page_sizeintoptional (omitempty)
cursortypes.TaskListCursor — see TaskListCursor
include_status_counter_stripbooloptional (omitempty)

TaskListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
rows[]types.TaskRow — see TaskRow
cursortypes.TaskListCursor — see TaskListCursor
aggregatestypes.TaskListAggregates — see TaskListAggregates
status_counter_strip*types.TasksListStatusCounterStrip — see TasksListStatusCounterStripoptional (omitempty)

TaskParentSessionRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
session_idstring
agent_namestring
statusstring
started_attime.Time
latest_event_attime.Time

TaskParentTaskRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
task_idstring
kindtypes.TaskKind
statustypes.TaskStatus

TaskPlannerSnapshotRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
checkpoint_idstring
summarystring

TaskRow

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
kindtypes.TaskKind
statustypes.TaskStatus
priorityint
identitytypes.IdentityScope — see IdentityScope
parent_session_idstring
parent_task_idstringoptional (omitempty)
descriptionstring
querystring
started_attime.Time
updated_attime.Time
duration_msint64
error_classstringoptional (omitempty)
tool_countint
background_acknowledgedbool
group_idstringoptional (omitempty)
progress*float64optional (omitempty)
tags[]stringoptional (omitempty)
last_activity_attime.Time
is_backgroundbool
has_pending_approvalbool

TaskTrajectoryRef

Declared in internal/protocol/types.

Wire keyGo typeNotes
steps[]types.TaskTrajectoryStep — see TaskTrajectoryStep

TaskTrajectoryStep

Declared in internal/protocol/types.

Wire keyGo typeNotes
indexint
reasoning_tracestring

TasksListStatusCounterStrip

Declared in internal/protocol/types.

Wire keyGo typeNotes
pendingint
runningint
completedint
pausedint
failedint

TimeRange

Declared in internal/protocol/types.

Wire keyGo typeNotes
aftertime.Timeoptional (omitempty)
beforetime.Timeoptional (omitempty)

Tool

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
namestring
versionstring
descriptionstring
scopestring
transporttypes.ToolTransport
oauth_statustypes.ToolOAuthStatus
approval_policytypes.ToolApprovalPolicy
reliability_tierstring
ownerstring
last_used_attime.Time

ToolAggregates

Declared in internal/protocol/types.

Wire keyGo typeNotes
totalint64
activeint64
pending_approvalint64
awaiting_oauthint64

ToolContentBucket

Declared in internal/protocol/types.

Wire keyGo typeNotes
max_bytesint64
countint64

ToolContentStats

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
histogram[]types.ToolContentBucket — see ToolContentBucket
heavy_threshold_bytesint64
heavy_countint64
negotiated_displaymap[string]string

ToolContentStatsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

ToolContextPayload

Declared in internal/protocol/types.

Wire keyGo typeNotes
contentjson.RawMessageoptional (omitempty)
artifact_ref*types.MCPResourceArtifactRef — see MCPResourceArtifactRefoptional (omitempty)

ToolContextRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
server_idstring
tool_call_idstring

ToolContextResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
toolstring
inputtypes.ToolContextPayload — see ToolContextPayload
resulttypes.ToolContextPayload — see ToolContextPayload
is_errorbool
protocol_versionstring

ToolDescribeRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

ToolFilter

Declared in internal/protocol/types.

Wire keyGo typeNotes
scopes[]stringoptional (omitempty)
transports[]types.ToolTransportoptional (omitempty)
oauth_statuses[]types.ToolOAuthStatusoptional (omitempty)
approval_policies[]types.ToolApprovalPolicyoptional (omitempty)
reliability_tiers[]stringoptional (omitempty)
searchstringoptional (omitempty)

ToolGetRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

ToolListRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
filtertypes.ToolFilter — see ToolFilter
pageintoptional (omitempty)
page_sizeintoptional (omitempty)

ToolListResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
tools[]types.Tool — see Tool
pageint
page_sizeint
page_countint
total_rowsint64
aggregatestypes.ToolAggregates — see ToolAggregates

ToolManifest

Declared in internal/protocol/types.

Wire keyGo typeNotes
tooltypes.Tool — see Tool
side_effectstring
args_schemastring
out_schemastring
examples[]string
auth_scopes[]string
oauth_binding_scopestring
retry_attemptsint
timeout_msint64
loading_modestring
display_modesmap[string]string

ToolMetrics

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
windowtypes.ToolMetricsWindow
error_rate_1hfloat64
error_rate_24hfloat64
error_rate_7dfloat64
invocationsint64
failuresint64
statustypes.ToolStatus

ToolMetricsRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring
windowtypes.ToolMetricsWindowoptional (omitempty)

ToolRevokeOAuthRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring

ToolRevokeOAuthResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
revoked_countint64

ToolSetApprovalPolicyRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope
idstring
policytypes.ToolApprovalPolicy

ToolSetApprovalPolicyResponse

Declared in internal/protocol/types.

Wire keyGo typeNotes
idstring
policytypes.ToolApprovalPolicy

TopologyEdge

Declared in internal/protocol/types.

Wire keyGo typeNotes
fromstring
tostring
queue_depthint
queue_capacityint

TopologyNode

Declared in internal/protocol/types.

Wire keyGo typeNotes
namestring
kindtypes.TopologyNodeKind

TopologyProjection

Declared in internal/protocol/types.

Wire keyGo typeNotes
engine_idstring
occurred_attime.Time
nodes[]types.TopologyNode — see TopologyNode
edges[]types.TopologyEdge — see TopologyEdge

TopologySnapshotRequest

Declared in internal/protocol/types.

Wire keyGo typeNotes
identitytypes.IdentityScope — see IdentityScope

Version

Declared in internal/protocol/types.

Wire keyGo typeNotes
Majorint
Minorint
Patchint

VersionHandshake

Declared in internal/protocol/types.

Wire keyGo typeNotes
protocol_versionstring
capabilities[]types.Capability

Window

Declared in internal/protocol/types.

Wire keyGo typeNotes
from*time.Timeoptional (omitempty)
to*time.Timeoptional (omitempty)

Apache-2.0 licensed — see LICENSE.