Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 3.36 KB

logsresponsedto.md

File metadata and controls

39 lines (34 loc) · 3.36 KB

LogsResponseDTO

Example Usage

import { LogsResponseDTO } from "@avalabs/avacloud-sdk/models/components";

let value: LogsResponseDTO = {
  orgId: "<id>",
  logs: [
    {
      orgId: "<id>",
      logId: "<id>",
      eventTimestamp: 1124.27,
      apiKeyId: "<id>",
      apiKeyAlias: "<value>",
      hostRegion: "<value>",
      requestType: "data",
      requestPath: "<value>",
      apiCreditsConsumed: 1830.33,
      requestDurationMsecs: 4030.26,
      responseCode: 7452.33,
      metadata: {
        ipAddress: "a091:4e4c:b3d2:aeba:e16f:932b:ada9:8bda",
        host: "accurate-populist.org",
        userAgent: "<value>",
      },
    },
  ],
};

Fields

Field Type Required Description
nextPageToken string A token, which can be sent as pageToken to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
orgId string ✔️ The organization id of the request.
logs components.LogsFormat[] ✔️ An array of logs representing the requests made by clients.