Logz.io Search Request
Request body for the Logz.io /v1/search API. Wraps an Elasticsearch-compatible query DSL payload, optionally targeting specific accounts and time windows. Mirrors the upstream Elasticsearch _search request body so existing Lucene / DSL queries port unmodified.
Properties
| Name | Type | Description |
|---|---|---|
| query | object | Elasticsearch query DSL. Supports bool / match / range / term and aggregations. |
| from | integer | Result offset for pagination. |
| size | integer | Maximum number of hits to return. |
| sort | array | Sort clauses applied to the result set. |
| _source | object | Source filtering — boolean or array of field names. |
| aggs | object | Aggregations block, mirroring Elasticsearch _aggs semantics. |
| accountIds | array | Optional list of associated account IDs to scope the query across the multi-account hierarchy. |
| accountIdsAndNames | array | Optional list of accounts identified by both id and name. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/logz-io/main/json-schema/logz-io-search-request-schema.json",
"title": "Logz.io Search Request",
"description": "Request body for the Logz.io /v1/search API. Wraps an Elasticsearch-compatible query DSL payload, optionally targeting specific accounts and time windows. Mirrors the upstream Elasticsearch _search request body so existing Lucene / DSL queries port unmodified.",
"type": "object",
"properties": {
"query": {
"type": "object",
"description": "Elasticsearch query DSL. Supports bool / match / range / term and aggregations."
},
"from": {
"type": "integer",
"minimum": 0,
"description": "Result offset for pagination."
},
"size": {
"type": "integer",
"minimum": 0,
"maximum": 1000,
"description": "Maximum number of hits to return."
},
"sort": {
"type": "array",
"description": "Sort clauses applied to the result set.",
"items": {
"type": "object"
}
},
"_source": {
"description": "Source filtering — boolean or array of field names.",
"oneOf": [
{"type": "boolean"},
{"type": "array", "items": {"type": "string"}},
{"type": "object"}
]
},
"aggs": {
"type": "object",
"description": "Aggregations block, mirroring Elasticsearch _aggs semantics."
},
"accountIds": {
"type": "array",
"description": "Optional list of associated account IDs to scope the query across the multi-account hierarchy.",
"items": {"type": "integer"}
},
"accountIdsAndNames": {
"type": "array",
"description": "Optional list of accounts identified by both id and name.",
"items": {
"type": "object",
"properties": {
"accountId": {"type": "integer"},
"accountName": {"type": "string"}
}
}
}
},
"required": ["query"]
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/logz-io-search-request"
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.