Agno · Schema
ApprovalResponse
Response model for a single approval.
AI AgentsMulti-Agent SystemsPython FrameworkLLMMachine LearningAgentic AIOpen SourceAgent Runtime
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| run_id | string | |
| session_id | string | |
| status | string | |
| source_type | string | |
| approval_type | object | |
| pause_type | object | |
| tool_name | object | |
| tool_args | object | |
| expires_at | object | |
| agent_id | object | |
| team_id | object | |
| workflow_id | object | |
| user_id | object | |
| schedule_id | object | |
| schedule_run_id | object | |
| source_name | object | |
| requirements | object | |
| context | object | |
| resolution_data | object | |
| resolved_by | object | |
| resolved_at | object | |
| created_at | object | |
| updated_at | object | |
| run_status | object |
JSON Schema
{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"run_id": {
"type": "string",
"title": "Run Id"
},
"session_id": {
"type": "string",
"title": "Session Id"
},
"status": {
"type": "string",
"title": "Status"
},
"source_type": {
"type": "string",
"title": "Source Type"
},
"approval_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Approval Type"
},
"pause_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Pause Type"
},
"tool_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tool Name"
},
"tool_args": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Tool Args"
},
"expires_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Agent Id"
},
"team_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Team Id"
},
"workflow_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Workflow Id"
},
"user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "User Id"
},
"schedule_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Schedule Id"
},
"schedule_run_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Schedule Run Id"
},
"source_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Name"
},
"requirements": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Requirements"
},
"context": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Context"
},
"resolution_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Resolution Data"
},
"resolved_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Resolved By"
},
"resolved_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Resolved At"
},
"created_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Created At"
},
"updated_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Updated At"
},
"run_status": {
"anyOf": [
{
"$ref": "#/components/schemas/RunStatus"
},
{
"type": "null"
}
]
}
},
"type": "object",
"required": [
"id",
"run_id",
"session_id",
"status",
"source_type"
],
"title": "ApprovalResponse",
"description": "Response model for a single approval.",
"$schema": "https://json-schema.org/draft/2020-12/schema"
}