Skip to main content
GET
/
huggingface-datasets
List indexed HuggingFace datasets
curl --request GET \
  --url https://apigcp.trynia.ai/v2/huggingface-datasets \
  --header 'Authorization: Bearer <token>'
{
  "datasets": [
    {
      "id": "<string>",
      "dataset_id": "<string>",
      "url": "<string>",
      "status": "<string>",
      "source_type": "huggingface_dataset",
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "chunk_count": 123,
      "display_name": "<string>",
      "owner": "<string>",
      "description": "<string>",
      "splits": [
        "<string>"
      ],
      "row_count": 123,
      "indexed_row_count": 123,
      "sampling_strategy": "<string>",
      "error": "<string>"
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Query Parameters

limit
integer
default:50

Maximum number of datasets to return

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

Number of datasets to skip (for pagination)

Required range: x >= 0
status
enum<string>

Filter by indexing status

Available options:
processing,
completed,
failed
organization_id
string

Filter by organization ID

Response

HuggingFace datasets retrieved successfully

datasets
object[]
total
integer
limit
integer
offset
integer