GET
/v1/organizations/{organizationId}/projects/{projectId}/agent-definitions/{agentDefinitionId}/versions/{agentVersionId}Read one immutable Agent Version
Return one immutable Agent Version, including its manifest, digest, revision, and source provenance.
Authentication
Send an API key as a Bearer token in the Authorization header.
Parameters
Responses
200AgentVersionapplication/json400The request path, headers, query, or JSON body did not satisfy the published schema401Unauthorizedapplication/json403Forbiddenapplication/json404NotFoundapplication/jsonReusable schemas
AgentVersionJsonEncoding
object- unknown properties allowed
false
agentVersionIdrequiredstringThe immutable Agent Version identifier.All of- maximum length
64
A Cantora Agent Version identifier, prefixed with `agent_version_`.- pattern
^agent_version_[\s\S]+$
- maximum length
organizationIdrequiredstringThe Organization identifier.All of- maximum length
64
A Cantora Organization identifier, prefixed with `org_`.- pattern
^org_[\s\S]+$
- maximum length
projectIdrequiredstringThe Project identifier.All of- maximum length
64
A Cantora Project identifier, prefixed with `proj_`.- pattern
^proj_[\s\S]+$
- maximum length
agentDefinitionIdrequiredstringThe Agent Definition identifier.All of- maximum length
64
A Cantora Agent Definition identifier, prefixed with `agentdef_`.- pattern
^agentdef_[\s\S]+$
- maximum length
revisionrequiredintegerThe monotonically increasing revision within the Agent Definition.All of- greater than
0
- greater than
manifestrequired- AgentVersionManifestThe complete immutable Agent behavior and execution-budget declaration.
manifestDigestrequiredstringThe lowercase SHA-256 digest of the normalized manifest.- maximum length
64 - minimum length
64 - pattern
^[0-9a-f]{64}$
- maximum length
createdByPrincipalIdrequiredstringThe Principal that created this immutable record.All of- maximum length
64
A Cantora Principal identifier, prefixed with `principal_`.- pattern
^principal_[\s\S]+$
- maximum length
sourcerequired- AgentVersionSourceThe source revision and automation provenance.
createdAtrequiredstringWhen the resource was created, in UTC.- format
date-time
- format
UnauthorizedJsonEncoding
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Unauthorized"
- allowed values
reasonrequiredstringA safe explanation of why the credential was rejected.
ForbiddenJsonEncoding
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Forbidden"
- allowed values
permissionrequiredstringThe permission required by the refused operation.
NotFoundJsonEncoding
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"NotFound"
- allowed values
resourcerequiredstringThe resource type relevant to the error.idrequiredstringThe identifier supplied for the resource that was not found.
AgentVersionManifest
object- unknown properties allowed
false
schemaVersionrequiredstringThe Agent Version manifest schema identifier.- allowed values
"config.cantora.ai/agent-version/v1alpha2"
- allowed values
instructionsrequiredstringThe complete natural-language instructions for the Agent Version.All of- maximum length
262144
- maximum length
modelrequired- AgentVersionModelThe exact provider model and behavior settings pinned by the Agent Version.
toolsrequired- AgentVersionDependenciesThe tool keys the Agent Version may call.
requiredBindingsrequired- AgentVersionDependenciesThe configuration bindings the Agent Version requires at runtime.
budgetsrequired- AgentVersionBudgetsThe finite execution limits enforced for the Agent Version.
AgentVersionSource
object- unknown properties allowed
false
repositoryrequiredstringThe source repository identifier.All of- minimum length
1
- maximum length
500
- minimum length
commitrequiredstringThe immutable source revision.All of- minimum length
1
- maximum length
500
- minimum length
pathrequiredstringThe path within the source repository.All of- minimum length
1
- maximum length
500
- minimum length
workflowrequiredstringThe source automation workflow identifier.All of- minimum length
1
- maximum length
500
- minimum length
runrequiredstringThe source automation run identifier.All of- minimum length
1
- maximum length
500
- minimum length
AgentVersionModel
Any of
object- unknown properties allowed
false
providerrequiredstringThe model or Surface provider key.- allowed values
"googleVertex"
- allowed values
modelrequiredstringThe exact provider model and behavior settings pinned by the Agent Version.All of- minimum length
1
- maximum length
256
- minimum length
settingsrequired- GoogleVertexModelSettingsThe provider-native settings that change model behavior.
object- unknown properties allowed
false
providerrequiredstringThe model or Surface provider key.- allowed values
"openai"
- allowed values
modelrequiredstringThe exact provider model and behavior settings pinned by the Agent Version.All of- minimum length
1
- maximum length
256
- minimum length
settingsrequired- OpenAiModelSettingsThe provider-native settings that change model behavior.
AgentVersionDependencies
arrayItems
stringAll of
- minimum length
1
- maximum length
100
- pattern
^[a-z][a-z0-9_]*$
All of
- at most items
100
- unique items
true
AgentVersionBudgets
object- unknown properties allowed
false
maxModelStepsrequiredintegerThe maximum number of model calls in one Run.All of- maximum
100 - minimum
1
- maximum
maxToolCallsrequiredintegerThe maximum number of tool calls in one Run.All of- maximum
100 - minimum
0
- maximum
totalWallTimeMsrequiredintegerThe maximum total Run duration in milliseconds.All of- maximum
300000 - minimum
1000
- maximum
modelStepTimeMsrequiredintegerThe maximum duration of one model step in milliseconds.All of- maximum
300000 - minimum
1000
- maximum
streamStallTimeMsrequiredintegerThe maximum duration without stream progress in milliseconds.All of- maximum
300000 - minimum
1000
- maximum
maxInputTokensrequiredintegerThe maximum number of model input tokens.All of- maximum
10000000 - minimum
1
- maximum
maxOutputTokensrequiredintegerThe maximum number of model output tokens.All of- maximum
1000000 - minimum
1
- maximum
maxReasoningTokensrequiredintegerThe maximum number of model reasoning tokens.All of- maximum
1000000 - minimum
0
- maximum
maxTotalTokensrequiredintegerThe maximum total model tokens in one Run.All of- maximum
10000000 - minimum
1
- maximum
maxToolResultBytesrequiredintegerThe maximum aggregate tool-result size in bytes.All of- maximum
10000000 - minimum
1
- maximum
maxEstimatedCostMicrosrequiredintegerThe maximum estimated model cost in millionths of the billing currency.All of- maximum
1000000000 - minimum
1
- maximum
GoogleVertexModelSettings
object- unknown properties allowed
false
thinkingLevelrequiredstringThe Google Vertex-native thinking level.- allowed values
"minimal", "low", "medium", "high"
- allowed values
OpenAiModelSettings
object- unknown properties allowed
false
reasoningEffortrequiredstringThe OpenAI-native reasoning effort.- allowed values
"none", "low", "medium", "high", "xhigh", "max"
- allowed values
reasoningModerequiredstringThe OpenAI-native reasoning mode.- allowed values
"standard", "pro"
- allowed values