---
title: "Get All Usage Logs By Search"
method: GET
path: "/app/get_run_history_data_by_search"
tags: ["Dashboard"]
---

# Get All Usage Logs By Search

`GET /app/get_run_history_data_by_search`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/app/get_run_history_data_by_search`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

## Query parameters

- `request_id` string
- `model_name` string
- `created_at` string, date
- `status` string
- `review_status` string
- `q` string, nullable
- `page` integer

## Response `200`

Successful Response

- PaginatedUsageLogResponse
  - `results` UsageLogSummaryResponse[], required
    - `id` string, required
    - `model_name` string, required
    - `status` string, required
    - `created_at` string, date-time, required
    - `cost` number, required
    - `output_data` object, nullable
    - `input_data` object, nullable
    - `review_status` string, nullable
  - `total_results` integer, nullable
  - `total_pages` integer, nullable
  - `current_page` integer, required

## Other responses

- `422`: Validation Error

---

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