Project API

Get project logs

Changed on
get/rest/api/v1/projects/{projectId}/logs

Request

Path parameters

projectIdstring uuid required

Query parameters

limitinteger

Get the last logs: e.g. 100 means the last 100 logs

offsetinteger

You can set an offset. Offset 100 means 101-200

logTypeIdinteger

Filter logs by log level type ID. If you choose 3 = Info, then all logs with a lower level are returned. The levels are: 1 = Error, 2 = Warning, 3 = Info.

categorystring[]

Only logs of these notification categories (repeat the parameter or separate with commas)

eventTypestring[]

Only logs of these notification event types (repeat the parameter or separate with commas)

sourceFeatureTypeIdinteger

Only logs produced by this feature type

sourceFeatureIdstring uuid

Only logs produced by this feature

Response

OK

accountIdstring uuid
acknowledgedboolean
category'TRADING' | 'COPY_SKIPPED' | 'EXECUTION_ERROR' | 'ACCOUNT_CONNECTION' | 'RISK' | 'NEWS' | 'SIGNALS' | 'SYSTEM' | 'OTHER'

Notification category, derived from notificationEventType

customerEmailstring
datestring date-time

ISO 8601

idinteger
logTypestring
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

projectIdstring uuid
sourceFeatureIdstring uuid

Feature instance (tool) that raised the log line

sourceFeatureTypeIdinteger

Feature type (tool) that raised the log line

textstring

Changes

    • info

      added the new optional query request parameter category

    • info

      added the new optional query request parameter eventType

    • info

      added the new optional query request parameter sourceFeatureId

    • info

      added the new optional query request parameter sourceFeatureTypeId

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the new optional query request parameter logTypeId