GET
/
data-sources
List all data sources
curl --request GET \
  --url https://apigcp.trynia.ai/v2/data-sources \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "url": "<string>",
    "file_name": "<string>",
    "directory_path": "<string>",
    "status": "pending",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "page_count": 0,
    "chunk_count": 0,
    "project_id": "<string>",
    "source_type": "web",
    "is_active": true,
    "display_name": "<string>",
    "error": "<string>",
    "error_code": "<string>"
  }
]

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Response

200
application/json

List of data sources retrieved successfully

The response is of type object[].