Perplexity · Schema

ErrorInfo

Error information returned when a request fails

Properties

Name Type Description
code string Error code
message string Human-readable error message
type string Error type category
View JSON Schema on GitHub

JSON Schema

perplexity-errorinfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorInfo",
  "title": "ErrorInfo",
  "description": "Error information returned when a request fails",
  "properties": {
    "code": {
      "description": "Error code",
      "type": "string"
    },
    "message": {
      "description": "Human-readable error message",
      "type": "string"
    },
    "type": {
      "description": "Error type category",
      "type": "string"
    }
  },
  "required": [
    "message"
  ],
  "type": "object"
}