Perplexity · Schema

SearchResult

A single search result used in LLM responses

Properties

Name Type Description
date string Publication date of the result
id integer Unique numeric identifier for the result
last_updated string Date the result was last updated
snippet string Text snippet from the search result
source object Source type of the result
title string Title of the search result page
url string URL of the search result page
View JSON Schema on GitHub

JSON Schema

perplexity-searchresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchResult",
  "title": "SearchResult",
  "description": "A single search result used in LLM responses",
  "properties": {
    "date": {
      "description": "Publication date of the result",
      "type": "string"
    },
    "id": {
      "description": "Unique numeric identifier for the result",
      "format": "int64",
      "type": "integer"
    },
    "last_updated": {
      "description": "Date the result was last updated",
      "type": "string"
    },
    "snippet": {
      "description": "Text snippet from the search result",
      "type": "string"
    },
    "source": {
      "$ref": "#/components/schemas/SearchSource",
      "description": "Source type of the result"
    },
    "title": {
      "description": "Title of the search result page",
      "type": "string"
    },
    "url": {
      "description": "URL of the search result page",
      "type": "string"
    }
  },
  "required": [
    "id",
    "url",
    "title",
    "snippet"
  ],
  "type": "object"
}