Create an Agent Revision.
Create an Agent Revision.
Path Parameters
The ID of the Agent to create a revision for.
Request Body required
The ID of the Agent to create a revision for.
revision object
Represents a Fixie Agent revision.
Whether this is the current Agent revision for this Agent.
runtime object
Runtime parameters ued by this Agent.
The JSON schema representation of runtime parameters used by this Agent's runtime.
The default parameters passed to the Agent runtime. Must conform to the JSON schema specified by the runtime.
deployment object required
The deployment environment for this Agent revision.
external object
An externally-deployed Agent, that can be accessed via a URL.
The Agent's URL endpoint.
managed object
A managed Agent, that is deployed and managed by Fixie.
environmentVariables object
Environment variables passed to the Agent's runtime.
If provided by the client at creation time, the code package used for this AgentRevision. This must be a gzipped tar file containing the Agent's runtime code.
- 200
- default
OK
Schema
revision object
Represents a Fixie Agent revision.
The ID of the Agent this revision belongs to.
The unique ID of this Agent revision.
Whether this is the current Agent revision for this Agent.
The creation time of this Agent revision.
runtime object
Runtime parameters ued by this Agent.
The JSON schema representation of runtime parameters used by this Agent's runtime.
The default parameters passed to the Agent runtime. Must conform to the JSON schema specified by the runtime.
deployment object required
The deployment environment for this Agent revision.
external object
An externally-deployed Agent, that can be accessed via a URL.
The Agent's URL endpoint.
managed object
A managed Agent, that is deployed and managed by Fixie.
environmentVariables object
Environment variables passed to the Agent's runtime.
If provided by the client at creation time, the code package used for this AgentRevision. This must be a gzipped tar file containing the Agent's runtime code.
{
"revision": {
"agentId": "string",
"revisionId": "string",
"isCurrent": true,
"created": "2024-03-07T22:56:07.912Z",
"runtime": {
"parametersSchema": {}
},
"defaultRuntimeParameters": {},
"deployment": {
"external": {
"url": "string"
},
"managed": {
"environmentVariables": {},
"codePackage": "string"
}
}
}
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}