curl --request GET \
--url https://apigcp.trynia.ai/v2/sources \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"type": "repository",
"identifier": "<string>",
"display_name": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"category_id": "<string>",
"is_global": true,
"global_source_id": "<string>",
"global_namespace": "<string>",
"metadata": {}
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123,
"has_more": true
}
}List all sources with consistent pagination and filters.
curl --request GET \
--url https://apigcp.trynia.ai/v2/sources \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"type": "repository",
"identifier": "<string>",
"display_name": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"category_id": "<string>",
"is_global": true,
"global_source_id": "<string>",
"global_namespace": "<string>",
"metadata": {}
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123,
"has_more": true
}
}API key must be provided in the Authorization header
Unified source type
repository, documentation, research_paper, huggingface_dataset, local_folder Was this page helpful?