# LogQueryResult

> The LogQueryResult object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `lines` * | array of [LogLine](/docs/api/objects/log-line/) |  |
| `next_cursor` | string or null |  |
| `has_more` * | boolean |  |
| `query` | string | The LogsQL the search compiled to (tenant filters are applied server-side and not shown). |
| `dropped_lines` | integer | Lines dropped by per-tenant rate limiting in this window. |

\* always present

## Example

```json
{
  "lines": [
    {
      "id": "lg_9f8e7d6c5b",
      "timestamp": "2026-10-23T14:04:02.123Z",
      "source": "runtime",
      "level": "error",
      "message": "TypeError: Cannot read properties of undefined (reading 'id')",
      "service": {
        "id": "svc_01jbx2m9k7q4r8t5v6w3y0z1sv",
        "name": "web"
      },
      "environment": "production",
      "deployment_id": "dep_01jbx2m9k7q4r8t5v6w3y0z1dp",
      "replica": "web-1",
      "http": null,
      "attributes": {},
      "redacted": false
    }
  ],
  "next_cursor": "string",
  "has_more": false,
  "query": "string",
  "dropped_lines": 1
}
```

## Used by

- [Build and deploy logs of a deployment](/docs/api/deployments/#build-and-deploy-logs-of-a-deployment)
- [Build logs](/docs/api/builds/#build-logs)
- [Search logs](/docs/api/logs/#search-logs)
