Skip to main content
GET
/
sources
/
{source_id}
/
content
Get Source Content
curl --request GET \
  --url https://apigcp.trynia.ai/v2/sources/{source_id}/content
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Path Parameters

source_id
string
required

Query Parameters

type
enum<string> | null

Source type hint

Available options:
repository,
documentation,
research_paper,
huggingface_dataset,
local_folder
path
string | null

Path or virtual path

url
string | null

Direct URL (documentation)

branch
string | null

Repository branch

Response

Successful Response