---
updatedAt: 2025-09-04T21:12:30.000Z
agentTools:
  projectIndex: https://docs.writesonic.com/llms.txt
---

# Performance Summary (Daily)

Daily aggregated KPIs per website for the specified date. Averages across prompts and platforms.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Geo Presence API V2 - Performance Exports",
    "version": "2.0.0",
    "description": "JSON performance export endpoints for Geo Presence. CSV/XML support coming soon.\n\nExports:\n- Performance Summary\n- Performance Prompts (prompt-level aggregates)\n- Performance Answers (response-level rows)"
  },
  "servers": [
    {
      "url": "https://api.writesonic.com",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "APIKeyHeader": []
    }
  ],
  "tags": [
    {
      "name": "Geo Presence Export",
      "description": "Performance export endpoints for Geo Presence data"
    }
  ],
  "paths": {
    "/v2/geo/presence/business/export/performance/summary": {
      "get": {
        "tags": [
          "Geo Presence Export"
        ],
        "summary": "Performance Summary (Daily)",
        "description": "Daily aggregated KPIs per website for the specified date. Averages across prompts and platforms.",
        "operationId": "performance_summary_v2_geo_presence_business_export_performance_summary_get",
        "parameters": [
          {
            "$ref": "#/components/parameters/FormatParam"
          },
          {
            "$ref": "#/components/parameters/DateParam"
          },
          {
            "$ref": "#/components/parameters/CompareDateParam"
          },
          {
            "$ref": "#/components/parameters/TopicIdParam"
          },
          {
            "$ref": "#/components/parameters/PlatformIdParam"
          },
          {
            "$ref": "#/components/parameters/UrlParam"
          },
          {
            "$ref": "#/components/parameters/ProjectIdParam"
          },
          {
            "$ref": "#/components/parameters/WebsiteIdsParam"
          },
          {
            "$ref": "#/components/parameters/PageParam"
          },
          {
            "$ref": "#/components/parameters/SizeParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedPerformanceSummary"
                },
                "example": {
                  "items": [
                    {
                      "date": "2025-08-07",
                      "website_id": "18e08d93-8497-46aa-ab61-8629dadb7aee",
                      "website_name": "AWS Compute Blog",
                      "website_url": "https://aws.amazon.com",
                      "total_prompts": 169,
                      "total_results": 507,
                      "total_mentions": 415,
                      "visibility_score": 81.85,
                      "rank": 1.92,
                      "total_prompts_compare": 169,
                      "total_results_compare": 507,
                      "total_mentions_compare": 361,
                      "visibility_score_compare": 71.2,
                      "rank_compare": 1.85,
                      "total_prompts_diff": 0,
                      "total_results_diff": 0,
                      "total_mentions_diff": 54,
                      "visibility_score_diff": 10.65,
                      "rank_diff": 0.07
                    }
                  ],
                  "page": 1,
                  "size": 50,
                  "total": 2500,
                  "count": 50,
                  "total_pages": 50
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    }
  },
  "components": {
    "parameters": {
      "FormatParam": {
        "name": "format",
        "in": "query",
        "required": false,
        "description": "Response format. Only json is supported currently. CSV/XML support coming soon.",
        "schema": {
          "type": "string",
          "enum": [
            "json"
          ],
          "default": "json"
        }
      },
      "DateParam": {
        "name": "date",
        "in": "query",
        "required": true,
        "description": "Date to export (UTC)",
        "schema": {
          "type": "string",
          "format": "date"
        }
      },
      "CompareDateParam": {
        "name": "compare_date",
        "in": "query",
        "required": false,
        "description": "Optional comparison date (UTC) for deltas",
        "schema": {
          "type": "string",
          "format": "date"
        }
      },
      "TopicIdParam": {
        "name": "topic_id",
        "in": "query",
        "required": false,
        "description": "Filter by Topic ID",
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "PlatformIdParam": {
        "name": "platform_id",
        "in": "query",
        "required": false,
        "description": "Filter by Platform ID",
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "UrlParam": {
        "name": "url",
        "in": "query",
        "required": true,
        "description": "The URL of the site to query",
        "schema": {
          "type": "string",
          "example": "https://example.com"
        }
      },
      "ProjectIdParam": {
        "name": "project_id",
        "in": "query",
        "required": false,
        "description": "Optional Project ID to filter the site",
        "schema": {
          "type": "string",
          "example": "bb2baeaa-a48c-482b-af00-67df964b5d2b"
        }
      },
      "WebsiteIdsParam": {
        "name": "website_ids",
        "in": "query",
        "required": false,
        "description": "Optional list of Website IDs to filter (repeat the param for multiple values)",
        "schema": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "style": "form",
        "explode": true
      },
      "PageParam": {
        "name": "page",
        "in": "query",
        "required": false,
        "description": "Page number for pagination",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "default": 1
        }
      },
      "SizeParam": {
        "name": "size",
        "in": "query",
        "required": false,
        "description": "Number of items per page",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 50
        }
      }
    },
    "schemas": {
      "PaginatedPerformanceSummary": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PerformanceSummaryItem"
            }
          },
          "page": {
            "type": "integer"
          },
          "size": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          },
          "count": {
            "type": "integer"
          },
          "total_pages": {
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "size",
          "total",
          "count",
          "total_pages"
        ]
      },
      "PerformanceSummaryItem": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "website_id": {
            "type": "string",
            "format": "uuid"
          },
          "website_name": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "total_prompts": {
            "type": "integer"
          },
          "total_results": {
            "type": "integer"
          },
          "total_mentions": {
            "type": "integer"
          },
          "visibility_score": {
            "type": "number"
          },
          "rank": {
            "type": "number",
            "nullable": true
          },
          "total_prompts_compare": {
            "type": "integer",
            "nullable": true
          },
          "total_results_compare": {
            "type": "integer",
            "nullable": true
          },
          "total_mentions_compare": {
            "type": "integer",
            "nullable": true
          },
          "visibility_score_compare": {
            "type": "number",
            "nullable": true
          },
          "rank_compare": {
            "type": "number",
            "nullable": true
          },
          "total_prompts_diff": {
            "type": "integer",
            "nullable": true
          },
          "total_results_diff": {
            "type": "integer",
            "nullable": true
          },
          "total_mentions_diff": {
            "type": "integer",
            "nullable": true
          },
          "visibility_score_diff": {
            "type": "number",
            "nullable": true
          },
          "rank_diff": {
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "date",
          "website_id",
          "website_name",
          "website_url",
          "total_prompts",
          "total_results",
          "total_mentions",
          "visibility_score"
        ]
      },
      "HTTPValidationError": {
        "type": "object",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        }
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "API key for authentication"
      }
    }
  }
}
```