agentleFS
open-edge-platformopen-edge-platform/training_extensions/skills/application/geti-import-export-datasets/SKILL.md

geti-import-export-datasets

Skill1.4k starsChanged 17 days agoApache-2.0View on GitHub

Import and export datasets in the Geti application via its REST API. Use when a user wants to bring an existing dataset into Geti (COCO/YOLO/VOC/Datumaro), migrate data from another tool, export a project's dataset or a dataset revision, remap labels or filter subsets during transfer, or track the async jobs that perform these operations.

1 other project uses a version of this.

Trending

More talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 4 mentionsFeb 2026: 2 mentionsMar 2026: 2 mentionsApr 2026: 7 mentionsMay 2026: 2 mentionsJun 2026: 3 mentionsJul 2026: 2 mentionsAug 2026: 3 mentionsSep 2026: 4 mentionsOct 2026: 9 mentionsNov 2026: 5 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the open-edge-platform/training_extensions repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about open-edge-platform/training_extensions

The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 50

Talked about on GitHub (50 times).

On GitHub · 50

45 more on GitHub

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Staging area: Import/export flows through a filesystem staging area (data/staged_datasets/).

    line 40
  2. Very specific:

    All operations return a job id from POST /api/jobs (HTTP 202).

    line 104
  3. Very specific:

    Delete a staged dataset when done: DELETE /api/staged_datasets/<id>.

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Geti Application: Import & Export Datasets

Move datasets in and out of the Geti application through its REST API. This is the practical "migration to Geti" path: bring existing annotated data from Geti, CVAT, Label Studio, or any tool that emits a standard dataset archive, or export a project's data for backup or reuse in other frameworks. This skill is about using the API, not changing backend code (use geti-backend-dev for that).

These endpoints are served by a running Geti instance; how it was launched does not matter (Docker container, Windows MSIX app, install script, or just run-server from application/backend/ for development). Ask the user for their base URL rather than assuming one — https://localhost:7860 is only the default for a local deployment, the port is configurable and remote instances use a different host. See application/docs/install.md for the deployment modes. The authoritative API reference is the spec the instance serves; fetch it as JSON from /api/openapi.json (the /api/docs page is only an HTML viewer for humans). Read endpoint paths and payloads from there rather than from any checked-in Markdown, which may be out of date. If no instance is running and you have the sources, generate the spec with just gen-api-spec --output-path openapi.json from application/backend/. Design background is application/docs/dataset-ie.md.

When to Use

  • User has an existing dataset archive and wants to import it into Geti.
  • User wants to migrate annotated data from another tool into a Geti project.
  • User needs to export a project's dataset or a dataset revision for backup or external use.
  • User needs to remap labels or filter subsets/labels while transferring data.

Key concepts

  • Standard archives. Uploaded and downloaded datasets are zip archives in a standard format (Datumaro, COCO, YOLO, Pascal VOC).
  • Staging area. Import/export flows through a filesystem staging area (data/staged_datasets/). Each staged dataset has a UUID. You can upload via the API or drop an archive directly into the staging folder for large files.
  • Everything long-running is a job. Prepare, import, export, and stage all run as async jobs via POST /api/jobs; poll or stream their status.
  • Task compatibility. Importing into an existing project may transform annotations to match the project task type; unsupported conversions fail the import (see application/docs/dataset-ie.md).

Import a dataset

flowchart LR
    A[Upload archive to staging] --> B[prepare_dataset_for_import job]
    B --> C[Review detected task/labels]
    C --> D{Destination}
    D -->|new project| E[import_dataset_as_new_project]
    D -->|existing project| F[import_dataset_to_existing_project]
  1. Upload the archive to staging.
    • POST /api/staged_datasets (zip file) → staged dataset id.
    • Alternatively drop the archive directly into data/staged_datasets/ for large or unreliable uploads.
    • Done when: GET /api/staged_datasets lists the entry.
  2. Prepare the dataset for import.
    • POST /api/jobs with job type prepare_dataset_for_import (staged_dataset_id) → job id. This extracts, converts to Datumaro, and detects task type, labels, and item/annotation counts.
    • Done when: GET /api/staged_datasets/<id> reports ready_for_import with detected metadata.
  3. Review detected metadata (task type, labels, counts) to configure the import — especially label remapping for an existing project.
  4. Import to a destination via POST /api/jobs:
    • New project: import_dataset_as_new_project (staged_dataset_id, project.name, project.task_type, optional filters).
    • Existing project: import_dataset_to_existing_project (staged_dataset_id, project_id, labels_mapping, include_unannotated).
    • Done when: the job finishes and the target project's dataset lists the new items (GET /api/projects/<id>/dataset/items).

Export a dataset

  1. Submit an export job.
    • POST /api/jobs with job type export_dataset (project_id, optional dataset_id/revision, export_format such as COCO/YOLO/VOC, optional filters for labels/subsets/unannotated) → job id.
    • Done when: the job finishes and a staged dataset with ready_for_export appears.
  2. Download the archive.
    • GET /api/staged_datasets/<id>/zip, or take it directly from data/staged_datasets/<id>/.

Filtering & label remapping

  • Filtering (labels, subsets, include/exclude unannotated) can be applied at stage/export time or at import time. Apply at stage time to reuse the same filtered dataset across multiple imports; apply at import time for per-import flexibility.
  • Label remapping (labels_mapping) aligns source labels to a destination project's label set when importing into an existing project.

Tracking the jobs

All operations return a job id from POST /api/jobs (HTTP 202). Poll GET /api/jobs/<id>, or stream GET /api/jobs/<id>/status and GET /api/jobs/<id>/logs (SSE) until a terminal state (DONE, FAILED, CANCELLED); cancel with POST /api/jobs/<id>:cancel.

Cleanup

  • Delete a staged dataset when done: DELETE /api/staged_datasets/<id>.
  • Staged datasets locked by a running job cannot be deleted; the system may also auto-clean old staged datasets.

Notes

  • The REST snippets in application/docs/dataset-ie.md are design-level and may lag behind the implementation; the API spec at /api/openapi.json is the only authoritative contract.
  • Importing a dataset is supported; importing an externally trained model (BYOM) is not — pipeline models come only from in-project training/quantization.

Related skills

  • geti-annotating-and-managing-labels — set up projects/labels and annotate media before or after import.
  • geti-using-the-pipeline — the end-to-end project → train → deploy workflow.
  • geti-backend-dev — change the import/export endpoints or job implementations.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.