WingifyGuides

Get details of a specific Metric Report

Retrieve comprehensive details for a specific metric report, including its historical data, status, and associated metadata.


#OpenAPI definition

{
  "openapi": "3.1.0",
  "info": {
    "title": "api",
    "version": "4"
  },
  "servers": [
    {
      "url": "https://app.wingify.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{account_id}/insights-metrics/{report_id}": {
      "get": {
        "description": "",
        "operationId": "get_accounts{account_id}insights-metrics{metrics_report_id}",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                },
                "examples": {
                  "New Example": {
                    "summary": "New Example",
                    "value": {
                      "_data": {
                        "id": 30,
                        "name": "Revenue Report",
                        "platform": "website",
                        "type": "insights-metric",
                        "status": "RUNNING",
                        "createdOn": 1758697912,
                        "modifiedOn": 1758697912,
                        "isDeleted": false,
                        "createdBy": {
                          "name": "VWO Support",
                          "imageUrl": "/assets/images/vwo-support.svg"
                        },
                        "startedOn": "2025-09-24 07:11:54",
                        "dataIntervalRange": {
                          "intervalSize": 86400,
                          "startTime": 1758672000,
                          "endTime": 1758758399,
                          "limitingStartTime": 1758672000,
                          "limitingEndTime": 1758758399
                        },
                        "goals": [
                          {
                            "id": 1,
                            "name": "Revenue Report",
                            "type": "revenue",
                            "description": "",
                            "createdAt": 1758697912,
                            "metricId": 1290,
                            "isArchived": false,
                            "attributionTime": "",
                            "calcLogic": {
                              "logic": "function",
                              "function": "sum",
                              "property": 101764,
                              "unit": "revenue",
                              "apiName": "price"
                            },
                            "events": [
                              {
                                "props": [],
                                "id": "100327-Event",
                                "eventDefinitionType": "CUSTOM",
                                "apiName": "revenue",
                                "name": "revenue",
                                "isComputed": false,
                                "queryElementType": "partialQuery"
                              }
                            ]
                          }
                        ],
                        "visitorData": [
                          {
                            "aggregated": {
                              "totalRevenue": 450,
                              "conversionCount": 1
                            },
                            "intervalWise": [
                              {
                                "totalRevenue": 450,
                                "conversionCount": 1,
                                "interval": 1758672000
                              }
                            ]
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "account_id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "report_id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ]
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}