Perplexity · Schema

ResponseCreatedEvent

Response created event (type: "response.created"). Contains the initial response object.

Properties

Name Type Description
response object
sequence_number integer Monotonically increasing sequence number for event ordering
type object
View JSON Schema on GitHub

JSON Schema

perplexity-responsecreatedevent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResponseCreatedEvent",
  "title": "ResponseCreatedEvent",
  "description": "Response created event (type: \"response.created\").\nContains the initial response object.\n",
  "properties": {
    "response": {
      "$ref": "#/components/schemas/ResponsesResponse"
    },
    "sequence_number": {
      "description": "Monotonically increasing sequence number for event ordering",
      "format": "int64",
      "type": "integer"
    },
    "type": {
      "$ref": "#/components/schemas/EventType"
    }
  },
  "required": [
    "type",
    "sequence_number"
  ],
  "type": "object"
}