Fusio · Schema

Backend_AgentMessageCollection

Base collection

API ManagementOpen SourceREST APIAPI GatewayDeveloper PortalOpenAPISelf-HostedMCP

Properties

Name Type Description
totalResults integer
startIndex integer
itemsPerPage integer
entry array
View JSON Schema on GitHub

JSON Schema

fusio-backend-agent-message-collection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fusio/main/json-schema/fusio-backend-agent-message-collection-schema.json",
  "title": "Backend_AgentMessageCollection",
  "description": "Base collection",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fusio-agent-api-openapi.yml#/components/schemas/Backend_AgentMessageCollection",
  "type": "object",
  "properties": {
    "totalResults": {
      "type": "integer"
    },
    "startIndex": {
      "type": "integer"
    },
    "itemsPerPage": {
      "type": "integer"
    },
    "entry": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Backend_AgentMessage"
      }
    }
  },
  "$defs": {
    "Agent_Item": {
      "oneOf": [
        {
          "$ref": "#/$defs/Agent_ItemBinary"
        },
        {
          "$ref": "#/$defs/Agent_ItemChoice"
        },
        {
          "$ref": "#/$defs/Agent_ItemObject"
        },
        {
          "$ref": "#/$defs/Agent_ItemText"
        },
        {
          "$ref": "#/$defs/Agent_ItemToolCall"
        }
      ],
      "mapping": {
        "binary": "#/components/schemas/Agent_ItemBinary",
        "choice": "#/components/schemas/Agent_ItemChoice",
        "object": "#/components/schemas/Agent_ItemObject",
        "text": "#/components/schemas/Agent_ItemText",
        "tool_call": "#/components/schemas/Agent_ItemToolCall"
      }
    },
    "Agent_ItemBinary": {
      "allOf": [
        {
          "$ref": "#/$defs/Agent_Item"
        },
        {
          "description": "Binary agent message",
          "type": "object",
          "properties": {
            "mime": {
              "description": "The mime of the binary data",
              "type": "string"
            },
            "data": {
              "description": "The base64 encoded binary data",
              "type": "string"
            }
          }
        }
      ]
    },
    "Agent_ItemChoice": {
      "allOf": [
        {
          "$ref": "#/$defs/Agent_Item"
        },
        {
          "description": "Choice agent message",
          "type": "object",
          "properties": {
            "items": {
              "description": "Contains multiple agent items",
              "type": "array",
              "items": {
                "$ref": "#/$defs/Agent_Item"
              }
            }
          }
        }
      ]
    },
    "Agent_ItemObject": {
      "allOf": [
        {
          "$ref": "#/$defs/Agent_Item"
        },
        {
          "description": "Structured agent message",
          "type": "object",
          "properties": {
            "payload": {}
          }
        }
      ]
    },
    "Agent_ItemText": {
      "allOf": [
        {
          "$ref": "#/$defs/Agent_Item"
        },
        {
          "description": "Text agent message",
          "type": "object",
          "properties": {
            "content": {
              "description": "The content text",
              "type": "string"
            }
          }
        }
      ]
    },
    "Agent_ItemToolCall": {
      "allOf": [
        {
          "$ref": "#/$defs/Agent_Item"
        },
        {
          "description": "Tool call agent message",
          "type": "object",
          "properties": {
            "functions": {
              "description": "An array of concrete functions",
              "type": "array",
              "items": {
                "$ref": "#/$defs/Agent_ItemToolCallFunction"
              }
            }
          }
        }
      ]
    },
    "Agent_ItemToolCallFunction": {
      "description": "Concrete values for a function tool call",
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "arguments": {
          "type": "string"
        }
      }
    },
    "Backend_AgentMessage": {
      "description": "This object represents an agent message",
      "type": "object",
      "properties": {
        "id": {
          "description": "Unique identifier for the object",
          "type": "integer"
        },
        "chatId": {
          "description": "The assigned chat id which can be used to load the complete conversation",
          "type": "string"
        },
        "role": {
          "description": "The role of this message i.e. user, assistant or system",
          "type": "string"
        },
        "item": {
          "$ref": "#/$defs/Agent_Item"
        },
        "insertDate": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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/fusio-backend-agent-message-collection"
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.