主题
enums
Generated reference page for
spec/v1/schemas/common/enums.json.
Metadata
- Type: JSON Schema
- Source:
spec/v1/schemas/common/enums.json - Raw: View Raw
Summary
- Schema ID: https://agent-service.spec/v1/schemas/common/enums.json
- Defs: 14
- Properties: 0
- Required: 0
Source
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agent-service.spec/v1/schemas/common/enums.json",
"$defs": {
"organizationStatus": {
"type": "string",
"enum": ["active", "disabled"]
},
"taskResourceType": {
"type": "string",
"enum": ["agent", "tool"]
},
"taskRunKind": {
"type": "string",
"enum": ["shell", "nodejs", "action-flow", "code-flow", "multi-code-flow"]
},
"taskRunEnv": {
"type": "string",
"enum": ["local", "sandbox", "faas"]
},
"taskRunSpaceReleasePolicy": {
"type": "string",
"enum": ["onExit", "delayed", "keepAlive", "never"]
},
"taskStatus": {
"type": "string",
"enum": ["queued", "submitted", "running", "retrying", "canceling", "succeeded", "failed", "canceled"]
},
"messageSource": {
"type": "string",
"enum": ["input", "projection", "system"]
},
"messageRole": {
"type": "string",
"enum": ["system", "user", "assistant", "reasoning", "tool", "activity"]
},
"providerType": {
"type": "string",
"enum": ["local", "sandbox", "faas", "custom"]
},
"sandboxSessionStatus": {
"type": "string",
"enum": ["prepared", "allocated", "running", "releasing", "released", "orphaned"]
},
"checkpointStatus": {
"type": "string",
"enum": ["creating", "ready", "restoring", "failed"]
},
"webhookAlgorithm": {
"type": "string",
"enum": ["HMAC-SHA256"]
},
"webhookEventType": {
"type": "string",
"enum": [
"run.status.changed",
"message.completed",
"artifact.updated",
"tool.call.requested",
"checkpoint.ready"
]
},
"streamTransport": {
"type": "string",
"enum": ["sse", "ndjson", "jsonrpc"]
}
}
}