Documentation

Datasets

Create a new dataset

Creates a new dataset in the catalog. Requires admin role.

ProductionStagingUATLocal development
POSThttps://linguistic.ankiren.com/api/datasets

Request Body

Bắt buộc.

  • slugstringRequired

    URL-friendly identifier (must be unique)

  • namestringRequired

    Display name

  • nameVistring

    Vietnamese name

  • descriptionstring

    Dataset description

  • taskstring

    Task type

  • taskVistring

    Vietnamese task name

  • languagestring

    Dataset language

  • rowsstring

    Row count as formatted string

  • sourcestring

    Source URL

  • tagsstring

    Comma-separated tags

application/json
{
  "slug": "vlsp2016-ner",
  "name": "VLSP2016_NER",
  "nameVi": "Nhận dạng thực thể tiếng Việt",
  "description": "Vietnamese NER dataset from VLSP 2016",
  "task": "Named Entity Recognition",
  "taskVi": "Nhận dạng thực thể",
  "language": "Vietnamese",
  "rows": "16,861",
  "source": "https://huggingface.co/datasets/vlsp2016-ner",
  "tags": "NER,Vietnamese,NLP"
}

Responses

201 · Dataset created successfully

  • idintegerRequired

    Auto-increment identifier

  • slugstringRequired

    URL-friendly identifier

  • namestringRequired

    Display name

  • nameVistring?

    Vietnamese name

  • descriptionstring?

    Dataset description

  • taskstring?

    Task type

  • taskVistring?

    Vietnamese task name

  • languagestring?

    Dataset language

  • rowsstring?

    Row count as formatted string

  • sourcestring?

    Source URL (e.g., HuggingFace link)

  • tagsstring?

    Comma-separated tags

  • createdAtstring<date-time>Required

    Record creation timestamp

    format: date-time
  • updatedAtstring<date-time>Required

    Last update timestamp

    format: date-time
application/json
{
  "id": 1,
  "slug": "vlsp2013-postag",
  "name": "VLSP2013_POSTAG",
  "nameVi": "Gán nhãn từ loại tiếng Việt",
  "description": "Vietnamese POS tagging dataset from VLSP 2013",
  "task": "Token Classification",
  "taskVi": "Phân loại từ",
  "language": "Vietnamese",
  "rows": "27,871",
  "source": "https://huggingface.co/datasets/vlsp2013-postag",
  "tags": "POS Tagging,Vietnamese,NLP",
  "createdAt": "2026-01-17T10:00:00Z",
  "updatedAt": "2026-01-17T10:00:00Z"
}

Sample Code

Đổi ngôn ngữ ở ô Language trên thanh Documentation.

cURL
curl -X POST 'https://linguistic.ankiren.com/api/datasets' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "slug": "vlsp2016-ner",
  "name": "VLSP2016_NER",
  "nameVi": "Nhận dạng thực thể tiếng Việt",
  "description": "Vietnamese NER dataset from VLSP 2016",
  "task": "Named Entity Recognition",
  "taskVi": "Nhận dạng thực thể",
  "language": "Vietnamese",
  "rows": "16,861",
  "source": "https://huggingface.co/datasets/vlsp2016-ner",
  "tags": "NER,Vietnamese,NLP"
}'