> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/api-sdk-cli/ko/clis/cli-ontologies-and-cloud-storage.md).

# CLI: 온톨로지와 클라우드 스토리지

Unitlab CLI로 터미널에서 온톨로지를 조회, 생성, 수정하고 S3 등 클라우드 스토리지 연결의 파일을 탐색하는 방법입니다.

## 온톨로지 <a href="#ontologies" id="ontologies"></a>

```bash
unitlab ontology list --title-like "Robot" --edited-after 2026-11-01
unitlab ontology detail "$ONTOLOGY_ID" --json > robot-cell-qa.json

unitlab ontology create "Robot cell QA" --description "Grippers and parts" --structure structure.json
unitlab ontology update "$ONTOLOGY_ID" --structure structure.json
```

`--structure`는 `OntologyStructure.to_dict()`가 쓰는 형식의 JSON 파일입니다. Python으로 만들거나 `ontology detail --json`의 `structure` 필드에서 시작하세요. [Python으로 온톨로지 구성](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/build-ontologies-in-python.md)을 참고하세요.

| `list` 필터                                                                  | 일치 조건                |
| -------------------------------------------------------------------------- | -------------------- |
| `--title-eq`, `--title-like`                                               | 제목 전체 또는 일부가 일치      |
| `--description-eq`, `--description-like`                                   | 설명 전체 또는 일부가 일치      |
| `--created-before`, `--created-after`, `--edited-before`, `--edited-after` | ISO 8601 날짜 또는 타임스탬프 |

## 클라우드 스토리지 <a href="#cloud-storage" id="cloud-storage"></a>

```bash
unitlab cloud list
unitlab cloud browse "$CLOUD_STORAGE_ID" --prefix fleet/cell-04/ --json
```

폴더 안을 나열하려면 접두사를 `/`로 끝냅니다. `--project`는 항목을 프로젝트와 대조해 확인하고, `--page-size`(1\~1,000, 기본값 500)는 요청당 항목 수를 정합니다. 연결은 앱에서 만듭니다.

파일을 가져오려면 `unitlab project import-cloud`를 사용합니다. [CLI: 프로젝트와 Data Unit](https://docs.unitlab.ai/api-sdk-cli/ko/clis/cli-projects-and-data-units.md)을 참고하세요.

## 관련 문서 <a href="#related" id="related"></a>

[온톨로지 리소스](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/ontology-resources.md) · [클라우드 스토리지](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/cloud-storage.md)
