changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "answers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "brand_position": {
+ "description": "Where the brand is first mentioned among brands, 1 = first; null when not mentioned.",
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "brands_mentioned": {
+ "description": "Prompt view: tracked brands the answer mentions, in order. Empty in the brand_mentions view; get_answer has them.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "captured_at": {
+ "type": "string"
+ },
+ "citation_count": {
+ "description": "Prompt view: sources the answer cites. 0 in the brand_mentions view.",
+ "type": "integer"
+ },
+ "excerpt": {
+ "description": "The mention in context, or the answer's opening.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Answer ID for get_answer.",
+ "type": "string"
+ },
+ "mentions_brand": {
+ "type": "boolean"
+ },
+ "model": {
+ "description": "Model family key.",
+ "type": "string"
+ },
+ "model_name": {
+ "type": "string"
+ },
+ "outcome": {
+ "description": "Prompt view: how the answer treated the brand; empty until classified, and in the brand_mentions view.",
+ "type": "string"
+ },
+ "prompt": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text"
+ ],
+ "type": "object"
+ },
+ "recommended": {
+ "description": "Prompt view: tracked brands the answer recommends. Empty in the brand_mentions view.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "segment": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "prompt",
+ "segment",
+ "model",
+ "model_name",
+ "captured_at",
+ "mentions_brand",
+ "brand_position",
+ "brands_mentioned",
+ "recommended",
+ "outcome",
+ "excerpt",
+ "citation_count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The brand's website, or empty when none is set.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "notice": {
+ "description": "Why the list is empty, when it is.",
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "next_cursor": {
+ "description": "Pass as cursor to get the next page; empty on the last page.",
+ "type": "string"
+ },
+ "total": {
+ "description": "Items across all pages; null when not counted.",
+ "type": [
+ "null",
+ "integer"
+ ]
+ }
+ },
+ "required": [
+ "next_cursor",
+ "total"
+ ],
+ "type": "object"
+ },
+ "period": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "description": "First day, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "to": {
+ "description": "Last day, YYYY-MM-DD.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "prompt": {
+ "additionalProperties": false,
+ "description": "Set in the prompt view.",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "view": {
+ "description": "prompt: one prompt's answers. brand_mentions: answers that mention the brand.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "brand",
+ "view",
+ "prompt",
+ "period",
+ "answers",
+ "pagination",
+ "notice"
+ ],
+ "type": "object"
+ },
+ "generated_at": {
+ "description": "RFC 3339 time the response was made.",
+ "type": "string"
+ },
+ "schema_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "generated_at",
+ "data"
+ ],
+ "type": "object"
+}