Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloro.dev/llms.txt

Use this file to discover all available pages before exploring further.

This section documents the sources data returned by the Perplexity endpoint. Sources are part of the Perplexity response, so no separate API call is needed.

Example request

{
  "prompt": "best laptops for programming",
  "country": "US"
}
This produces a response containing the sources array documented below.

Overview

Perplexity sources follow the common sources structure (position, url, label, and description) with no Perplexity-specific fields.
Sources in Perplexity

Response example

{
  "success": true,
  "result": {
    "text": "Here are several laptops for programming...",
    "sources": [
      {
        "position": 1,
        "url": "https://example.com/best-laptops-2026",
        "label": "Best laptops for programmers in 2026",
        "description": "A guide to the top laptops for software development this year."
      },
      {
        "position": 2,
        "url": "https://example.com/dev-laptops-review",
        "label": "Developer laptop reviews",
        "description": "Reviews of laptops aimed at software developers."
      }
    ]
  }
}