ApiSchemas
Agent
One shape from the contract, as it appears on the wire.
Used by agents.get, agents.getBySlug, agents.list
JSON Schema
{
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/AgentId"
},
"name": {
"type": "string",
"minLength": 1
},
"slug": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentSlug"
},
{
"$ref": "#/components/schemas/DerivedAgentSlug"
}
]
},
"latestVersion": {
"$ref": "#/components/schemas/AgentVersionNumber"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"name",
"latestVersion",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}