cURL
curl --request GET \ --url https://apigcp.trynia.ai/v2/sources/{source_id}/tree \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
API key must be provided in the Authorization header
Source type hint
repository
documentation
research_paper
huggingface_dataset
local_folder
slack
google_drive
Repository branch
1 <= x <= 20
Successful Response
Was this page helpful?
Suggestions
Contact support