Skip to main content
GET
/
sources
List Sources
curl --request GET \
  --url https://apigcp.trynia.ai/v2/sources
{
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "has_more": true
  },
  "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": {}
    }
  ]
}

Query Parameters

type
enum<string> | null

Filter by source type

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

Search by name or identifier

status
string | null

Filter by status

category_id
string | null

Filter by category

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

Response for listing sources.

pagination
PaginationInfo · object
required

Pagination metadata

items
Source · object[]

List of sources