시작하기
적합한 제품 선택
Edge, Cloud, Enterprise 중 적합한 Tier0 에디션을 선택합니다.
각 제품의 자세한 기능은 요금 페이지에서 확인하고 필요에 맞는 에디션을 선택하세요.
다음 단계
섹션 제목: “다음 단계”- UNS 기반 앱 만들기 — Enterprise에서 Tier0 앱을 만들고 배포합니다.
- 설치 — 선택한 에디션의 설정 단계를 따릅니다.
Edge, Cloud, Enterprise 중 적합한 Tier0 에디션을 선택합니다.
각 제품의 자세한 기능은 요금 페이지에서 확인하고 필요에 맞는 에디션을 선택하세요.
Tier0 설치 옵션을 선택하고 시작합니다.
Tier0는 세 가지 에디션으로 제공됩니다.
어떤 edition을 선택해야 할지 확실하지 않다면 최적의 버전 선택을 먼저 확인하세요.
Tier0 Cloud를 사용하려면 먼저 체험 계정을 신청하세요.
sha256sum -c tier0-enterprise-offline-standard-YYYYmmddTHHMMSS.tar.gz.sha256tar -xzf tier0-enterprise-offline-standard-YYYYmmddTHHMMSS.tar.gzcd tier0-enterprise-offline-standard-YYYYmmddTHHMMSSinstall.env를 수정한 뒤 deployment를 시작합니다.
vi install.envbash install.sh./install.sh --check-only./full-cleanup.sh --env install.env --yes이 명령은 VM, 운영체제, 설치 패키지, Docker 소프트웨어는 유지하지만 Tier0 런타임 데이터와 데이터베이스 백업을 삭제합니다.
runtime/install-reports/<timestamp>/deployment-report.md보고서에 FAIL 항목이 있으면 프로젝트를 인도하지 말고 먼저 지원팀에 문의하세요.
최적의 버전 선택 - requirement에 맞는 edition을 선택합니다.
Tier0를 시작하는 권장 절차입니다.
flowchart TD app["앱 만들기"] namespace["Namespace 만들기"] external["외부 데이터 연결 (선택)"] use["앱에서 통합 데이터 사용"] app --> namespace --> external --> use namespace -.->|"선택 단계 건너뛰기"| use classDef t0accent fill:#B2ED1D,stroke:#73B200,color:#171717 class use t0accent
| 작업 | 담당자 | 에디션 | 설명 |
|---|---|---|---|
| 앱 만들기 | 사용자 | Cloud | Agent와 대화하여 맞춤형 앱을 만듭니다. |
| Namespace 만들기 | Agent | Cloud | 앱의 비즈니스 로직에 따라 Namespace와 데이터 모델을 만듭니다. |
| 외부 데이터 연결 (선택) | 사용자 | Cloud, Enterprise | 필요한 경우 Agent가 연결할 기존 비즈니스 시스템이나 장치의 정보를 제공합니다. |
| 데이터 통합 | Agent | Cloud, Enterprise | 외부 데이터를 기존 앱 모델에 매핑하고 변환하여 통합합니다. |
AI와 대화하여 맞춤형 산업용 앱을 만듭니다.
AI와 대화하여 맞춤형 산업용 앱을 만듭니다. 앱은 공장 데이터를 사용하며 역할 기반 접근 제어, 버전 관리, 외부 배포 기능을 제공합니다.
앱의 목적, 기능, 외부 데이터 필요 여부를 설명합니다.
공장 기술자를 위한 설비 유지보수 앱을 만들어 줘.설비 상태 확인, 유지보수 요청 제출, 수리 진행 상황 추적을 지원해 줘.xxx table의 경보 기록과 유지보수 이력을 사용해 줘.앱은 역할 기반 접근 제어(RBAC)로 멤버의 접근과 허용 작업을 관리합니다.
앱이 준비되면 Preview 페이지에서 타사 환경이나 Tier0 Enterprise용으로 내보낼 수 있습니다.
디지털 트윈 만들기 — 공장 데이터를 운영 시각화에 활용합니다.
앱을 위해 외부 데이터를 Tier0에 연결하고 모델링하여 통합합니다.
Tier0는 맞춤형 앱을 위한 데이터 기반을 만듭니다. 앱의 비즈니스 데이터를 받고, 기존 시스템과 장치의 외부 데이터 소스를 연결하며, 앱이 사용할 수 있는 통합 모델로 데이터를 모읍니다.
모든 데이터는 Namespace 아래 Tables에 모델링되고 데이터 유형별로 구성됩니다.
flowchart TB namespace["Namespace"] --> table["Table"] table --> record["Record 테이블<br/>관계형 데이터"] table --> sample["Sample 테이블<br/>시계열 데이터"] classDef t0accent fill:#B2ED1D,stroke:#73B200,color:#171717 class table t0accent
비즈니스 데이터는 앱 사용이나 외부 시스템에서 올 수 있습니다. 시계열 데이터는 주로 연결된 장치에서 옵니다.
flowchart LR app["앱"] -->|"비즈니스 데이터"| record["Record"] stream["Stream"] -->|"장치 데이터"| sample["Sample"] classDef t0accent fill:#B2ED1D,stroke:#73B200,color:#171717 class record,sample t0accent
flowchart LR source["Source<br/>서버 연결"] --> stream["Stream<br/>수집 및 처리"] classDef t0accent fill:#B2ED1D,stroke:#73B200,color:#171717 class source,stream t0accent
프롬프트에 명시하지 않으면 Agent가 앱의 비즈니스 로직에 맞춰 데이터 모델을 자동 생성합니다.
Enterprise의 데이터 기반 구축 절차는 추후 추가합니다.
Edge의 데이터 기반 구축 절차는 추후 추가합니다.
실시간 UNS 데이터를 3D 모델에 바인딩하고 완전한 공장 장면으로 조합해 Digital Twin 시각화를 구성합니다.
Tier0에 연결된 공장 데이터는 실제와 유사한 동작과 환경을 갖춘 Digital Twin으로 시각화할 수 있습니다. 전체 과정은 데이터를 3D 모델에 매핑한 뒤 여러 모델을 조합해 완전한 공장 장면을 만드는 흐름입니다.
인스턴스만 모델 단위 또는 장면 단위로 공유할 수 있습니다.
중앙 노드에서 연결된 엣지 노드의 데이터를 원활하게 관리합니다.
Tier0의 엣지-센터 협업을 통해 엣지 디바이스에서 데이터를 수집하고 중앙 플랫폼에서 관리할 수 있습니다.
먼저 중앙 노드에서 Fleet 노드를 생성합니다.
중앙 노드에서 생성된 토큰을 사용하여 각 엣지 노드를 연결합니다.
MQTT와 API로 UNS 데이터를 조작하고 API 레퍼런스를 확인합니다.
MQTT와 API를 통해 UNS 데이터를 조작할 수 있습니다.
Tier0에서 생성한 자격 증명으로 MQTT 클라이언트를 UNS broker에 연결할 수 있습니다.
Connect > Source > MQTT Device에서 MQTT 자격 증명을 생성하고 기록합니다.
{ "Host": "mqtt.tier0.dev", "Port": 1883, "Client ID": "<generated client ID>", "Username": "<generated username>", "Password": "<generated password>"}{ "Protocol": "mqtt://", "Host": "mqtt.tier0.dev", "Port": 1883, "Username": "<generated username>", "Password": "<generated password>"}mqtt in 노드에 다음 정보로 서버를 추가합니다.
{ {/* under Connection */} "Server": "mqtt://mqtt.tier0.dev", "Port": 1883, "Client ID": "<generated clientId>", {/* under Security */} "Username": "<generated username>", "Password": "<generated password>"}https://<your-tier0-host>/openapi/v2x-api-key 헤더에 넣습니다.POST /uns/metadata:find — Tables 목록과 Table ID 가져오기
const base = "https://your-tier0-host/openapi/v2";const response = await fetch(`${base}/uns/metadata:find`, { method: "POST", headers: { "content-type": "application/json", "x-api-key": "your-api-key" }, body: JSON.stringify({"kind": "collection", "filter": {}, "page": {"mode": "offset", "page": 1, "size": 20}}),});const result = await response.json();if (!response.ok || result.code !== 0) throw new Error(result.error?.code || result.msg);console.log(result.data.items);import requests
response = requests.post( "https://your-tier0-host/openapi/v2/uns/metadata:find", headers={"x-api-key": "your-api-key"}, json={"kind": "collection", "filter": {}, "page": {"mode": "offset", "page": 1, "size": 20}}, timeout=30,)response.raise_for_status()result = response.json()if result["code"] != 0: raise RuntimeError(result.get("error", result.get("msg")))print(result["data"]["items"])curl --fail-with-body -X POST "https://your-tier0-host/openapi/v2/uns/metadata:find" \ -H "content-type: application/json" \ -H "x-api-key: your-api-key" \ -d '{"kind": "collection", "filter": {}, "page": {"mode": "offset", "page": 1, "size": 20}}'POST /uns/collections/{collectionId}/records:find — Records 목록과 Record ID 가져오기
const base = "https://your-tier0-host/openapi/v2";const collectionId = "your-collection-id";const response = await fetch(`${base}/uns/collections/${encodeURIComponent(collectionId)}/records:find`, { method: "POST", headers: { "content-type": "application/json", "x-api-key": "your-api-key" }, body: JSON.stringify({"limit": 20}),});const result = await response.json();if (!response.ok || result.code !== 0) throw new Error(result.error?.code || result.msg);console.log(result.data);import requests
response = requests.post( "https://your-tier0-host/openapi/v2/uns/collections/your-collection-id/records:find", headers={"x-api-key": "your-api-key"}, json={"limit": 20}, timeout=30,)response.raise_for_status()result = response.json()if result["code"] != 0: raise RuntimeError(result.get("error", result.get("msg")))print(result["data"])curl --fail-with-body -X POST "https://your-tier0-host/openapi/v2/uns/collections/your-collection-id/records:find" \ -H "content-type: application/json" \ -H "x-api-key: your-api-key" \ -d '{"limit": 20}'POST /uns/collections/{collectionId}/samples:latest — Record의 최신 Sample 가져오기
const base = "https://your-tier0-host/openapi/v2";const collectionId = "your-collection-id";const response = await fetch(`${base}/uns/collections/${encodeURIComponent(collectionId)}/samples:latest`, { method: "POST", headers: { "content-type": "application/json", "x-api-key": "your-api-key" }, body: JSON.stringify({"recordIds": ["record_123"]}),});const result = await response.json();if (!response.ok || result.code !== 0) throw new Error(result.error?.code || result.msg);console.log(result.data);import requests
response = requests.post( "https://your-tier0-host/openapi/v2/uns/collections/your-collection-id/samples:latest", headers={"x-api-key": "your-api-key"}, json={"recordIds": ["record_123"]}, timeout=30,)response.raise_for_status()result = response.json()if result["code"] != 0: raise RuntimeError(result.get("error", result.get("msg")))print(result["data"])curl --fail-with-body -X POST "https://your-tier0-host/openapi/v2/uns/collections/your-collection-id/samples:latest" \ -H "content-type: application/json" \ -H "x-api-key: your-api-key" \ -d '{"recordIds": ["record_123"]}'POST /uns/collections/{collectionId}/samples:find — 기간 내 Samples 가져오기
const base = "https://your-tier0-host/openapi/v2";const collectionId = "your-collection-id";const response = await fetch(`${base}/uns/collections/${encodeURIComponent(collectionId)}/samples:find`, { method: "POST", headers: { "content-type": "application/json", "x-api-key": "your-api-key" }, body: JSON.stringify({"recordIds": ["record_123"], "from": 1792454400000, "to": 1792540800000, "filter": {"temperature": {"$gt": 20}}, "limit": 20}),});const result = await response.json();if (!response.ok || result.code !== 0) throw new Error(result.error?.code || result.msg);console.log(result.data);import requests
response = requests.post( "https://your-tier0-host/openapi/v2/uns/collections/your-collection-id/samples:find", headers={"x-api-key": "your-api-key"}, json={"recordIds": ["record_123"], "from": 1792454400000, "to": 1792540800000, "filter": {"temperature": {"$gt": 20}}, "limit": 20}, timeout=30,)response.raise_for_status()result = response.json()if result["code"] != 0: raise RuntimeError(result.get("error", result.get("msg")))print(result["data"])curl --fail-with-body -X POST "https://your-tier0-host/openapi/v2/uns/collections/your-collection-id/samples:find" \ -H "content-type: application/json" \ -H "x-api-key: your-api-key" \ -d '{"recordIds": ["record_123"], "from": 1792454400000, "to": 1792540800000, "filter": {"temperature": {"$gt": 20}}, "limit": 20}'MCP를 통해 AI Agent를 Tier0에 연결합니다.
MCP를 통해 AI Agent를 Tier0에 연결합니다. Agent는 부여된 권한 범위에서 플랫폼 API를 찾아 사용할 수 있습니다.
{ "Authorization": "Bearer <your-personal-api-key>" }whoami를 실행하여 연결을 확인하도록 요청합니다.codex mcp add tier0 --url https://your-tier0-url/mcp --oauth-client-registration dcrcodex mcp login tier0 --oauth-client-registration dcrwhoami를 실행하여 연결을 확인하도록 요청합니다.| MCP 도구 | 용도 |
|---|---|
whoami |
신원과 권한을 확인합니다. |
docs |
API 문서를 읽습니다. |
search |
API 작업을 찾습니다. |
execute |
API 작업을 호출합니다. |
먼저 Agent에게 docs와 search로 작업을 찾고 execute로 호출하도록 요청합니다. 예:
내 Workspace의 `Plant/Line1/Metric/Temperature` 현재 값을 읽어 줘.공장 데이터 작업 — Tier0가 공장 데이터를 구성하고 제공하는 방법을 알아봅니다.
Tier0는 두 단계의 역할 기반 접근 제어(RBAC)를 사용합니다. 워크스페이스 좌석은 플랫폼 기능을, 비즈니스 역할은 앱 내부의 접근을 제어합니다.
멤버 좌석은 Builder와 Operator 두 종류입니다.
| 유형 | 권한 |
|---|---|
| 소유자 | 워크스페이스의 모든 기능을 사용하며, 결제, 전체 멤버, 소유권 이전 및 워크스페이스 삭제를 단독으로 관리합니다. |
| Builder | 소유자 전용 기능을 제외한 모든 워크스페이스 기능을 사용합니다. |
| Operator | 접근 권한이 있는 앱을 사용합니다. |
Tier0의 플랫폼 접근과 사용자 권한을 관리합니다.
해당 에디션 탭에서 사용자 관리 절차를 확인하세요.
Workspace 소유자 또는 기존 멤버는 전화번호나 이메일 주소를 통해 새 멤버를 초대할 수 있습니다.
새 멤버는 초대 코드 또는 링크를 받은 후 계정을 등록하고 Workspace에 참여합니다.
초대할 때 새 멤버의 시트 유형(Operator 또는 Builder)을 설정하여 접근할 수 있는 기능 범위를 결정합니다.
계정 등록에는 2단계 확인이 필요합니다.
관리자는 기본 계정으로 처음 로그인한 후 비밀번호를 변경하고, 설정에서 사용자 계정을 추가하고 역할을 할당합니다.
관리자는 계정을 할당하여 플랫폼을 사용할 수 있는 사용자를 결정하고, 역할을 할당하여 각 계정이 접근할 수 있는 기능을 결정합니다.
| 작업 | 수행자 | 설명 |
|---|---|---|
| 시트 유형 변경 | 생성자 / Builder |
|
| Workspace 삭제 | 생성자 | Workspace를 삭제하면 모든 데이터가 즉시 삭제되며 복구할 수 없습니다. |
| Workspace 이전 | 생성자 | — |
| 멤버 제거 | 생성자 / Builder |
|
| 계정 삭제 | 모든 멤버 |
|
Admin은 비밀번호를 재설정하고, 사용자 역할을 수정하고, 계정을 비활성화하거나 삭제할 수 있습니다.
최초 기본 계정의 역할은 수정할 수 없으며, 해당 계정을 비활성화하거나 삭제할 수도 없습니다.
계정을 삭제하면 모든 데이터가 즉시 삭제되며 복구할 수 없습니다.
Tier0는 OPC UA, Modbus, MQTT 등 다양한 산업용 프로토콜 연결을 지원합니다.
{ "name": "ua", "description": "", "protocol": "opcua", "endpoint": "opc.tcp://220.184.175.73:4841/demo/", "runtimeLocation": "local", "opcua": { "securityMode": "None", "securityPolicy": "None" }}서버 주소와 유닛 ID만 필요합니다.
{ "name": "modbus", "description": "", "protocol": "modbus-tcp", "endpoint": "tcp://220.184.175.73:1502", "runtimeLocation": "local", "modbus": { "unitId": 1 }}Tier0는 장치 데이터를 수신하는 MQTT Broker 또는 외부 MQTT Broker에 연결하는 클라이언트로 사용할 수 있습니다.
Broker로 사용:
클라이언트로 사용: 타사 Broker에 연결합니다.
{"name": "111","description": "","protocol": "mqtt","endpoint": "mqtt://220.184.175.73:1883","runtimeLocation": "local","mqtt": { "clientId": "tier0UxxxxxxxxuwQVfi"}}Tier0는 타사가 접근하는 HTTP 서버 또는 다른 HTTP 서버의 API를 호출하는 클라이언트로 사용할 수 있습니다.
서버로 사용:
클라이언트로 사용: 타사 HTTP 서버에 연결합니다.
{ "name": "222", "description": "", "protocol": "http-api", "endpoint": "http://220.184.175.73:8088/api/telemetry", "runtimeLocation": "local", "role": "client", "http": { "authentication": "none" }}{ "name": "eee", "description": "", "protocol": "edge-sql", "endpoint": "mysql://hzoffice.tier0.dev:3307/demo_factory", "runtimeLocation": "local", "sql": { "queries": { "query1": "SELECT * FROM telemetry ORDER BY id DESC LIMIT 5" }, "tlsMode": "verify-full" }, "credentialRef": "ref_9ce47b8778xxxxxxxx7dad49a86dbad"}Tier0의 ID, 데이터 접근, 배포 가용성 및 복구 제어에 대한 개요입니다.
Tier0는 다음 두 가지 측면에서 데이터를 보호합니다.
| 에디션 | 보안 지원 범위 |
|---|---|
| Cloud | 플랫폼 접근 제어와 인증이 필요한 MQTT 및 API 접근을 제공합니다. |
| Enterprise | 플랫폼 및 데이터 접근 제어 외에도 프라이빗 배포를 위한 배포 가용성, 백업 및 복구를 제공합니다. |
| Edge(오픈 소스) | 로컬 데이터 연결 및 모델링에 사용합니다. 내장 MQTT 브로커는 인증 없는 구독을 허용합니다. |
각 에디션의 용도는 가장 적합한 제품 선택을 참조하세요.
| 범위 | Tier0 방식 | 상세 정보 |
|---|---|---|
| 플랫폼 접근 |
|
사용자 관리 |
| Agent 접근 | Agent는 MCP로 연결하고 부여된 권한 범위에서 플랫폼을 운영합니다. | Agent 연결 |
| 애플리케이션 접근 | Tier0는 RBAC를 사용해 애플리케이션 접근을 제어합니다. | 접근 제어 |
| 접근 방식 | Tier0 방식 | 상세 정보 |
|---|---|---|
| MQTT |
|
MQTT 자격 증명 및 연결 |
| REST API | 데이터 접근에는 Tier0가 생성한 키가 필요합니다. | API 레퍼런스 |
Enterprise는 현재 중앙 노드에 대해 두 가지 배포 계획을 제공합니다.
| 계획 | 가용성 경계 | 상세 정보 |
|---|---|---|
| 표준 배포 |
|
표준 배포 계획 |
| 고가용성 배포 |
|
고가용성 배포 계획 |
Enterprise는 데이터베이스 백업 및 복구를 제공합니다. 복구 후에는 배포 상태와 기본 기능을 검증하고 플랫폼에 로그인할 수 있는지 확인하세요.
Tier0 API 연결, 응답 확인, 안전한 쓰기 재시도 방법입니다.
https://<your-tier0-host>/openapi/v2x-api-key 요청 헤더에 Tier0 API 키를 보냅니다.경로, 매개변수, 제한 및 응답 스키마는 Cloud OpenAPI 엔드포인트를 참조하세요.
/uns/ 요청은 HTTP 상태와 응답 본문을 모두 확인합니다. 성공 응답은 2xx 상태와 code: 0이며 결과는 data에 있습니다.error.code를 확인하고 문제 해결을 위해 requestId를 보관합니다.200이어도 각 항목을 확인합니다. 일부 항목은 실패했을 수 있습니다.error.execution으로 쓰기가 시작되지 않았는지, 롤백됐는지, 커밋됐는지, 결과를 알 수 없는지 확인합니다.error.retry.safe가 true일 때만 동일한 멱등성 키로 같은 요청을 재시도합니다. 대기 시간이 지정되면 error.retry.afterMs 또는 Retry-After 헤더에 표시된 시간 이상 기다립니다.이 계약은 dev3.0에서 가져왔습니다. 호출하기 전에 실제 인스턴스의 계약 버전과 제공 기능을 확인하세요.
POST를 사용합니다. 파일 URL 및 다운로드와 Record 구독은 GET을 사용하며, 구독은 Server-Sent Events를 반환합니다. 각 엔드포인트의 메서드와 요청 스키마를 확인하세요.code, msg, requestId, data가 포함됩니다. Stream 요청, 구독, 파일 다운로드에는 별도의 응답 형식이 있습니다.dryRun, expectedRevision, idempotencyKey를 사용할 수 있습니다. 사전 검증 성공은 쓰기 완료를 뜻하지 않습니다. 비동기 요청은 jobId로 결과를 확인하세요.경로, 매개변수, 제한 및 응답 스키마는 Enterprise OpenAPI 엔드포인트를 참조하세요.
Tier0 Builder에 내장된 AI Skills 참조 문서입니다.
Tier0 Builder Skills 저장소의 feature/cloud-new-architecture-migration 브랜치에는 현재 요구사항, 앱 구축, 플랫폼 정렬, 브라우저 기능, 반응형 디자인, 미리보기 문제를 다루는 Skill 6개가 있습니다.
app-srs산업용 앱 요구사항 분석의 시작점입니다. 요청에서 SRS를 만들거나 PRD를 변환하고 기존 SRS를 수정합니다. 비즈니스 역할, 워크플로, 상태, 검증, 예외를 정리하고 첫 릴리스 범위를 정한 뒤 기본적으로 specs/spec.md에 저장합니다. 요구사항만 요청했거나 확인이 필요한 경우를 제외하고 새 앱을 app-builder로 이어서 처리합니다.
$app-srs로 자동차 부품 공장의 품질 이상 관리 시스템을 설계해 줘.app-builder요구사항이나 specs/spec.md를 바탕으로 실행 가능한 첫 앱을 만들거나 기존 앱에 큰 비즈니스 모듈을 추가합니다. 필요하면 app-srs로 SRS를 먼저 작성합니다. 일반적인 필드, 문구, 스타일, 단일 UI 수정에는 전체 Builder 절차가 필요하지 않습니다.
진입점과 실제 사용자 경로, 실제 데이터와 상태 변경, 검증과 역할 권한, 빌드·미리보기·대화형 흐름을 확인합니다. 적절한 목록 페이지에는 대상 스캐폴드의 MetaListPage를 실제 서비스와 권한에 연결합니다.
$app-builder로 specs/spec.md의 첫 버전을 만들어 줘.align-platform-app가져온 앱을 Tier0 스캐폴드로 마이그레이션하거나 기존 앱을 현재 계약에 맞춥니다. 이전 Tier0 앱, 앱 자체 SQL 데이터베이스·브라우저 저장소·모의 영속성을 쓰는 앱, 전체 업데이트나 제한적인 플랫폼 수정이 필요한 앱에 적합합니다.
클라우드 아키텍처 스캐폴드의 정확한 커밋과 비교합니다. 비즈니스 동작을 유지하면서 런타임, 라우팅, Gateway 역할, 플랫폼 계약을 맞춥니다. 전체 클라우드 마이그레이션에서는 @tier0/sdk-v2로 앱 소유 영속 레코드를 Tier0 UNS tables로 옮깁니다. 원래 데이터베이스의 과거 기록이 필요하다면 UNS로 별도로 가져와야 합니다. 변경된 빌드와 실행 동작을 검증한 후 package.json에 스캐폴드 버전을 기록합니다.
$align-platform-app으로 비즈니스 코드를 유지하며 최신 Tier0 스캐폴드에 맞춰 줘.browser-platform-capabilitiesQR/바코드 스캔, 사진 촬영, 위치 정보, 오디오 녹음, 파일 읽기, 클립보드 접근을 안내합니다. 대상 장치에 맞는 브라우저 API와 대체 수단을 선택하고 보안 컨텍스트, 권한, iframe/WebView 제한을 확인합니다. 취소나 실패 시 입력을 보존하고 대체 데이터가 실시간 캡처와 다르면 이를 표시합니다. 성공, 거부, 재시도, 정리를 검증합니다.
$browser-platform-capabilities로 점검 양식에 사진 촬영과 파일 업로드 대안을 추가해 줘.responsive-craft복잡한 중단점, 연동되는 고정·스크롤 영역, 여러 화면 크기의 감사와 미리보기를 다룹니다. 개별 오버플로나 잘린 컨트롤은 직접 수정할 수 있습니다. audit는 기존 레이아웃 검사와 수리, build는 새 반응형 페이지 구축, preview는 여러 중단점의 실시간 미리보기입니다.
$responsive-craft audit로 이 대시보드의 모바일 레이아웃을 수정해 줘.$responsive-craft preview로 375, 768, 1024, 1440 px를 보여 줘.preview-runtime-stability관리형 미리보기의 설치, 시작, 준비 상태, 역할, 포트, HMR 문제를 진단합니다. 비즈니스 기능은 만들지 않습니다. 의존성·lockfile 오류(npm ERESOLVE 포함), Vite/TanStack Start 시작 문제, 5173 포트 충돌, /api/health 실패, 미리보기 역할, artifact.toml 불일치, 잦은 전체 페이지 새로고침을 다룹니다. 첫 관련 오류를 확인하고 증거가 있는 원인을 수정하며 필요할 때만 재시작한 뒤 원래 오류, 상태 검사, 해당 경로를 검증합니다.
$preview-runtime-stability로 "Preview loading timed out"을 진단해 줘.app-srs; 새 앱은 보통 app-builder로 이어집니다.app-builder.align-platform-app.browser-platform-capabilities.responsive-craft; 관리형 미리보기 오류: preview-runtime-stability.Tier0 Cloud 프로덕션 SaaS 서비스의 네트워크 경계, 테넌트 격리, 데이터 보호 및 보안 운영 조치를 설명합니다.
적용 범위: AWS 싱가포르 리전에 배포된 Tier0 Cloud 프로덕션 SaaS 서비스.
문서 날짜: 2026년 10월 22일
Tier0 Cloud는 네트워크 접근 제어, 테넌트 격리, ID 및 접근 관리, 데이터 암호화, 백업 및 복구를 통해 네트워크 공격과 무단 접근의 위험을 줄입니다. 이 문서는 플랫폼의 보안 조치와 보안 사고가 다른 테넌트, 플랫폼 내부 서비스 및 고객 네트워크로 확산되는 것을 제한하는 통제 경계를 설명합니다.
Tier0 Cloud의 공개 Web 및 API 접근에는 TLS 암호화를 사용하며, 통합된 엣지 진입점과 애플리케이션 게이트웨이를 거칩니다. 핵심 서비스 진입점은 원본 서버 접근을 검증하고, 검증 요건을 충족하지 않는 직접 접근 요청을 거부하여 엣지 진입점을 우회한 원본 서버 접근 위험을 줄입니다.
프로덕션 환경은 클라우드 계정, 네트워크, 클러스터 및 데이터베이스 계층에서 개발·스테이징 환경과 격리되며, 접근 자격 증명도 별도로 관리합니다. 프로덕션 관리 접근에는 인증된 전용 네트워크 경로를 사용합니다.
테넌트 워크로드는 별도의 Kubernetes 네임스페이스에서 실행되며, 전용 노드 풀과 스케줄링 제약을 통해 플랫폼 서비스 및 관리 구성 요소와 분리됩니다. 이 방식은 테넌트 애플리케이션과 플랫폼 구성 요소 사이의 직접적인 상호 작용 범위를 제한하여, 특정 애플리케이션에서 보안 사고가 발생했을 때 다른 서비스에 미치는 영향을 줄입니다.
테넌트 네임스페이스의 인바운드 및 아웃바운드 통신에는 기본적으로 거부하고 명시적인 규칙으로만 허용하는 네트워크 정책을 적용합니다. 플랫폼은 정책을 자동으로 구성하고 동기화하며, 클러스터 네트워크 구성 요소가 이를 적용합니다.
인바운드 통신은 동일 테넌트의 워크로드와 필수 업무 기능을 수행하는 플랫폼 서비스에서 오는 통신만 허용합니다. 아웃바운드 통신은 규칙에 따라 클러스터 DNS 이름 확인, 동일 테넌트의 서비스, 지정된 플랫폼 게이트웨이, 메시징 서비스 및 할당된 데이터베이스 엔드포인트에 대해 허용합니다. 공용 인터넷 접근도 네트워크 정책의 제약을 받습니다. 명시적으로 허용된 업무 의존 대상을 제외하고 사설 네트워크 주소 접근을 제한하며, 클라우드 인스턴스 메타데이터 주소에 대한 직접 접근을 차단합니다.
이러한 조치는 승인되지 않은 테넌트 간 연결과 테넌트 워크로드에서 플랫폼 내부 네트워크로의 측면 이동을 제한합니다. 특정 테넌트 애플리케이션에서 보안 사고가 발생하더라도 그 사실만으로 다른 테넌트나 플랫폼 관리 구성 요소에 접근할 수 있는 권한이 부여되지는 않습니다. 이미 승인된 업무 연결에도 해당 네트워크 규칙과 ID 및 접근 제어가 계속 적용됩니다.
테넌트 애플리케이션 데이터는 데이터베이스 계층에서 논리적으로 격리됩니다. 별도의 데이터베이스 단위가 할당되는 경우에는 네트워크 접근 규칙을 통해 연결 출발지도 제한합니다.
플랫폼은 서비스 역할에 따라 접근 권한을 설정하고 각 워크로드의 리소스 접근 범위를 필요한 기능으로 제한합니다. 네트워크 격리와 ID 기반 인가를 함께 적용하여 영향을 받은 워크로드가 접근할 수 있는 리소스 범위를 제한합니다.
이 절의 테넌트 격리 조치는 Tier0 Cloud 플랫폼 내부에 적용됩니다. 고객이 커넥터, 게이트웨이 또는 기타 통합 방식으로 내부 시스템을 연결하는 경우, 고객 네트워크의 접근 경계는 실제 연결 방식, 라우팅, 방화벽 규칙 및 사용된 자격 증명에 부여된 권한에도 영향을 받습니다.
고객은 업무에 필요한 대상 주소, 포트 및 계정 권한만 허용하고, 연결 구성 요소를 다른 내부 시스템과 네트워크상에서 분리해야 합니다. 플랫폼 내부 격리는 고객 측 네트워크 접근 제어를 대체할 수 없습니다. 양측은 구체적인 연결 구성에 따라 접근 범위를 정하고 검증하여, 승인된 연결을 통해 고객의 다른 시스템으로 사고가 확산될 위험을 제한해야 합니다.
플랫폼은 데이터 전송, 저장 및 접근에 다음 보호 조치를 적용합니다.
Tier0 Cloud는 프로덕션 데이터베이스와 백업 범위에 포함된 서비스별 데이터베이스를 백업합니다. 백업 데이터는 접근이 제한된 전용 객체 스토리지에 저장하며, 해당 보존 정책에 따라 관리합니다.
백업 작업은 별도의 ID를 사용하며, 지정된 저장 위치에서 필요한 읽기 및 쓰기 작업만 허용합니다. 백업 객체를 삭제할 권한은 부여하지 않습니다. 보존 기간이 지난 백업은 스토리지 수명 주기 규칙으로 삭제하여, 백업 자격 증명이 유출되었을 때 복구 데이터 삭제에 악용될 위험을 줄입니다.
백업이 완료되면 무결성을 확인하고, 격리된 환경에서 복원 검증을 수행하여 백업의 사용 가능 여부를 확인합니다. 애플리케이션 구성은 버전 관리하며, 빌드 산출물은 비공개 컨테이너 이미지 레지스트리에 저장하여 서비스 복구와 버전 롤백을 지원합니다.
프로덕션 관리 접근에는 개인별로 할당된 ID를 사용하고 최소 권한 원칙에 따라 권한을 부여합니다. 민감한 작업에 사용하는 콘솔 ID에는 다중 요소 인증을 의무화합니다.
일상 점검에는 워크로드 상태, 로그 및 이벤트를 확인할 수 있는 제한된 읽기 전용 ID를 사용합니다. 이 ID로는 민감한 자격 증명 읽기, 리소스 수정 또는 원격 명령 실행을 할 수 없습니다. 프로덕션 변경에는 별도로 승인된 ID와 절차를 사용합니다.
인프라 구성, 배포 매니페스트 및 운영 스크립트는 버전 관리합니다. 프로덕션 변경 시에는 목표, 영향 범위, 검증 단계 및 롤백 계획을 명확히 하고, 실행 ID, 구성 차이 및 검증 결과를 기록하여 추적과 복구를 지원합니다.
플랫폼은 프로덕션 환경의 운영 지표, 로그 및 상태 정보를 중앙에서 수집하고, 이상 알림을 운영 대응 채널로 전송합니다. 모니터링 범위에는 서비스 가용성, 오류율, 데이터베이스 상태, 인증서 유효성, 백업 작업 상태 및 클러스터 운영 상태가 포함됩니다.
보안 사고가 발생하면 영향 범위의 확산을 막는 데 우선순위를 두고 관련 로그, 구성 및 사고 타임라인을 보존합니다. 필요한 격리와 조사를 완료한 후 서비스를 복구하고, 이후 사고 검토와 시정 조치 추적을 수행합니다. 사고 대응 중의 프로덕션 변경도 정해진 절차에 따라 승인하고 기록합니다.
보안 평가, 고객 실사 또는 의심되는 취약점에 관해서는 Tier0 고객 담당자나 보안팀에 문의하세요. 비공개 아키텍처 및 통제 세부 정보는 적절한 비밀 유지 약정에 따라 제공될 수 있습니다. 최초 문의에는 접근 자격 증명, 개인 키 또는 고객의 민감한 데이터를 포함하지 마세요.
Tier0 OpenAPI 5.0.0 · 작업: 141 · 스키마: 363
API 필드 이름, 예제 및 원본 설명은 포함된 영어 OpenAPI 명세를 따릅니다.
Collection management endpoints
Read collection data definitions
Return field definitions and data-operation capabilities by collectionId for constructing queries and writes.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/discovery/describe' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"collectionId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
collectionId | string | 예 | Collection ID identifying the owner of business records and samples. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"collectionId": "string",
"description": "string",
"fields": [
"value"
],
"indexStatus": [
"value"
],
"indexes": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CollectionDescription. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Search accessible collections
Search collections accessible to the current credentials using keywords and pagination.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/discovery/search' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"search":"string","page":0,"size":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
search | string | 아니요 | Search names or supported text fields; not SQL. |
page | integer | 아니요 | Page number, starting at 1. |
size | integer | 아니요 | Page size; see this endpoint's maximum or the capability catalog. Page size, at most 200. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"asOf": 0,
"complete": false,
"hasMore": false,
"list": [
"value"
],
"nextCursor": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | DiscoveryResult. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Capability endpoints
Read the capability catalog
Return current UNS resource, query and write capabilities and limits.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/catalog/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI에 이 요청 본문의 객체 필드가 선언되어 있지 않습니다.
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"capabilities": {},
"contractVersion": "string",
"limits": {},
"models": [
"value"
],
"operations": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | DocCatalog. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Discover Edges in the current workspace
List Edge nodes in the current workspace. This is a Center-only read operation; do not send X-Fleet-Node-Id. - **Access:** A workspace identity with uns.read can call this endpoint. App-bound identities cannot. - **Query:** Use page and size to paginate. Optionally filter by keyword or status. - **Result:** Returns each node's ID, name, description and infrastructure status. Credentials, sessions and host details are excluded. To read a specific Edge node's catalog, Sources, Streams, Collections or business data, use its ID in the X-Fleet-Node-Id header on the corresponding endpoint.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"keyword":"string","status":"unjoined"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
keyword | string | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Namespace endpoints
Query the namespace
Use queries to retrieve directories and topics by parent, optionally including ancestors.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/namespace/query' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","page":"value","size":"value","search":"value","ids":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queries | array<object> | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"results": []
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read topic views
Read bound field values, availability and associated timestamps.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/topics/view' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","topicId":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queries | array<object> | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"results": []
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Metadata management endpoints
Insert one metadata object
Create a directory, topic or collection. With appId/alias, only collection creation is allowed. The server atomically binds app grants, requires idempotencyKey and rechecks current Builder permissions. Prefer the ISA-95 equipment hierarchy for industrial data: Enterprise > Site > Area > Work Center (production line, production unit, process cell, or storage zone) > Work Unit. First query existing directories with paginated metadataFind and reuse them. Create only known, meaningful business levels; do not invent enterprises, sites, or equipment, or substitute control activity Levels 0-4 for the equipment hierarchy. Attach data and references with parentId. Place shared data under a suitable common ancestor, and organize non-industrial data by its actual business hierarchy. User-facing names of directories, collections, and references must be concise, readable, and describe their business purpose. Follow the user's language preferences and established terminology; Chinese is not required and translation is not mandatory. name is the sole user-facing business name. App SDK alias is a separate stable program identifier, for example alias=production_orders and name=Production Orders. For example, use Quality Inspection Records or its equivalent in the user's language. Do not use program aliases such as quality_records as display labels, or use App-timestamp, random strings, or IDs as names or meaningless suffixes. Dates, versions, and equipment numbers with actual business meaning may remain. Rename only changes name; keep ID and alias unchanged to preserve program references. Report sibling name collisions explicitly; never append random suffixes automatically. Do not automatically move existing data or change permissions to reorganize directories.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","id":"string","data":{},"appId":"string","alias":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
id | string | 아니요 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
appId | string (uuid) | 아니요 | OpenAPI에 명시되지 않음 |
alias | string | 아니요 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"insertedId": "string",
"status": "validated",
"replayed": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Aggregate metadata
Supports match/project/group/sort/skip/limit for permitted metadata kinds, without cross-table joins or writes.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:aggregate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"pipeline":["string"]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 아니요 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
kinds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
state | string | 아니요 | Active, soft-deleted or all objects. |
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
pipeline | array<object> | 예 | Supports $match/$project/$group/$sort/$skip/$limit/$distinct. $distinct uses JSONB value ordering and the outer pagination options. |
page | object | 아니요 | OpenAPI에 명시되지 않음 |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Execute mixed metadata writes
At most 200 operations of one kind. Atomic by default; for non-atomic execution, ordered controls continuation after errors and results retain original indices. After any non-atomic item commits, failures report error.execution=committed and retry.safe=false. Error data contains cumulative results with nextIndex and optionally unknownUntil. Indices below nextIndex absent from errors committed; [nextIndex, unknownUntil) has unknown outcome. Retry with the same idempotency key if available. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading IDs. Server-generated-ID inserts, filter-selected operations and incremental updates such as $inc cannot be safely reconciled; always use keys for these writes. Without unknownUntil, continuation from nextIndex is safe. Only when nothing committed is execution rolledBack or notStarted. Prefer the ISA-95 equipment hierarchy for industrial data: Enterprise > Site > Area > Work Center (production line, production unit, process cell, or storage zone) > Work Unit. First query existing directories with paginated metadataFind and reuse them. Create only known, meaningful business levels; do not invent enterprises, sites, or equipment, or substitute control activity Levels 0-4 for the equipment hierarchy. Attach data and references with parentId. Place shared data under a suitable common ancestor, and organize non-industrial data by its actual business hierarchy. User-facing names of directories, collections, and references must be concise, readable, and describe their business purpose. Follow the user's language preferences and established terminology; Chinese is not required and translation is not mandatory. name is the sole user-facing business name. App SDK alias is a separate stable program identifier, for example alias=production_orders and name=Production Orders. For example, use Quality Inspection Records or its equivalent in the user's language. Do not use program aliases such as quality_records as display labels, or use App-timestamp, random strings, or IDs as names or meaningless suffixes. Dates, versions, and equipment numbers with actual business meaning may remain. Rename only changes name; keep ID and alias unchanged to preserve program references. Report sibling name collisions explicitly; never append random suffixes automatically. Do not automatically move existing data or change permissions to reorganize directories.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:bulkWrite' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","operations":["string"],"atomic":false,"ordered":false,"dryRun":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
operations | array<object> | 예 | OpenAPI에 명시되지 않음 |
atomic | boolean | 아니요 | Atomic batch commit by default. false commits items independently; each object still receives full permission and domain validation. |
ordered | boolean | 아니요 | With atomic=false, controls stopping or continuing after errors; atomic batches reject ordered=false. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"insertedCount": 0,
"matchedCount": 0,
"modifiedCount": 0,
"deletedCount": 0,
"restoredCount": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results. | application/json |
Count metadata objects
Count matching objects within the specified kind and state.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:count' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 아니요 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
kinds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
state | string | 아니요 | Active, soft-deleted or all objects. |
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"count": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Soft-delete metadata in bulk
Conditional bulk operation within an explicit kind. Atomic batch; reject everything if matches exceed maxDocs. Use bulkWrite when objects need independent revision checks. Soft deletion moves objects to Trash; deleting a directory atomically moves its entire active subtree to Trash. References do not block deletion. Referring configurations and Record/Sample data are retained; historical data remains readable under existing authorization while in Trash, with writes rejected.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:deleteMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"atomic":true,"maxDocs":0,"dryRun":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
atomic | boolean | 아니요 | Atomic batch commit; use bulkWrite for per-item commits. |
maxDocs | integer | 아니요 | Reject the entire request if the match limit is exceeded; do not truncate the write scope. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"results": [
"value"
],
"errors": [
"value"
],
"status": "validated",
"replayed": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Soft-delete one metadata object
Soft deletion moves objects to Trash; deleting a directory atomically moves its entire active subtree to Trash. References do not block deletion. Referring configurations and Record/Sample data are retained; historical data remains readable under existing authorization while in Trash, with writes rejected.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:deleteOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"dryRun":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
returnDocument | string | 아니요 | none returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"status": "validated",
"replayed": false,
"value": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Query metadata
Query directories, topics and collections. Use bare configuration field names and _id / _meta.* for system fields. Returns items/pageInfo.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:find' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 아니요 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
kinds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
state | string | 아니요 | Active, soft-deleted or all objects. |
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
page | object | 아니요 | OpenAPI에 명시되지 않음 |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | MetadataPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Permanently delete directories, references, or collections from the recycle bin
Accepts up to 200 explicit Directory, Topic, or Collection IDs in the current workspace recycle bin. Single and batch deletion use the same operation. Execution returns accepted/jobId. Query jobs for per-item completion; accepted does not mean permanently deleted. Targets are cleaned independently; a failure does not roll back completed items. Purging a Collection deletes all records (including soft-deleted records), samples, and collection metadata, and revokes App grants to the collection. Indexes are reclaimed in the background. Referencing Topics, Sources, and Streams are preserved. References describe impact rather than blocking deletion; data access reports the missing target. Restore is unavailable after cleanup starts. Interrupted work can resume; same-key retries do not reselect completed targets. Optional dryRun validates targets without creating a task or deleting data. No prerequisite preflight, force flag, or confirmation token is required. Directories include their entire deleted subtree, including previously deleted descendants. Any active descendant rejects the request. Descendants are cleaned before empty directories. Deleting a Topic removes only its reference metadata and preserves the referenced collections, records, and samples. To empty the recycle bin, freeze the current target IDs and submit batches by kind. Do not submit descendants separately when their directory is selected. Items moved to trash with their owner App and their descendants cannot be purged independently; restore or permanently delete the owner App in App Trash. A directory containing these items is rejected as a whole.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:purge' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","ids":["string"],"dryRun":false,"idempotencyKey":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
ids | array<string> | 예 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"results": [
{
"opId": "item-0",
"action": "meta.purge",
"kind": "metadata",
"id": "example-id",
"revision": 1,
"status": "updated"
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | DocUnsV2MetadataPurgeOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Replace one metadata object
Fully replace writable configuration with schema, index and reference validation; system fields remain server-managed. Upsert insertion requires explicit _id and complete configuration.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:replaceOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"replacement":{}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
replacement | object | 예 | OpenAPI에 명시되지 않음 |
upsert | boolean | 아니요 | Supported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
returnDocument | string | 아니요 | none returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"status": "validated",
"replayed": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Restore metadata by ID
Restore atomically, rechecking current names, parents and references and incrementing revision. Restoring a directory restores only the subtree from the same deletion batch; batch children must be restored with the directory. Other dependencies are not implicitly restored.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:restore' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","items":[{"id":"value","expectedRevision":"value"}],"dryRun":false,"idempotencyKey":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"restoredCount": 0,
"items": [
"value"
],
"status": "validated",
"replayed": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Execute a metadata transaction
Atomic operations across directories, topics and collections. opId/dependsOn control dependencies; parentId/collectionId accept {ref:opId} to reference creation results. At most 200 items; dryRun=true preflights and then rolls back. Prefer the ISA-95 equipment hierarchy for industrial data: Enterprise > Site > Area > Work Center (production line, production unit, process cell, or storage zone) > Work Unit. First query existing directories with paginated metadataFind and reuse them. Create only known, meaningful business levels; do not invent enterprises, sites, or equipment, or substitute control activity Levels 0-4 for the equipment hierarchy. Attach data and references with parentId. Place shared data under a suitable common ancestor, and organize non-industrial data by its actual business hierarchy. User-facing names of directories, collections, and references must be concise, readable, and describe their business purpose. Follow the user's language preferences and established terminology; Chinese is not required and translation is not mandatory. name is the sole user-facing business name. App SDK alias is a separate stable program identifier, for example alias=production_orders and name=Production Orders. For example, use Quality Inspection Records or its equivalent in the user's language. Do not use program aliases such as quality_records as display labels, or use App-timestamp, random strings, or IDs as names or meaningless suffixes. Dates, versions, and equipment numbers with actual business meaning may remain. Rename only changes name; keep ID and alias unchanged to preserve program references. Report sibling name collisions explicitly; never append random suffixes automatically. Do not automatically move existing data or change permissions to reorganize directories.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:transact' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"operations":[{"opId":"value","action":"value","kind":"value","id":"value","filter":"value"}],"dryRun":false,"idempotencyKey":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
operations | array<object> | 예 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"results": [
"value"
],
"status": "validated",
"replayed": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update metadata in bulk
Conditional bulk operation within an explicit kind. Atomic batch; reject everything if matches exceed maxDocs. Use bulkWrite when objects need independent revision checks.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:updateMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{"$set":{},"$unset":{},"$setOnInsert":{}},"atomic":true,"maxDocs":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
update | object | 예 | Supports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields. |
atomic | boolean | 아니요 | Atomic batch commit; use bulkWrite for per-item commits. |
maxDocs | integer | 아니요 | Reject the entire request if the match limit is exceeded; do not truncate the write scope. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"results": [
"value"
],
"errors": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update one metadata object
Selection and update occur in one transaction with domain validation. Upsert insertion requires explicit _id and complete configuration.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:updateOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"update":{"$set":{},"$unset":{},"$setOnInsert":{}}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
update | object | 예 | Supports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields. |
upsert | boolean | 아니요 | Supported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
returnDocument | string | 아니요 | none returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"status": "validated",
"replayed": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Query resource references
Query resource references by targets. Collection App references include grants and policy status for that Collection. Stream references include only frozen dependencies of the currently effective release: relationship.access describes read/write access to this target, and data.sourceIds contains the unique, sorted Source IDs bound by the same release. With Source read permission, no bindings returns an empty array. Without that permission, the field is omitted while the Stream reference remains visible. An omitted field does not mean no bindings. Drafts, historical releases and disabled Streams are excluded. Version selection is not supported. Use kinds to select app/stream/source/topic. status=active excludes disabled configuration; filtering precedes permission checks and pagination. Dependencies do not prove active writes or per-record provenance. Each target is paginated independently and sorted by kind and ID. Continue using nextPage only for targets with hasMore. The total request row budget is 2000. With size=20, a batch can contain at most 100 targets. Hidden reference items continue to be indicated only by hasHiddenReferences.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/references/query' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","page":"value","size":"value","targets":"value","kinds":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queries | array<object> | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"results": []
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Job endpoints
Query job status
Query asynchronous job states and results by jobIds; queryId in queries correlates results. App credentials cannot submit asynchronous jobs or call this endpoint.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/jobs/query' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","jobIds":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queries | array<object> | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"results": []
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Source endpoints
Discover attached Edge devices
Requires X-Fleet-Node-Id. Enumerate live USB HID and serial hardware before creating a Source, including device addresses, existing bindings, checkedAt, revision and completeness. Optional kind is usb-hid or serial. Discovery does not capture input text. Serial acquisition requires a protocol adapter. Users must identify ambiguous keyboard devices remotely. No on-site test scan is required.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/devices/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"usb-hid"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | Fresh target Edge inventory. checkedAt is observation time; revision hashes device and binding state; complete=false includes per-kind discovery errors. devices contain deviceId, kind, label, address, canCreateSource, requiredParameters and existing sources. Serial discovery does not imply serial acquisition support. Empty devices only proves absence when complete=true. Never classify an arbitrary HID keyboard as a scanner without device identity supplied by the user. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Discover Source resources
Read the vendor service directory using id and the current expectedRevision. SAP OData is currently supported. Source management, data read and credential-use permissions are required; endpoint, path, method and authentication overrides are rejected. Returns resource names and references within the service root without credentials or the Source endpoint. Credential use is audited, so this operation is not a side-effect-free query.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/discover' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"id": "string",
"revision": 0,
"sourceType": "string",
"resources": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Create a Source document
Create using the shared native document with top-level endpoint and protocol fields. Supply write-only credentials or an existing document.credentialRef. Inline credentials require credential management permission and an idempotency key, including each batch item. dryRun validates without storing credentials or contacting the upstream.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}},"credentials":{"kind":"basic","username":"string","secret":"string","values":{},"certificateFileId":"string"},"items":[{"id":"value","document":"value","credentials":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
document | object | 아니요 | SourceDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
credentials | object | 아니요 | SourceCredentials. 스키마 절에서 참조된 스키마를 확인하세요. |
items | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update Source credentials
Provision or rotate shared write-only credentials using Source ID and expectedRevision under uns.source.credentials authority and source:manage scope. For dependencies, inspect sourceImpact with action=credentials first and explicitly supply confirmedImpactRevision after review. Optional Fleet targeting uses the same native request. Credential material is never returned.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/credentials/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"credentials":{"kind":"basic","username":"string","secret":"string","values":{},"certificateFileId":"string"}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 예 | Required idempotency key; reuse for the same request, never for a different request. |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
expectedRevision | integer | 예 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
credentials | object | 예 | SourceCredentials. 스키마 절에서 참조된 스키마를 확인하세요. |
confirmedImpactRevision | string | 아니요 | Dependency impact confirmation token. May be omitted only when there are no draft, active or historical Stream dependencies. An explicitly supplied token is always validated and cannot be empty. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Delete a Source document
Delete the current Source using id and expectedRevision. Submit the dependency impact confirmation when required. dryRun validates without committing. Fleet targeting uses the same native document contract.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"confirmedImpactRevision":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
expectedRevision | integer | 예 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
confirmedImpactRevision | string | 아니요 | Dependency impact confirmation token. May be omitted only when there are no draft, active or historical Stream dependencies. An explicitly supplied token is always validated and cannot be empty. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read a source document
Read a source's full native configuration document by id, requiring source management permission.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","view":"summary"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | Positive decimal int64 identifier; always a string on the wire. |
view | string | 아니요 | summary requires view permission and omits scripts/connection settings. full or omission requires management permission; API keys also require full_access, and MCP requires the corresponding management scope. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
List source documents
List sources with pagination and filters such as protocol and health. Returns safe summaries by default. includeDocument=true requires management permission and includes full native configuration.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"search":"string","protocol":"http-api","health":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
protocol | string | 아니요 | OpenAPI에 명시되지 않음 |
health | string | 아니요 | OpenAPI에 명시되지 않음 |
archived | boolean | 아니요 | OpenAPI에 명시되지 않음 |
includeDocument | boolean | 아니요 | False returns safe summaries for viewers. True additionally requires current Source manage permission and returns full native editor documents, including opaque references. |
desiredState | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0,
"hasMore": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Complete Source OAuth authorization
Complete the Source authorization flow using its one-time state and code under Source credential management authority. Credentials remain write-only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/oauth/complete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","state":"string","code":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
state | string | 예 | OpenAPI에 명시되지 않음 |
code | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Start Source OAuth authorization
Start the authorization flow for the selected Source under Source credential management authority. Uses the normal source:manage API Key scope; Fleet targeting forwards the same native contract.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/oauth/start' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","redirectUri":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
redirectUri | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update native Edge Source enabled state
Requires X-Fleet-Node-Id and Source management permission. Read the target Source revision first; submit dryRun, id, expectedRevision and desiredState (enabled or disabled). Keep any required dependency impact confirmation and a stable idempotency key. The Edge performs final permission and version checks. Requests without a target fail before dispatch; this does not modify center Sources.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/state/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"id":"string","expectedRevision":0,"desiredState":"enabled","idempotencyKey":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 예 | true validates only; false performs writes. |
id | string | 예 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 예 | OpenAPI에 명시되지 않음 |
desiredState | string | 예 | OpenAPI에 명시되지 않음 |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
confirmedImpactRevision | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | Native Edge Source result; inspect the target catalog for its exact versioned response. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update source documents
Update a source with document or patch and its current expectedRevision. Name and description changes can be submitted directly. Connection changes can also be submitted directly when there are no Stream references; otherwise supply a confirmedImpactRevision for the exact change. A successful commit returns the complete Source; dryRun=true validates only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
id | string | 아니요 | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
document | object | 아니요 | SourceDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
confirmedImpactRevision | string | 아니요 | Cloud requires explicit expectedRevision. confirmedImpactRevision may be omitted only when the same mutation transaction proves there are no draft, active or historical Stream references. Any supplied confirmation remains bound to the exact intent and dependency set. Confirmation never substitutes authorization or idempotency. |
patch | object | 아니요 | SourceDefinitionPatch. 스키마 절에서 참조된 스키마를 확인하세요. |
items | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read source change history
Read source revision history by id; use beforeRevision to page backward.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/history' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","beforeRevision":0,"size":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
beforeRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"sourceID": "string",
"currentRevision": 0,
"deleted": 1,
"total": 0,
"missingRevisionCount": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Inspect Source mutation dependencies
Submit id, expectedRevision and action. For credential rotation use action=credentials without document, patch or secrets. Review all returned dependencies before explicitly passing confirmedImpactRevision to credentials/update. The token binds ID, revision, dependency snapshot and action; it does not include a random credential reference. Never automatically confirm an impact.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/impact' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0,"action":"update","document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}},"offset":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 예 | OpenAPI에 명시되지 않음 |
action | string | 예 | OpenAPI에 명시되지 않음 |
document | object | 아니요 | SourceDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
offset | integer | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
impactRevision | string | 아니요 | Opaque exact-intent confirmation from sourceImpact. Never inferred, synthesized or refreshed automatically. |
patch | object | 아니요 | SourceDefinitionPatch. 스키마 절에서 참조된 스키마를 확인하세요. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"impactRevision": "string",
"sourceID": "string",
"sourceRevision": 0,
"action": "update",
"complete": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read source observations
Read observations for items in a batch; statistics cover accepted execution tasks.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/observations/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"items":[{"id":"value","expectedRevision":"value"}],"view":"summary"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
view | string | 아니요 | summary returns only the latest durable admission time for each requested revision; full preserves the 24-hour counters. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Probe a source connection
Probe the source within timeoutMs. HTTP probes check network connectivity only; they do not send business HTTP requests or establish successful authentication or collection. dryRun=true validates the probe request only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/probe' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","timeoutMs":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
dryRun | boolean | 예 | true validates only; false performs writes. |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
timeoutMs | integer | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
List source protocols
Return supported source protocols and their configuration capabilities.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/protocols/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI에 이 요청 본문의 객체 필드가 선언되어 있지 않습니다.
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
List declared Edge Source resources
Use the Source ID to list declared resources, supported modes, input and output schemas, and configuration revisions. Use the target node's native Source ID with X-Fleet-Node-Id, or a cloud Edge reference ID without the header. Import a declared Teamcenter vendor:teamcenter:file:<selectionId> into a formal private Asset with await api.assets.importSource(sourceAlias,resourceRef) in an integration Stream. First declare the bound Source with api.sources.use(alias). This side effect is bounded to 8 MiB and 60 seconds, returns fileKey/filePath/sha256/sizeBytes and version UIDs, and uses the effect ledger and idempotent SYS confirmation. Paths, URLs and tickets are not accepted.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/catalog' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","configRevision":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
configRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"id": "string",
"configRevision": 0,
"protocol": "string",
"sourceType": "string",
"resources": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Preview an Edge Source resource
Read a bounded sample through the target Edge using the catalog revision and resourceRef. Credentials stay on the Edge. Only declared resources can be read. Device addresses, authentication and vendor request paths cannot be overridden.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/preview' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","configRevision":0,"resourceRef":"string","params":{"limit":0,"createdDateTimeBegin":"string","createdDateTimeEnd":"string","material":"string","baseUnit":"string"},"timeoutMs":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
configRevision | integer | 예 | OpenAPI에 명시되지 않음 |
resourceRef | string | 예 | OpenAPI에 명시되지 않음 |
params | object | 아니요 | OpenAPI에 명시되지 않음 |
timeoutMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | Bounded native result. Interpret fields using the selected resource output schema. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read an Edge Source resource page
Read a bounded page using an opaque cursor issued for the same Source configuration and resource. Discover the specific Edge resource first. Named resources include file directories, EDI exchanges, SQL queries, controller history, approved Teamcenter files and Salesforce Bulk or deletion windows. Connections, paths, query text and vendor tickets remain on Edge. Commit the cursor only after all returned records are durably written. Preserve a returned checkpoint on the final page for incremental resources. Poll a pending Bulk job using its returned cursor. An empty pending page is not completion.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/scan' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","configRevision":0,"resourceRef":"string","cursor":"string","params":{"maxItems":0,"createdDateTimeBegin":"string","createdDateTimeEnd":"string","material":"string","baseUnit":"string"}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
configRevision | integer | 예 | OpenAPI에 명시되지 않음 |
resourceRef | string | 예 | OpenAPI에 명시되지 않음 |
cursor | string | 아니요 | OpenAPI에 명시되지 않음 |
params | object | 아니요 | OpenAPI에 명시되지 않음 |
limit | integer | 예 | Use the resource catalog bounds. Only Salesforce object queries support a native page of 200. |
timeoutMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"resourceRef": "string",
"configRevision": 0,
"items": [
"value"
],
"nextCursor": "string",
"hasMore": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read source runtime status
Read the current runtime status of a source by id.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/runtime/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"sourceId": "string",
"revision": 0,
"state": {
"schemaVersion": "value",
"health": "value",
"healthMessage": "value",
"lastDataAt": "value",
"checkedAt": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Validate source configuration
Validate a native SourceDefinition document, including protocol, endpoint and protocol parameters, without creating a Source.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/validate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
document | object | 예 | SourceDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Stream endpoints
Read stream-entry grants
Read grants, current release bindings and permission ceilings by code and recipient (app/user only), returning snapshotToken for concurrency checks. Requires a current management session or full_access personal/agent key with stream.requests.manage and uns.source.manage. App and service keys cannot configure grants. Source configuration and credentials are not returned.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/stream-requests/grants/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"code":"string","principalKind":"app","principalID":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
principalKind | string | 예 | OpenAPI에 명시되지 않음 |
principalID | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"code": "string",
"principalKind": "app",
"principalID": "string",
"status": "string",
"bindingDigest": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudStreamRequestGrantInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Set or revoke stream-entry grants
Use expectedSnapshotToken from get to atomically modify grants without resubmitting all target revisions. active=1 adds or updates; actions permits only stream.requests.read, stream.requests.invoke and stream.requests.write, and write requires invoke. Resource management includes view, invoke and write operations; stream.requests.manage is the caller's grant-configuration capability. active=2 revokes all historical targets; actions must be empty. Neither recipient nor current release needs to be online. Legacy version fields remain supported; the two validation modes are mutually exclusive. After a version conflict or lost response, reread and reconcile current state before changing it; do not overwrite blindly.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/stream-requests/grants/set' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"code":"string","principalKind":"app","principalID":"string","active":1,"expectedBindingDigest":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
principalKind | string | 예 | OpenAPI에 명시되지 않음 |
principalID | string | 예 | OpenAPI에 명시되지 않음 |
active | integer | 예 | OpenAPI에 명시되지 않음 |
expectedBindingDigest | string | 아니요 | OpenAPI에 명시되지 않음 |
expectedCodeRevision | integer | 아니요 | Legacy code CAS revision; new callers use expectedSnapshotToken. The modes are mutually exclusive. |
actions | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
targetRevisions | array<object> | 아니요 | Legacy target revision list; use expectedSnapshotToken for revocation when there are many historical targets. |
expectedSnapshotToken | string | 아니요 | Server-generated authorization snapshot version, for concurrency checking only, not an invocation credential. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"code": "string",
"principalKind": "app",
"principalID": "string",
"revision": 0,
"active": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudStreamRequestGrantMutation. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Create a stream document
Create a Stream from document or program; dryRun=true validates only. Bind an existing Edge Source using target:{fleetNodeId,sourceId,configRevision} and resources from that revision's catalog. When Modbus acquisition.ranges is omitted, the server resolves selected ranges from the target resource catalog. You may provide pollIntervalMs separately; do not copy unitId, writable, connection endpoints or credentials.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"program":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"expectedSourceRevision":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
document | object | 아니요 | CloudStreamDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
program | object | 아니요 | RuntimeStreamDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedSourceRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Disable a stream document
Disable by id, using both expectedRevision and expectedActiveRelease to prevent concurrent overwrites; dryRun=true validates only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/disable' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0,"dryRun":false,"idempotencyKey":"string","expectedActiveVersion":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 예 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 예 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
expectedActiveVersion | string | 예 | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read a stream document
Read the stream's native configuration document by id.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","view":"summary"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | Positive decimal int64 identifier; always a string on the wire. |
view | string | 아니요 | summary requires view permission and omits scripts/connection settings. full or omission requires management permission; API keys also require full_access, and MCP requires the corresponding management scope. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update a stream document
Update the stream with document, optionally checking concurrent changes through expectedRevision; dryRun=true validates only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
id | string | 예 | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
document | object | 아니요 | CloudStreamDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
program | object | 아니요 | RuntimeStreamDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedSourceRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Validate a stream document
Validate document or program through isolated script registration without executing acquisition callbacks or deploying. For existing Edge Modbus Sources, both sources and sourceBindings accept target and resources without acquisition.ranges. The server resolves ranges from the target catalog at configRevision; pollIntervalMs may be specified separately. Select existing catalog resources only; do not copy unitId, writable, connection endpoints or credentials. Validation failures identify the binding field through reason/path; normalizedDocument is returned only when normalization produces one.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/validate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"id":"string","program":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"expectedSourceRevision":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
document | object | 아니요 | CloudStreamDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
id | string | 아니요 | Stable current Stream ID when validating edits. Omit for new drafts; names never identify which active routes to exclude. |
program | object | 아니요 | RuntimeStreamDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedSourceRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"valid": false,
"issues": [
"value"
],
"normalizedDocument": {
"name": "value",
"description": "value",
"model": "value",
"script": "value",
"sources": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read stream observations
Read observations and accepted-task statistics for a stream by id.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/observation/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"id": "string",
"revision": 0,
"stats": {
"admitted": "value",
"completed": "value",
"failed": "value",
"unknown": "value",
"pending": "value"
},
"window": {
"from": "value",
"to": "value"
},
"coverage": "durable-admissions"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Delete a stream program
Delete a stream program by id, including an active program, and revoke future execution admission without a separate stop. Use expectedRevision to check concurrent changes; dryRun=true validates only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dryRun | boolean | 예 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
id | string | 예 | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Deploy a stream program
Deploy the program, optionally checking program/source revisions through expectedRevision and expectedSourceRevision; dryRun=true validates only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/deploy' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"expectedSourceRevision":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. Optional optimistic concurrency guard; omission updates the current object. |
expectedSourceRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
expectedReleaseState | string | 아니요 | Cloud extension: require inactive state; mutually exclusive with expectedActiveVersion. |
expectedActiveVersion | string | 아니요 | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
List stream programs
Query programs with pagination and sourceId, model, status and archived filters.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"search":"string","sourceId":"string","model":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | Positive decimal int64 identifier; always a string on the wire. |
model | string | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 아니요 | OpenAPI에 명시되지 않음 |
archived | boolean | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0,
"hasMore": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Roll back a stream program
Roll back to versionId; dryRun=true validates only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/rollback' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"expectedSourceRevision":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
dryRun | boolean | 예 | true validates only; false performs writes. |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. Optional optimistic concurrency guard; omission updates the current object. |
expectedSourceRevision | integer | 아니요 | OpenAPI에 명시되지 않음 |
versionId | string | 예 | OpenAPI에 명시되지 않음 |
expectedReleaseState | string | 아니요 | Cloud extension: require inactive state; mutually exclusive with expectedActiveVersion. |
expectedActiveVersion | string | 아니요 | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
List stream releases
Read a stream program's release history by id with pagination.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/versions/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","page":0,"size":0,"search":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
page | integer | 아니요 | Page number, starting at 1. |
size | integer | 아니요 | Page size; see this endpoint's maximum or the capability catalog. |
search | string | 아니요 | Search names or supported text fields; not SQL. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
List stream runs
Query stream runs by id using size and cursor pagination. Failed runs may include a safe error reason and repair guidance. error.sourceRequest describes only the failed Source call and does not imply that the entire run had no side effects.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/runs/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","size":0,"cursor":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
cursor | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"nextCursor": "string",
"checkedAt": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Test a stream sample
Run an isolated sample test with input on the document's entryId; no external host access or committed data writes.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/sample/test' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"entryId":"string","input":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
document | object | 예 | CloudStreamDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
entryId | string | 예 | OpenAPI에 명시되지 않음 |
input | object | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"status": "completed",
"errorCode": "string",
"snapshot": "string",
"entryId": "string",
"data": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Append samples, query multiple records, aggregate, read latest values and delete explicit time ranges. Latest values refer only to actual samples.
Append samples
Append items to the existing record identified by URL collectionId and recordId. Each item requires time as event time in Unix milliseconds and data as sample values; id and quality are optional. receivedAt is generated by the server. dryRun=true validates only. The default is atomic batch commit; allowPartial=true commits items independently and returns individual results. mode is auto, sync or async. Query accepted asynchronous work through jobId; app credentials support only auto/sync.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
recordId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records/{recordId}/samples' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","time":"value","quality":"value","data":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
dryRun | boolean | 예 | true validates only; false performs writes. |
allowPartial | boolean | 아니요 | Default false rolls back the entire batch; true commits items independently and reports failures in results[].error. |
mode | string | 아니요 | OpenAPI에 명시되지 않음 |
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"results": [
{
"opId": "item-0",
"action": "sample.append",
"id": "s1",
"collectionId": "devices",
"status": "appended"
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | DocUnsV2SampleAppendOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Aggregate samples
Run pipeline on samples within [from,to), using Unix milliseconds. recordIds is optional, at most 20; omission queries the authorized collection. Supports advanced filters, grouping, sorting and time buckets; pipeline determines output documents. page and limit are mutually exclusive; pipeline cannot broaden time or record scope.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:aggregate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"],"from":0,"to":0,"pipeline":["string"],"limit":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
recordIds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
from | integer | 예 | Inclusive start time in Unix milliseconds. |
to | integer | 예 | Exclusive end time in Unix milliseconds, greater than from. |
pipeline | array<object> | 예 | OpenAPI에 명시되지 않음 |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
page | object | 아니요 | UnsV2PipelinePage. 스키마 절에서 참조된 스키마를 확인하세요. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"items": [
{
"averageTemperature": 25
}
],
"pageInfo": {
"mode": "offset",
"hasMore": false,
"nextCursor": null,
"nextPage": null,
"snapshotScope": "thisRequestOnly"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudDataPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Delete samples in a time range
Physically delete samples for explicit recordIds within [from,to), at most 20 records; from/to use Unix milliseconds. dryRun=true returns only estimated deletion count; parent records remain.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"],"from":0,"to":0,"dryRun":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
recordIds | array<string> | 예 | Record IDs, not collection IDs. |
from | integer | 예 | Time-range start in Unix milliseconds. |
to | integer | 예 | Time-range end in Unix milliseconds. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"deletedCount": 1,
"dryRun": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Query samples
Query samples within [from,to), using Unix milliseconds. recordIds is optional, at most 20; omission queries the authorized collection. Supports filter, sort, projection and either limit/cursor or page; page cannot be combined with limit/cursor. Results paginate across selected records together; filter cannot broaden time or record scope.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:find' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"],"from":0,"to":0,"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
recordIds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
from | integer | 예 | Inclusive start time in Unix milliseconds. |
to | integer | 예 | Exclusive end time in Unix milliseconds, greater than from. |
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
cursor | string | 아니요 | OpenAPI에 명시되지 않음 |
page | object | 아니요 | UnsV2PipelinePage. 스키마 절에서 참조된 스키마를 확인하세요. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"items": [
{
"id": "s1",
"collectionId": "devices",
"recordId": "r1",
"time": 1792454400000,
"receivedAt": 1792454400100,
"quality": "good",
"data": {
"temperature": 25
},
"sourceId": null
}
],
"pageInfo": {
"mode": "cursor",
"hasMore": false,
"nextCursor": null,
"nextPage": null,
"snapshotScope": "thisRequestOnly"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudSamplePage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read each record's latest sample
recordIds is required, at most 20. Return each record's latest actual sample; sample is null if none exists.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:latest' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
recordIds | array<string> | 예 | Record IDs, not collection IDs. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"series": [
{
"recordId": "r1",
"sample": {
"id": "s1",
"collectionId": "devices",
"recordId": "r1",
"time": 1792454400000,
"receivedAt": 1792454400100,
"quality": "good",
"data": {
"temperature": 25
},
"sourceId": null
}
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Business record queries, writes, soft deletion, restoration, lease locks and cross-collection transactions. Use bare names for business fields and _id / _meta.* for system fields.
Insert one record
Insert data into the collection, optionally with id. A deleted record with the same ID is not implicitly restored. By default, only insertedId and execution state are returned. returnDocument=after returns the created value in the same transaction, supports projection, and requires read access. Idempotent replay returns the original creation snapshot; dryRun=true returns only an uncommitted preview.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","id":"string","data":{}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
id | string | 아니요 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
data | object | 예 | OpenAPI에 명시되지 않음 |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
returnDocument | string | 아니요 | none preserves the insertedId response; after includes the created value from the same write transaction and requires read access. Idempotent replay returns the original creation snapshot; dryRun returns an uncommitted preview. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"insertedId": "r1"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Aggregate business records
Run pipeline on active records in the collection, supporting filtering, projection, grouping and sorting. Pipeline determines returned documents; page and limit are mutually exclusive. On the first or an offset page, count:{max} includes capped pipeline-output total from the same snapshot.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:aggregate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"pipeline":["string"],"limit":0,"page":{"size":0,"mode":"offset","page":0,"cursor":"string"},"count":{"max":0}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
pipeline | array<object> | 예 | OpenAPI에 명시되지 않음 |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
page | object | 아니요 | UnsV2PipelinePage. 스키마 절에서 참조된 스키마를 확인하세요. |
count | object | 아니요 | CloudRecordTotalOption. 스키마 절에서 참조된 스키마를 확인하세요. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"items": [
{
"averageTemperature": 25
}
],
"pageInfo": {
"mode": "offset",
"hasMore": false,
"nextCursor": null,
"nextPage": null,
"snapshotScope": "thisRequestOnly"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudRecordAggregatePage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Execute mixed writes within a collection
Use operations to mix insert, update, replace and soft-delete operations in one collection. atomic and ordered control batch execution; result indices refer to original input positions. dryRun=true validates only. With atomic=false, chunks/items commit independently. Once any commit occurs, failure reports error.execution=committed and retry.safe=false, with cumulative data matching the success structure: counts, insertedIds, writeErrors, hasMore and nextIndex, plus unknownUntil when outcomes are unknown. nextIndex is the first unexecuted zero-based operation; earlier indices absent from writeErrors committed. If unknownUntil is present, [nextIndex, unknownUntil) has unknown outcome. Retry with the same idempotency key if supplied. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading those IDs before continuation. Server-generated-ID inserts, filter-selected operations and incremental updates such as $inc cannot be reconciled safely; always use idempotency keys for these writes. Without unknownUntil, continuation from nextIndex is safe. execution is rolledBack or notStarted only when nothing committed.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:bulkWrite' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","operations":["string"],"ordered":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
operations | array<object> | 예 | OpenAPI에 명시되지 않음 |
ordered | boolean | 아니요 | OpenAPI에 명시되지 않음 |
atomic | boolean | 아니요 | true commits the entire batch atomically, with at most 200 document actions; false commits per document. |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
lockTokens | object | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"insertedCount": 1,
"matchedCount": 0,
"modifiedCount": 0,
"deletedCount": 0,
"upsertedCount": 0,
"insertedIds": {
"0": "r1"
},
"upsertedIds": {}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results. | application/json |
Count records
Count active records matching filter in the collection, up to maxCount (default and maximum 100000). Above the cap, return count=maxCount and capped=true; equality gives capped=false.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:count' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"maxCount":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
maxCount | integer | 아니요 | Count limit; actual counts above maxCount return count=maxCount and capped=true. Equality returns capped=false. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"count": 1,
"capped": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudCappedCount. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Soft-delete multiple records
Soft-delete records matching filter and physically delete related samples in the same transaction. Restoring records does not restore samples. maxDocs bounds this pass and resumeAfter continues it; atomic and ordered control batch execution. dryRun=true validates only. With atomic=false, chunks/items commit independently. Any committed work makes failure report error.execution=committed and retry.safe=false; error-envelope data contains cumulative counts, insertedIds and writeErrors, plus hasMore/resumeAfter when continuation is possible. execution is rolledBack or notStarted only if nothing committed.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:deleteMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"maxDocs":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
maxDocs | integer | 아니요 | Default 1000; atomic requests default to 200. |
resumeAfter | string | 아니요 | OpenAPI에 명시되지 않음 |
atomic | boolean | 아니요 | true commits the entire batch atomically, with at most 200 document actions; false commits per document. All selected writes commit together; maxDocs must be <= 200 and the complete match set must fit. |
ordered | boolean | 아니요 | OpenAPI에 명시되지 않음 |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
lockTokens | object | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"deletedCount": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results. | application/json |
Soft-delete one record
Select one record by filter and sort, then soft-delete it. Ordinary queries no longer return the record. Related samples are physically deleted in the same transaction; restoring the record does not restore samples. dryRun=true validates only.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:deleteOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
returnDocument | string | 아니요 | none returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"deletedCount": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Assess query and write scope
Read-only assessment of find, updateMany or deleteMany plans and a bounded match scope, returning sampleIds without writing. The assessment does not guarantee later data state.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:explain' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"op":"find","limit":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
op | string | 아니요 | OpenAPI에 명시되지 않음 |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"op": "string",
"writesCommitted": false,
"executionGuaranteed": false,
"matchedCount": 0,
"capped": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Query business records
Query active records in a collection using filter, sort, projection and limit/cursor. Return items and pageInfo; each record's business fields are nested under data. On the first page, count:{max} includes capped total:{count,capped} from the same snapshot (default limit 10000, maximum 100000). Continuation cursor cannot include count.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:find' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"projection":{},"limit":0,"cursor":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
cursor | string | 아니요 | OpenAPI에 명시되지 않음 |
count | object | 아니요 | CloudRecordTotalOption. 스키마 절에서 참조된 스키마를 확인하세요. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"items": [
{
"id": "r1",
"collectionId": "devices",
"data": {
"temperature": 25
},
"revision": 1,
"createdAt": 1792454400000,
"updatedAt": 1792454400000,
"sourceId": null,
"sourceTime": null
}
],
"pageInfo": {
"mode": "cursor",
"hasMore": false,
"nextCursor": null,
"nextPage": null,
"snapshotScope": "thisRequestOnly"
},
"total": {
"count": 1,
"capped": false
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudRecordPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read records by ID
Read at most 100 active records by primary key with optional projection. items follow request order; nonexistent, soft-deleted and employee-rule-filtered IDs all appear in missing without distinguishing absence from unreadability.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"ids":["string"],"projection":{}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
ids | array<string> | 예 | OpenAPI에 명시되지 않음 |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"items": [
{
"id": "r1",
"collectionId": "devices",
"data": {
"temperature": 25
},
"revision": 1,
"createdAt": 1792454400000,
"updatedAt": 1792454400000,
"sourceId": null,
"sourceTime": null
}
],
"missing": [
"r2"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudRecordGetResult. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Lock or claim records
Acquire leases atomically by ids, or claim available records using filter, sort and limit. ttlMs defaults to 30000, with range 1000–300000 milliseconds. Return lease tokens and records. Collection read/write permission is required; locks do not affect reads.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:lock' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"ids":["string"],"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"limit":0,"ttlMs":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
ids | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
limit | integer | 아니요 | OpenAPI에 명시되지 않음 |
ttlMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
label | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"locks": [
{
"id": "r1",
"token": "lease-token",
"expiresAt": 1792454430000,
"fence": 1,
"record": {
"id": "r1",
"collectionId": "devices",
"data": {
"temperature": 25
},
"revision": 1,
"createdAt": 1792454400000,
"updatedAt": 1792454400000,
"sourceId": null,
"sourceTime": null
}
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Renew record locks
Renew currently held leases using id and token in locks. ttlMs defaults to 30000, with range 1000–300000 milliseconds.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:renew' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"locks":[{"id":"value","token":"value"}],"ttlMs":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
locks | array<object> | 예 | OpenAPI에 명시되지 않음 |
ttlMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"locks": [
{
"id": "r1",
"expiresAt": 1792454460000
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Replace one record
Select one record by filter and sort, then fully replace business data with replacement. upsert=true may insert when unmatched, requiring ID or complete unique-key equality. dryRun=true validates only.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:replaceOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
replacement | object | 예 | OpenAPI에 명시되지 않음 |
upsert | boolean | 아니요 | Insert if unmatched; filter must include _id equality or complete equality on a ready unique index. Concurrent conflicts do not create duplicate records. |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
returnDocument | string | 아니요 | none returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"matchedCount": 1,
"modifiedCount": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Restore records by ID
Restore at most 100 soft-deleted records by ids. Execute atomically and revalidate current schema and unique indexes. Any conflict rolls back everything; samples physically deleted with records are not restored. dryRun=true validates only.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:restore' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"ids":["string"],"dryRun":false,"idempotencyKey":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
ids | array<string> | 예 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"restoredCount": 1,
"restoredIds": [
"r1"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Release record locks
Ordinary release uses locks with id/token. Administrators may force release with ids and force=true. Apps/API keys cannot force release.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:unlock' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"locks":[{"id":"value","token":"value"}],"ids":["string"],"force":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
locks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
ids | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
force | boolean | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"unlockedCount": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update multiple records
Update records matching filter; upsert is not supported. maxDocs bounds this pass and resumeAfter continues it; atomic and ordered control batch execution. dryRun=true validates only. With atomic=false, chunks/items commit independently. Any committed work makes failure report error.execution=committed and retry.safe=false; error-envelope data contains cumulative counts, insertedIds and writeErrors, plus hasMore/resumeAfter when continuation is possible. execution is rolledBack or notStarted only if nothing committed.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:updateMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{}}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
update | object | 예 | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
maxDocs | integer | 아니요 | Default 1000; atomic requests default to 200. |
resumeAfter | string | 아니요 | OpenAPI에 명시되지 않음 |
atomic | boolean | 아니요 | true commits the entire batch atomically, with at most 200 document actions; false commits per document. All selected writes commit together; maxDocs must be <= 200 and the complete match set must fit. |
ordered | boolean | 아니요 | OpenAPI에 명시되지 않음 |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
lockTokens | object | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"matchedCount": 1,
"modifiedCount": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results. | application/json |
Update one record
Select one record by filter and sort, then apply update. upsert=true may insert when unmatched, requiring ID or complete unique-key equality. dryRun=true validates only.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionId | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:updateOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expectedRevision | integer | 아니요 | Expected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
update | object | 예 | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
upsert | boolean | 아니요 | Insert if unmatched; filter must include _id equality or complete equality on a ready unique index. Concurrent conflicts do not create duplicate records. |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
returnDocument | string | 아니요 | none returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion. |
projection | object | 아니요 | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"matchedCount": 1,
"modifiedCount": 1
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Batch-read page data
Execute at most 20 read-only queries (find/count/distinct/aggregate/get, optionally across collections) with one admission, authorization snapshot and repeatable-read snapshot. Requires uns.read and record:read on each collection. results correlates by query id and returns {ok:true,data} or {ok:false,error}; validation, compilation, authorization and individual SQL errors affect only that item. At most 2000 rows and 8 MiB per batch, otherwise 413 RESPONSE_TOO_LARGE. Any statement timeout returns 504 QUERY_TIMEOUT; neither case returns partial results.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:queryBatch' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":["string"]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queries | array<object> | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"results": {
"open": {
"ok": true,
"data": {
"items": [
{
"id": "r1",
"collectionId": "devices",
"data": {
"temperature": 25
},
"revision": 1,
"createdAt": 1792454400000,
"updatedAt": 1792454400000,
"sourceId": null,
"sourceTime": null
}
],
"pageInfo": {
"mode": "cursor",
"hasMore": false,
"nextCursor": null,
"nextPage": null,
"snapshotScope": "thisRequestOnly"
},
"total": {
"count": 1,
"capped": false
}
}
},
"byStatus": {
"ok": false,
"error": {
"code": "INVALID_REQUEST",
"reason": "unknown field status",
"details": [],
"execution": "notStarted",
"retry": {
"safe": false
},
"queryId": "byStatus"
}
}
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Subscribe to record changes (SSE)
GET; Accept must be exactly text/event-stream. collectionIds is a repeated query parameter, at most 64. Omission selects all readable collections for the identity, or all collections granted to the app. At most 100 recordIds are allowed and require exactly one collection. Each collection requires record:read. The connection immediately sends heartbeat with the current position as id, then every 15 seconds. change events arrive in commit order and contain only collectionId, recordId, revision, change (record/delete), restricted and occurredAt. Read business data again by ID. restricted=true indicates employee data rules; servers forwarding under app identity may forward only collection-level notifications to browsers. Reconnect with the last event id as Last-Event-ID. Exceeding 24-hour retention or narrowing authorization sends reset and closes the connection. Reread data and subscribe without Last-Event-ID. Authorization is rechecked every 30 seconds. Exceeding the connection limit returns 429 OVERLOADED.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
collectionIds | query | array<string> | 아니요 | Subscribed collections, at most 64; each requires record:read. Omission selects all collections readable by the identity, or all app-granted collections. Authorization-scope changes send reset. |
recordIds | query | array<string> | 아니요 | Subscribe only to these records, at most 100; requires exactly one collectionId. |
Last-Event-ID | header | string | 아니요 | Last received event id; omission starts from the current position. |
Accept | header | string | 예 | Must be exactly text/event-stream. |
200 · text/event-stream
"event: heartbeat\nid: c1\ndata: {\"at\":1792454400000}\n\nevent: change\nid: c2\ndata: {\"eventId\":\"c2\",\"collectionId\":\"work_orders\",\"recordId\":\"wo-1\",\"revision\":3,\"change\":\"record\",\"restricted\":false,\"occurredAt\":1792454401000}\n\n"| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | SSE event stream; each frame's data is JSON. | text/event-stream |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Execute a business-data transaction
Execute cross-collection record operations atomically, correlating results by opId, with dependsOn and result references. dryRun=true preflights only. mode is auto, sync or async; query accepted asynchronous work by jobId. App credentials support only auto/sync. Collection permissions are checked for each operation.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:transact' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","mode":"auto","items":[{"update":"value","arrayFilters":"value","upsert":"value","opId":"value","action":"value"}],"dryRun":false,"assertLocks":[{"collectionId":"value","id":"value","token":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
idempotencyKey | string | 아니요 | Optional idempotency key; reuse for the same request, never for different requests. |
mode | string | 아니요 | OpenAPI에 명시되지 않음 |
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
assertLocks | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"results": [
{
"opId": "read",
"action": "record.read",
"id": "r1",
"collectionId": "devices",
"status": "read",
"revision": 1,
"data": {
"temperature": 25
},
"document": {
"id": "r1",
"collectionId": "devices",
"data": {
"temperature": 25
},
"revision": 1,
"createdAt": 1792454400000,
"updatedAt": 1792454400000,
"sourceId": null,
"sourceTime": null
}
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | dryRun=false returns transaction results; dryRun=true returns a rolled-back preflight plan. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
App and grant endpoints
Read app data grants
Read collection grants for a real app. Current Builder sessions and full_access personal/Agent keys may call this endpoint. Platform system credentials (service/system/full_access with uns.write) may read every App in their current Workspace, including Apps other than their Builder target. This read access does not grant policy update authority. Ordinary service keys and runtime App credentials cannot call this endpoint.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-data-policy/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string (uuid) | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"revision": 0,
"version": "cloud-hosted-app-data/v1",
"status": "active",
"collections": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudAppDataPolicy. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update app data grants
Use changes to atomically add, modify or remove grants by collection. Omitted fields remain unchanged; other collections or employee rules need not be resubmitted. collections still performs explicit full replacement; the two modes are mutually exclusive. permissionLevel values read/readwrite/manage mean record read-only, read-write and management including deletion, and are mutually exclusive with low-level permissions. New grants cannot exceed the manager's capabilities. Stream request boundaries remain; expectedRevision and idempotencyKey are required. An unchanged retry with the same key replays the result without expanding authorization again.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-data-policy/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","expectedRevision":0,"status":"active","collections":[{"alias":"value","collectionId":"value","permissions":"value","dataRule":"value"}],"idempotencyKey":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string (uuid) | 예 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 예 | 0 attaches a data policy to an existing hosted App; positive revisions update it with CAS. |
status | string | 예 | OpenAPI에 명시되지 않음 |
collections | array<object> | 아니요 | Explicitly replace all grants; choose exactly one of this and changes. |
idempotencyKey | string | 예 | Required idempotency key; reuse for the same request, never for a different request. |
dryRun | boolean | 예 | true validates only; false performs writes. |
ruleContractVersion | string | 아니요 | Confirmation is required when full replacement involves employee rules, or incremental changes edit/clear rules or remove a grant containing rules. Retained rules need not be resubmitted during incremental updates. |
changes | array<object> | 아니요 | Atomic incremental updates by collectionId; no duplicate collection within the batch. New grants require alias and permissions; omitted update fields retain their values. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"results": [
{
"opId": "item-0",
"action": "meta.replace",
"kind": "app",
"id": "example-id",
"revision": 1,
"status": "updated"
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | DocCloudAppDataPolicyUpdateOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Page through an app's stream grants
The server summarizes configured entries, stream names, granted actions and current blocking reasons. Returns non-revoked grants by default; includeInactive=1 includes revoked entries. This is a current grant snapshot. Execution rechecks authorization and does not expand the app's global permission ceiling.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-access/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","streamId":"string","page":0,"size":0,"includeInactive":1}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string (uuid) | 예 | OpenAPI에 명시되지 않음 |
streamId | string | 아니요 | OpenAPI에 명시되지 않음 |
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
includeInactive | integer | 아니요 | 1 includes revoked grants; 2 (default) returns only non-revoked grants. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudAppStreamAccessPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read an app's stream permission ceiling
Read the real app's control permission ceiling using a current Builder session or full_access personal/agent key, with uns.write and stream.requests.manage. This ceiling applies together with individual stream-entry grants.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-policy/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string (uuid) | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"revision": 0,
"version": "cloud-hosted-app-stream/v1",
"status": "active",
"authorityStatus": "available"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | CloudAppStreamPolicy. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Update an app's stream permission ceiling
Reuse the existing app policy while preserving collection grants and employee rules; expectedRevision, idempotencyKey and dryRun are required. Available only to a current Builder session or full_access personal/agent key with uns.write and stream.requests.manage. Does not grant any stream entry automatically or upgrade the app key.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-policy/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","expectedRevision":0,"status":"active","idempotencyKey":"string","dryRun":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string (uuid) | 예 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 예 | Shared hosted policy metadata revision. 0 attaches to a real App; either data or Stream policy updates increment this revision. |
status | string | 예 | OpenAPI에 명시되지 않음 |
idempotencyKey | string | 예 | Required idempotency key; reuse for the same request, never for a different request. |
dryRun | boolean | 예 | true validates only; false performs writes. |
platformPermissions | array<string> | 예 | OpenAPI에 명시되지 않음 |
messageTopics | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"results": [
{
"opId": "item-0",
"action": "meta.replace",
"kind": "app",
"id": "example-id",
"revision": 1,
"status": "updated"
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | DocCloudAppStreamPolicyUpdateOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Archive this app's collection
Only platform-issued app keys may archive collections owned by this app (ownerAppId). The transaction archives the collection and removes the calling app grant, retaining records, samples and query indexes without tombstoning individual records. New archives have no record-count limit. An app may retain at most 64 archived collections, otherwise 409 APP_QUOTA_EXCEEDED. Topic, Source/Stream and other references do not block archiving. Referring configurations remain; existing grants that have not been revoked may read historical data, while writes are rejected. During app collection reclaim or purge, return retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge. restore restores the collection state; independently deleted records retain their previous state.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/archive' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"alias":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 예 | Case-insensitively unique app collection alias, matching src/data/collections.ts. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"alias": "string",
"collectionId": "string",
"revision": 0,
"archived": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Declare collections for this app
Only platform-issued app keys (app/internal/full_access, non-MCP, no employee delegation) are accepted. Declare collections in a batch. Missing collections are created in the app directory and granted record:read/write in the same transaction, plus record:delete if the key has uns.delete. Existing collections only widen through join and union indexes. Annotations (title/description/unit and collection description) are written only on creation; later changes use schema:replace. Stale grants pointing to this app's archived or hard-deleted collections are replaced in the same transaction. The batch is atomic. Any type conflict, join that cannot widen the current structure, or widening that breaks employee-rule fields leaves everything unchanged and returns 409 SCHEMA_CONFLICT with data.conflicts. Administrator-revoked grants return 403 APP_GRANT_REVOKED and are not automatically restored. Exceeding per-app quotas (64 collections, 64 indexes) returns 409 APP_QUOTA_EXCEEDED. Exceeding workspace index quota, counting physically existing non-retired indexes, returns 409 INDEX_QUOTA_EXCEEDED. During app collection reclaim (app deletion) or purge (preview reset), creation, widening or stale-grant cleanup returns retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge. Fully unchanged batches still succeed. When the App owns no collection with the alias but exactly one grant has the same alias and points to an active collection the App does not own, ensure borrows it: if the stored schema and indexes cover the declaration it returns that collectionId with status=unchanged. If the declaration needs a wider schema, a new index or a longer TTL, it returns 409 SCHEMA_CONFLICT (reason=SHARED_SCHEMA_READONLY); type conflicts still report TYPE_CONFLICT and a shorter TTL reports TTL_REQUIRES_REPLACE. A borrowed collection is never widened or indexed and does not count toward the App quota. While the owner App is in the trash the collection is read-only and can still be borrowed if it was not archived before the move: the declaration is not compared, status=unchanged is always returned, and ignored carries reason=OWNER_APP_TRASHED. When dataAppContext does not show the collection to the credential, for example because the grant carries an employee data rule, the result exposes no fields: indexStatus is empty, notes with a field path are omitted, and conflicts with a path report only SHARED_SCHEMA_READONLY without path or types. dryRun=true computes only.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/ensure' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"collections":[{"alias":"value","name":"value","recordSchema":"value","indexes":"value","description":"value"}],"dryRun":false}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
collections | array<object> | 예 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
200 · application/json
{
"code": 200,
"msg": "success",
"requestId": "request-id",
"data": {
"status": "committed",
"replayed": false,
"results": [
{
"opId": "item-0",
"action": "meta.create",
"kind": "appCollection",
"id": "example-id",
"revision": 1,
"status": "created"
}
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
List an app's collections
A session or personal API key with uns.read lists collections owned by appId, including archived collections, returning schemas, indexes/indexStatus and retired without grant details.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"collections": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Restore this app's archived collection
Only platform-issued app keys may restore the most recently archived collection for the alias, restore grants while reusing those still referencing it, and reuse retained indexes without rewriting records. Only legacy recordsArchivedAt tombstones restore their original record batch (at most 2000, otherwise 409 COLLECTION_TOO_LARGE). Unique conflicts roll back everything with 409 DUPLICATE_KEY. If ensure recreated a same-name collection, return 409 DUPLICATE with data.activeCollectionId; archive the active collection first. During app collection reclaim or purge, return retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/restore' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"alias":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 예 | Case-insensitively unique app collection alias, matching src/data/collections.ts. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"alias": "string",
"collectionId": "string",
"revision": 0,
"archived": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Replace this app collection's schema
Only platform-issued app keys are accepted, for explicit worker-driven narrowing such as removing fields/enum values/indexes or changing required fields; runtime code must not call it. expectedRevision is required. Narrowing validates active records up to 10,000 records and 16MB; larger migrations return 409 SCHEMA_MIGRATION_TOO_LARGE. At most 20 violations are returned with 409 SCHEMA_DATA_VIOLATION; data.violations contains only recordId/path. References from topic fields or app data rules return 409 REFERENCED. Removed paths and enum values enter retired and cannot be reintroduced by ensure. Indexes are replaced exactly and remain subject to per-app quota (64) and workspace index quota. Annotation-only or description-only changes return status=widened. Failure to acquire the lock returns retryable 503 TEMPORARILY_UNAVAILABLE. During app collection reclaim or purge, an actual replacement returns retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge. dryRun=true validates on a read-only snapshot without holding locks.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/schema:replace' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"alias":"string","recordSchema":{"additionalProperties":false,"description":"string","enum":["value"],"items":{"additionalProperties":"value","description":"value","enum":"value","items":"value","maximum":"value"},"maximum":0},"indexes":[{"kind":"value","path":"value","paths":"value","target":"value","unique":"value"}],"expectedRevision":0,"description":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 예 | Case-insensitively unique app collection alias, matching src/data/collections.ts. |
recordSchema | object | 예 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
indexes | array<object> | 예 | Replace indexes exactly as requested; [] removes all indexes. |
expectedRevision | integer | 예 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
dryRun | boolean | 아니요 | true validates only; false performs writes. |
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"alias": "string",
"collectionId": "string",
"revision": 0,
"status": "unchanged",
"retired": {
"paths": "value",
"enumValues": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Operation result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Read current app data context
Available only to current managed app credentials; returns the real app name and intersection of collection grants and key permissions. A new App without a data policy returns dataState=uninitialized, revision=0 and empty collections without creating a policy or granting access; declaring its actual collections through appCollectionsEnsure makes the state ready. An administrator-disabled policy returns HTTP 403 with reason APP_DATA_POLICY_DISABLED and is never re-enabled automatically. collections[] includes definition revision, recordSchema, indexes, indexStatus and ttl. Both owned and granted collections include ownerAppId (omitted for workspace collections), name, description and directoryPath (directory names from the workspace root, in the same shape as appCollectionsEnsure). Apps use only this endpoint to read collection structures. collections[].createCapability provides allowed, an independent writable input schema and version bindings from the current employee's actual creation rules. Do not infer creation rights from generic record:write or read schemas. limits exposes count, totals, queryBatch, get, subscriptions, TTL, concurrency and idempotency-window limits for adaptive clients. Hints are not credentials; writes and replay are authorized again at runtime. Identity comes only from server authentication. App ID and issuer-user parameters are not accepted; credentials are not returned.
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/context' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI에 이 요청 본문의 객체 필드가 선언되어 있지 않습니다.
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"collections": [
"value"
],
"name": "string",
"platformPermissions": [
"value"
],
"revision": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
requestId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | AppContext. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | Query result. | application/json |
default | Failure response; see Common errors for HTTP statuses and shared error fields. | application/json |
Discover workspace capabilities and contract versions
Requires a valid Workspace API key and an empty JSON object of at most 4KiB UTF-8 bytes; query parameters and Workspace overrides are rejected. Success returns CapabilityDiscoverV2Resp directly, without a code/msg/data envelope. Capabilities combine public release gates, Workspace feature gates and explicit key grants; Namespace and Stream request report publication and authorization only, with readiness_unknown and no runtime probe. Source/Stream retain evidence for individual operation prerequisites. state=ready does not replace resource authorization or an actual execution receipt. Contract 2.0 uses state, reasonCode and operations and omits redundant boolean states. Actual operations enforce backend execution safety checks and return their authoritative errors. Clients may ignore unknown extension fields. Version labels do not indicate device acknowledgements or npm package versions. Errors return CapabilityErrorResp with the actual HTTP status and do not expose internal exceptions.
200 · application/json
{
"product": "cloud",
"productVersion": "string",
"contractVersion": "2.0",
"apiContractVersions": [
"string"
],
"sdkContractVersions": [
"string"
]
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
product | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
productVersion | string | 아니요 | 스키마 절에서 참조된 스키마를 확인하세요. |
contractVersion | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
apiContractVersions | array<string> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
sdkContractVersions | array<string> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
capabilities | array<object> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
deprecations | array<object> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
info
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"capabilities": [
"value"
],
"mqttBroker": "string",
"name": "string",
"version": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformInfoResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
whoami
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"apiKeyName": "string",
"email": "string",
"keyPrefix": "string",
"keyType": "string",
"permissions": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAuthWhoamiResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Request a file upload
Request a file upload
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appInstanceId":"string","business":"string","contentType":"string","fileName":"string","sessionId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appInstanceId | string | 아니요 | OpenAPI에 명시되지 않음 |
business | string | 아니요 | OpenAPI에 명시되지 않음 |
contentType | string | 아니요 | OpenAPI에 명시되지 않음 |
fileName | string | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
useBy | string | 아니요 | OpenAPI에 명시되지 않음 |
visibility | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"expiresAt": 0,
"fileId": 0,
"filePath": "string",
"fileUrl": "string",
"postFields": {}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetFileUploadResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Delete a file
Delete a file
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filePath":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filePath | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"deleted": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetFileDeleteResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Download a file
Returns HTTP 302 with the download URL in Location and no JSON body. Private files use signed URLs; public files use persistent public URLs. When following the redirect, do not forward x-api-key or other credential headers to a different origin. The SDK already follows this rule.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
filePath | query | string | 예 | OpenAPI에 명시되지 않음 |
responseContentDisposition | query | string | 아니요 | OpenAPI에 명시되지 않음 |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
302 | Redirect to the public or short-lived signed download URL. | — |
Abort a multipart upload
Abort the multipart upload, remove remaining parts and release reserved quota.
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/abort' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileKey":"string","uploadId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fileKey | string | 예 | OpenAPI에 명시되지 않음 |
uploadId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"aborted": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetFileMultipartAbortResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Complete a multipart upload
Complete the upload after validating actual sizes with ListParts and reconciling reserved quota; change the file from temp to active.
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/complete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileKey":"string","parts":[{"etag":"value","partNumber":"value"}],"uploadId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fileKey | string | 예 | OpenAPI에 명시되지 않음 |
parts | array<object> | 예 | OpenAPI에 명시되지 않음 |
uploadId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"expiresAt": 0,
"filePath": "string",
"fileUrl": "string",
"sizeBytes": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetFileMultipartCompleteResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Initialize a multipart upload
Initialize direct multipart upload for large files (>100 MB). The server creates the upload and reserves quota, returning uploadId, partSize and partCount.
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/init' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appInstanceId":"string","bizId":"string","business":"string","contentType":"string","fileName":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appInstanceId | string | 아니요 | OpenAPI에 명시되지 않음 |
bizId | string | 아니요 | OpenAPI에 명시되지 않음 |
business | string | 아니요 | OpenAPI에 명시되지 않음 |
contentType | string | 아니요 | OpenAPI에 명시되지 않음 |
fileName | string | 예 | OpenAPI에 명시되지 않음 |
partSize | integer | 아니요 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
useBy | string | 아니요 | OpenAPI에 명시되지 않음 |
visibility | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"expiresAt": 0,
"fileKey": "string",
"filePath": "string",
"partCount": 0,
"partSize": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetFileMultipartInitResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Get signed part upload URLs
Issue signed PUT URLs for selected parts, uploaded directly to object storage. Resumable uploads are supported.
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/part-urls' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileKey":"string","partNumbers":[0],"uploadId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fileKey | string | 예 | OpenAPI에 명시되지 않음 |
partNumbers | array<integer> | 예 | OpenAPI에 명시되지 않음 |
uploadId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"partUrls": [
"value"
]
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetFileMultipartPartUrlsResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Get a file URL
Get a file URL
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
filePath | query | string | 예 | OpenAPI에 명시되지 않음 |
expiredSec | query | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"expiresAt": 0,
"fileUrl": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetFileUrlResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
assetUpload
curl --request POST 'https://<tier0-host>/openapi/v2/assets/upload' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"business":"string","contentType":"string","fileName":"string","isPublic":false,"sha256":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
business | string | 아니요 | OpenAPI에 명시되지 않음 |
contentType | string | 아니요 | OpenAPI에 명시되지 않음 |
fileName | string | 예 | OpenAPI에 명시되지 않음 |
isPublic | boolean | 아니요 | OpenAPI에 명시되지 않음 |
sha256 | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
sizeBytes | integer | 예 | OpenAPI에 명시되지 않음 |
storageKey | string | 아니요 | OpenAPI에 명시되지 않음 |
useBy | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"filePath": "string",
"fileUrl": "string",
"postFields": {},
"postUrl": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAssetUploadResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Get notification delivery status
Get delivery status by messageId. Ownership is checked against the requesting API key.
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"messageId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
messageId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"channels": [
{
"channel": "value",
"errorCode": "value",
"message": "value",
"platform": "value",
"status": "value"
}
],
"completedAt": "string",
"createdAt": "string",
"errorCode": "string",
"message": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
channels | array<object> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
completedAt | string | 아니요 | 스키마 절에서 참조된 스키마를 확인하세요. |
createdAt | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
errorCode | string | 아니요 | 스키마 절에서 참조된 스키마를 확인하세요. |
message | string | 아니요 | 스키마 절에서 참조된 스키마를 확인하세요. |
messageId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
recipientName | string | 아니요 | Recipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now |
recipientUserId | string | 예 | Recipient user ID of the request (a large integer carried as string), same as the recipientUserId given when sending |
status | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
type | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
404 | Platform operation failed. | application/json |
409 | Platform operation failed. | application/json |
422 | Platform operation failed. | application/json |
429 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
504 | Platform operation failed. | application/json |
List notification delivery records
List notification delivery records page by page, without the content. A personal key whose owner is an owner or admin of the workspace sees the whole workspace; any other key sees only the records it sent. The whole-workspace scope includes records dispatched from the admin console (keyId is the string 0).
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"messageId":"string","page":0,"recipientUserId":"string","size":0,"status":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
messageId | string | 아니요 | Filter by message ID (a large integer carried as string, a positive integer); omitted or empty string means no filter |
page | integer | 아니요 | Page number, 1-based; defaults to 1 when omitted, an explicit value must be >= 1 |
recipientUserId | string | 아니요 | Filter by recipient user ID (a large integer carried as string, a positive integer); omitted or empty string means no filter |
size | integer | 아니요 | Items per page; defaults to 20 when omitted, an explicit value must be between 1 and 100 |
status | string | 아니요 | Filter by status: accepted / sent / failed; omitted or empty string means no filter, any other value is rejected with 400 |
200 · application/json
{
"list": [
{
"channels": "value",
"completedAt": "value",
"createdAt": "value",
"errorCode": "value",
"keyId": "value"
}
],
"page": 0,
"size": 0,
"total": 0
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
page | integer | 예 | Page number actually used |
size | integer | 예 | Items per page actually used |
total | integer | 예 | Total number of records matching the filters |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
404 | Platform operation failed. | application/json |
409 | Platform operation failed. | application/json |
422 | Platform operation failed. | application/json |
429 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
504 | Platform operation failed. | application/json |
Send a notification
Send an inbox notification to a user in the API key's workspace, optionally requesting web or mobile push delivery.
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/send' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"channels":["web"],"content":"string","idempotencyKey":"string","link":"string","mode":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
channels | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
content | string | 예 | Plain text only; a request containing HTML tags is rejected with 400. |
idempotencyKey | string | 예 | OpenAPI에 명시되지 않음 |
link | string | 아니요 | OpenAPI에 명시되지 않음 |
mode | string | 아니요 | Deprecated (2026-11-04): test/live is decided by the platform from the API key and sender.type, and the value sent here is ignored (except for existing app credentials that do not distinguish preview from deployment, during the transition). test messages appear only in that App's Building preview bell; they do not enter the message center and are not pushed to devices. |
recipientUserId | string | 예 | OpenAPI에 명시되지 않음 |
sender | object | 아니요 | PlatformNotificationSender. 스키마 절에서 참조된 스키마를 확인하세요. |
source | string | 아니요 | Deprecated transitional alias for sender.name. sender.name takes precedence; this field will be removed. |
title | string | 예 | Plain text only; a request containing HTML tags is rejected with 400. |
type | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"createdAt": "string",
"messageId": "string",
"recipientName": "string",
"recipientUserId": "string",
"status": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
createdAt | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
messageId | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
recipientName | string | 아니요 | Recipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now; never affects the send result |
recipientUserId | string | 예 | Recipient user ID of the request (a large integer carried as string); on an idempotent hit it is the recipient of the existing request |
status | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
404 | Platform operation failed. | application/json |
409 | Platform operation failed. | application/json |
422 | Platform operation failed. | application/json |
429 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
504 | Platform operation failed. | application/json |
listAccessMembers
curl --request POST 'https://<tier0-host>/openapi/v2/apps/access-members/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","grantedAtEnd":0,"grantedAtStart":0,"page":0,"roleKeys":["string"]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string | 예 | OpenAPI에 명시되지 않음 |
grantedAtEnd | integer | 아니요 | Milliseconds; inclusive bounds with second precision. |
grantedAtStart | integer | 아니요 | Milliseconds; inclusive bounds with second precision. |
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
roleKeys | array<string> | 아니요 | Match any value, case insensitive. |
scope | string | 아니요 | draft: computed from draft roles; production or omitted: computed from the production version. |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"allActiveMembers": 0,
"appId": "string",
"list": [
"value"
],
"page": 0,
"productionVersionId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAppAccessMembersListResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
getMembers
curl --request POST 'https://<tier0-host>/openapi/v2/platform/getMembers' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"keyword":"string","page":0,"roleKey":"string","roles":["string"],"size":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
keyword | string | 아니요 | OpenAPI에 명시되지 않음 |
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
roleKey | string | 아니요 | OpenAPI에 명시되지 않음 |
roles | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
statuses | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
updatedAtEnd | string | 아니요 | OpenAPI에 명시되지 않음 |
updatedAtStart | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"list": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformPlatformMembersResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Create an MQTT credential
Create a regular MQTT credential of the same type created manually in the UI. The password is returned only once, in the successful creation response. Store it securely; this API cannot retrieve it later. Requires a full_access API key.
curl --request POST 'https://<tier0-host>/openapi/v2/mqtt-auth/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"clientIDRandomSuffixEnabled":false,"description":"string","name":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
clientIDRandomSuffixEnabled | boolean | 아니요 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"clientID": "string",
"clientIDRandomSuffixEnabled": false,
"id": 0,
"name": "string",
"password": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformMqttAuthCreateResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Delete an MQTT credential
Idempotently delete a regular MQTT credential. Missing, deleted or non-regular IDs return success without deleting Flow, EdgeNode or other system credentials. Requires a full_access API key.
curl --request POST 'https://<tier0-host>/openapi/v2/mqtt-auth/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | integer | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"success": false
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformMqttAuthDeleteResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Dispatch an analysis using its operation ID
Dispatch an immediate refresh or rerun analysis using an operationId UUID. Repeating the same ID and request reads the original run without executing again. Requires uns:write and the actual owner's identity.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/analyses/dispatch' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"canvasId":"string","cardId":"string","kind":"string","operationId":"string","resultId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 아니요 | OpenAPI에 명시되지 않음 |
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
kind | string | 예 | OpenAPI에 명시되지 않음 |
operationId | string | 예 | OpenAPI에 명시되지 않음 |
resultId | string | 아니요 | OpenAPI에 명시되지 않음 |
task | object | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"dispatchState": "string",
"errorCode": "string",
"errorMessage": "string",
"runId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentAnalysisDispatchResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Read an analysis run and result reference
Read the current owner's analysis status, errors and results by runId within the workspace. Other users' runs are inaccessible. Requires uns:read.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/analyses/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"runId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
runId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"run": {
"dispatchState": "value",
"errorCode": "value",
"errorMessage": "value",
"finishedAt": "value",
"firedAt": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentAnalysisGetResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
List workspace canvases
List canvas metadata in the current workspace, optionally filtered by platform session. page and size are required; size is 1 to 100. Requires uns:read.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/canvases/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"sessionId":"string","size":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"list": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentCanvasListResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Delete a canvas card with optimistic concurrency
Delete by canvas and card row ID. expectedCardSpec must match the full current card or HTTP 409 is returned. Requires uns:write.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"canvasId":"string","cardId":"string","expectedCardSpec":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
expectedCardSpec | object | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"cardId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentCardDeleteResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Read a complete canvas card
Read the full CardSpec by authenticated workspace, canvas ID and card row ID before editing.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"canvasId":"string","cardId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"canvasId": "string",
"cardId": "string",
"cardKey": "string",
"cardSpec": "string",
"updatedAt": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentCardGetResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
List canvas cards
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"canvasId":"string","page":0,"size":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"list": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentCardListResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Update a canvas card
A sandbox Agent updates a canvas card using an App key. The card must belong to the key's workspace.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"canvasId":"string","cardId":"string","cardSpec":"string","expectedCardSpec":"string","ord":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 아니요 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
expectedCardSpec | object | 예 | The full previously read card. Changes produce HTTP 409. |
ord | integer | 아니요 | Canvas order: omit to leave unchanged (forwarded to unssvr as -1). Explicit values, including 0, are preserved. |
position | object | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"cardId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentCardUpdateResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Read a task run
Only the task owner may use this operation. Triggering returns the run ID and current dispatch state, not proof of successful execution. Do not retry automatically after an unknown network outcome.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/job-runs/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobId":"string","jobRunId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
jobRunId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"run": {
"dispatchState": "value",
"errorCode": "value",
"errorMessage": "value",
"finishedAt": "value",
"firedAt": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobRunGetResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
List task run history
Only the task owner may use this operation. Triggering returns the run ID and current dispatch state, not proof of successful execution. Do not retry automatically after an unknown network outcome.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/job-runs/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobId":"string","page":0,"size":0,"status":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
status | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"list": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobRunListResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Create a scheduled task
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"cardId":"string","cronExpr":"string","expiresAt":0,"intervalSeconds":0,"name":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
cronExpr | string | 아니요 | OpenAPI에 명시되지 않음 |
expiresAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
intervalSeconds | integer | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
notify | object | 아니요 | OpenAPI에 명시되지 않음 |
scheduleKind | string | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 예 | OpenAPI에 명시되지 않음 |
sourceBlockId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceName | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 예 | OpenAPI에 명시되지 않음 |
task | object | 예 | OpenAPI에 명시되지 않음 |
type | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"jobId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Delete a scheduled task
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"jobId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Read a scheduled task
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"job": {
"attentionReason": "value",
"cardId": "value",
"createdAt": "value",
"cronExpr": "value",
"expiresAt": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobGetResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
List scheduled tasks
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"cardId":"string","page":0,"search":"string","size":0,"sourceId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 아니요 | active / paused / needs_attention / expired |
type | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"list": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobListResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Pause a scheduled task
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/pause' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"jobId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Resume a scheduled task
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/resume' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"jobId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Trigger a task once
Only the task owner may use this operation. Triggering returns the run ID and current dispatch state, not proof of successful execution. Do not retry automatically after an unknown network outcome.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/trigger' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"dispatchState": "string",
"jobId": "string",
"jobRunId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobTriggerResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Update a scheduled task
Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"cardId":"string","cronExpr":"string","expiresAt":0,"intervalSeconds":0,"jobId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
cronExpr | string | 아니요 | OpenAPI에 명시되지 않음 |
expiresAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
intervalSeconds | integer | 아니요 | OpenAPI에 명시되지 않음 |
jobId | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 아니요 | OpenAPI에 명시되지 않음 |
notify | object | 아니요 | OpenAPI에 명시되지 않음 |
notifyEnabled | integer | 아니요 | Omit to preserve notification settings. 1 requires notify; 2 disables notifications and must omit notify. |
scheduleKind | string | 아니요 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceBlockId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceName | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 아니요 | OpenAPI에 명시되지 않음 |
task | object | 아니요 | OpenAPI에 명시되지 않음 |
type | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"jobId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentJobMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Create a library entry with conflict detection
Create a workspace template. The same cardKey and content reuse the existing entry; different content returns HTTP 409 without overwriting the template. Requires uns:write.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"cardKey":"string","cardSpec":"string","sourceSessionId":"string","tags":["string"]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardKey | string | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
sourceSessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
tags | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"libraryItemId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentLibraryMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Delete a card library entry
Delete a workspace template by its verified library entry ID. Requires uns:write.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"libraryItemId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
libraryItemId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"libraryItemId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentLibraryMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Read a complete card library entry
Read the complete template, tags and source session by library entry ID before editing. Requires uns:read.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"libraryItemId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
libraryItemId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"item": {
"cardKey": "value",
"cardSpec": "value",
"createdAt": "value",
"libraryItemId": "value",
"sourceSessionId": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentLibraryGetResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
List card library entries
List shared card templates in the current workspace, matching any requested tag and optionally searching titles. Requires uns:read.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"search":"string","size":0,"tags":["string"]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 예 | OpenAPI에 명시되지 않음 |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
tags | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"list": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentLibraryListResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Update a library entry with optimistic concurrency
Update a template with the full previously read expectedItem. Changed content returns HTTP 409. An explicit empty tags array clears tags. Requires uns:write.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"cardSpec":"string","expectedItem":{"cardKey":"string","cardSpec":"string","sourceSessionId":"string","tags":["value"]},"libraryItemId":"string","sourceSessionId":"string","tags":["string"]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
expectedItem | object | 예 | PlatformAgentLibrarySnapshot. 스키마 절에서 참조된 스키마를 확인하세요. |
libraryItemId | string | 예 | OpenAPI에 명시되지 않음 |
sourceSessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
tags | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"libraryItemId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentLibraryMutationResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Save an Agent analysis result
A sandbox Agent submits a v1 result manifest using an App key, with idempotency by operationId.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"cardSpec":"string","dataScope":"string","images":["value"],"missingData":"string","operationId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardSpec | object | 아니요 | OpenAPI에 명시되지 않음 |
dataScope | object | 아니요 | OpenAPI에 명시되지 않음 |
images | array | 아니요 | OpenAPI에 명시되지 않음 |
missingData | object | 예 | OpenAPI에 명시되지 않음 |
operationId | string | 예 | OpenAPI에 명시되지 않음 |
resultSchemaVersion | integer | 예 | OpenAPI에 명시되지 않음 |
source | object | 예 | PlatformAgentResultSource. 스키마 절에서 참조된 스키마를 확인하세요. |
steps | array | 아니요 | OpenAPI에 명시되지 않음 |
summary | string | 아니요 | OpenAPI에 명시되지 않음 |
tables | array | 아니요 | OpenAPI에 명시되지 않음 |
title | string | 예 | OpenAPI에 명시되지 않음 |
warnings | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"jobRunId": "string",
"resultId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentResultCreateResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Read a saved analysis result
Read a result in the authenticated workspace using exactly one of resultId or operationId. Reuse the original operation ID to verify a save after a lost receipt. Returns the full manifest and CardSpec; requires uns:read.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"operationId":"string","resultId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
operationId | string | 아니요 | Provide this or resultId, but not both. After a save timeout, retrieve by the original ID instead of saving again. |
resultId | string | 아니요 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"result": {
"agentId": "value",
"byteSize": "value",
"cardSpec": "value",
"createdAt": "value",
"manifest": "value"
}
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentResultGetResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
List saved analysis results
List results in the authenticated workspace, optionally filtered by platform session. page and size are required; size is 1 to 100. Requires uns:read.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"platformSessionId":"string","size":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 예 | OpenAPI에 명시되지 않음 |
platformSessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"list": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentResultListResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Pin a saved result to a canvas
Pin a result in the authenticated workspace; requires uns:write. Create a card from CardSpec when present, or a reference card that reads tabular/chart details by resultId. Retrying the same result and canvas returns the original card without overwriting later edits.
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/pin' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"canvasId":"string","position":"string","resultId":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
position | object | 아니요 | OpenAPI에 명시되지 않음 |
resultId | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": 0,
"msg": "string",
"data": {
"cardId": "string"
}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
msg | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 예 | PlatformAgentResultPinResp. 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json |
Describe Stream request
Read a public Stream request contract without exposing internal runtime bindings.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
requestCode | path | string | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": "string",
"contractVersion": "string",
"description": "string",
"idempotency": "string",
"inputSchema": {}
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
contractVersion | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
description | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
idempotency | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
inputSchema | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
name | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
outputSchema | object | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
sideEffect | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
status | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
timeoutMs | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
404 | Platform operation failed. | application/json |
409 | Platform operation failed. | application/json |
422 | Platform operation failed. | application/json |
429 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
504 | Platform operation failed. | application/json |
Invoke Stream request
Invoke a Stream request using its public contract. The raw body must be valid UTF-8 and at most 1 MiB. The optional idempotencyKey is limited to 128 decoded UTF-8 bytes; the frozen contract determines whether it is required. Returns code, contractVersion, result, runID, status and replayed (boolean), without internal runtime bindings. An unknown result returns HTTP 504 with errorCode=STREAM_REQUEST_RESULT_UNKNOWN. Unclassified internal errors return HTTP 500 with errorCode=STREAM_REQUEST_INTERNAL_ERROR; message does not expose internal exceptions.
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
requestCode | path | string | 예 | OpenAPI에 명시되지 않음 |
curl --request POST 'https://<tier0-host>/openapi/v2/stream-requests/{requestCode}/invoke' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","input":"string"}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
idempotencyKey | string | 아니요 | At most 128 decoded UTF-8 bytes. The frozen contract determines whether this field is required. |
input | object | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"code": "string",
"contractVersion": "string",
"replayed": false,
"result": "string",
"runID": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
contractVersion | string | 예 | The frozen contract version used for execution. |
replayed | boolean | 예 | true indicates an idempotent replay; false indicates the first execution. |
result | object | 예 | The JSON result defined by the contract; null is allowed. |
runID | string | 예 | The execution identifier returned by the server, represented as an opaque string. |
status | string | 예 | The final status returned by the server; never accepted, queued, pending or running. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
404 | Platform operation failed. | application/json |
409 | Platform operation failed. | application/json |
422 | Platform operation failed. | application/json |
429 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
504 | Platform operation failed. | application/json |
Discover Stream requests
Discover visible Stream request contracts without exposing internal runtime bindings.
curl --request POST 'https://<tier0-host>/openapi/v2/stream-requests/discover' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"search":"string","size":0}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 아니요 | Defaults to 1. |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | Defaults to 20. |
200 · application/json
{
"list": [
{
"code": "value",
"contractVersion": "value",
"description": "value",
"idempotency": "value",
"inputSchema": "value"
}
],
"total": 0
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
total | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
404 | Platform operation failed. | application/json |
409 | Platform operation failed. | application/json |
422 | Platform operation failed. | application/json |
429 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
504 | Platform operation failed. | application/json |
Connect Stream messages
curl --request POST 'https://<tier0-host>/openapi/v2/stream-messages/connect' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","clientPublicKey":"string","topics":[{"publish":"value","subscribe":"value","topic":"value"}]}'application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string | 예 | OpenAPI에 명시되지 않음 |
clientPublicKey | string | 예 | OpenAPI에 명시되지 않음 |
topics | array<object> | 예 | OpenAPI에 명시되지 않음 |
200 · application/json
{
"contractVersion": "string",
"expiresAt": "string",
"maxPayloadBytes": 0,
"permissions": [
{
"publishSubject": "value",
"subscribeSubject": "value",
"topic": "value"
}
],
"url": "string"
}200 · application/json
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
contractVersion | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
expiresAt | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
maxPayloadBytes | integer | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
permissions | array<object> | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
url | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
userJwt | string | 예 | 스키마 절에서 참조된 스키마를 확인하세요. |
| 상태 | 의미 | 미디어 유형 |
|---|---|---|
200 | application/json | |
400 | Platform operation failed. | application/json |
401 | Platform operation failed. | application/json |
403 | Platform operation failed. | application/json |
404 | Platform operation failed. | application/json |
409 | Platform operation failed. | application/json |
422 | Platform operation failed. | application/json |
429 | Platform operation failed. | application/json |
500 | Platform operation failed. | application/json |
503 | Platform operation failed. | application/json |
504 | Platform operation failed. | application/json |
API 필드 이름, 예제 및 원본 설명은 포함된 영어 OpenAPI 명세를 따릅니다.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 예 | OpenAPI에 명시되지 않음 |
collectionId | string | 예 | Collection ID identifying the owner of business records and samples. |
indexes | array<object> | 아니요 | Unified index declaration, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omission preserves indexes; [] removes them. Paths omit data.; unique indexes are record B-trees only. Builds are asynchronous; check readiness through indexStatus. |
permissions | array<string> | 예 | OpenAPI에 명시되지 않음 |
recordSchema | object | 예 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
sampleSchema | object | 아니요 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
createCapability | object | 아니요 | CloudAppCreateCapability. 스키마 절에서 참조된 스키마를 확인하세요. |
revision | integer | 예 | Collection definition revision; increments on structural or index changes. |
indexStatus | array<object> | 예 | Current index state; only ready unique indexes support upsert, and only ready TTL indexes begin expiration deletion. |
ttl | object | 예 | Collection TTL rule, or null when absent. |
ownerAppId | string | 아니요 | Owning App of the collection. Equal to the current appId for an owned collection, different for a collection granted from another App; omitted for workspace collections. |
name | string | 예 | Business name of the collection. |
description | string | 아니요 | Collection description; omitted when empty. |
directoryPath | array<string> | 예 | Directory names from the workspace root to the collection, in the same shape as appCollectionsEnsure directoryPath; [] when the collection is at the root. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string | 예 | OpenAPI에 명시되지 않음 |
collections | array<object> | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
platformPermissions | array<string> | 예 | Explicit platform capabilities; default none; current App grants intersect with key and issuer resources |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
dataState | string | 예 | uninitialized means no data policy exists: empty collections are returned without writing initialization state; declaring the actual collections through ensure makes the state ready. An administrator-disabled policy still returns HTTP 403 APP_DATA_POLICY_DISABLED and is never re-enabled automatically. |
limits | object | 예 | CloudAppDataLimits. 스키마 절에서 참조된 스키마를 확인하세요. |
Unknown capability codes are ignored; only recognized codes use the frozen assessment contract.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
State reports publication and assessed prerequisites only; ready never grants resource access or confirms an actual execution.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
state | object | 예 | OpenAPI에 명시되지 않음 |
reasonCode | string | 예 | OpenAPI에 명시되지 않음 |
checkedAt | string (date-time) | 아니요 | OpenAPI에 명시되지 않음 |
validUntil | string (date-time) | 아니요 | Proof expiry must follow checkedAt. Cross-field chronological ordering is a semantic constraint checked by consumers in addition to this structural JSON Schema. |
retryAfterMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
code | string | 예 | OpenAPI에 명시되지 않음 |
contractVersions | array<string> | 예 | OpenAPI에 명시되지 않음 |
operations | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
State reports publication and assessed prerequisites only; ready never grants resource access or confirms an actual execution.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
state | object | 예 | OpenAPI에 명시되지 않음 |
reasonCode | string | 예 | OpenAPI에 명시되지 않음 |
checkedAt | string (date-time) | 아니요 | OpenAPI에 명시되지 않음 |
validUntil | string (date-time) | 아니요 | Proof expiry must follow checkedAt. Cross-field chronological ordering is a semantic constraint checked by consumers in addition to this structural JSON Schema. |
retryAfterMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
operation | string | 예 | OpenAPI에 명시되지 않음 |
requiresResourceCheck | boolean | 예 | OpenAPI에 명시되지 않음 |
Unknown operation names are ignored within their parent capability; known names are validated by that capability.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
operation | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 예 | Case-insensitively unique app collection alias, matching src/data/collections.ts. |
name | string | 예 | The user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. Required. ensure writes the name only on creation; existing names are maintained through metadata updates. Declaration changes do not overwrite user renames. |
recordSchema | object | 예 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
indexes | array<object> | 아니요 | Declared indexes; ensure unions current and declared indexes without removing any. |
description | string | 아니요 | Collection description is written only on creation; later changes use schema:replace. ensure does not write annotations and reports differences in ignored as ANNOTATION_NOT_APPLIED. |
directoryPath | array<string> | 아니요 | Real business directory names from the workspace root. Required for new aliases; existing aliases may omit it, and changed paths are ignored without moving Collections. Reuse active directories by parent and name or atomically create missing segments. Archived or non-directory name conflicts fail without restoring directories or granting extra permissions. For industrial data, follow the known ISA-95 equipment hierarchy Enterprise, Site, Area, Work Center, Work Unit. Skip inapplicable levels; non-industrial data uses its real business hierarchy. Never invent five levels. MES, App or business-module directories are allowed below the real equipment scope, for example Factory/Line/MES/Work Orders. Do not flatten data from different equipment scopes into a single root App container. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 예 | Case-insensitively unique app collection alias, matching src/data/collections.ts. |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
ignored | array<object> | 예 | Differences ignored because the declaration is narrower than storage or hits retired; for logging only. |
warnings | array<object> | 예 | OpenAPI에 명시되지 않음 |
indexStatus | array<object> | 예 | Current index state; only ready unique indexes support upsert. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
paths | array<string> | 예 | OpenAPI에 명시되지 않음 |
enumValues | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
path | string | 예 | Schema paths join object properties with dots, escaping literal . and backslash with backslash. Array elements use [], such as lines.[].discount; empty string means the record root. |
reason | string | 예 | OpenAPI에 명시되지 않음 |
message | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 예 | Case-insensitively unique app collection alias, matching src/data/collections.ts. |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | The user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
parentId | string | 아니요 | OpenAPI에 명시되지 않음 |
recordSchema | object | 예 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
indexes | array<object> | 예 | OpenAPI에 명시되지 않음 |
indexStatus | array<object> | 예 | OpenAPI에 명시되지 않음 |
retired | object | 예 | CloudAppCollectionRetired. 스키마 절에서 참조된 스키마를 확인하세요. |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
archived | boolean | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
path | string | 아니요 | OpenAPI에 명시되지 않음 |
message | string | 예 | OpenAPI에 명시되지 않음 |
Creation-input hint for the current key/app/employee and collection version; not an authorization credential. allowed=true establishes that compliant input exists, not that uniqueness, actual input or future writes will succeed. inputSchema selects writable fields independently, including write-only fields, rather than using the read schema. owner/state are injected by the server and not exposed to clients. No business defaults are filled; required fields must still be supplied. Unprovable schema semantics safely return false. Writes and replay always reauthorize at runtime; binding is only for UI cache invalidation.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
version | string | 예 | OpenAPI에 명시되지 않음 |
allowed | boolean | 예 | OpenAPI에 명시되지 않음 |
reason | string | 예 | OpenAPI에 명시되지 않음 |
appRevision | integer | 예 | OpenAPI에 명시되지 않음 |
collectionRevision | integer | 예 | OpenAPI에 명시되지 않음 |
binding | string | 예 | OpenAPI에 명시되지 않음 |
inputSchema | object | 아니요 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
alias | string | 아니요 | Optional access alias; when omitted, authorize and access directly by collectionId. An empty string clears the alias. |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
permissions | array<string> | 예 | OpenAPI에 명시되지 않음 |
dataRule | object | 아니요 | CloudAppDataRule. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
action | string | 예 | OpenAPI에 명시되지 않음 |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
alias | string | 아니요 | Optional access alias; when omitted, authorize and access directly by collectionId. An empty string clears the alias. |
permissionLevel | string | 아니요 | Business record permission presets: read-only, read-write and manage including deletion. Mutually exclusive with permissions; does not automatically grant sample permissions. |
permissions | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
dataRule | object | 아니요 | Omission retains employee rules; null clears them explicitly and requires ruleContractVersion confirmation. |
Current data-plane limits for SDK/MCP batch and concurrency adaptation; returned from current server configuration.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
count | object | 예 | OpenAPI에 명시되지 않음 |
total | object | 예 | OpenAPI에 명시되지 않음 |
queryBatch | object | 예 | OpenAPI에 명시되지 않음 |
get | object | 예 | OpenAPI에 명시되지 않음 |
subscribe | object | 예 | OpenAPI에 명시되지 않음 |
ttl | object | 예 | OpenAPI에 명시되지 않음 |
concurrency | object | 예 | OpenAPI에 명시되지 않음 |
idempotencyWindowMs | integer | 예 | Write-idempotency retention window in milliseconds; reuse after the window is treated as a new request. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string (uuid) | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
version | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
collections | array<object> | 예 | OpenAPI에 명시되지 않음 |
authorityStatus | string | 예 | OpenAPI에 명시되지 않음 |
appName | string | 예 | OpenAPI에 명시되지 않음 |
ruleContractVersion | string | 아니요 | Required explicitly on updates when any previous or proposed Collection grant has a dataRule, including removal and disabled revocation. Omitted for unprotected policies. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
version | string | 예 | OpenAPI에 명시되지 않음 |
ownerField | string | 예 | OpenAPI에 명시되지 않음 |
stateField | string | 아니요 | OpenAPI에 명시되지 않음 |
initialState | string | 아니요 | OpenAPI에 명시되지 않음 |
principals | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
userId | string | 예 | OpenAPI에 명시되지 않음 |
rowScope | string | 예 | OpenAPI에 명시되지 않음 |
permissions | array<string> | 예 | OpenAPI에 명시되지 않음 |
readFields | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
writeFields | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
writeStates | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
transitions | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
from | string | 예 | OpenAPI에 명시되지 않음 |
to | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
streamId | string | 예 | OpenAPI에 명시되지 않음 |
streamName | string | 예 | OpenAPI에 명시되지 않음 |
entryId | string | 예 | OpenAPI에 명시되지 않음 |
entryName | string | 예 | OpenAPI에 명시되지 않음 |
actions | array<string> | 예 | OpenAPI에 명시되지 않음 |
configuredActive | integer | 예 | OpenAPI에 명시되지 않음 |
state | string | 예 | OpenAPI에 명시되지 않음 |
blockedReasons | array<string> | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string (uuid) | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
version | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
authorityStatus | string | 예 | OpenAPI에 명시되지 않음 |
appName | string | 예 | OpenAPI에 명시되지 않음 |
platformPermissions | array<string> | 예 | OpenAPI에 명시되지 않음 |
messageTopics | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
Capped count.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
count | integer | 예 | OpenAPI에 명시되지 않음 |
capped | boolean | 예 | capped=true means actual matches exceed the cap, checked using cap + 1 rows, and count equals the cap. With capped=false, count is the complete total. |
Collection TTL rule: physically delete records after path time plus expireAfterSeconds; irreversible.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
path | string | 예 | Expiration timestamp field. |
expireAfterSeconds | integer | 예 | OpenAPI에 명시되지 않음 |
Pipeline-generated documents, without record/sample wrappers. Fields are determined by pipeline.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
pageInfo | object | 예 | CloudPageInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
mode | string | 아니요 | OpenAPI에 명시되지 않음 |
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
values | array<object> | 예 | OpenAPI에 명시되지 않음 |
pageInfo | object | 예 | CloudPageInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
Ordinary business record. Business fields are in data; system attributes are siblings. filter/projection use bare business names and _id/_meta.*, not response-object paths. lock describes only active leases and does not return tokens.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | Unix milliseconds. |
updatedAt | integer | 예 | Unix milliseconds. |
sourceId | string | 예 | OpenAPI에 명시되지 않음 |
sourceTime | integer | 예 | Unix milliseconds. |
lock | object | 아니요 | CloudRecordLockView. 스키마 절에서 참조된 스키마를 확인하세요. |
Ordinary sample object. Business fields are in data; time, quality, record identity and available provenance are siblings.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
recordId | string | 예 | OpenAPI에 명시되지 않음 |
time | integer | 예 | Unix milliseconds. |
receivedAt | integer | 예 | Unix milliseconds. |
quality | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
sourceId | string | 예 | OpenAPI에 명시되지 않음 |
streamId | string | 아니요 | OpenAPI에 명시되지 않음 |
bindingId | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
mode | string | 예 | OpenAPI에 명시되지 않음 |
hasMore | boolean | 예 | OpenAPI에 명시되지 않음 |
nextCursor | string | 예 | OpenAPI에 명시되지 않음 |
nextPage | integer | 예 | OpenAPI에 명시되지 않음 |
snapshotScope | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
ready | boolean | 예 | OpenAPI에 명시되지 않음 |
reasonCode | string | 예 | OpenAPI에 명시되지 않음 |
checkedAt | string (date-time) | 아니요 | OpenAPI에 명시되지 않음 |
validUntil | string (date-time) | 아니요 | OpenAPI에 명시되지 않음 |
retryAfterMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
validated | boolean | 예 | OpenAPI에 명시되지 않음 |
sideEffects | boolean | 예 | OpenAPI에 명시되지 않음 |
Pipeline-generated documents; total is the capped count of pipeline output.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
pageInfo | object | 예 | CloudPageInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
total | object | 아니요 | CloudCappedCount. 스키마 절에서 참조된 스키마를 확인하세요. |
Batch entries support find/count/distinct/aggregate/get. Fields follow each op variant, with id and op. Record distinct is available only within queryBatch; no standalone distinct endpoint exists.
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$",
"description": "Unique query identifier within the batch, used to return results."
},
"op": {
"type": "string",
"enum": [
"find"
]
},
"collectionId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Collection ID identifying the owner of business records and samples."
},
"filter": {
"$ref": "#/components/schemas/UnsV2DataFilter"
},
"sort": {
"$ref": "#/components/schemas/UnsV2PipelineSort"
},
"projection": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "integer",
"enum": [
0,
1
]
},
{
"type": "boolean"
}
]
},
"description": "Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"cursor": {
"type": "string"
},
"count": {
"$ref": "#/components/schemas/CloudRecordTotalOption"
}
},
"required": [
"id",
"op",
"collectionId"
],
"allOf": [
{
"not": {
"required": [
"count",
"cursor"
]
}
}
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$",
"description": "Unique query identifier within the batch, used to return results."
},
"op": {
"type": "string",
"enum": [
"count"
]
},
"collectionId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Collection ID identifying the owner of business records and samples."
},
"filter": {
"$ref": "#/components/schemas/UnsV2DataFilter"
},
"maxCount": {
"type": "integer",
"minimum": 1,
"maximum": 100000,
"default": 100000,
"description": "Count limit; actual counts above maxCount return count=maxCount and capped=true. Equality returns capped=false."
}
},
"required": [
"id",
"op",
"collectionId"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$",
"description": "Unique query identifier within the batch, used to return results."
},
"op": {
"type": "string",
"enum": [
"distinct"
]
},
"collectionId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Collection ID identifying the owner of business records and samples."
},
"filter": {
"$ref": "#/components/schemas/UnsV2DataFilter"
},
"field": {
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"page": {
"$ref": "#/components/schemas/CloudDistinctPage"
}
},
"required": [
"id",
"op",
"collectionId",
"field"
],
"allOf": [
{
"not": {
"required": [
"limit",
"page"
]
}
}
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$",
"description": "Unique query identifier within the batch, used to return results."
},
"op": {
"type": "string",
"enum": [
"aggregate"
]
},
"collectionId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Collection ID identifying the owner of business records and samples."
},
"pipeline": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineStage"
},
"minItems": 0,
"maxItems": 32
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"page": {
"$ref": "#/components/schemas/UnsV2PipelinePage"
},
"count": {
"$ref": "#/components/schemas/CloudRecordTotalOption"
}
},
"required": [
"id",
"op",
"collectionId",
"pipeline"
],
"allOf": [
{
"not": {
"required": [
"page",
"limit"
]
}
},
{
"not": {
"required": [
"count",
"page"
],
"properties": {
"page": {
"required": [
"cursor"
]
}
}
}
}
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$",
"description": "Unique query identifier within the batch, used to return results."
},
"op": {
"type": "string",
"enum": [
"get"
]
},
"collectionId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"minItems": 1,
"maxItems": 100,
"uniqueItems": true
},
"projection": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "integer",
"enum": [
0,
1
]
},
{
"type": "boolean"
}
]
},
"description": "Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained."
}
},
"required": [
"id",
"op",
"collectionId",
"ids"
]
}
],
"description": "Batch entries support find/count/distinct/aggregate/get. Fields follow each op variant, with id and op. Record distinct is available only within queryBatch; no standalone distinct endpoint exists."
}Individual result. Validation, compilation, authorization and individual SQL errors affect only that item; statement timeout or exceeding the batch read budget fails the whole batch.
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"ok": {
"type": "boolean",
"enum": [
true
]
},
"data": {
"oneOf": [
{
"$ref": "#/components/schemas/CloudRecordPage"
},
{
"$ref": "#/components/schemas/CloudCappedCount"
},
{
"$ref": "#/components/schemas/CloudDistinctResult"
},
{
"$ref": "#/components/schemas/CloudRecordAggregatePage"
},
{
"$ref": "#/components/schemas/CloudRecordGetResult"
}
],
"description": "Same as data in the corresponding single endpoint's successful response."
}
},
"required": [
"ok",
"data"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"ok": {
"type": "boolean",
"enum": [
false
]
},
"error": {
"$ref": "#/components/schemas/Fault"
}
},
"required": [
"ok",
"error"
]
}
],
"description": "Individual result. Validation, compilation, authorization and individual SQL errors affect only that item; statement timeout or exceeding the batch read budget fails the whole batch."
}| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
eventId | string | 예 | Event position, equal to the SSE frame id; use as Last-Event-ID on reconnect. Opaque; do not parse or concatenate it. |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
recordId | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | Record revision after the change; delete uses the deletion revision. |
change | string | 예 | record: insert, update or restore; delete: soft deletion or physical TTL deletion. Read again by recordId to obtain current content. |
occurredAt | integer | 예 | Write time: server time within the write transaction, in Unix milliseconds. Events follow write-transaction order, not commit order. Revisions for one record are not guaranteed monotonic. Reread by recordId and ignore non-delete events whose revision is no newer than already observed. Always process delete events, including late ones, and clear the record's observed revision. Treat later events with the same ID as a new record: revisions continue after soft deletion but restart at 1 after physical deletion. |
restricted | boolean | 예 | true when the collection has employee data rules. Servers aggregating under app identity may forward restricted events only as collection-level notifications without recordId/revision. Browsers reread through employee-rule-protected endpoints to avoid disclosing inaccessible record existence. |
items follow requested ids order; nonexistent, soft-deleted or unreadable IDs appear in missing.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
missing | array<string> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
token | string | 예 | OpenAPI에 명시되지 않음 |
expiresAt | integer | 예 | Unix milliseconds. |
fence | integer | 예 | OpenAPI에 명시되지 않음 |
record | object | 예 | RecordDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
label | string | 예 | OpenAPI에 명시되지 않음 |
expiresAt | integer | 예 | Unix milliseconds. |
fence | integer | 예 | OpenAPI에 명시되지 않음 |
since | integer | 예 | Unix milliseconds. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
pageInfo | object | 예 | CloudPageInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
total | object | 아니요 | CloudCappedCount. 스키마 절에서 참조된 스키마를 확인하세요. |
SSE frame: event is the frame type, id is the resume position, and data is JSON. Sends heartbeat immediately on connection with the current position as id, then every 15 seconds. change follows write-transaction order, so record revisions may not be monotonic; see CloudRecordChangeEvent.occurredAt. reset closes the connection.
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"enum": [
"change"
]
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 8192
},
"data": {
"$ref": "#/components/schemas/CloudRecordChangeEvent"
}
},
"required": [
"event",
"id",
"data"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"enum": [
"heartbeat"
]
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 8192
},
"data": {
"type": "object",
"additionalProperties": false,
"properties": {
"at": {
"type": "integer",
"description": "Server time in Unix milliseconds."
}
},
"required": [
"at"
]
}
},
"required": [
"event",
"id",
"data"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"enum": [
"reset"
]
},
"data": {
"$ref": "#/components/schemas/CloudRecordSubscribeReset"
}
},
"required": [
"event",
"data"
]
}
],
"description": "SSE frame: event is the frame type, id is the resume position, and data is JSON. Sends heartbeat immediately on connection with the current position as id, then every 15 seconds. change follows write-transaction order, so record revisions may not be monotonic; see CloudRecordChangeEvent.occurredAt. reset closes the connection."
}The server closes the connection after reset. Read current data again, then subscribe without Last-Event-ID.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
reason | string | 예 | CURSOR_EXPIRED: changes after the resume position passed 24-hour retention, the cursor cannot be decoded (for example after key rotation), or the tenant database moved instances. SCOPE_CHANGED: authorization scope changed, including readable collection changes when collectionIds was omitted or a collection becoming unreadable during resume. Both require rereading current data and subscribing again without a resume position. |
message | string | 아니요 | OpenAPI에 명시되지 않음 |
Include matching total from the same read-only snapshot as total:{count,capped}. Only for the first or an offset page; combining with continuation cursor returns INVALID_REQUEST.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
max | integer | 아니요 | Total cap; if actual total exceeds max, total.count=max and total.capped=true. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
pageInfo | object | 예 | CloudPageInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
redacted | boolean | 예 | OpenAPI에 명시되지 않음 |
protocol | string | 예 | OpenAPI에 명시되지 않음 |
runtimeState | string | 예 | OpenAPI에 명시되지 않음 |
health | string | 예 | OpenAPI에 명시되지 않음 |
platformReadiness | object | 아니요 | CloudPlatformReadiness. 스키마 절에서 참조된 스키마를 확인하세요. |
reference | boolean | 아니요 | OpenAPI에 명시되지 않음 |
nativeProtocol | string | 아니요 | OpenAPI에 명시되지 않음 |
target | object | 아니요 | StreamSourceTarget. 스키마 절에서 참조된 스키마를 확인하세요. |
configRevision | integer | 아니요 | Opaque execution snapshot version; may advance on rename. Read the authoritative receipt, never infer it from revision. |
desiredState | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 아니요 | OpenAPI에 명시되지 않음 |
runtimeLocation | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | Positive decimal int64 identifier; always a string on the wire. |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
document | object | 예 | SourceDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
runtimeState | string | 예 | OpenAPI에 명시되지 않음 |
health | string | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
platformReadiness | object | 아니요 | CloudPlatformReadiness. 스키마 절에서 참조된 스키마를 확인하세요. |
configRevision | integer | 아니요 | Opaque execution snapshot version; may advance on rename. Read the authoritative receipt, never infer it from revision. |
desiredState | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
window | object | 예 | OpenAPI에 명시되지 않음 |
coverage | string | 예 | OpenAPI에 명시되지 않음 |
checkedAt | integer (int64) | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
view | string | 예 | OpenAPI에 명시되지 않음 |
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
coverage | string | 예 | OpenAPI에 명시되지 않음 |
checkedAt | integer (int64) | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
configRevision | integer | 예 | Opaque execution snapshot version; may advance on rename. Read the authoritative receipt, never infer it from revision. |
reference | boolean | 예 | OpenAPI에 명시되지 않음 |
nativeProtocol | string | 예 | OpenAPI에 명시되지 않음 |
target | object | 예 | StreamSourceTarget. 스키마 절에서 참조된 스키마를 확인하세요. |
runtimeState | string | 예 | OpenAPI에 명시되지 않음 |
health | string | 예 | OpenAPI에 명시되지 않음 |
desiredState | string | 예 | OpenAPI에 명시되지 않음 |
Safe source inventory; no document or configuration is returned. Never use this summary as an editor document.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 예 | OpenAPI에 명시되지 않음 |
protocol | string | 예 | OpenAPI에 명시되지 않음 |
runtimeState | string | 예 | OpenAPI에 명시되지 않음 |
health | string | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
redacted | boolean | 예 | OpenAPI에 명시되지 않음 |
platformReadiness | object | 아니요 | CloudPlatformReadiness. 스키마 절에서 참조된 스키마를 확인하세요. |
Shared Stream script and Source bindings; Cloud deployment additionally exposes model, entries and messages.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
name | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
model | string | 아니요 | OpenAPI에 명시되지 않음 |
script | object | 예 | StreamScript. 스키마 절에서 참조된 스키마를 확인하세요. |
sources | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
entries | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
messages | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
sourceBindings | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
extensions | object | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
redacted | boolean | 예 | OpenAPI에 명시되지 않음 |
model | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
activeRelease | integer | 예 | Cloud extension: release sequence, not the activeVersion identifier. |
platformReadiness | object | 아니요 | CloudPlatformReadiness. 스키마 절에서 참조된 스키마를 확인하세요. |
activeVersion | string | 아니요 | Authoritative active version identifier, or 0 when inactive. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | Positive decimal int64 identifier; always a string on the wire. |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
document | object | 예 | CloudStreamDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
activeDocument | object | 아니요 | CloudStreamDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
status | string | 예 | OpenAPI에 명시되지 않음 |
activeRelease | integer | 예 | Cloud extension: release sequence, not the activeVersion identifier. |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
platformReadiness | object | 아니요 | CloudPlatformReadiness. 스키마 절에서 참조된 스키마를 확인하세요. |
activeVersion | string | 아니요 | Authoritative active version identifier, or 0 when inactive. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
kind | string | 예 | OpenAPI에 명시되지 않음 |
config | object | 아니요 | OpenAPI에 명시되지 않음 |
topic | string | 아니요 | OpenAPI에 명시되지 않음 |
request | object | 아니요 | CloudStreamRequestDefinition. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
topic | string | 예 | OpenAPI에 명시되지 않음 |
access | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
topic | string | 예 | OpenAPI에 명시되지 않음 |
publish | boolean | 예 | OpenAPI에 명시되지 않음 |
subscribe | boolean | 예 | OpenAPI에 명시되지 않음 |
Cloud deployment inventory. model and activeRelease are the stored native values; activeVersion is the immutable release row ID. The redacted document is display-only and has no script, entries or Source bindings.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
model | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
activeRelease | integer | 예 | OpenAPI에 명시되지 않음 |
activeVersion | string | 예 | OpenAPI에 명시되지 않음 |
executionState | string | 예 | OpenAPI에 명시되지 않음 |
document | object | 예 | OpenAPI에 명시되지 않음 |
redacted | boolean | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
platformReadiness | object | 아니요 | CloudPlatformReadiness. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
model | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | Draft revision returned by this operation; pass it directly as the next expectedRevision. |
activeVersion | string | 예 | Authoritative active version identifier, or 0 when inactive. |
activeRelease | integer | 아니요 | Cloud extension: release sequence, not the activeVersion identifier. |
status | string | 예 | OpenAPI에 명시되지 않음 |
executionState | string | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
document | object | 아니요 | OpenAPI에 명시되지 않음 |
platformReadiness | object | 아니요 | CloudPlatformReadiness. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
contractVersion | string | 예 | OpenAPI에 명시되지 않음 |
inputSchema | object | 예 | OpenAPI에 명시되지 않음 |
outputSchema | object | 예 | OpenAPI에 명시되지 않음 |
sideEffect | string | 예 | OpenAPI에 명시되지 않음 |
idempotency | string | 예 | OpenAPI에 명시되지 않음 |
timeoutMs | integer | 예 | OpenAPI에 명시되지 않음 |
status | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
principalKind | string | 예 | OpenAPI에 명시되지 않음 |
principalID | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
bindingDigest | string | 예 | OpenAPI에 명시되지 않음 |
recipientEligible | integer | 예 | OpenAPI에 명시되지 않음 |
recipientActions | array<string> | 예 | OpenAPI에 명시되지 않음 |
registered | integer | 예 | OpenAPI에 명시되지 않음 |
active | integer | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
actions | array<string> | 예 | OpenAPI에 명시되지 않음 |
targets | array<object> | 예 | OpenAPI에 명시되지 않음 |
createdPrincipal | string | 예 | OpenAPI에 명시되지 않음 |
updatedPrincipal | string | 예 | OpenAPI에 명시되지 않음 |
createdTime | integer | 예 | OpenAPI에 명시되지 않음 |
updatedTime | integer | 예 | OpenAPI에 명시되지 않음 |
activationSupported | integer | 예 | OpenAPI에 명시되지 않음 |
snapshotToken | string | 예 | Server-generated authorization snapshot version, for concurrency checking only, not an invocation credential. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
principalKind | string | 예 | OpenAPI에 명시되지 않음 |
principalID | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
active | integer | 예 | OpenAPI에 명시되지 않음 |
snapshotToken | string | 아니요 | New snapshot returned after a successful expectedSnapshotToken update; absent in legacy revision-field mode. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
digest | string | 예 | OpenAPI에 명시되지 않음 |
action | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
active | integer | 예 | OpenAPI에 명시되지 않음 |
current | integer | 예 | OpenAPI에 명시되지 않음 |
kind | string | 예 | OpenAPI에 명시되지 않음 |
reference | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
digest | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
Safe run diagnostics from a server allowlist; credentials, upstream response bodies, query parameters and arbitrary script exceptions are excluded. Older records or services may omit this field.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | Stable reason code; callers must tolerate new codes. |
stage | string | 예 | Confirmed failure stage; unspecified failures use execution, and unconfirmed outcomes use unknown. |
message | string | 예 | Fixed reason text selected from the server allowlist. |
repair | string | 예 | Fixed repair guidance; it does not authorize automatically expanding permissions or replaying writes. |
sourceRequest | string | 아니요 | Indicates only that the Source request causing this error was not dispatched; earlier external calls or writes in the same run may have completed. Omitted when unconfirmed or unrelated to a Source request. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
activeRelease | integer | 예 | Cloud extension: release sequence, not the activeVersion identifier. |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
activeVersion | string | 아니요 | Authoritative active version identifier, or 0 when inactive. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
index | integer | 예 | OpenAPI에 명시되지 않음 |
id | string | 아니요 | OpenAPI에 명시되지 않음 |
error | object | 예 | Fault. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
collectionId | string | 예 | Collection ID identifying the owner of business records and samples. |
description | string | 예 | OpenAPI에 명시되지 않음 |
fields | array<object> | 예 | OpenAPI에 명시되지 않음 |
indexStatus | array<object> | 예 | Read-only index status: name/spec/state/error. Only ready means the declared physical index is effective; pending/building/failed cannot support business-key upsert. Mounted collections enforce uniqueness at the source. |
indexes | array<object> | 예 | Unified index declaration, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omission preserves indexes; [] removes them. Paths omit data.; unique indexes are record B-trees only. Builds are asynchronous; check readiness through indexStatus. |
metadataNotice | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | The user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. |
recordGrain | string | 아니요 | OpenAPI에 명시되지 않음 |
recordSchema | object | 예 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
relationships | array<object> | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
sampleGrain | string | 아니요 | OpenAPI에 명시되지 않음 |
sampleSchema | object | 아니요 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardinality | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
sourceField | string | 예 | OpenAPI에 명시되지 않음 |
targetCollectionId | string | 예 | OpenAPI에 명시되지 않음 |
targetField | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fields | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
recordGrain | string | 아니요 | OpenAPI에 명시되지 않음 |
relationships | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
sampleGrain | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
aggregationNote | string | 아니요 | OpenAPI에 명시되지 않음 |
description | string | 예 | OpenAPI에 명시되지 않음 |
enum | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
kind | string | 예 | OpenAPI에 명시되지 않음 |
path | string | 예 | OpenAPI에 명시되지 않음 |
required | boolean | 예 | OpenAPI에 명시되지 않음 |
type | string | 예 | OpenAPI에 명시되지 않음 |
unit | string | 예 | OpenAPI에 명시되지 않음 |
format | string | 아니요 | Type representation annotation: int32 for integer, float (float32) or double (float64) for number, and date-time (datetime) for string. Adds no numeric range, precision or date-format validation, rounding, date parsing or time-zone conversion. Omission preserves base-type semantics. The outer sample time field is unchanged. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
collectionId | string | 예 | Collection ID identifying the owner of business records and samples. |
description | string | 예 | OpenAPI에 명시되지 않음 |
hasSamples | boolean | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | The user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. |
recordGrain | string | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
sampleGrain | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
asOf | integer | 아니요 | Cursor traversal cutoff in Unix milliseconds; not a retained database snapshot. |
complete | boolean | 예 | True only when this response contains the entire query result; a final page alone is not complete. |
hasMore | boolean | 예 | Continue with nextCursor in cursor mode, otherwise nextPage. |
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
nextCursor | string | 아니요 | OpenAPI에 명시되지 않음 |
nextPage | integer | 아니요 | OpenAPI에 명시되지 않음 |
page | integer | 예 | Page number, starting at 1. |
size | integer | 예 | Page size; see this endpoint's maximum or the capability catalog. |
snapshotScope | string | 예 | thisRequestOnly uses independent request snapshots; boundedLive limits cursor traversal by asOf but does not preserve row versions across requests. |
total | integer | 예 | Matching row count; null when includeTotal=false. |
totalKnown | boolean | 아니요 | OpenAPI에 명시되지 않음 |
truncated | boolean | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
capabilities | object | 예 | OpenAPI에 명시되지 않음 |
contractVersion | string | 예 | OpenAPI에 명시되지 않음 |
limits | object | 예 | OpenAPI에 명시되지 않음 |
models | array<object> | 예 | OpenAPI에 명시되지 않음 |
operations | array<object> | 예 | OpenAPI에 명시되지 않음 |
relations | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
schemas | object | 예 | OpenAPI에 명시되지 않음 |
version | string | 아니요 | OpenAPI에 명시되지 않음 |
cloudContractRevision | string | 아니요 | OpenAPI에 명시되지 않음 |
kinds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
modes | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
jobStates | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
actions | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudAppDataPolicy. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 아니요 | OpenAPI에 명시되지 않음 |
replayed | boolean | 예 | OpenAPI에 명시되지 않음 |
results | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 예 | Execution state of this operation. |
summary | object | 아니요 | OutcomeSummary. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | DocCloudAppDataPolicyUpdateOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
opId | string | 예 | Input identifier for correlating the original request. |
action | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
status | string | 예 | Execution state of this input item. |
kind | string | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 아니요 | OpenAPI에 명시되지 않음 |
error | object | 아니요 | DocItemFault. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudAppStreamAccessPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudAppStreamPolicy. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 아니요 | OpenAPI에 명시되지 않음 |
replayed | boolean | 예 | OpenAPI에 명시되지 않음 |
results | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 예 | Execution state of this operation. |
summary | object | 아니요 | OutcomeSummary. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | DocCloudAppStreamPolicyUpdateOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
opId | string | 예 | Input identifier for correlating the original request. |
action | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
status | string | 예 | Execution state of this input item. |
kind | string | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 아니요 | OpenAPI에 명시되지 않음 |
error | object | 아니요 | DocItemFault. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 아니요 | OpenAPI에 명시되지 않음 |
error | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | Machine-readable error code, such as OVERLOADED or VERSION_CONFLICT. |
reason | string | 예 | Developer-facing error reason. |
details | array<object> | 예 | Structured location information; an empty array when absent. |
execution | string | 예 | notStarted: rejected before the write path; rolledBack: executed then fully rolled back; committed: committed; unknown: commit status cannot be established. unknown occurs only on writes, never reads. notStarted/rolledBack establish no committed side effects. For non-atomic partialCommit operations, any committed chunk/item means committed, possibly partially. retry.safe=false and error-envelope data contains cumulative results. |
retry | object | 예 | ErrorRetry. 스키마 절에서 참조된 스키마를 확인하세요. |
repair | string | 아니요 | Suggested correction, such as narrowing query scope. |
opId | string | 아니요 | Identifier of the failed input item. |
queryId | string | 아니요 | Identifier of the failed query in a query batch. |
path | string | 아니요 | Location of the invalid input, when available. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
attempts | integer | 아니요 | OpenAPI에 명시되지 않음 |
createdAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
error | object | 아니요 | OpenAPI에 명시되지 않음 |
executionStatus | string | 예 | OpenAPI에 명시되지 않음 |
finishedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
jobId | string | 예 | OpenAPI에 명시되지 않음 |
outcome | string | 예 | Data commit outcome independent of legacy status; failed does not imply rollback. |
progress | object | 예 | OpenAPI에 명시되지 않음 |
result | object | 아니요 | Original submitted operation result, using that operation's result structure. |
startedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queryId | string | 예 | OpenAPI에 명시되지 않음 |
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
createdAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
deletedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
kind | string | 예 | OpenAPI에 명시되지 않음 |
launch | object | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
relationship | object | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
hasMore | boolean | 예 | OpenAPI에 명시되지 않음 |
nextPage | integer | 아니요 | OpenAPI에 명시되지 않음 |
complete | boolean | 예 | OpenAPI에 명시되지 않음 |
truncated | boolean | 예 | OpenAPI에 명시되지 않음 |
snapshotScope | string | 예 | OpenAPI에 명시되지 않음 |
queryId | string | 예 | OpenAPI에 명시되지 않음 |
ancestors | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
createdAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
deletedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
kind | string | 예 | OpenAPI에 명시되지 않음 |
launch | object | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
relationship | object | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
action | string | 예 | OpenAPI에 명시되지 않음 |
bindingSources | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
changedFields | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
checksRevision | boolean | 예 | OpenAPI에 명시되지 않음 |
collectionId | string | 아니요 | Collection ID identifying the owner of business records and samples. |
conditionCount | integer | 예 | OpenAPI에 명시되지 않음 |
conditionFields | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
dependsOn | array<string> | 아니요 | Prerequisite opIds; the server checks dependency cycles. |
opId | string | 예 | Unique operation identifier within the transaction, used by dependencies and result references. |
targetId | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
executionGuaranteed | boolean | 예 | OpenAPI에 명시되지 않음 |
locksHeldAfterResponse | boolean | 예 | OpenAPI에 명시되지 않음 |
plan | array<object> | 예 | OpenAPI에 명시되지 않음 |
readCollections | array<string> | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
warnings | array<string> | 예 | OpenAPI에 명시되지 않음 |
writeCollections | array<string> | 예 | OpenAPI에 명시되지 않음 |
writesCommitted | boolean | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queryId | string | 예 | OpenAPI에 명시되지 않음 |
targets | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
createdAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
deletedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
kind | string | 예 | OpenAPI에 명시되지 않음 |
launch | object | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
relationship | object | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queryId | string | 예 | OpenAPI에 명시되지 않음 |
meta | object | 예 | DocMetadataRow. 스키마 절에서 참조된 스키마를 확인하세요. |
fields | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | DocCatalog. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CollectionDescription. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | AppContext. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | DiscoveryResult. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 아니요 | With error.execution=committed, cumulative data includes results/errors/nextIndex/unknownUntil. Indices below nextIndex absent from errors committed; [nextIndex, unknownUntil) is uncertain. Retry with the same key if present. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading IDs; server-ID inserts, filter-selected operations and incremental updates such as $inc cannot be safely continued. Always use keys for these writes. Without unknownUntil, continuation from nextIndex is safe. null when nothing committed. |
error | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | MetadataPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 아니요 | OpenAPI에 명시되지 않음 |
replayed | boolean | 예 | OpenAPI에 명시되지 않음 |
results | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 예 | Execution state of this operation. |
summary | object | 아니요 | OutcomeSummary. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | DocUnsV2MetadataPurgeOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
opId | string | 예 | Input identifier for correlating the original request. |
action | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
status | string | 예 | Execution state of this input item. |
kind | string | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 아니요 | OpenAPI에 명시되지 않음 |
error | object | 아니요 | DocItemFault. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudRecordAggregatePage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 아니요 | With error.execution=committed, data contains cumulative partial results. Indices below nextIndex absent from writeErrors committed; [nextIndex, unknownUntil) is uncertain. Retry with the same key if present. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading IDs; server-ID inserts, filter-selected operations and incremental updates such as $inc cannot be safely continued. Always use keys for these writes. Without unknownUntil, continuation from nextIndex is safe. null when nothing committed. |
error | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudCappedCount. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 아니요 | With error.execution=committed, contains cumulative results and resumable hasMore/resumeAfter; null when nothing committed. |
error | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudRecordPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudRecordGetResult. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 아니요 | OpenAPI에 명시되지 않음 |
replayed | boolean | 예 | OpenAPI에 명시되지 않음 |
results | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 예 | Execution state of this operation. |
summary | object | 아니요 | OutcomeSummary. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | dryRun=false returns transaction results; dryRun=true returns a rolled-back preflight plan. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
opId | string | 예 | Input identifier for correlating the original request. |
action | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
status | string | 예 | Execution state of this input item. |
collectionId | string | 아니요 | Collection ID identifying the owner of business records and samples. |
revision | integer | 아니요 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
data | object | 아니요 | Business payload for transaction result bindings; use document for the full resource object. |
document | object | 아니요 | RecordDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
query | object | 아니요 | TransactionQueryResult. 스키마 절에서 참조된 스키마를 확인하세요. |
error | object | 아니요 | DocItemFault. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 아니요 | With error.execution=committed, contains cumulative results and resumable hasMore/resumeAfter; null when nothing committed. |
error | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudDataPage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 아니요 | OpenAPI에 명시되지 않음 |
replayed | boolean | 예 | OpenAPI에 명시되지 않음 |
results | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 예 | Execution state of this operation. |
summary | object | 아니요 | OutcomeSummary. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | DocUnsV2SampleAppendOutcome. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
opId | string | 예 | Input identifier for correlating the original request. |
action | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
status | string | 예 | Execution state of this input item. |
collectionId | string | 아니요 | Collection ID identifying the owner of business records and samples. |
error | object | 아니요 | DocItemFault. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudSamplePage. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | Fresh target Edge inventory. checkedAt is observation time; revision hashes device and binding state; complete=false includes per-kind discovery errors. devices contain deviceId, kind, label, address, canCreateSource, requiredParameters and existing sources. Serial discovery does not imply serial acquisition support. Empty devices only proves absence when complete=true. Never classify an arbitrary HID keyboard as a scanner without device identity supplied by the user. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | Native Edge Source result; inspect the target catalog for its exact versioned response. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | Bounded native result. Interpret fields using the selected resource output schema. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudStreamRequestGrantInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | CloudStreamRequestGrantMutation. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | integer | 예 | OpenAPI에 명시되지 않음 |
msg | string | 예 | OpenAPI에 명시되지 않음 |
requestId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
Whether an unchanged retry is safe. Retry read failures according to safe. Retry write failures only when safe=true, always reusing the original idempotency key.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
safe | boolean | 예 | true permits retrying the same request unchanged, reusing the write's original key. With false, correct the request or restore authorization first. |
afterMs | integer | 아니요 | Suggested minimum wait in milliseconds, only when safe=true; HTTP also supplies Retry-After in seconds. |
Wire-format error object. The envelope error, bulk item errors, queryBatch item errors and job errors share this structure.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | Machine-readable error code, such as OVERLOADED or VERSION_CONFLICT. |
reason | string | 예 | Developer-facing error reason. |
details | array<object> | 예 | Structured location information; an empty array when absent. |
execution | string | 예 | notStarted: rejected before the write path; rolledBack: executed then fully rolled back; committed: committed; unknown: commit status cannot be established. unknown occurs only on writes, never reads. notStarted/rolledBack establish no committed side effects. For non-atomic partialCommit operations, any committed chunk/item means committed, possibly partially. retry.safe=false and error-envelope data contains cumulative results. |
retry | object | 예 | ErrorRetry. 스키마 절에서 참조된 스키마를 확인하세요. |
repair | string | 아니요 | Suggested correction, such as narrowing query scope. |
opId | string | 아니요 | Identifier of the failed input in a transaction or bulk write. |
queryId | string | 아니요 | Identifier of the failed query in a query batch. |
path | string | 아니요 | Location of the invalid input, when available. |
objectKind | string | 아니요 | OpenAPI에 명시되지 않음 |
objectId | string | 아니요 | OpenAPI에 명시되지 않음 |
candidates | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
conditionIndex | integer | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
collectionId | object | 예 | UnsV2Identity. 스키마 절에서 참조된 스키마를 확인하세요. |
displayName | string | 아니요 | OpenAPI에 명시되지 않음 |
fieldPath | string | 예 | OpenAPI에 명시되지 않음 |
kind | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
recordId | object | 예 | UnsV2Identity. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
aggregationNote | string | 예 | OpenAPI에 명시되지 않음 |
kind | string | 예 | OpenAPI에 명시되지 않음 |
path | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
extensions | array<string> | 예 | OpenAPI에 명시되지 않음 |
format | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | User-declared logical resource selection name within this Source, not a database Source ID or asset file ID. Reuse the same selection name for stable resource identity. |
path | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | User-declared logical resource selection name within this Source, not a database Source ID or asset file ID. Reuse the same selection name for stable resource identity. |
path | string | 예 | OpenAPI에 명시되지 않음 |
tables | array<string> | 아니요 | Omit for a byte resource, or select QC2000 tables from a SQLite snapshot. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
caCertificate | string | 아니요 | OpenAPI에 명시되지 않음 |
directories | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
resources | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
sshHostKey | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
anonymous | boolean | 아니요 | OpenAPI에 명시되지 않음 |
authentication | string | 아니요 | OpenAPI에 명시되지 않음 |
caCertificate | string | 아니요 | OpenAPI에 명시되지 않음 |
headers | object | 아니요 | OpenAPI에 명시되지 않음 |
oauth | object | 아니요 | OAuthConfig. 스키마 절에서 참조된 스키마를 확인하세요. |
parameters | object | 아니요 | OpenAPI에 명시되지 않음 |
port | integer | 아니요 | OpenAPI에 명시되지 않음 |
index declaration. Unique is supported only for Record B-tree indexes; GIN takes one path. Unique values retain JSON types, exclude soft-deleted Records, allow missing paths, and treat explicit JSON null as a value. Constraints become effective only when indexStatus.state=ready.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 아니요 | OpenAPI에 명시되지 않음 |
path | string | 아니요 | Bare business field path; _id and _meta.* cannot be declared as business indexes. |
paths | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
target | string | 아니요 | OpenAPI에 명시되지 않음 |
unique | boolean | 아니요 | OpenAPI에 명시되지 않음 |
expireAfterSeconds | integer | 아니요 | TTL index: records are physically deleted after this field's timestamp plus the specified seconds; deletion is irreversible. Only a single path, btree, records, non-unique index is allowed; the field must be declared integer in recordSchema and contain Unix milliseconds. At most one per collection. ensure can only add or increase TTL; shortening/removal requires schema:replace. Unsupported for source-written collections. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
error | string | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
spec | object | 예 | IndexSpec. 스키마 절에서 참조된 스키마를 확인하세요. |
state | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 아니요 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
replacement | object | 예 | OpenAPI에 명시되지 않음 |
upsert | boolean | 아니요 | Supported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
index | integer | 예 | OpenAPI에 명시되지 않음 |
insertedId | string | 아니요 | OpenAPI에 명시되지 않음 |
matchedCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
modifiedCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
deletedCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
restoredCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
upsertedId | string | 아니요 | OpenAPI에 명시되지 않음 |
value | object | 아니요 | MetadataNullableDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
error | object | 아니요 | Fault. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filter | object | 예 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
update | object | 예 | Supports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields. |
upsert | boolean | 아니요 | Supported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically. |
Writable configuration; schemaVersion defaults to 1 on the server and unknown fields are rejected.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
description | string | 아니요 | OpenAPI에 명시되지 않음 |
indexes | array<object> | 아니요 | Unified index declaration, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omission preserves indexes; [] removes them. Paths omit data.; unique indexes are record B-trees only. Builds are asynchronous; check readiness through indexStatus. |
name | string | 예 | The user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. |
recordSchema | object | 예 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
sampleSchema | object | 아니요 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
schemaVersion | integer | 아니요 | OpenAPI에 명시되지 않음 |
semantics | object | 아니요 | CollectionSemantics. 스키마 절에서 참조된 스키마를 확인하세요. |
parentId | object | 아니요 | Containing directory ID. Omitted on create or null means root; omitted on update preserves placement. Moving does not change collection identity or data. |
Writable configuration; schemaVersion defaults to 1 on the server and unknown fields are rejected.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
description | string | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | The user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. |
parentId | object | 아니요 | OpenAPI에 명시되지 않음 |
schemaVersion | integer | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
id | string | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
deletedAt | integer | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | Metadata response configuration; projection may return only selected fields. ownerAppId / appAlias describe server-managed Collection ownership and cannot be assigned or changed by ordinary writes. App grants determine access separately. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 아니요 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
id | string | 아니요 | OpenAPI에 명시되지 않음 |
revision | integer | 아니요 | OpenAPI에 명시되지 않음 |
createdAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
deletedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
data | object | 아니요 | Metadata response configuration; projection may return only selected fields. ownerAppId / appAlias describe server-managed Collection ownership and cannot be assigned or changed by ordinary writes. App grants determine access separately. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
items | array<object> | 예 | OpenAPI에 명시되지 않음 |
pageInfo | object | 예 | CloudPageInfo. 스키마 절에서 참조된 스키마를 확인하세요. |
Writable configuration; schemaVersion defaults to 1 on the server and unknown fields are rejected.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
collectionId | object | 아니요 | UnsV2Identity. 스키마 절에서 참조된 스키마를 확인하세요. |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
fields | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | The user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. |
parentId | object | 아니요 | OpenAPI에 명시되지 않음 |
schemaVersion | integer | 아니요 | OpenAPI에 명시되지 않음 |
viewMode | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
opId | string | 예 | OpenAPI에 명시되지 않음 |
action | string | 예 | OpenAPI에 명시되지 않음 |
kind | string | 예 | Only directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation. |
id | string | 아니요 | OpenAPI에 명시되지 않음 |
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
data | object | 아니요 | OpenAPI에 명시되지 않음 |
update | object | 아니요 | Supports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields. |
replacement | object | 아니요 | OpenAPI에 명시되지 않음 |
expectedRevision | integer | 아니요 | Optional optimistic lock; management forms should send the revision read. Read again after a conflict. |
dependsOn | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
opId | string | 예 | OpenAPI에 명시되지 않음 |
insertedId | string | 아니요 | OpenAPI에 명시되지 않음 |
matchedCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
modifiedCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
deletedCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
restoredCount | integer | 아니요 | OpenAPI에 명시되지 않음 |
upsertedId | string | 아니요 | OpenAPI에 명시되지 않음 |
value | object | 아니요 | MetadataNullableDocument. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
pollIntervalMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
ranges | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
unitId | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
address | integer | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
quantity | integer | 예 | OpenAPI에 명시되지 않음 |
table | string | 예 | OpenAPI에 명시되지 않음 |
unitId | integer | 아니요 | OpenAPI에 명시되지 않음 |
writable | boolean | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
caCertificate | string | 아니요 | OpenAPI에 명시되지 않음 |
clientId | string | 아니요 | OpenAPI에 명시되지 않음 |
correlationField | string | 아니요 | OpenAPI에 명시되지 않음 |
packetEnvelope | boolean | 아니요 | OpenAPI에 명시되지 않음 |
qos | integer | 아니요 | OpenAPI에 명시되지 않음 |
replyTopic | string | 아니요 | OpenAPI에 명시되지 않음 |
replyTopicField | string | 아니요 | OpenAPI에 명시되지 않음 |
requestTopic | string | 아니요 | OpenAPI에 명시되지 않음 |
serverSubscribeTopics | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
subscriptions | object | 아니요 | OpenAPI에 명시되지 않음 |
topicFilters | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
devicePublishTopics | array<string> | 아니요 | Managed server logical topic filters; availability and the combined topic budget are defined by the target protocol catalog. |
deviceSubscribeTopics | array<string> | 아니요 | Managed server logical topic filters; availability and the combined topic budget are defined by the target protocol catalog. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
authorizationUrl | string | 아니요 | OpenAPI에 명시되지 않음 |
clientAuthentication | string | 예 | OpenAPI에 명시되지 않음 |
clientId | string | 예 | OpenAPI에 명시되지 않음 |
grantType | string | 아니요 | OpenAPI에 명시되지 않음 |
scopes | string | 아니요 | OpenAPI에 명시되지 않음 |
tokenUrl | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
nodeIds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
samplingIntervalMs | integer | 아니요 | OpenAPI에 명시되지 않음 |
securityMode | string | 예 | OpenAPI에 명시되지 않음 |
securityPolicy | string | 예 | OpenAPI에 명시되지 않음 |
serverCertificate | string | 아니요 | OpenAPI에 명시되지 않음 |
serverNodes | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dataType | string | 예 | OpenAPI에 명시되지 않음 |
direction | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
name | string | 예 | OpenAPI에 명시되지 않음 |
nodeClass | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
bufferLimit | integer | 아니요 | OpenAPI에 명시되지 않음 |
cellId | integer | 예 | OpenAPI에 명시되지 않음 |
channelId | integer | 예 | OpenAPI에 명시되지 않음 |
controllerName | string | 예 | OpenAPI에 명시되지 않음 |
historyEndId | integer | 아니요 | OpenAPI에 명시되지 않음 |
historyStartId | integer | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
failed | integer | 예 | OpenAPI에 명시되지 않음 |
notExecuted | integer | 예 | OpenAPI에 명시되지 않음 |
succeeded | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
unknown | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 아니요 | OpenAPI에 명시되지 않음 |
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
kind | string | 예 | OpenAPI에 명시되지 않음 |
operationId | string | 예 | OpenAPI에 명시되지 않음 |
resultId | string | 아니요 | OpenAPI에 명시되지 않음 |
task | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dispatchState | string | 예 | OpenAPI에 명시되지 않음 |
errorCode | string | 예 | OpenAPI에 명시되지 않음 |
errorMessage | string | 예 | OpenAPI에 명시되지 않음 |
runId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
runId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
run | object | 예 | PlatformAgentJobRunRecord. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
expectedCardSpec | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
cardKey | string | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 아니요 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
expectedCardSpec | object | 예 | The full previously read card. Changes produce HTTP 409. |
ord | integer | 아니요 | Canvas order: omit to leave unchanged (forwarded to unssvr as -1). Explicit values, including 0, are preserved. |
position | object | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
cronExpr | string | 아니요 | OpenAPI에 명시되지 않음 |
expiresAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
intervalSeconds | integer | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
notify | object | 아니요 | OpenAPI에 명시되지 않음 |
scheduleKind | string | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 예 | OpenAPI에 명시되지 않음 |
sourceBlockId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceName | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 예 | OpenAPI에 명시되지 않음 |
task | object | 예 | OpenAPI에 명시되지 않음 |
type | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
job | object | 예 | PlatformAgentJobRecord. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 아니요 | active / paused / needs_attention / expired |
type | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
attentionReason | string | 예 | OpenAPI에 명시되지 않음 |
cardId | string | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
cronExpr | string | 예 | OpenAPI에 명시되지 않음 |
expiresAt | integer | 예 | OpenAPI에 명시되지 않음 |
intervalSeconds | integer | 예 | OpenAPI에 명시되지 않음 |
jobId | string | 예 | OpenAPI에 명시되지 않음 |
lastFiredAt | integer | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
nextRunAt | integer | 예 | OpenAPI에 명시되지 않음 |
notify | object | 아니요 | OpenAPI에 명시되지 않음 |
orphanedAt | integer | 예 | OpenAPI에 명시되지 않음 |
scheduleKind | string | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 예 | OpenAPI에 명시되지 않음 |
sourceBlockId | string | 예 | OpenAPI에 명시되지 않음 |
sourceId | string | 예 | OpenAPI에 명시되지 않음 |
sourceName | string | 예 | OpenAPI에 명시되지 않음 |
sourceType | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
task | object | 예 | OpenAPI에 명시되지 않음 |
type | string | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
jobRunId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
run | object | 예 | PlatformAgentJobRunRecord. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobId | string | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
status | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dispatchState | string | 예 | OpenAPI에 명시되지 않음 |
errorCode | string | 아니요 | OpenAPI에 명시되지 않음 |
errorMessage | string | 아니요 | OpenAPI에 명시되지 않음 |
finishedAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
firedAt | integer | 예 | OpenAPI에 명시되지 않음 |
jobId | string | 예 | OpenAPI에 명시되지 않음 |
jobRunId | string | 예 | OpenAPI에 명시되지 않음 |
resultId | string | 아니요 | OpenAPI에 명시되지 않음 |
resultSummary | object | 아니요 | OpenAPI에 명시되지 않음 |
severity | string | 아니요 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
trigger | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
dispatchState | string | 예 | OpenAPI에 명시되지 않음 |
jobId | string | 예 | OpenAPI에 명시되지 않음 |
jobRunId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 아니요 | OpenAPI에 명시되지 않음 |
cronExpr | string | 아니요 | OpenAPI에 명시되지 않음 |
expiresAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
intervalSeconds | integer | 아니요 | OpenAPI에 명시되지 않음 |
jobId | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 아니요 | OpenAPI에 명시되지 않음 |
notify | object | 아니요 | OpenAPI에 명시되지 않음 |
notifyEnabled | integer | 아니요 | Omit to preserve notification settings. 1 requires notify; 2 disables notifications and must omit notify. |
scheduleKind | string | 아니요 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceBlockId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceName | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 아니요 | OpenAPI에 명시되지 않음 |
task | object | 아니요 | OpenAPI에 명시되지 않음 |
type | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardKey | string | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
sourceSessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
tags | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
libraryItemId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
item | object | 예 | PlatformAgentLibraryItem. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardKey | string | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
libraryItemId | string | 예 | OpenAPI에 명시되지 않음 |
sourceSessionId | string | 예 | OpenAPI에 명시되지 않음 |
tags | array<string> | 예 | OpenAPI에 명시되지 않음 |
updatedAt | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 예 | OpenAPI에 명시되지 않음 |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
tags | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
libraryItemId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardKey | string | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
sourceSessionId | string | 예 | OpenAPI에 명시되지 않음 |
tags | array<string> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardSpec | object | 예 | OpenAPI에 명시되지 않음 |
expectedItem | object | 예 | PlatformAgentLibrarySnapshot. 스키마 절에서 참조된 스키마를 확인하세요. |
libraryItemId | string | 예 | OpenAPI에 명시되지 않음 |
sourceSessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
tags | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardSpec | object | 아니요 | OpenAPI에 명시되지 않음 |
dataScope | object | 아니요 | OpenAPI에 명시되지 않음 |
images | array | 아니요 | OpenAPI에 명시되지 않음 |
missingData | object | 예 | OpenAPI에 명시되지 않음 |
operationId | string | 예 | OpenAPI에 명시되지 않음 |
resultSchemaVersion | integer | 예 | OpenAPI에 명시되지 않음 |
source | object | 예 | PlatformAgentResultSource. 스키마 절에서 참조된 스키마를 확인하세요. |
steps | array | 아니요 | OpenAPI에 명시되지 않음 |
summary | string | 아니요 | OpenAPI에 명시되지 않음 |
tables | array | 아니요 | OpenAPI에 명시되지 않음 |
title | string | 예 | OpenAPI에 명시되지 않음 |
warnings | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
jobRunId | string | 예 | OpenAPI에 명시되지 않음 |
resultId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
operationId | string | 아니요 | Provide this or resultId, but not both. After a save timeout, retrieve by the original ID instead of saving again. |
resultId | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
result | object | 예 | PlatformAgentStoredResult. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 예 | OpenAPI에 명시되지 않음 |
platformSessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
canvasId | string | 예 | OpenAPI에 명시되지 않음 |
position | object | 아니요 | OpenAPI에 명시되지 않음 |
resultId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cardId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
agentId | string | 예 | OpenAPI에 명시되지 않음 |
platformRunId | string | 아니요 | OpenAPI에 명시되지 않음 |
platformSessionId | string | 예 | OpenAPI에 명시되지 않음 |
platformUserId | string | 아니요 | OpenAPI에 명시되지 않음 |
skillVersion | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
agentId | string | 예 | OpenAPI에 명시되지 않음 |
byteSize | integer | 예 | OpenAPI에 명시되지 않음 |
cardSpec | object | 아니요 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | OpenAPI에 명시되지 않음 |
manifest | object | 예 | OpenAPI에 명시되지 않음 |
operationId | string | 예 | OpenAPI에 명시되지 않음 |
platformRunId | string | 예 | OpenAPI에 명시되지 않음 |
platformSessionId | string | 예 | OpenAPI에 명시되지 않음 |
resultId | string | 예 | OpenAPI에 명시되지 않음 |
skillVersion | string | 예 | OpenAPI에 명시되지 않음 |
sourceKind | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
email | string | 아니요 | OpenAPI에 명시되지 않음 |
grantedAt | integer | 예 | Milliseconds |
roles | array<object> | 예 | OpenAPI에 명시되지 않음 |
userId | string | 예 | OpenAPI에 명시되지 않음 |
userName | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
roleId | string | 예 | OpenAPI에 명시되지 않음 |
roleKey | string | 예 | OpenAPI에 명시되지 않음 |
roleName | string | 예 | OpenAPI에 명시되지 않음 |
sources | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string | 예 | OpenAPI에 명시되지 않음 |
grantedAtEnd | integer | 아니요 | Milliseconds; inclusive bounds with second precision. |
grantedAtStart | integer | 아니요 | Milliseconds; inclusive bounds with second precision. |
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
roleKeys | array<string> | 아니요 | Match any value, case insensitive. |
scope | string | 아니요 | draft: computed from draft roles; production or omitted: computed from the production version. |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
allActiveMembers | integer | 예 | 1: all active members have access; 2: access is granted by role. |
appId | string | 예 | OpenAPI에 명시되지 않음 |
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
productionVersionId | string | 아니요 | OpenAPI에 명시되지 않음 |
published | integer | 예 | 1: published; 2: unpublished. |
roles | array<object> | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
description | string | 아니요 | OpenAPI에 명시되지 않음 |
memberCount | integer | 예 | OpenAPI에 명시되지 않음 |
roleId | string | 예 | OpenAPI에 명시되지 않음 |
roleKey | string | 예 | OpenAPI에 명시되지 않음 |
roleName | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | active / retired |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
groupId | string | 아니요 | OpenAPI에 명시되지 않음 |
groupName | string | 아니요 | OpenAPI에 명시되지 않음 |
type | string | 예 | direct / group |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filePath | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
deleted | boolean | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fileKey | string | 예 | OpenAPI에 명시되지 않음 |
uploadId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
aborted | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fileKey | string | 예 | OpenAPI에 명시되지 않음 |
parts | array<object> | 예 | OpenAPI에 명시되지 않음 |
uploadId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expiresAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
filePath | string | 예 | OpenAPI에 명시되지 않음 |
fileUrl | string | 아니요 | OpenAPI에 명시되지 않음 |
sizeBytes | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appInstanceId | string | 아니요 | OpenAPI에 명시되지 않음 |
bizId | string | 아니요 | OpenAPI에 명시되지 않음 |
business | string | 아니요 | OpenAPI에 명시되지 않음 |
contentType | string | 아니요 | OpenAPI에 명시되지 않음 |
fileName | string | 예 | OpenAPI에 명시되지 않음 |
partSize | integer | 아니요 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
useBy | string | 아니요 | OpenAPI에 명시되지 않음 |
visibility | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expiresAt | integer | 예 | OpenAPI에 명시되지 않음 |
fileKey | string | 예 | OpenAPI에 명시되지 않음 |
filePath | string | 예 | OpenAPI에 명시되지 않음 |
partCount | integer | 예 | OpenAPI에 명시되지 않음 |
partSize | integer | 예 | OpenAPI에 명시되지 않음 |
uploadId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
etag | string | 예 | OpenAPI에 명시되지 않음 |
partNumber | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expiresAt | integer | 예 | OpenAPI에 명시되지 않음 |
partNumber | integer | 예 | OpenAPI에 명시되지 않음 |
url | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fileKey | string | 예 | OpenAPI에 명시되지 않음 |
partNumbers | array<integer> | 예 | OpenAPI에 명시되지 않음 |
uploadId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
partUrls | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appInstanceId | string | 아니요 | OpenAPI에 명시되지 않음 |
business | string | 아니요 | OpenAPI에 명시되지 않음 |
contentType | string | 아니요 | OpenAPI에 명시되지 않음 |
fileName | string | 예 | OpenAPI에 명시되지 않음 |
sessionId | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
useBy | string | 아니요 | OpenAPI에 명시되지 않음 |
visibility | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expiresAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
fileId | integer | 아니요 | OpenAPI에 명시되지 않음 |
filePath | string | 예 | OpenAPI에 명시되지 않음 |
fileUrl | string | 아니요 | OpenAPI에 명시되지 않음 |
postFields | object | 예 | Send all signed fields before the file field. The policy constrains the object key and size. |
postUrl | string | 예 | Signed POST URL for multipart/form-data upload. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
expiresAt | integer | 아니요 | OpenAPI에 명시되지 않음 |
fileUrl | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
business | string | 아니요 | OpenAPI에 명시되지 않음 |
contentType | string | 아니요 | OpenAPI에 명시되지 않음 |
fileName | string | 예 | OpenAPI에 명시되지 않음 |
isPublic | boolean | 아니요 | OpenAPI에 명시되지 않음 |
sha256 | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
sizeBytes | integer | 예 | OpenAPI에 명시되지 않음 |
storageKey | string | 아니요 | OpenAPI에 명시되지 않음 |
useBy | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filePath | string | 예 | OpenAPI에 명시되지 않음 |
fileUrl | string | 아니요 | OpenAPI에 명시되지 않음 |
postFields | object | 예 | Send all signed fields before the file field. The policy constrains the object key and size. |
postUrl | string | 예 | Signed POST URL for multipart/form-data upload. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
apiKeyName | string | 예 | OpenAPI에 명시되지 않음 |
email | string | 예 | OpenAPI에 명시되지 않음 |
keyPrefix | string | 예 | OpenAPI에 명시되지 않음 |
keyType | string | 예 | OpenAPI에 명시되지 않음 |
permissions | array<string> | 예 | OpenAPI에 명시되지 않음 |
roles | array<string> | 예 | OpenAPI에 명시되지 않음 |
userID | integer | 예 | OpenAPI에 명시되지 않음 |
userName | string | 예 | OpenAPI에 명시되지 않음 |
workspaceID | integer | 예 | OpenAPI에 명시되지 않음 |
workspaceName | string | 예 | OpenAPI에 명시되지 않음 |
OpenAPI 3.0 wire schema. Array contains/cardinality annotations and cross-field proof ordering require the shared JSON Schema plus SDK semantic checks; this projection alone is not full contract acceptance.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
product | object | 예 | OpenAPI에 명시되지 않음 |
productVersion | string | 아니요 | OpenAPI에 명시되지 않음 |
contractVersion | object | 예 | OpenAPI에 명시되지 않음 |
apiContractVersions | array<string> | 예 | OpenAPI에 명시되지 않음 |
sdkContractVersions | array<string> | 예 | OpenAPI에 명시되지 않음 |
capabilities | array<object> | 예 | OpenAPI에 명시되지 않음 |
deprecations | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
errorCode | string | 예 | INVALID_CREDENTIAL / CAPABILITY_INVALID_REQUEST / CAPABILITY_FORBIDDEN / CAPABILITY_UNAVAILABLE / CAPABILITY_INTERNAL_ERROR |
message | string | 예 | A fixed public message; internal exceptions are not exposed. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
messageId | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
channels | array<object> | 예 | OpenAPI에 명시되지 않음 |
completedAt | string | 아니요 | OpenAPI에 명시되지 않음 |
createdAt | string | 예 | OpenAPI에 명시되지 않음 |
errorCode | string | 아니요 | OpenAPI에 명시되지 않음 |
message | string | 아니요 | OpenAPI에 명시되지 않음 |
messageId | string | 예 | OpenAPI에 명시되지 않음 |
recipientName | string | 아니요 | Recipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now |
recipientUserId | string | 예 | Recipient user ID of the request (a large integer carried as string), same as the recipientUserId given when sending |
status | string | 예 | OpenAPI에 명시되지 않음 |
type | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
capabilities | array<string> | 예 | OpenAPI에 명시되지 않음 |
mqttBroker | string | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
version | string | 예 | API version of the requested HTTP entry point |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
messageId | string | 아니요 | Filter by message ID (a large integer carried as string, a positive integer); omitted or empty string means no filter |
page | integer | 아니요 | Page number, 1-based; defaults to 1 when omitted, an explicit value must be >= 1 |
recipientUserId | string | 아니요 | Filter by recipient user ID (a large integer carried as string, a positive integer); omitted or empty string means no filter |
size | integer | 아니요 | Items per page; defaults to 20 when omitted, an explicit value must be between 1 and 100 |
status | string | 아니요 | Filter by status: accepted / sent / failed; omitted or empty string means no filter, any other value is rejected with 400 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | Page number actually used |
size | integer | 예 | Items per page actually used |
total | integer | 예 | Total number of records matching the filters |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
clientIDRandomSuffixEnabled | boolean | 아니요 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
clientID | string | 예 | OpenAPI에 명시되지 않음 |
clientIDRandomSuffixEnabled | boolean | 예 | OpenAPI에 명시되지 않음 |
id | integer | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
password | string | 예 | OpenAPI에 명시되지 않음 |
username | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
success | boolean | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
channel | string | 예 | OpenAPI에 명시되지 않음 |
errorCode | string | 아니요 | OpenAPI에 명시되지 않음 |
message | string | 아니요 | OpenAPI에 명시되지 않음 |
platform | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | One of sent / failed / no_device / not_configured / accepted / pending. accepted applies to inbox only (the in-app message is accepted and still being processed); pending means the channel was requested but its push is still being processed and has no final result yet. |
successCount | integer | 예 | OpenAPI에 명시되지 않음 |
targetCount | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
errorCode | string | 예 | OpenAPI에 명시되지 않음 |
message | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
channels | array<string> | 예 | Requested terminal reminder channels, elements are web / mobile; an empty array for a silent message |
completedAt | string | 아니요 | Completion time, RFC 3339 UTC; empty while the request is not completed |
createdAt | string | 예 | Creation time, RFC 3339 UTC |
errorCode | string | 아니요 | Only filled when status is failed |
keyId | string | 예 | ID of the API key that sent the message (a large integer carried as string); the string 0 for records dispatched from the admin console |
message | string | 아니요 | Only filled when status is failed |
messageId | string | 예 | Message ID (a large integer carried as string) |
mode | string | 예 | test / live |
recipientName | string | 아니요 | Recipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now |
recipientUserId | string | 예 | Recipient user ID (a large integer carried as string) |
senderId | string | 아니요 | Machine identifier of the sender, self-reported, for display only |
senderName | string | 아니요 | Display name of the sender, self-reported, for display only |
senderType | string | 예 | app / other / system; self-reported by the sender, for display only |
status | string | 예 | accepted / sent / failed |
title | string | 예 | Notification title; the content is never returned by this endpoint |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 아니요 | For app, requires the appId (agent-platform UUID); optional for other and system. Pattern: [0-9a-zA-Z-]{1,128}. |
meta | object | 아니요 | Type-specific metadata, at most 500 bytes when serialized. |
name | string | 아니요 | Human-readable display name replacing the deprecated source field; at most 100 characters. |
type | string | 아니요 | One of app, other or system; defaults to other. system is available only to internal platform senders (such as UNS Agent); app credentials cannot use system, and with sender.type=app the sender.id follows the app bound to the credential. Only type=app sent with an app-bound credential or a platform app credential is shown as an App; type=app self-declared by any other key is downgraded to other, and the API still returns success. Notifications are placed in the workspace System group. For the Agent in Builder (through Tier0 MCP): send a Builder-internal notification with type=app (sender.id is still required and is replaced by the App bound to the session); it appears only in that App's preview bell. Send a system notification with type=system and id=uns-agent; it goes to the regular message center. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
keyword | string | 아니요 | OpenAPI에 명시되지 않음 |
page | integer | 아니요 | OpenAPI에 명시되지 않음 |
roleKey | string | 아니요 | OpenAPI에 명시되지 않음 |
roles | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | OpenAPI에 명시되지 않음 |
statuses | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
updatedAtEnd | string | 아니요 | OpenAPI에 명시되지 않음 |
updatedAtStart | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
email | string | 아니요 | OpenAPI에 명시되지 않음 |
nickName | string | 아니요 | OpenAPI에 명시되지 않음 |
roles | array<object> | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
updatedAt | string | 예 | OpenAPI에 명시되지 않음 |
userId | string | 예 | OpenAPI에 명시되지 않음 |
userName | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
description | string | 아니요 | OpenAPI에 명시되지 않음 |
roleId | string | 예 | OpenAPI에 명시되지 않음 |
roleKey | string | 예 | OpenAPI에 명시되지 않음 |
roleName | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
page | integer | 예 | OpenAPI에 명시되지 않음 |
size | integer | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
contractVersion | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 예 | OpenAPI에 명시되지 않음 |
idempotency | string | 예 | OpenAPI에 명시되지 않음 |
inputSchema | object | 예 | OpenAPI에 명시되지 않음 |
name | string | 예 | OpenAPI에 명시되지 않음 |
outputSchema | object | 예 | OpenAPI에 명시되지 않음 |
sideEffect | string | 예 | OpenAPI에 명시되지 않음 |
status | string | 예 | OpenAPI에 명시되지 않음 |
timeoutMs | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
channels | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
content | string | 예 | Plain text only; a request containing HTML tags is rejected with 400. |
idempotencyKey | string | 예 | OpenAPI에 명시되지 않음 |
link | string | 아니요 | OpenAPI에 명시되지 않음 |
mode | string | 아니요 | Deprecated (2026-11-04): test/live is decided by the platform from the API key and sender.type, and the value sent here is ignored (except for existing app credentials that do not distinguish preview from deployment, during the transition). test messages appear only in that App's Building preview bell; they do not enter the message center and are not pushed to devices. |
recipientUserId | string | 예 | OpenAPI에 명시되지 않음 |
sender | object | 아니요 | PlatformNotificationSender. 스키마 절에서 참조된 스키마를 확인하세요. |
source | string | 아니요 | Deprecated transitional alias for sender.name. sender.name takes precedence; this field will be removed. |
title | string | 예 | Plain text only; a request containing HTML tags is rejected with 400. |
type | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
createdAt | string | 예 | OpenAPI에 명시되지 않음 |
messageId | string | 예 | OpenAPI에 명시되지 않음 |
recipientName | string | 아니요 | Recipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now; never affects the send result |
recipientUserId | string | 예 | Recipient user ID of the request (a large integer carried as string); on an idempotent hit it is the recipient of the existing request |
status | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
publishSubject | string | 예 | OpenAPI에 명시되지 않음 |
subscribeSubject | string | 예 | OpenAPI에 명시되지 않음 |
topic | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
appId | string | 예 | OpenAPI에 명시되지 않음 |
clientPublicKey | string | 예 | OpenAPI에 명시되지 않음 |
topics | array<object> | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
contractVersion | string | 예 | OpenAPI에 명시되지 않음 |
expiresAt | string | 예 | OpenAPI에 명시되지 않음 |
maxPayloadBytes | integer | 예 | OpenAPI에 명시되지 않음 |
permissions | array<object> | 예 | OpenAPI에 명시되지 않음 |
url | string | 예 | OpenAPI에 명시되지 않음 |
userJwt | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
publish | boolean | 예 | OpenAPI에 명시되지 않음 |
subscribe | boolean | 예 | OpenAPI에 명시되지 않음 |
topic | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
page | integer | 아니요 | Defaults to 1. |
search | string | 아니요 | OpenAPI에 명시되지 않음 |
size | integer | 아니요 | Defaults to 20. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
list | array<object> | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
idempotencyKey | string | 아니요 | At most 128 decoded UTF-8 bytes. The frozen contract determines whether this field is required. |
input | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
contractVersion | string | 예 | The frozen contract version used for execution. |
replayed | boolean | 예 | true indicates an idempotent replay; false indicates the first execution. |
result | object | 예 | The JSON result defined by the contract; null is allowed. |
runID | string | 예 | The execution identifier returned by the server, represented as an opaque string. |
status | string | 예 | The final status returned by the server; never accepted, queued, pending or running. |
Ordinary business record. Business fields are in data; system attributes are siblings. filter/projection use bare business names and _id/_meta.*, not response-object paths. lock describes only active leases and does not return tokens.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
revision | integer | 예 | OpenAPI에 명시되지 않음 |
createdAt | integer | 예 | Unix milliseconds. |
updatedAt | integer | 예 | Unix milliseconds. |
sourceId | string | 예 | OpenAPI에 명시되지 않음 |
sourceTime | integer | 예 | Unix milliseconds. |
lock | object | 아니요 | CloudRecordLockView. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
name | string | 예 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
script | object | 예 | StreamScript. 스키마 절에서 참조된 스키마를 확인하세요. |
sources | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
sourceBindings | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
extensions | object | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
cdc | boolean | 아니요 | OpenAPI에 명시되지 않음 |
end | string | 예 | OpenAPI에 명시되지 않음 |
fields | array<string> | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
object | string | 예 | OpenAPI에 명시되지 않음 |
queryAll | boolean | 아니요 | OpenAPI에 명시되지 않음 |
start | string | 예 | OpenAPI에 명시되지 않음 |
Ordinary sample object. Business fields are in data; time, quality, record identity and available provenance are siblings.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | OpenAPI에 명시되지 않음 |
collectionId | string | 예 | OpenAPI에 명시되지 않음 |
recordId | string | 예 | OpenAPI에 명시되지 않음 |
time | integer | 예 | Sample timestamp supplied by the caller, in Unix milliseconds. |
receivedAt | integer | 예 | Server-generated sample receipt time in Unix milliseconds. |
quality | string | 예 | OpenAPI에 명시되지 않음 |
data | object | 예 | OpenAPI에 명시되지 않음 |
sourceId | string | 예 | OpenAPI에 명시되지 않음 |
streamId | string | 아니요 | OpenAPI에 명시되지 않음 |
bindingId | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
additionalProperties | boolean | 아니요 | OpenAPI에 명시되지 않음 |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
enum | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
items | object | 아니요 | Schema. 스키마 절에서 참조된 스키마를 확인하세요. |
maximum | number | 아니요 | OpenAPI에 명시되지 않음 |
minimum | number | 아니요 | OpenAPI에 명시되지 않음 |
properties | object | 아니요 | OpenAPI에 명시되지 않음 |
required | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
title | string | 아니요 | OpenAPI에 명시되지 않음 |
type | string | 예 | OpenAPI에 명시되지 않음 |
unit | string | 아니요 | OpenAPI에 명시되지 않음 |
format | string | 아니요 | Type representation annotation: int32 for integer, float (float32) or double (float64) for number, and date-time (datetime) for string. Adds no numeric range, precision or date-format validation, rounding, date parsing or time-zone conversion. Omission preserves base-type semantics. The outer sample time field is unchanged. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | OpenAPI에 명시되지 않음 |
username | string | 아니요 | OpenAPI에 명시되지 않음 |
secret | string | 아니요 | OpenAPI에 명시되지 않음 |
values | object | 아니요 | OpenAPI에 명시되지 않음 |
certificateFileId | string | 아니요 | OpenAPI에 명시되지 않음 |
privateKeyFileId | string | 아니요 | OpenAPI에 명시되지 않음 |
caFileId | string | 아니요 | OpenAPI에 명시되지 않음 |
Unified Source connection. Choose the matching protocol object; edge-sql uses one of sql.query (preset) or sql.queries (named). Query the target protocol catalog for installed execution, TLS and state capabilities.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
credentialRef | string | 아니요 | Opaque existing credential reference returned for authorized editing and accepted on input. It contains no secret. Provision secrets only through create.credentials or credentials/update; secret material is never returned in the document. |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
endpoint | string | 예 | Protocol connection address or a discovered native device key. Never include credentials in the address. Managed server roles use the target-defined managed endpoint. |
extensions | object | 아니요 | OpenAPI에 명시되지 않음 |
file | object | 아니요 | FileSourceOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
http | object | 아니요 | HTTPConnection. 스키마 절에서 참조된 스키마를 확인하세요. |
modbus | object | 아니요 | ModbusOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
mqtt | object | 아니요 | MQTTOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
name | string | 아니요 | OpenAPI에 명시되지 않음 |
opcua | object | 아니요 | OPCUAOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
openProtocol | object | 아니요 | OpenProtocolOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
protocol | string | 예 | OpenAPI에 명시되지 않음 |
role | string | 아니요 | OpenAPI에 명시되지 않음 |
runtimeLocation | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 아니요 | OpenAPI에 명시되지 않음 |
sql | object | 아니요 | SQLConnection. 스키마 절에서 참조된 스키마를 확인하세요. |
Unified Source connection. Choose the matching protocol object; edge-sql uses one of sql.query (preset) or sql.queries (named). Query the target protocol catalog for installed execution, TLS and state capabilities.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
credentialRef | string | 아니요 | Opaque existing credential reference returned for authorized editing and accepted on input. It contains no secret. Provision secrets only through create.credentials or credentials/update; secret material is never returned in the document. |
description | string | 아니요 | OpenAPI에 명시되지 않음 |
endpoint | string | 아니요 | Protocol connection address or a discovered native device key. Never include credentials in the address. Managed server roles use the target-defined managed endpoint. |
extensions | object | 아니요 | OpenAPI에 명시되지 않음 |
file | object | 아니요 | FileSourceOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
http | object | 아니요 | HTTPConnection. 스키마 절에서 참조된 스키마를 확인하세요. |
modbus | object | 아니요 | ModbusOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
mqtt | object | 아니요 | MQTTOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
name | string | 아니요 | OpenAPI에 명시되지 않음 |
opcua | object | 아니요 | OPCUAOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
openProtocol | object | 아니요 | OpenProtocolOptions. 스키마 절에서 참조된 스키마를 확인하세요. |
protocol | string | 아니요 | OpenAPI에 명시되지 않음 |
role | string | 아니요 | OpenAPI에 명시되지 않음 |
runtimeLocation | string | 아니요 | OpenAPI에 명시되지 않음 |
sourceType | string | 아니요 | OpenAPI에 명시되지 않음 |
sql | object | 아니요 | SQLConnection. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
caCertificate | string | 아니요 | OpenAPI에 명시되지 않음 |
query | string | 아니요 | Preset approved business SELECT, supported on Cloud and Enterprise. Tool/WMS presets require PostgreSQL; quality-inspections requires SQL Server. Fixed reads support keyset scan; verify-full TLS is required. Query and queries are mutually exclusive. |
wms | object | 아니요 | WMSMapping. 스키마 절에서 참조된 스키마를 확인하세요. |
queries | object | 아니요 | Source-owned named queries on Cloud and Enterprise; never override SQL in Stream acquisition. PostgreSQL/MySQL use read-only transactions and bounded read. SQL Server has no public preview or live-query dryRun; explicitly authorized Stream execution is potentially writing and uses effect journaling. No named-query scan. limit 1..100; timeoutMs 100..10000. |
tlsMode | string | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
code | string | 예 | OpenAPI에 명시되지 않음 |
timeoutMs | integer | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
configRevision | integer | 아니요 | Opaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision. |
target | object | 아니요 | StreamSourceTarget. 스키마 절에서 참조된 스키마를 확인하세요. |
acquisition | object | 아니요 | Protocol acquisition only; cannot override connection or credentials. |
alias | string | 예 | OpenAPI에 명시되지 않음 |
resources | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
sourceId | string | 아니요 | OpenAPI에 명시되지 않음 |
configRevision | integer | 아니요 | Opaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision. |
target | object | 아니요 | StreamSourceTarget. 스키마 절에서 참조된 스키마를 확인하세요. |
acquisition | object | 아니요 | Protocol acquisition only; cannot override connection or credentials. |
alias | string | 아니요 | OpenAPI에 명시되지 않음 |
resources | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fleetNodeId | string | 예 | OpenAPI에 명시되지 않음 |
sourceId | string | 예 | OpenAPI에 명시되지 않음 |
configRevision | integer | 예 | Opaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
datasetUid | string | 예 | OpenAPI에 명시되지 않음 |
fileUid | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
itemId | string | 예 | OpenAPI에 명시되지 않음 |
itemUid | string | 예 | OpenAPI에 명시되지 않음 |
queryUid | string | 예 | OpenAPI에 명시되지 않음 |
revisionUid | string | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
hasMore | boolean | 예 | OpenAPI에 명시되지 않음 |
records | array<object> | 예 | OpenAPI에 명시되지 않음 |
total | integer | 예 | OpenAPI에 명시되지 않음 |
Scalar elements use comparison operators; object elements use relative field conditions, optionally with nested logical composition. pull rejects $expr.
{
"type": "object",
"minProperties": 1,
"additionalProperties": true,
"description": "Scalar elements use comparison operators; object elements use relative field conditions, optionally with nested logical composition. pull rejects $expr."
}Unified predicates: business paths use field or customer.name; system paths use _id and _meta.revision/createdAt/updatedAt/sourceId/sourceTime/locked. Samples use _meta.recordId/time/receivedAt/quality/streamId/bindingId. Direct values equal $eq. Supports scalar comparisons, string $contains (ASCII case-insensitive substring), array $elemMatch/$all/$size, logical composition and restricted $expr. Dot-separated paths: escape literal dots as \. and backslashes as \\, escaping again in JSON. At most 512 bytes/10 segments; arrays use explicit indices, without implicit traversal. Field types are schema-validated; SQL and scripts are rejected. Record writes must match exactly one record by default. $eq:null matches null or missing; $ne:null matches present non-null fields; $ne:non-null also includes missing fields. $exists distinguishes presence from absence; explicit null counts as present.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
$and | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
$or | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
$nor | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
$not | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
$expr | object | 아니요 | UnsV2PipelineExpression. 스키마 절에서 참조된 스키마를 확인하세요. |
Deduplicate by the field combination in by and output the alias fields. Uses ordinary offset pagination. Count unique values with $distinct followed by $count; there is no countDistinct stage.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
by | object | 예 | UnsV2DistinctBy. 스키마 절에서 참조된 스키마를 확인하세요. |
Map output aliases to input field references. Aliases must be valid top-level field paths using the same escaping rules; empty names, $ prefixes, control characters and reserved prototype names are prohibited. An input row is discarded if any referenced field is missing; explicit null is preserved. Arrays compare as whole values; use $unwind first for element-level distinct values.
{
"type": "object",
"minProperties": 1,
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"minLength": 2,
"maxLength": 513,
"pattern": "^\\$[^$].*$",
"description": "Declared field path with one $ prefix, such as $status; expressions and $$ variables are rejected."
},
"description": "Map output aliases to input field references. Aliases must be valid top-level field paths using the same escaping rules; empty names, $ prefixes, control characters and reserved prototype names are prohibited. An input row is discarded if any referenced field is missing; explicit null is preserved. Arrays compare as whole values; use $unwind first for element-level distinct values."
}| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
$eq | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$ne | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$gt | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$gte | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$lt | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$lte | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$in | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
$nin | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
$exists | boolean | 아니요 | OpenAPI에 명시되지 않음 |
$all | array<object> | 아니요 | Each item matches by complete JSON-element equality. |
$size | integer | 아니요 | OpenAPI에 명시되지 않음 |
$elemMatch | object | 아니요 | UnsV2ArrayElementFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
$contains | string | 아니요 | Substring matching for string fields only; ASCII letters are case-insensitive and other characters compare literally. Arrays and other types are errors. Wildcards and regex are unsupported. Cannot use indexes; large collections may time out. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
op | string | 예 | OpenAPI에 명시되지 않음 |
path | string | 예 | Declared data.* path. Escape literal dot with \. and backslash with \\. Explicit array indexes are allowed; no implicit traversal or positional operators. Identity/revision fields cannot be modified. |
value | object | 아니요 | Required except unset, directly or through an explicit result binding. append/addToSet: array of 1..200 elements; pull: nonempty scalar-operator or object-field predicate evaluated on each element. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
$eq | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$ne | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$gt | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$gte | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$lt | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$lte | object | 아니요 | UnsV2FilterScalar. 스키마 절에서 참조된 스키마를 확인하세요. |
$in | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
$nin | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
$exists | boolean | 아니요 | OpenAPI에 명시되지 않음 |
$all | array<object> | 아니요 | Each item matches by complete JSON-element equality. |
$size | integer | 아니요 | OpenAPI에 명시되지 않음 |
$elemMatch | object | 아니요 | UnsV2ArrayElementFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
$not | object | 아니요 | UnsV2FieldComparisons. 스키마 절에서 참조된 스키마를 확인하세요. |
$contains | string | 아니요 | Substring matching for string fields only; ASCII letters are case-insensitive and other characters compare literally. Arrays and other types are errors. Wildcards and regex are unsupported. Cannot use indexes; large collections may time out. |
{
"oneOf": [
{
"type": "string",
"nullable": true
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}Count frequencies by the fields in by, returning aliases and a fixed count field. Counts the current stage's input; results may be sorted or filtered further.
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
by | object | 예 | Uses distinct field-combination and missing/null rules; aliases cannot be count. |
{
"oneOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "object",
"required": [
"ref"
],
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
}
}
}
]
}| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
queryId | string | 예 | Unique identifier within this query batch, used to correlate results. |
jobIds | array<string> | 아니요 | OpenAPI에 명시되지 않음 |
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"$sum": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$sum"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$avg": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$avg"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$min": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$min"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$max": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$max"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$count": {
"type": "object",
"maxProperties": 0
}
},
"required": [
"$count"
]
}
]
}$field path reference or scalar constant; $literal forces a constant. Arithmetic accepts numbers only. $divide returns null for zero denominators; $ifNull explicitly supplies a missing/null default. $expr must return boolean. $cond requires a boolean condition and compatible branch types. Conversion failures are errors; missing/null propagate. $trim input/chars are string expressions; omitting chars trims whitespace. $dateTrunc input/output use Unix milliseconds, timezone is IANA, and startOfWeek applies only to week. Expression depth is at most 8, with at most 512 nodes. Each intermediate $concat result is limited to 1 MiB of UTF-8, otherwise EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are unsupported.
{
"oneOf": [
{
"$ref": "#/components/schemas/UnsV2FilterScalar"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$ifNull": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$ifNull"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$add": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$add"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$subtract": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$subtract"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$multiply": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$multiply"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$divide": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$divide"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$literal": {
"$ref": "#/components/schemas/UnsV2FilterScalar"
}
},
"required": [
"$literal"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$eq": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$eq"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$ne": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$ne"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$gt": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$gt"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$gte": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$gte"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$lt": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$lt"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$lte": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$lte"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$and": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 64
}
},
"required": [
"$and"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$or": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 64
}
},
"required": [
"$or"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$not": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 1
}
},
"required": [
"$not"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$cond": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 3,
"maxItems": 3
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"if": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"then": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"else": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"if",
"then",
"else"
]
}
]
}
},
"required": [
"$cond"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$concat": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 64
}
},
"required": [
"$concat"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toLower": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toLower"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toUpper": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toUpper"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$strLenCP": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$strLenCP"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toString": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toString"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toDecimal": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toDecimal"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toLong": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toLong"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toBool": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toBool"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$trim": {
"type": "object",
"additionalProperties": false,
"properties": {
"input": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"chars": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"input"
]
}
},
"required": [
"$trim"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$convert": {
"type": "object",
"additionalProperties": false,
"properties": {
"input": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"to": {
"type": "string",
"enum": [
"string",
"decimal",
"long",
"bool"
]
}
},
"required": [
"input",
"to"
]
}
},
"required": [
"$convert"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$dateTrunc": {
"type": "object",
"additionalProperties": false,
"properties": {
"date": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"unit": {
"type": "string",
"enum": [
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
]
},
"timezone": {
"type": "string",
"default": "UTC"
},
"binSize": {
"type": "integer",
"minimum": 1,
"maximum": 1000000,
"default": 1,
"description": "Above 1, only fixed UTC millisecond/second/minute/hour/day buckets aligned to the Unix epoch are supported. 1 supports calendar units and time zones."
},
"startOfWeek": {
"type": "string",
"enum": [
"sunday",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday"
],
"default": "sunday"
}
},
"required": [
"date",
"unit"
]
}
},
"required": [
"$dateTrunc"
]
}
],
"description": "$field path reference or scalar constant; $literal forces a constant. Arithmetic accepts numbers only. $divide returns null for zero denominators; $ifNull explicitly supplies a missing/null default. $expr must return boolean. $cond requires a boolean condition and compatible branch types. Conversion failures are errors; missing/null propagate. $trim input/chars are string expressions; omitting chars trims whitespace. $dateTrunc input/output use Unix milliseconds, timezone is IANA, and startOfWeek applies only to week. Expression depth is at most 8, with at most 512 nodes. Each intermediate $concat result is limited to 1 MiB of UTF-8, otherwise EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are unsupported."
}| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
size | integer | 아니요 | Page size; see this endpoint's maximum or the capability catalog. |
mode | string | 아니요 | Pipelines containing only $match/$sort default to cursor (keyset); other pipelines default to offset and do not support cursor. |
page | integer | 아니요 | Page number, starting at 1. |
cursor | string | 아니요 | Signed keyset token containing complete sort values and unique identity, bound to query, collection, schema/revision and caller identity, valid for 7 days. Restart after identity, schema or signing-key changes. Does not freeze snapshots across requests. |
ordered sort pairs: [[field, 1|-1], ...]. Server appends _id as a stable tie breaker.
{
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer",
"enum": [
1,
-1
]
}
]
},
"minItems": 2,
"maxItems": 2
},
"minItems": 1,
"maxItems": 4,
"description": "ordered sort pairs: [[field, 1|-1], ...]. Server appends _id as a stable tie breaker."
}Exactly one operator per stage; stages execute in order. $lookup performs equality matching before its pipeline, producing an array; each target collection is authorized independently.
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"$match": {
"$ref": "#/components/schemas/UnsV2DataFilter"
}
},
"required": [
"$match"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$project": {
"type": "object",
"minProperties": 1,
"maxProperties": 64,
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"description": "Field inclusion/exclusion (1/0) or expressions. Supports nested output paths and $field references. Cannot mix inclusion and exclusion except for _id."
}
},
"required": [
"$project"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$set": {
"type": "object",
"minProperties": 1,
"maxProperties": 64,
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"description": "Add or replace computed fields, including nested paths, using only allowed expressions."
}
},
"required": [
"$set"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$sort": {
"$ref": "#/components/schemas/UnsV2PipelineSort"
}
},
"required": [
"$sort"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$group": {
"type": "object",
"required": [
"_id"
],
"properties": {
"_id": {
"anyOf": [
{
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
}
]
}
},
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineAccumulator"
},
"description": "_id defines a scalar, null or object grouping key; other fields support $sum/$avg/$min/$max. Count with {$sum:1}."
}
},
"required": [
"$group"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$distinct": {
"$ref": "#/components/schemas/UnsV2Distinct"
}
},
"required": [
"$distinct"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$frequencies": {
"$ref": "#/components/schemas/UnsV2Frequencies"
}
},
"required": [
"$frequencies"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$lookup": {
"type": "object",
"additionalProperties": false,
"properties": {
"collectionId": {
"type": "string"
},
"recordId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"kind": {
"type": "string",
"enum": [
"records",
"samples"
],
"default": "records"
},
"localField": {
"type": "string"
},
"foreignField": {
"type": "string"
},
"as": {
"type": "string"
},
"pipeline": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineStage"
}
}
},
"required": [
"collectionId",
"localField",
"foreignField",
"as"
],
"oneOf": [
{
"properties": {
"kind": {
"enum": [
"samples"
]
}
},
"required": [
"kind",
"recordId"
]
},
{
"properties": {
"kind": {
"enum": [
"records"
]
}
},
"not": {
"required": [
"recordId"
]
}
}
],
"description": "kind=samples requires a fixed recordId and joins only within that record; records prohibits recordId. foreignField requires a ready B-tree index with that leading field, or an applicable built-in identity index. At most 1000 primary rows, 10000 raw joined rows per input, 8 MiB intermediate results and 200 final joined items per input. Overflow fails explicitly instead of truncating; a child pipeline may filter or aggregate."
}
},
"required": [
"$lookup"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$unwind": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"preserveNullAndEmptyArrays": {
"type": "boolean"
}
},
"required": [
"path"
]
}
]
}
},
"required": [
"$unwind"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$skip": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"required": [
"$skip"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$limit": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
}
},
"required": [
"$limit"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$count": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"description": "Valid top-level output field name following common path escaping and reserved-name rules. Output one count row; empty input returns 0. As the final stage, explicit page is prohibited. With later stages, paginate the final output normally."
}
},
"required": [
"$count"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$exists": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"description": "Valid top-level output field name following common path escaping and reserved-name rules. Output one boolean indicating whether the current stage has any input; empty input returns false. As the final stage, explicit page is prohibited. With later stages, paginate the final output normally."
}
},
"required": [
"$exists"
]
}
],
"description": "Exactly one operator per stage; stages execute in order. $lookup performs equality matching before its pipeline, producing an array; each target collection is authorized independently."
}| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
min | integer | 아니요 | OpenAPI에 명시되지 않음 |
max | integer | 아니요 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
update | object | 아니요 | Update-operator document for record.update; mutually exclusive with operations. |
arrayFilters | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
upsert | boolean | 아니요 | When true, filter requires _id equality or equality covering every field of a ready unique index; otherwise UPSERT_REQUIRES_UNIQUE_INDEX. Insert when unmatched; unique conflicts return 409 DUPLICATE_KEY. |
opId | string | 예 | Unique operation identifier within the transaction, used by dependencies and result references. |
action | string | 예 | OpenAPI에 명시되지 않음 |
id | object | 아니요 | Record ID or a reference to an earlier create operation. Creation may omit it for automatic allocation. Existing-record operations may select by id, filter or target-result binding. record.query does not accept id. |
collectionId | object | 예 | UnsV2Identity. 스키마 절에서 참조된 스키마를 확인하세요. |
expectedRevision | integer | 아니요 | Optional revision check. For creation, reads, collection queries or exists=false checks, omit or use 0 only. |
data | object | 아니요 | Business data for record.create/replace. |
dependsOn | array<string> | 아니요 | Prerequisite opIds; the server checks dependency cycles. |
exists | boolean | 아니요 | OpenAPI에 명시되지 않음 |
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
selection | string | 아니요 | Selection mode for record.read/update/modify/replace/delete. first requires filter and optionally sort. Defaults to exactOne; multiple matches are an error. |
sort | object | 아니요 | Used only with selection=first; ID sorting is appended to stabilize ties. |
returnDocument | string | 아니요 | before/after snapshot option for record.read/update/modify/replace/delete. Writes return no extra snapshot when omitted. |
operations | array<object> | 아니요 | OpenAPI에 명시되지 않음 |
bindings | array<object> | 아니요 | Bind prior operation results to specified fields in this operation; no string templates or arbitrary code. |
query | object | 아니요 | UnsV2TransactionQuery. 스키마 절에서 참조된 스키마를 확인하세요. |
lockToken | string | 아니요 | OpenAPI에 명시되지 않음 |
release | boolean | 아니요 | OpenAPI에 명시되지 않음 |
lockTokens | object | 아니요 | OpenAPI에 명시되지 않음 |
conditions | array<object> | 아니요 | Conditions for record.check/update/modify; mutually exclusive with filter. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
field | string | 예 | OpenAPI에 명시되지 않음 |
op | string | 예 | OpenAPI에 명시되지 않음 |
value | object | 예 | OpenAPI에 명시되지 않음 |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
kind | string | 예 | OpenAPI에 명시되지 않음 |
id | string | 예 | Object ID as a string, obtained through discovery or read endpoints; do not use a name as an ID. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
path | string | 예 | data.field DTO paths, operations.N.value, or JSON Pointers beginning with filter/ such as filter/available/$gte and filter/_id/$eq. Filter pointers may replace only existing scalar/null placeholders, not predicate structure. id may bind a record identity from a query result in the same collection. |
ref | string | 예 | OpenAPI에 명시되지 않음 |
resultPath | string | 예 | id/revision/collectionId/data.field; queries additionally expose query.total and query.records.N.id/revision/collectionId/data.field. Missing rows or fields fail the transaction. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
filter | object | 아니요 | UnsV2DataFilter. 스키마 절에서 참조된 스키마를 확인하세요. |
sort | array<array<object>> | 아니요 | UnsV2PipelineSort. 스키마 절에서 참조된 스키마를 확인하세요. |
limit | integer | 아니요 | Returned row limit; omitted or 0 means 20. Count assertions apply before this limit. |
expectCount | object | 아니요 | UnsV2QueryCountExpectation. 스키마 절에서 참조된 스키마를 확인하세요. |
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
fields | array<string> | 예 | OpenAPI에 명시되지 않음 |
keyColumn | string | 예 | OpenAPI에 명시되지 않음 |
table | string | 예 | OpenAPI에 명시되지 않음 |
updatedAt | string | 아니요 | OpenAPI에 명시되지 않음 |