---
title: "Get account logs"
method: GET
path: "/rest/api/v1/accounts/{accountId}/logs"
tags: ["Account API"]
---

# Get account logs

`GET /rest/api/v1/accounts/{accountId}/logs`

## Request

- Base URL: `https://api.metacopier.io`
- URL: `https://api.metacopier.io/rest/api/v1/accounts/{accountId}/logs`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/metacopier/apis/metacopier-api/docs/rest/api/v1/accounts/:accountId/logs/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountId` string, uuid, required

## Query parameters

- `limit` integer
- `offset` integer
- `start` string
- `stop` string
- `logTypeId` integer
- `category` string[]
- `eventType` string[]
- `sourceFeatureTypeId` integer
- `sourceFeatureId` string, uuid

## Response `200`

OK

- LogDTO[]
  - `accountId` string, uuid
  - `acknowledged` boolean
  - `category` 'TRADING' | 'COPY_SKIPPED' | 'EXECUTION_ERROR' | 'ACCOUNT_CONNECTION' | 'RISK' | 'NEWS' | 'SIGNALS' | 'SYSTEM' | 'OTHER': Notification category, derived from notificationEventType
  - `customerEmail` string
  - `date` string, date-time: ISO 8601
  - `id` integer
  - `logType` string
  - `notificationEventType` 'POSITION_OPENED' | 'POSITION_CLOSED' | 'POSITION_MODIFIED' | 'HISTORY_UPDATED' | 'TRADE_APPROVAL_REQUIRED' | 'TRADE_APPROVED' | 'UNMANAGED_POSITION_DETECTED' | 'COPY_SKIPPED' | 'ORDER_REJECTED' | 'INSUFFICIENT_MARGIN' | 'TRADE_FAILED_DISCONNECTED' | 'COPY_FAILED' | 'DUPLICATE_POSITION_DETECTED' | 'ACCOUNT_STARTED' | 'ACCOUNT_STOPPED' | 'ACCOUNT_CONNECTED' | 'ACCOUNT_DISCONNECTED' | 'ACCOUNT_LOGIN_FAILED' | 'ACCOUNT_TOKEN_EXPIRING' | 'ACCOUNT_RESTRICTED' | 'ACCOUNT_FALLBACK_MODE' | 'RISK_LIMIT_REACHED' | 'PROFIT_TARGET_REACHED' | 'LOSS_PROTECTED_EXIT' | 'GUARDRAIL_TRIGGERED' | 'COPIER_STOPPED_BY_RISK' | 'LIMIT_RESET' | 'BALANCE_ADJUSTMENT_DETECTED' | 'NEWS_EVENT_UPCOMING' | 'NEWS_EVENT_RELEASED' | 'NEWS_FILTER_ACTION_SCHEDULED' | 'NEWS_FILTER_ACTION_IMMINENT' | 'NEWS_FILTER_DAILY_AGENDA' | 'NEWS_FILTER_SKIPPED_COPY' | 'NEWS_FILTER_CLOSED_POSITION' | 'NEWS_FILTER_REOPENED' | 'NEWS_FILTER_REOPEN_SKIPPED' | 'NEWS_FILTER_HOLIDAY_MODE' | 'MARKET_NEWS_HIGH_IMPACT' | 'SIGNAL_RECEIVED' | 'SIGNAL_EXECUTED' | 'SIGNAL_REJECTED' | 'SIGNAL_AI_LIMIT_REACHED' | 'SIGNAL_SUBSCRIPTION_ENDED' | 'CONFIGURATION_ERROR' | 'CONFIGURATION_CHANGED' | 'MAINTENANCE_WINDOW' | 'PROXY_ISSUE' | 'EXPERT_ADVISOR_STARTED' | 'EXPERT_ADVISOR_STOPPED' | 'EXPERT_ADVISOR_WARNING' | 'LOG_RATE_LIMITED' | 'NOTIFICATION_CHANNEL_DISABLED' | 'GENERAL': Event the log line was tagged with at its source; empty for old entries
  - `projectId` string, uuid
  - `sourceFeatureId` string, uuid: Feature instance (tool) that raised the log line
  - `sourceFeatureTypeId` integer: Feature type (tool) that raised the log line
  - `text` string

## Changes

- **2026-11-02** `2ac6d7461345`: 8 info
  - added the new optional `query` request parameter `category`
  - added the new optional `query` request parameter `eventType`
  - added the new optional `query` request parameter `sourceFeatureId`
  - added the new optional `query` request parameter `sourceFeatureTypeId`
  - …4 more
- **2025-10-14** `097a0d48eb9a`: 1 info
  - added the new optional `query` request parameter `logTypeId`

[Operation history](https://skmtc.dev/metacopier/apis/metacopier-api/changes/rest/api/v1/accounts/:accountId/logs/get.md)

---

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