# Logs Object

> Source: https://truto.one/docs/api-reference/admin/logs/

Schema for the `Logs` resource in **Admin API**.

## Properties

- **`_id`** _(string)_
  Unique identifier for the log entry.
- **`timestamp`** _(string)_
  The time at which the log entry was recorded.
- **`metadata`** _(object)_
  Structured metadata captured for the log entry. Fields vary by `log_type`.
  - **`duration`** _(number)_
    Total time, in milliseconds, between Truto receiving the request and sending the response.
  - **`fetch_duration`** _(number)_
    Time, in milliseconds, spent fetching data from the upstream API.
  - **`message`** _(string)_
    Human-readable message describing what happened.
  - **`method`** _(string)_
    The Truto method that was called (`list`, `get`, `create`, `update`, `delete`, or a custom method name).
  - **`resource`** _(string)_
    The Truto resource that was called.
  - **`request_type`** _(string)_
    Whether the request was served by a Unified API, a Proxy API, or an MCP server.
    Allowed: `proxy`, `unified`, `mcp`
  - **`integrated_account_id`** _(string)_
    The integrated account that the request was made against, when applicable.
  - **`integration`** _(string)_
    The integration name that handled the request, when applicable.
  - **`environment_id`** _(string)_
    The environment in which the log was generated.

## Methods

- [GET /log](/docs/api-reference/admin/logs/list) — List logs
