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

# Performance Answers (Response-level rows)

Raw, non-aggregated responses with brand mentions per prompt-topic-platform for the given date.

# 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/answers": {
      "get": {
        "tags": [
          "Geo Presence Export"
        ],
        "summary": "Performance Answers (Response-level rows)",
        "description": "Raw, non-aggregated responses with brand mentions per prompt-topic-platform for the given date.",
        "operationId": "performance_answers_v2_geo_presence_business_export_performance_answers_get",
        "parameters": [
          {
            "$ref": "#/components/parameters/FormatParam"
          },
          {
            "$ref": "#/components/parameters/DateParam"
          },
          {
            "$ref": "#/components/parameters/TopicIdParam"
          },
          {
            "$ref": "#/components/parameters/PlatformIdParam"
          },
          {
            "$ref": "#/components/parameters/PromptIdParam"
          },
          {
            "$ref": "#/components/parameters/UrlParam"
          },
          {
            "$ref": "#/components/parameters/ProjectIdParam"
          },
          {
            "$ref": "#/components/parameters/PageParam"
          },
          {
            "$ref": "#/components/parameters/SizeParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedAnswerLevel"
                },
                "example": {
                  "items": [
                    {
                      "date": "2025-08-07",
                      "prompt_id": "b780f62b-084d-495f-bc00-f57ca328770e",
                      "prompt": "Analysis of AWS lambda development companies and their reviews",
                      "topic_id": "252c2e85-9778-4e23-8efa-8dcaffc5def5",
                      "topic_name": "AWS Lambda Development",
                      "platform_id": "f4d0ad80-6eb1-4b7c-a5a3-2671e51b7eec",
                      "platform_name": "ChatGPT",
                      "response_id": "8a8c6f1a-7f1b-4b2e-b9b0-1f21d9b3c111",
                      "answer_text": "Top providers include ...",
                      "rank": 1,
                      "visibility_score": 76.5,
                      "brand_mentions": [
                        {
                          "website_id": "18e08d93-8497-46aa-ab61-8629dadb7aee",
                          "brand_name": "AWS",
                          "website_url": "https://aws.amazon.com",
                          "sentences": [
                            "...",
                            "..."
                          ],
                          "rank": 1,
                          "visibility_score": 76.5
                        }
                      ]
                    }
                  ],
                  "page": 1,
                  "size": 50,
                  "total": 507,
                  "count": 50,
                  "total_pages": 11
                }
              }
            }
          },
          "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"
        }
      },
      "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"
        }
      },
      "PromptIdParam": {
        "name": "prompt_id",
        "in": "query",
        "required": false,
        "description": "Filter by Prompt 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"
        }
      },
      "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": {
      "PaginatedAnswerLevel": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnswerLevelItem"
            }
          },
          "page": {
            "type": "integer"
          },
          "size": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          },
          "count": {
            "type": "integer"
          },
          "total_pages": {
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "size",
          "total",
          "count",
          "total_pages"
        ]
      },
      "BrandMention": {
        "type": "object",
        "properties": {
          "website_id": {
            "type": "string",
            "format": "uuid"
          },
          "brand_name": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "sentences": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "rank": {
            "type": "number",
            "nullable": true
          },
          "visibility_score": {
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "website_id",
          "brand_name"
        ]
      },
      "AnswerLevelItem": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "prompt_id": {
            "type": "string",
            "format": "uuid"
          },
          "prompt": {
            "type": "string"
          },
          "topic_id": {
            "type": "string",
            "format": "uuid"
          },
          "topic_name": {
            "type": "string"
          },
          "platform_id": {
            "type": "string",
            "format": "uuid"
          },
          "platform_name": {
            "type": "string"
          },
          "response_id": {
            "type": "string",
            "format": "uuid"
          },
          "answer_text": {
            "type": "string"
          },
          "rank": {
            "type": "number",
            "nullable": true
          },
          "visibility_score": {
            "type": "number",
            "nullable": true
          },
          "brand_mentions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BrandMention"
            }
          }
        },
        "required": [
          "date",
          "prompt_id",
          "prompt",
          "topic_id",
          "topic_name",
          "platform_id",
          "platform_name",
          "response_id",
          "answer_text"
        ]
      },
      "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"
      }
    }
  }
}
```