Skip to main content
GET
/
data-sources
/
{source_id}
/
read
Read documentation page content
curl --request GET \
  --url https://apigcp.trynia.ai/v2/data-sources/{source_id}/read \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "path": "<string>",
  "url": "<string>",
  "content": "<string>",
  "metadata": {
    "url": "<string>",
    "source_id": "<string>",
    "chunks_found": 123
  }
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

source_id
string
required

Flexible data source identifier (UUID, display name, or URL)

Query Parameters

path
string
required

Virtual path to the page (e.g., "/api/authentication.md")

Response

Page content retrieved successfully

success
boolean
path
string

The virtual path requested

url
string

The actual URL of the page

content
string

Full content of the documentation page

metadata
object