Perplexity · Schema

ResponseStreamEvent

SSE stream event. Discriminate by the `type` field: - `response.created`: Initial response object - `response.in_progress`: Response processing started - `response.completed`: Final response with output - `response.failed`: Error occurred - `response.output_item.added`: New output item started - `response.output_item.done`: Output item completed - `response.output_text.delta`: Streaming text delta - `response.output_text.done`: Final text content - `response.reasoning.started`: Reasoning phase started - `response.reasoning.search_queries`: Search queries issued - `response.reasoning.search_results`: Search results received - `response.reasoning.fetch_url_queries`: URL fetch queries issued - `response.reasoning.fetch_url_results`: URL fetch results received - `response.reasoning.stopped`: Reasoning phase complete

View JSON Schema on GitHub

JSON Schema

perplexity-responsestreamevent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResponseStreamEvent",
  "title": "ResponseStreamEvent",
  "description": "SSE stream event. Discriminate by the `type` field:\n- `response.created`: Initial response object\n- `response.in_progress`: Response processing started\n- `response.completed`: Final response with output\n- `response.failed`: Error occurred\n- `response.output_item.added`: New output item started\n- `response.output_item.done`: Output item completed\n- `response.output_text.delta`: Streaming text delta\n- `response.output_text.done`: Final text content\n- `response.reasoning.started`: Reasoning phase started\n- `response.reasoning.search_queries`: Search queries issued\n- `response.reasoning.search_results`: Search results received\n- `response.reasoning.fetch_url_queries`: URL fetch queries issued\n- `response.reasoning.fetch_url_results`: URL fetch results received\n- `response.reasoning.stopped`: Reasoning phase complete\n",
  "discriminator": {
    "mapping": {
      "response.completed": "#/components/schemas/ResponseCompletedEvent",
      "response.created": "#/components/schemas/ResponseCreatedEvent",
      "response.failed": "#/components/schemas/ResponseFailedEvent",
      "response.in_progress": "#/components/schemas/ResponseInProgressEvent",
      "response.output_item.added": "#/components/schemas/OutputItemAddedEvent",
      "response.output_item.done": "#/components/schemas/OutputItemDoneEvent",
      "response.output_text.delta": "#/components/schemas/TextDeltaEvent",
      "response.output_text.done": "#/components/schemas/TextDoneEvent",
      "response.reasoning.fetch_url_queries": "#/components/schemas/FetchUrlQueriesEvent",
      "response.reasoning.fetch_url_results": "#/components/schemas/FetchUrlResultsEvent",
      "response.reasoning.search_queries": "#/components/schemas/SearchQueriesEvent",
      "response.reasoning.search_results": "#/components/schemas/SearchResultsEvent",
      "response.reasoning.started": "#/components/schemas/ReasoningStartedEvent",
      "response.reasoning.stopped": "#/components/schemas/ReasoningStoppedEvent"
    },
    "propertyName": "type"
  },
  "oneOf": [
    {
      "$ref": "#/components/schemas/ResponseCreatedEvent"
    },
    {
      "$ref": "#/components/schemas/ResponseInProgressEvent"
    },
    {
      "$ref": "#/components/schemas/ResponseCompletedEvent"
    },
    {
      "$ref": "#/components/schemas/ResponseFailedEvent"
    },
    {
      "$ref": "#/components/schemas/OutputItemAddedEvent"
    },
    {
      "$ref": "#/components/schemas/OutputItemDoneEvent"
    },
    {
      "$ref": "#/components/schemas/TextDeltaEvent"
    },
    {
      "$ref": "#/components/schemas/TextDoneEvent"
    },
    {
      "$ref": "#/components/schemas/ReasoningStartedEvent"
    },
    {
      "$ref": "#/components/schemas/SearchQueriesEvent"
    },
    {
      "$ref": "#/components/schemas/SearchResultsEvent"
    },
    {
      "$ref": "#/components/schemas/FetchUrlQueriesEvent"
    },
    {
      "$ref": "#/components/schemas/FetchUrlResultsEvent"
    },
    {
      "$ref": "#/components/schemas/ReasoningStoppedEvent"
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/perplexity-responsestreamevent"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.