Skip to main content
GET
/
data-sources
/
{source_id}
/
content
Get data source page content
curl --request GET \
  --url https://apigcp.trynia.ai/v2/data-sources/{source_id}/content \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "content": "<string>",
  "url": "<string>",
  "metadata": {
    "title": "<string>",
    "total_lines": 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. Can be:

  • UUID (e.g., "550e8400-e29b-41d4-a716-446655440000")
  • Display name (e.g., "Vercel AI SDK - Core")
  • URL (e.g., "https://docs.trynia.ai/")

Query Parameters

path
string

Virtual path to the page within the documentation

url
string

Direct URL of the page (alternative to path)

Response

Page content retrieved successfully

success
boolean
content
string

Full page content in markdown format

url
string

Original URL of the page

metadata
object