---
title: "Get raw event logs"
method: POST
path: "/dashboard/api/raw-logs"
tags: ["Dashboard"]
---

# Get raw event logs

`POST /dashboard/api/raw-logs`

## Request

- Base URL: `https://api.agnost.ai`
- URL: `https://api.agnost.ai/dashboard/api/raw-logs`
- Auth: one of:
  - HTTP bearer and API key in header `x-org-id`
  - API key in header `x-api-key`

Returns a paginated event list. Input/output hydration runs only for the selected page and each field is capped at a 64 KiB preview; use `/dashboard/api/event-io` for a full single-event payload.

## Request body

- RawLogsQueryFilters
  - `time_range` '1min' | '1h' | '1d' | '1w' | '1m' | 'all'
  - `connection_type` union
    - string
    - string[]
  - `agent_name` union
    - string
    - string[]
  - `metadata_filters` object[]
    - `key` string
    - `value` string
  - `page` integer
  - `page_size` integer
  - `event_id` string, uuid: Fetches one exact event without applying the approximate raw-log time-window narrowing.
  - `conversation_id` string, uuid: Filters events to one conversation, independently of event_id, and uses the event table's primary-key prefix for an efficient lookup.
  - `search_query` string
  - `success` boolean
  - `exclude_io` boolean: When false, each event includes input/output previews capped at 64 KiB per field. Use `/dashboard/api/event-io` for the full payload of one event.

## Response `200`

Paginated raw log list

## Changes

- **2026-11-03** `a61431b48f36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agnost/apis/agnost-ai-api/changes/dashboard/api/raw-logs/post.md)

---

[API](https://skmtc.dev/agnost/apis/agnost-ai-api.md) - [All operations](https://skmtc.dev/agnost/apis/agnost-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agnost/apis/agnost-ai-api/revisions/a61431b48f36?raw)
