Moesif · Schema

searchEventsResponseDTO

AnalyticsMonitoringMonetizationGovernanceObservabilityBillingAI AgentsLLM AnalyticsOpenTelemetryDeveloper PortalPlatformInsightsDeveloper Tools

Properties

Name Type Description
took integer
timed_out boolean
hits object
View JSON Schema on GitHub

JSON Schema

moesif-search-events-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moesif/main/json-schema/moesif-search-events-response-dto-schema.json",
  "title": "searchEventsResponseDTO",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moesif-metrics-api-openapi.yml#/components/schemas/searchEventsResponseDTO",
  "properties": {
    "took": {
      "type": "integer",
      "default": 0
    },
    "timed_out": {
      "type": "boolean",
      "default": false
    },
    "hits": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer",
          "default": 0
        },
        "hits": {
          "type": "array",
          "items": {
            "type": "object",
            "$ref": "#/$defs/eventResponseDTO"
          }
        }
      }
    }
  },
  "$defs": {
    "eventResponseDTO": {
      "properties": {
        "_id": {
          "type": "string",
          "default": ""
        },
        "_source": {
          "type": "object",
          "properties": {
            "company_id": {
              "type": "string",
              "default": ""
            },
            "duration_ms": {
              "type": "integer",
              "default": 0
            },
            "request": {
              "type": "object",
              "properties": {
                "body": {
                  "type": "object"
                },
                "uri": {
                  "type": "string",
                  "default": ""
                },
                "user_agent": {
                  "type": "object",
                  "properties": {
                    "patch": {
                      "type": "string",
                      "default": ""
                    },
                    "major": {
                      "type": "string",
                      "default": ""
                    },
                    "minor": {
                      "type": "string",
                      "default": ""
                    },
                    "name": {
                      "type": "string",
                      "default": ""
                    }
                  }
                },
                "geo_ip": {
                  "type": "object",
                  "properties": {
                    "ip": {
                      "type": "string",
                      "default": ""
                    },
                    "region_name": {
                      "type": "string",
                      "default": ""
                    },
                    "continent_code": {
                      "type": "string",
                      "default": ""
                    },
                    "location": {
                      "type": "array",
                      "items": {
                        "type": "double",
                        "default": 0
                      }
                    },
                    "latitude": {
                      "type": "double",
                      "default": 0
                    },
                    "timezone": {
                      "type": "string",
                      "default": ""
                    },
                    "area_code": {
                      "type": "integer",
                      "default": 0
                    },
                    "longitude": {
                      "type": "double",
                      "default": 0
                    },
                    "real_region_name": {
                      "type": "string",
                      "default": ""
                    },
                    "dma_code": {
                      "type": "integer",
                      "default": 0
                    },
                    "postal_code": {
                      "type": "string",
                      "default": ""
                    },
                    "city_name": {
                      "type": "string",
                      "default": ""
                    },
                    "country_code2": {
                      "type": "string",
                      "default": ""
                    },
                    "country_code3": {
                      "type": "string",
                      "default": ""
                    },
                    "country_name": {
                      "type": "string",
                      "default": ""
                    }
                  }
                },
                "ip_address": {
                  "type": "string",
                  "default": ""
                },
                "verb": {
                  "type": "string",
                  "default": ""
                },
                "route": {
                  "type": "string",
                  "default": ""
                },
                "time": {
                  "type": "string",
                  "default": ""
                },
                "headers": {
                  "type": "object"
                }
              }
            },
            "user_id": {
              "type": "string",
              "default": ""
            },
            "company": {
              "type": "object"
            },
            "response": {
              "type": "object",
              "properties": {
                "body": {
                  "type": "object"
                },
                "transfer_encoding": {
                  "type": "string"
                },
                "status": {
                  "type": "integer",
                  "default": 0
                },
                "time": {
                  "type": "string",
                  "default": ""
                },
                "headers": {
                  "type": "object"
                }
              }
            },
            "id": {
              "type": "string",
              "default": ""
            },
            "event_type": {
              "type": "string"
            },
            "session_token": {
              "type": "string",
              "default": ""
            },
            "metadata": {
              "type": "object"
            },
            "app_id": {
              "type": "string",
              "default": ""
            },
            "org_id": {
              "type": "string",
              "default": ""
            },
            "user": {
              "type": "object"
            }
          }
        },
        "sort": {
          "type": "array",
          "items": {
            "type": "integer",
            "default": 0
          }
        }
      }
    }
  }
}

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/moesif-search-events-response-dto"
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.