Agno · Schema

AgentSessionDetailSchema

AI AgentsMulti-Agent SystemsPython FrameworkLLMMachine-LearningAgentic AIOpen-SourceAgent Runtime

Properties

Name Type Description
user_id object User ID associated with the session
agent_session_id string Unique agent session identifier
session_id string Session identifier
session_name string Human-readable session name
session_summary object Summary of session interactions
session_state object Current state of the session
agent_id object Agent ID used in this session
total_tokens object Total tokens used in this session
agent_data object Agent-specific data
metrics object Session metrics
metadata object Additional metadata
chat_history object Complete chat history
created_at object Session creation timestamp
updated_at object Last update timestamp
View JSON Schema on GitHub

JSON Schema

agno-agent-session-schema.json Raw ↑
{
  "properties": {
    "user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id",
      "description": "User ID associated with the session"
    },
    "agent_session_id": {
      "type": "string",
      "title": "Agent Session Id",
      "description": "Unique agent session identifier"
    },
    "session_id": {
      "type": "string",
      "title": "Session Id",
      "description": "Session identifier"
    },
    "session_name": {
      "type": "string",
      "title": "Session Name",
      "description": "Human-readable session name"
    },
    "session_summary": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Summary",
      "description": "Summary of session interactions"
    },
    "session_state": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Session State",
      "description": "Current state of the session"
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id",
      "description": "Agent ID used in this session"
    },
    "total_tokens": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Tokens",
      "description": "Total tokens used in this session"
    },
    "agent_data": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Data",
      "description": "Agent-specific data"
    },
    "metrics": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metrics",
      "description": "Session metrics"
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata",
      "description": "Additional metadata"
    },
    "chat_history": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chat History",
      "description": "Complete chat history"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At",
      "description": "Session creation timestamp"
    },
    "updated_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated At",
      "description": "Last update timestamp"
    }
  },
  "type": "object",
  "required": [
    "agent_session_id",
    "session_id",
    "session_name"
  ],
  "title": "AgentSessionDetailSchema",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/agno-agent-session"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.