Metadata

Metadata endpoints for smart media templates

Get server metadata including templates, subtemplates, and estimated costs

get

Retrieves the metadata configuration for this Eliza server including server domain, registered template metadata, Bonsai client version, and storage ACL.

Query parameters
templatestringOptional

Optional template name to filter results to a specific template

Example: video
Responses
200
Server metadata and configuration
application/json
get
GET /metadata HTTP/1.1
Host: eliza.onbons.ai
Accept: */*
200

Server metadata and configuration

{
  "domain": "https://eliza.onbons.ai",
  "version": "1.2.3",
  "templates": [
    {
      "name": "video",
      "description": "Generate AI-powered videos",
      "category": "video",
      "estimatedCost": 0.05,
      "templateData": {
        "form": {
          "sceneDescription": "string",
          "narration": "string",
          "stylePreset": "string"
        }
      }
    }
  ],
  "acl": {
    "address": "0x123...",
    "chainId": 137
  }
}