WingifyGuides

Get all metric reports

This API request retrieves insights metrics for a specific account. It supports pagination and ordering, with additional options to filter by status and include 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": {
      "get": {
        "description": "",
        "operationId": "get_accounts{account_id}insights-metrics",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_data": {
                      "type": "object",
                      "description": "",
                      "properties": {
                        "partialCollection": {
                          "type": "array",
                          "items": {
                            "properties": {},
                            "type": "object"
                          }
                        },
                        "totalCount": {
                          "type": "number"
                        },
                        "offset": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "New Example": {
                    "summary": "New Example",
                    "value": {
                      "_data": {
                        "partialCollection": [
                          {
                            "id": 27,
                            "name": "new Report",
                            "status": "RUNNING",
                            "createdOn": 1758607258,
                            "modifiedOn": 1758607258,
                            "isDeleted": false,
                            "createdBy": {
                              "name": "VWO Support",
                              "imageUrl": "/assets/images/vwo-support.svg"
                            },
                            "startedOn": "2025-09-23 06:00:58",
                            "dataIntervalRange": {
                              "intervalSize": 86400,
                              "startTime": 1758585600,
                              "endTime": 1758671999,
                              "limitingStartTime": 1758585600,
                              "limitingEndTime": 1758671999
                            },
                            "goals": [
                              {
                                "id": 1,
                                "name": "new Report",
                                "type": "custom-conversion",
                                "description": "",
                                "createdAt": 1758607258,
                                "metricId": 1274,
                                "isArchived": false,
                                "attributionTime": "",
                                "calcLogic": {
                                  "logic": "triggered"
                                },
                                "events": [
                                  {
                                    "props": [
                                      {
                                        "id": "112-Property",
                                        "include": [
                                          {
                                            "queryElementType": "partialQuery",
                                            "id": "90-VwoPageGroup",
                                            "operator": 11,
                                            "rOperandValue": "https://bla.com",
                                            "configurations": {
                                              "ignoreOnlyQueryParams": true,
                                              "ignoreOnlyHashFrag": true,
                                              "caseInsensitive": true
                                            }
                                          }
                                        ],
                                        "exclude": [],
                                        "apiName": "event.targetUrl"
                                      }
                                    ],
                                    "id": "58-Event",
                                    "eventDefinitionType": "STANDARD",
                                    "apiName": "vwo_dom_click",
                                    "name": "Click",
                                    "isComputed": false,
                                    "queryElementType": "partialQuery"
                                  }
                                ]
                              }
                            ]
                          }
                        ],
                        "totalCount": "5",
                        "offset": ""
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "account_id",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "number",
              "default": "25"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}