Tier0 技術ガイド

はじめに

最適な製品を選ぶ

Edge、Cloud、Enterprise から適切な Tier0 エディションを選びます。

各製品の詳しい機能は料金ページで確認し、用途に合うエディションを選んでください。

はじめに

インストール

エディション別に Tier0 をインストールします。

Tier0 には 3 つのエディションがあります。

  • Edge - オープンソースのデプロイ版で、Docker を使ってローカルで実行します。
  • Cloud - マネージド SaaS で、インフラの準備は不要です。
  • Enterprise - エンタープライズ環境向けのプライベートデプロイ版です。

要件に最も合うエディションを選ぶには、最適なバージョンを選ぶ を参照してください。

Tier0 Cloud を試す前に、トライアルアカウントを申請してください。

  1. Tier0 の登録 でアカウントを登録します。
  2. メールで届いた確認コードで認証し、登録したアカウントでログインします。
  3. Workspace を作成し、トライアルを開始します。

最適なバージョンを選ぶ

はじめに

ユーザージャーニー

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 外部データを既存のアプリのモデルにマッピング、変換、統合します。

Tier0 の使い方

データ基盤の準備

アプリ向けの外部データを接続し、Tier0 でモデル化・統合します。

Tier0 はカスタムアプリのデータ基盤を作ります。アプリから業務データを受け取り、既存のシステムやデバイスに接続し、アプリで使える統一モデルにデータを統合します。

すべてのデータは Namespace 配下の Tables にモデル化され、データ型に応じて整理されます。

  • 主に業務システムからのリレーショナルデータは Record テーブルに保存します。
  • 主にデバイスからの時系列データは Sample テーブルに保存します。
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
  • Source: 外部データサーバーに接続します。認証が必要な場合が多くあります。
  • Stream: サーバーからデータを収集・処理し、Namespace のモデルに保存します。
flowchart LR
  source["Source<br/>サーバーに接続"] --> stream["Stream<br/>収集と処理"]
  classDef t0accent fill:#B2ED1D,stroke:#73B200,color:#171717
  class source,stream t0accent
  1. Builder でアプリを構築し、Agent に Namespace の業務データモデルを用意させます。プロンプトで明示しない限り、Agent が業務ロジックからモデルを自動生成します。

    プロンプトで明示しない限り、Agent がアプリの業務ロジックからデータモデルを自動生成します。

  2. Connect > Source で必要なデータソースに接続し、認証を設定します。
  3. Agent に Stream を作成させ、接続済み Source のデータを収集・処理して、アプリ用に生成された Namespace モデルへ保存します。
Tier0 の使い方

アプリをローカルで使用する

ローカルの Tier0 Enterprise 環境でアプリを使用します。

Tier0 Cloud で AI Agent を使用して産業用アプリを構築し、ローカルの Enterprise 環境にエクスポートして使用できます。

  1. 入力データソースをプロンプトに明記して、Tier0 Cloud でアプリを構築します。
  2. プロンプトの内容に合ったデータ基盤を Enterprise に用意します。
  3. アプリの実行中に生成された必要な UNS データテーブルを含めて、Cloud からアプリをエクスポートします。
  4. Enterprise の アプリ管理 でアプリをインポートし、ユーザーにロールを割り当てます。
  5. アプリセンター でアプリを使用します。
Tier0 の使い方

センターからエッジのデータを管理する

センターノードから、接続されたエッジノード上のデータをシームレスに管理します。

Tier0 のエッジとセンターの連携により、エッジデバイスでデータを収集し、センタープラットフォームで管理できます。

  • エッジデバイス:エッジノード上の Tier0 Edge または Tier0 Enterprise。
  • センタープラットフォーム:センターノード上の Tier0 Enterprise、または Tier0 Cloud。

エッジノードをセンターノードに接続する

Section titled “エッジノードをセンターノードに接続する”
  1. まず、センターノードで Fleet ノードを作成します。

  2. センターノードで生成されたトークンを使用して、各エッジノードを接続します。

エッジとセンターの間でデータを同期する

Section titled “エッジとセンターの間でデータを同期する”
  • Namespace Table はエッジノードからセンターノードへ一方向にのみ選択・同期できます。同期した Table の履歴データとリアルタイムデータは、どちらもセンターノードで利用できます。
  • センターノードからエッジノードにユーザーまたはユーザーグループを割り当て、ノードを管理できます。
Tier0 の使い方

工場データを扱う

MQTT と API で UNS データを操作し、API リファレンスを参照します。

MQTT と API を通じて UNS データを操作できます。

Tier0 で生成した認証情報を使って MQTT クライアントを UNS broker に接続できます。

Connect > Source > MQTT Device で MQTT 認証情報を生成し、記録します。

  1. MQTTX をインストールして開きます。
  2. UNS broker の情報と生成した認証情報で接続を追加します。
    Terminal window
    {
    "Host": "mqtt.tier0.dev",
    "Port": 1883,
    "Client ID": "<generated client ID>",
    "Username": "<generated username>",
    "Password": "<generated password>"
    }
  1. クライアントの状態が正常であることを確認します。
  2. UNS モデルの Topic をコピーし、クライアントからメッセージを配信します。
  • Base URL: https://<your-tier0-host>/openapi/v2
  • Authentication: Tier0 で取得した API キーを x-api-key ヘッダーに指定します。
  • POST /uns/metadata:find — Tables を一覧表示して Table ID を取得

    Terminal window
    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);
  • POST /uns/collections/{collectionId}/records:find — Records を一覧表示して Record ID を取得

    Terminal window
    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);
  • POST /uns/collections/{collectionId}/samples:latest — Record の最新 Sample を取得

    Terminal window
    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);
  • POST /uns/collections/{collectionId}/samples:find — 指定期間の Samples を取得

    Terminal window
    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);
Tier0 の使い方

Agent で Tier0 を操作する

MCP を介して AI Agent を Tier0 に接続します。

MCP を介して AI Agent を Tier0 に接続します。Agent は付与された権限の範囲でプラットフォーム API を検索して使用できます。

Work on Tier0 with your preferred AI agent.
Claude Code
Codex
Gemini CLI
Cursor
GitHub Copilot
WorkBuddy
  1. 設定 > Plugin > MCP で Tier0 から取得した URL を使って MCP サーバーを追加します。
  2. Tier0 の 設定 > API Keys > Personal Keys で必要な権限の個人 API キーを作成します。
  3. Codex の MCP サーバーに個人 API キーを入力します。
    Terminal window
    { "Authorization": "Bearer <your-personal-api-key>" }
  4. Agent に whoami を実行させ、接続を確認します。
MCP ツール 用途
whoami ID と権限を確認します。
docs API ドキュメントを読みます。
search API 操作を探します。
execute API 操作を呼び出します。

まず docs と search で操作を探し、次に execute で呼び出します。例:

Terminal window
Workspace の `Plant/Line1/Metric/Temperature` の現在値を読み取ってください。

工場データの操作 — Tier0 が工場データを整理、提供する方法を確認します。

ベストプラクティス

ユーザー管理

Tier0 のプラットフォームへのアクセスとユーザー権限を管理します。

該当するエディションのタブを選択して、ユーザー管理の手順を確認してください。

  • Workspace のオーナーまたは既存のメンバーは、電話番号またはメールアドレスを使って新しいメンバーを招待できます。

  • 新しいメンバーは、招待コードまたは招待リンクを受け取った後、アカウントを登録して Workspace に参加します。

  • 招待時に新しいメンバーのシート種別(Operator または Builder)を設定し、利用できる機能の範囲を決めます。

    • Builder:オーナー専用機能を除くワークスペース機能を利用できます。
    • Operator:Launchpad でアクセス権のあるアプリを利用できます。
  • アカウント登録には 2 段階の確認が必要です。

操作 実行できるユーザー 説明
シート種別の変更 作成者 / Builder
  • 作成者はすべてのメンバーのシート種別を変更できます。
  • Builder は Operator のシート種別のみ変更できます。
Workspace の削除 作成者 Workspace を削除すると、すべてのデータが直ちに消去され、復元できません。
Workspace の移譲 作成者 —
メンバーの削除 作成者 / Builder
  • 作成者はすべてのメンバーを削除できます。
  • Builder は Operator のみ削除できます。
アカウントの削除 すべてのメンバー
  • 作成者は先に Workspace を削除するか、ほかのメンバーに移譲する必要があります。
  • メンバーのアカウントは直ちにすべての Workspace から退出します。
  • アカウントデータは直ちに消去され、復元できません。
ベストプラクティス

データソースの接続

Tier0 は OPC UA、Modbus、MQTT など、さまざまな産業用プロトコルへの接続に対応しています。

  • サーバーアドレスを入力すると、セキュリティ設定がサーバーから自動取得されます。
  • ユーザー名とパスワード、または証明書による認証に対応しています。
Terminal window
{
"name": "ua",
"description": "",
"protocol": "opcua",
"endpoint": "opc.tcp://220.184.175.73:4841/demo/",
"runtimeLocation": "local",
"opcua": {
"securityMode": "None",
"securityPolicy": "None"
}
}

サーバーアドレスとユニット ID のみが必要です。

Terminal window
{
"name": "modbus",
"description": "",
"protocol": "modbus-tcp",
"endpoint": "tcp://220.184.175.73:1502",
"runtimeLocation": "local",
"modbus": {
"unitId": 1
}
}

Tier0 は、デバイスからデータを受信する MQTT Broker としても、外部 MQTT Broker に接続するクライアントとしても使用できます。

  • Broker として:

    1. MQTT Device の接続時に、クライアント ID、ユーザー名、パスワードなどの接続認証情報が生成されます。
    2. サードパーティーのクライアントは、接続パネルに表示される公開トピックを使ってメッセージを公開する必要があります。
    3. 公開トピックを入力とする Stream を Agent に作成させ、指定した Namespace にデータを送信します。
  • クライアントとして:サードパーティーの Broker に接続します。

    Terminal window
    {
    "name": "111",
    "description": "",
    "protocol": "mqtt",
    "endpoint": "mqtt://220.184.175.73:1883",
    "runtimeLocation": "local",
    "mqtt": {
    "clientId": "tier0UxxxxxxxxuwQVfi"
    }
    }

Tier0 は、外部からアクセスできる HTTP サーバーとしても、他の HTTP サーバーの API を呼び出すクライアントとしても使用できます。

  • サーバーとして:

    1. Tier0 に HTTP サーバーを追加し、情報パネルから完全なアドレスを取得します。
    2. データと後続のルーティングを定義する Stream を Agent に作成させ、API を構成します。
    3. サードパーティーは、そのアドレスと設定したルートを使って API を呼び出し、データを取得します。
  • クライアントとして:サードパーティーの HTTP サーバーに接続します。

Terminal window
{
"name": "222",
"description": "",
"protocol": "http-api",
"endpoint": "http://220.184.175.73:8088/api/telemetry",
"runtimeLocation": "local",
"role": "client",
"http": {
"authentication": "none"
}
}
  • データベースアドレスには、ポートとデータベース名の両方を含める必要があります。
  • 最初に実行するクエリが必要です。
  • データベースが匿名接続を許可する場合は、認証を省略できます。
Terminal window
{
"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"
}
  1. OAuth を使って Tier0 Github に接続します。
  2. データソースの情報パネルで、この組織のリソースを確認します。
  3. 必要なデータを取得する Stream を Agent に作成させます。

データソースからデータを取得する

Section titled “データソースからデータを取得する”
  1. 接続したデータソースからデータを取得する Stream を Agent に作成させます。
  2. Modbus レジスタ、データベースクエリ、UA 名前空間 URI、MQTT トピックなど、必要な情報をプロンプトに含めます。
ベストプラクティス

セキュリティとレジリエンス

Tier0 の ID、データアクセス、デプロイの可用性、復旧に関する制御の概要。

Tier0 は、次の 2 つの側面からデータの安全性を確保します。

  • セキュリティ:プラットフォーム、アプリケーション、データにアクセスできるユーザーを制御します。
  • レジリエンス:障害発生後のサービス継続とデータ復旧に対応します。

エディションごとのセキュリティ範囲

Section titled “エディションごとのセキュリティ範囲”
エディション セキュリティの範囲
Cloud プラットフォームへのアクセス制御と、認証が必要な MQTT および API へのアクセスを提供します。
Enterprise プラットフォームとデータへのアクセス制御に加え、プライベート環境向けのデプロイの可用性、バックアップ、復旧を提供します。
Edge(オープンソース) ローカルでのデータ接続とモデリングに使用します。内蔵 MQTT ブローカーは認証なしのサブスクリプションを許可します。

各エディションの位置付けについては、最適な製品の選択を参照してください。

対象 Tier0 の仕組み 詳細
プラットフォームへのアクセス
  • Cloud は Workspace のメンバー資格でアクセスを制御します。
  • Enterprise はユーザーアカウントでアクセスを制御します。
ユーザー管理
Agent のアクセス Agent は MCP を介して接続し、付与された権限の範囲でプラットフォームを操作します。 Agent を接続する
アプリケーションへのアクセス Tier0 は RBAC を使用してアプリケーションへのアクセスを制御します。 アクセス制御
アクセス方法 Tier0 の仕組み 詳細
MQTT
  • クライアントは Tier0 が生成した認証情報で認証します。
  • TLS とセキュア WebSocket が転送中のデータを暗号化します。
MQTT 認証情報と接続
REST API データへのアクセスには Tier0 が生成したキーが必要です。 API リファレンス

Enterprise は現在、センターノード向けに 2 つのデプロイ計画を提供しています。

計画 可用性の境界 詳細
標準デプロイ
  • データベースのプライマリ/スタンバイのフェイルオーバーに対応します。
  • Enterprise アプリケーションと EMQX は単一障害点として残ります。
標準デプロイ計画
高可用デプロイ
  • Enterprise のアクティブ/スタンバイノードを追加し、データベース、キャッシュ、オブジェクトストレージ、管理対象のランタイムファイルのフェイルオーバー動作を定義します。
  • 無停止やデータ損失ゼロを保証するものではありません。
高可用デプロイ計画

Enterprise はデータベースのバックアップと復旧を提供します。復旧後はデプロイ状態を確認し、基本機能を検証して、プラットフォームにサインインできることを確認してください。

リファレンス

API リファレンス

Tier0 API への接続、応答の確認、安全な書き込み再試行。

  • ベース URL: https://<your-tier0-host>/openapi/v2
  • 認証: x-api-key リクエストヘッダーに Tier0 API キーを指定します。
  • API キーは信頼できるサーバーにのみ保存し、URL、ブラウザーのコード、ログに含めないでください。

Cloud OpenAPI のエンドポイントでパス、パラメーター、制限、応答スキーマを確認できます。

  • /uns/ リクエストでは HTTP ステータスと応答本文の両方を確認します。成功時は 2xx かつ code: 0 で、結果は data にあります。
  • 失敗時は error.code を確認し、調査用に requestId を保存します。
  • バッチでは HTTP 200 でも各項目を確認します。一部の項目だけ失敗する場合があります。
  • error.execution を確認し、未開始、ロールバック済み、コミット済み、結果不明のいずれかを判断します。
  • error.retry.safe が true の場合に限り、同じ冪等キーで同一リクエストを再試行します。待機時間が示された場合は、error.retry.afterMs または Retry-After ヘッダー以上待ちます。
  • バッチの一部がコミットされた場合、成功項目を確認してから残りを送信します。結果不明で安全な再試行が確認できない場合は、再送前に書き込みの反映を確認します。
リファレンス

標準デプロイ計画

Tier0 Enterprise の 4 台の仮想マシンによる標準デプロイの参考構成。

簡易構成では Docker Swarm を使用せず、単一の enterprise アプリケーションノードを配置します。仮想マシンは合計 4 台です。

  • 1 台の enterprise ノードで tier0-enterprise + EMQX を実行します。
  • 2 台のデータベースノードで PostgreSQL + TimescaleDB のプライマリ/スタンバイクラスターを構成します。
  • 1 台の Witness ノードがデータベースの監視、クォーラム判定、フェイルオーバーに参加します。

簡易構成はデプロイの複雑さを低減します。一方、アプリケーション層と EMQX は単一障害点となります。DB VIP + Witness による高可用性を維持するのはデータベース層のみです。

以下の IP アドレスは計画用のプレースホルダーです。実装前に現場の実際のネットワークに合わせて置き換えてください。

種別 名前 計画 IP 説明
アプリケーションノード ent-enterprise-01 10.60.10.11 tier0-enterprise + EMQX を実行する単一の enterprise ノード
論理エンドポイント DB VIP 10.60.20.10 現在のプライマリのみを指す共通データベースエンドポイント
データベースノード ent-db-01 10.60.20.11 PostgreSQL + TimescaleDB のプライマリ候補
データベースノード ent-db-02 10.60.20.12 PostgreSQL + TimescaleDB のスタンバイ候補
クォーラムノード ent-db-witness-01 10.60.20.13 repmgr witness/データベースのクォーラム監視
flowchart TB
    clients["Clients / Site Systems"] -->|"HTTPS / MQTT<br/>443 / 1883 / 8883"| app["ent-enterprise-01<br/>10.60.10.11<br/>tier0-enterprise + EMQX"]
    app -->|"PostgreSQL 5432"| vip["DB VIP<br/>10.60.20.10:5432"]
    vip -->|"Current primary"| db1["ent-db-01<br/>10.60.20.11<br/>Primary candidate"]
    vip -.->|"After failover"| db2["ent-db-02<br/>10.60.20.12<br/>Standby candidate"]
    db1 -.->|"WAL replication"| db2
    db1 -.->|"Quorum / health"| witness["Witness<br/>10.60.20.13"]
    db2 -.->|"Quorum / promotion"| witness
    classDef t0accent fill:#B2ED1D,stroke:#73B200,color:#171717
    class vip t0accent

主要な経路:

  • 業務経路:クライアント/現場システム → ent-enterprise-01 → DB VIP → 現在のプライマリデータベース。
  • tier0-enterprise と EMQX は、どちらも ent-enterprise-01 上で実行します。
  • データベースへのアクセスには必ず DB VIP を使用し、アプリケーションから ent-db-01/02 への直接アクセスは禁止します。
  • Witness はデータベースのクォーラム判定、昇格、健全性確認のみに参加し、業務経路には含まれません。

データベースの監視とフェイルオーバー

Section titled “データベースの監視とフェイルオーバー”
フェーズ 経路 説明
通常のアクセス ent-enterprise-01 -> DB VIP -> current primary アプリケーションは常に 10.60.20.10:5432 に接続します
通常のレプリケーション current primary -> current standby PostgreSQL WAL ストリーミングレプリケーション
通常の監視 DB-01/DB-02 -> Witness repmgrd が状態を報告し、Witness がクォーラム判定に参加します
プライマリ障害 standby -> Witness スタンバイがクォーラム確認を要求し、スプリットブレインを防止します
スタンバイの昇格 standby promote Witness の確認後にスタンバイを昇格させます
VIP の移動 DB VIP -> new primary 10.60.20.10 を新しいプライマリに割り当てます
アプリケーションの復旧 ent-enterprise-01 -> DB VIP -> new primary 接続プールの再接続後にアプリケーションが復旧します
ノード 役割 vCPU メモリー ストレージ システムディスクの推奨構成 データディスクの推奨構成 主要コンポーネント
ent-enterprise-01 単一の enterprise ノード 8 32G 100G 単一の / システムディスク、100G 個別のデータディスクなし tier0-enterprise、EMQX、任意で Nginx/HAProxy
ent-db-01 PostgreSQL/TSDB のプライマリ候補 4 8G 500G / 80G /pgdata 360G、/pgwal 40G、/backup-staging 20G PostgreSQL、TimescaleDB、repmgr、keepalived
ent-db-02 PostgreSQL/TSDB のスタンバイ候補 4 8G 500G / 80G /pgdata 360G、/pgwal 40G、/backup-staging 20G PostgreSQL、TimescaleDB、repmgr、keepalived
ent-db-witness-01 Witness/クォーラム監視 2 4G 40G / 40G 個別の割り当てなし repmgr witness、監視エージェント、監査ログ
分類 台数 ノードごとの仕様 vCPU 小計 メモリー小計 ストレージ小計
enterprise アプリケーションノード 1 8C / 32G / 100G 8C 32G 100G
PostgreSQL + TimescaleDB ノード 2 4C / 8G / 500G 8C 16G 1000G
Witness ノード 1 2C / 4G / 40G 2C 4G 40G
合計 4 - 18C 52G 1140G

合計値:

  • 仮想マシン:4 台
  • vCPU:18
  • メモリー:52G
  • ストレージ:1.14T
対象 方法 ポート 説明
すべての仮想マシン ssh -i ~/.ssh/chen-rsa ops@<IP> 22/TCP 共通の鍵認証による SSH を実装後に使用します。それまでは現場のアカウントを使用します
ent-enterprise-01 https://10.60.10.11 443/TCP 業務用エンドポイント
DB VIP psql -h 10.60.20.10 -p 5432 5432/TCP enterprise ノードと運用の許可リストのみ許可します

アプリケーションと EMQX のポート

Section titled “アプリケーションと EMQX のポート”
接続元 接続先 ポート 用途
ユーザー/現場システム ent-enterprise-01 80/TCP HTTP 入口または HTTPS リダイレクト、任意
ユーザー/現場システム ent-enterprise-01 443/TCP HTTPS の業務用入口
デバイス/現場システム ent-enterprise-01 1883/TCP EMQX MQTT 平文通信、任意
デバイス/現場システム ent-enterprise-01 8883/TCP EMQX MQTT TLS、推奨
デバイス/現場システム ent-enterprise-01 8083/TCP MQTT WebSocket、任意
デバイス/現場システム ent-enterprise-01 8084/TCP MQTT WebSocket TLS、任意
運用ネットワーク ent-enterprise-01 18083/TCP EMQX Dashboard、運用の許可リストのみ
ent-enterprise-01 DB VIP 5432/TCP PostgreSQL の業務アクセス
接続元 接続先 ポート 用途
ent-db-01 ent-db-02 5432/TCP PostgreSQL WAL ストリーミングレプリケーション
ent-db-02 ent-db-01 5432/TCP 復旧後の逆方向レプリケーション
ent-db-01/02 ent-db-witness-01 5432/TCP repmgr メタデータ/Witness 通信
ent-db-01 ent-db-02 VRRP DB VIP の移動。プロトコル 112 を許可します

enterprise アプリケーションノード

Section titled “enterprise アプリケーションノード”
  • Docker Swarm はデプロイしません。
  • tier0-enterprise と EMQX を同一の ent-enterprise-01 ノードにデプロイします。
  • ent-enterprise-01 はアプリケーション層の単一障害点です。障害時は手動で復旧するか、バックアップから再構築します。
  • このノードには 100G のシステムディスクが 1 台しかないため、業務データの長期保存には適しません。
  • tier0-enterprise の業務データは PostgreSQL/TimescaleDB に保存する必要があります。
  • アップロード、インポート/エクスポート、レポートのファイルはローカルに保存してバックアップできます。後で標準構成へ移行する場合は、これらのファイルを NFS/NAS またはオブジェクトストレージへ移行してください。
  • 簡易構成の EMQX は、単一ノードのステートフルサービスです。
  • データディレクトリを ent-enterprise-01 上に固定します。例:/data/emqx。
  • 設定、証明書、プラグイン、ルールエンジンの設定をバックアップします。
  • メッセージ層の高可用性は提供しません。これが要件を満たさない場合は、3 ノードの EMQX クラスターを持つ標準構成を使用してください。
  • PostgreSQL:16 または現場で検証済みのバージョン。
  • TimescaleDB:選択した PostgreSQL のメジャーバージョンと互換性のある安定版。
  • レプリケーション:物理ストリーミングレプリケーション。
  • フェイルオーバー:repmgrd + witness。
  • データベースの入口:DB VIP。
  • 接続プール:ent-enterprise-01 上で PgBouncer を実行し、データベースへの接続負荷を低減できます。
  • Witness は repmgr witness のメタデータと監視ロジックのみを保持します。
  • Witness は業務 SQL を処理しません。
  • Witness の障害で現在のプライマリは停止しませんが、自動フェイルオーバーの信頼性は低下します。

ポートとファイアウォールの基準

Section titled “ポートとファイアウォールの基準”
ポート/プロトコル 許可範囲 用途
22/TCP 運用ネットワークから 4 台の仮想マシン SSH
80/TCP ユーザーネットワークから ent-enterprise-01 HTTP リダイレクトまたは内部の平文通信入口
443/TCP ユーザーネットワークから ent-enterprise-01 HTTPS の業務用入口
1883/TCP デバイス/現場システムから ent-enterprise-01 EMQX MQTT 平文通信、任意
8883/TCP デバイス/現場システムから ent-enterprise-01 EMQX MQTT TLS、推奨
8083/TCP デバイス/現場システムから ent-enterprise-01 EMQX WebSocket、任意
8084/TCP デバイス/現場システムから ent-enterprise-01 EMQX WebSocket TLS、任意
18083/TCP 運用ネットワークから ent-enterprise-01 EMQX Dashboard、許可リストのみ
5432/TCP enterprise から DB VIP、DB/Witness 内部 PostgreSQL/repmgr
112/VRRP データベースノード間 DB VIP の移動
9100/TCP 監視システムから 4 台の仮想マシン node exporter、任意
障害シナリオ 想定される動作 業務への影響
ent-enterprise-01 の障害 アプリケーションと EMQX が停止し、手動復旧またはバックアップからの再構築が必要です アプリケーション層が全面停止します
現在の DB プライマリの障害 Witness のクォーラム確認後にスタンバイが昇格し、DB VIP が移動します 数秒から数分の書き込み中断。アプリケーションの再接続が必要です
DB スタンバイの障害 プライマリは稼働を継続し、レプリケーションのアラートが発生します 直接の業務停止はありませんが、DB のホットスタンバイを失います
Witness の障害 現在のプライマリは稼働を継続しますが、自動フェイルオーバーの信頼性が低下します 直接の業務停止はありません。Witness を優先して復旧します
DB VIP の移動失敗 新しいプライマリが存在しても、共通の入口に到達できない場合があります 業務が停止します。VIP の手動割り当てが必要です
確認項目 合格基準
4 台の仮想マシンのホスト名が固定されている hostnamectl が計画と一致します
共通の SSH 接続が利用できる 運用端末から鍵認証で 4 台すべてにアクセスできます
時刻同期 4 台間の時刻差が 1s 未満です
ファイアウォールが許可されている 第 9 節のポートが定められた範囲で許可されています
enterprise サービスが正常である tier0-enterprise のヘルスチェックに合格します
EMQX の状態が検証されている EMQX ノード、待ち受けポート、永続化ディレクトリが正常です
enterprise のディスク使用率が安全な範囲にある / の使用率が 70% 未満で、ログとキャッシュのクリーンアップが設定されています
DB のプライマリ/スタンバイが正常である repmgr cluster show でプライマリ、スタンバイ、Witness が正常です
DB VIP が利用できる enterprise ノードから 10.60.20.10:5432 に接続できます
DB プライマリのフェイルオーバー訓練 スタンバイの昇格と DB VIP の移動ができます
バックアップのリストア訓練 テスト用データベースへバックアップをリストアできます
  1. 4 台の仮想マシンを作成し、ホスト名、IP、時刻同期、SSH を設定します。
  2. OS の基本設定、ファイアウォール、マウント、カーネルパラメーターを初期化します。
  3. ent-enterprise-01 に tier0-enterprise をデプロイします。
  4. ent-enterprise-01 に単一ノードの EMQX をデプロイします。
  5. PostgreSQL + TimescaleDB のプライマリ/スタンバイをデプロイします。
  6. repmgr witness、repmgrd、DB VIP 移動スクリプトをデプロイします。
  7. 接続、EMQX の復旧、データベースのフェイルオーバー、バックアップのリストア、日常点検を検証します。
  8. 運用 Runbook、認証情報の保管、日常点検タスクを整備します。
  • 簡易構成にはアプリケーション層の単一障害点があります。ent-enterprise-01 が停止すると、業務サービス全体が利用できなくなります。
  • EMQX は単一ノードであり、メッセージ層の高可用性を提供しません。
  • ent-enterprise-01 のシステムディスクは 100G の 1 台のみです。ログ、キャッシュ、添付ファイル、一時ファイルの使用量を管理する必要があります。
  • 後でアプリケーション層または EMQX の高可用性が必要になった場合は、標準構成へ移行します。
  • データベースの RPO/RTO は未確定です。このプライマリ/スタンバイ構成はデータ損失ゼロを保証しません。
  • DB VIP 移動スクリプトは現場での検証が必要です。特に、仮想化/ネットワーク基盤が VRRP を許可していることを確認してください。
リファレンス

高可用性デプロイ計画

Tier0 Enterprise の高可用性環境向けリファレンスデプロイ計画。

この V2 計画は、オフラインまたはプライベート環境に論理的な Tier0 Enterprise Fleet Center をデプロイするためのものです。6 台のマシンが、業務、ミドルウェア、データベース、ストレージ、Agent の役割を分担します。ユーザーと Enterprise 内部サービスは常に固定 VIP アドレスに接続します。1 台のマシンまたは 1 つのプロキシに障害が発生した場合、Keepalived、HAProxy、repmgr、RustFS、Fleet Agent がそれぞれのレイヤーで引き継ぎます。

この計画は、同一ネットワークセグメント内の単一マシン障害からの復旧を対象にしています。これは Active/Standby の災害復旧設計であり、複数データセンター、合意ベースの選出、またはデータ損失ゼロを保証する厳密な高可用性クラスターではありません。

設計目標は次のとおりです。

  • 現在の業務ノードに障害が発生した後、Fleet Center の入口を健全な Standby ノードへ移動できる。
  • PostgreSQL、Redis、RustFS は固定 VIP アドレスを使用し、バックエンドの役割が変わっても Enterprise の .env を変更しない。
  • App、Flow、Marimo、License などのローカル業務ファイルを Active から Standby へ同期できる。
  • 1 つの Cluster License は 1 つの論理インストールに対応し、Enterprise が別ノードに切り替わっても再アクティベーションしない。
  • 独立した deployer が 6 台の初期化、ロール割り当て、デプロイ、状態監視、フェイルオーバー検証を行う。
  • VIP フェイルオーバー、ファイル同期、独立 Redis インスタンス、データベースレプリケーション、オブジェクトストレージ冗長性を明確に分離する。

この計画は Fleet Center のみに適用されます。Branch Enterprise ノードは通常の単一マシンデプロイとしてインストールされ、この 6 台 Active/Standby 設計には参加しません。

Tier0 Enterprise 全体トポロジー

主要なリクエスト経路は次のとおりです。

Terminal window
クライアント / 現場システム
-> Business VIP :8088
-> 現在の Active Enterprise (D / E / F)
|-- PostgreSQL VIP :5432 -> D/E HAProxy -> A/B の現在の書き込み可能 Primary
|-- Redis VIP :6379 -> C または F の独立 Redis
`-- RustFS VIP :19000 -> A/B HAProxy -> C/D/E/F RustFS クラスター

4 つの VIP は業務設定内の固定入口です。Enterprise がノードを切り替えたり、ミドルウェアのバックエンドロールが変わったりしても、クライアントと Enterprise は接続アドレスを変更しません。

次のアドレスは例です。実装前に、現場の同一 IPv4 サブネット内の実アドレスに置き換えてください。4 つの VIP は DHCP、静的ホスト、または他の VRRP インスタンスで使用されていてはいけません。

名前 例 IP 説明
deployer-controller 10.60.10.20 独立 deployer。6 台の業務マシンには含めない
ent-ha-01 / A 10.60.10.11 PostgreSQL Primary と関連ロール
ent-ha-02 / B 10.60.10.12 PostgreSQL Standby と関連ロール
ent-ha-03 / C 10.60.10.13 Witness、Redis-1、RustFS-1
ent-ha-04 / D 10.60.10.14 初期 Active Enterprise と関連ロール
ent-ha-05 / E 10.60.10.15 Enterprise Standby と関連ロール
ent-ha-06 / F 10.60.10.16 Enterprise Standby と関連ロール
Business VIP 10.60.10.101 Enterprise 統一入口、デフォルト 8088
PostgreSQL VIP 10.60.10.102 データベース統一入口、デフォルト 5432
Redis VIP 10.60.10.103 Redis 統一入口、デフォルト 6379
RustFS VIP 10.60.10.104 S3 統一入口、デフォルト 19000

実装前に、業務 NIC 名、IPv4 プレフィックス、ゲートウェイ、DNS、NTP、ホスト名、SSH ユーザー、ディスクマウントポイント、ファイアウォール許可リストを確認してください。VIP、ノード IP、NIC をスクリプトで推測して本番に直接使用してはいけません。

Tier0 Enterprise 6 台 Active/Standby 構成
マシン デフォルトでデプロイするコンポーネント 主な責務
A PostgreSQL Primary、RustFS HAProxy、Keepalived 初期データベース Primary、1 番目の RustFS プロキシ候補
B PostgreSQL Standby、RustFS HAProxy、Keepalived ストリーミング Standby、2 番目の RustFS プロキシ候補
C PostgreSQL Witness、Redis-1、RustFS-1 データベース Witness/状態記録、Redis と RustFS のデータノード
D PG HAProxy、Keepalived、RustFS-2、Enterprise、Fleet Agent、rsync 初期業務 Active、1 番目の PostgreSQL プロキシ候補
E PG HAProxy、Keepalived、RustFS-3、Enterprise、Fleet Agent、rsync 業務 Standby、2 番目の PostgreSQL プロキシ候補
F Redis-2、RustFS-4、Enterprise、Fleet Agent、rsync 業務 Standby、2 番目の Redis インスタンス

この割り当ては単一マシン障害への耐性と、6 台全体のリソースバランスを目的としています。deployer はホスト名/IP アドレスの自然順でマシンを A-F に対応付け、デフォルトロールを選択しますが、最終割り当ては現場のディスク構成と障害ドメインに照らして確認する必要があります。

Enterprise 業務レイヤーは Single Active/Standby です。任意の時点で、Business VIP を保持するノードだけが業務リクエストを処理します。業務レイヤーの拡張は、1 台の業務ノードの CPU、メモリ、ディスクを増強する垂直拡張で行います。Enterprise ノード数を掛け算して同時処理能力を見積もらないでください。

マシン ノード種別 vCPU メモリ 基本ストレージ ディスク推奨
A PostgreSQL Primary ノード 8C 16G 1T / は約 80G、残りは PostgreSQL データ、WAL、バックアップ staging 用
B PostgreSQL Standby ノード 8C 16G 1T / は約 80G、残りは PostgreSQL データ、WAL、バックアップ staging 用
C Witness / ミドルウェアノード 4C 8G 500G システム、Redis、RustFS データ用の固定マウントポイントを割り当てる
D 初期 Active Enterprise ノード 8C 32G 500G システム、コンテナ、Enterprise 同期ファイル、RustFS データ用の固定マウントポイントを割り当てる
E Standby Enterprise ノード 8C 32G 500G D と同じ
F Standby Enterprise ノード 8C 32G 500G D と同じ
カテゴリー 台数 1 台あたり仕様 vCPU 小計 メモリ小計 ストレージ小計
PostgreSQL データベースノード 2 8C / 16G / 1T 16C 32G 2T
Witness / ミドルウェアノード 1 4C / 8G / 500G 4C 8G 500G
Enterprise 業務ノード 3 8C / 32G / 500G 24C 96G 1.5T
合計 6 - 44C 136G 4T

D、E、F は同じ Enterprise 構成を保持します。

依存先 構成方針
PostgreSQL A/B ノード IP ではなく PostgreSQL VIP に接続する
Redis C/F ノード IP ではなく Redis VIP に接続する
File storage FILESTORE_DRIVER=s3 を使用し、S3 endpoint を RustFS VIP に向ける
Fleet identity 3 ノードが 1 つの論理 installationId を共有し、各ノードは独自の memberId を持つ
Fleet Agent 各 Enterprise ノードで 1 つのプロセスレベル Fleet Agent を実行する
License Business VIP 経由で 1 回だけアクティベートし、Bundle を HA fileset に含める

installationId と memberId はインストールプロセスで生成、永続化されます。運用者が手動で作成したり、マシン間で memberId をコピーしたりしないでください。

VIP 候補ノード ヘルス判定 引き継ぎ結果
Business VIP D, E, F Fleet Agent readiness、業務コンテナ状態、同期 generation Owner だけが Enterprise HA 業務グループを起動する
PostgreSQL VIP D, E HAProxy/Keepalived 状態。HAProxy は書き込み可能 Primary のみにルーティングする Enterprise は同じデータベースアドレスを使い続ける
Redis VIP C, F Redis PING とローカルサービス状態 もう一方の独立インスタンスへ切り替わる。キャッシュ/セッションは失われる可能性がある
RustFS VIP A, B HAProxy と RustFS backend のヘルス S3 アドレスを変えずにプロキシ入口だけが移動する
  • D、E、F は同じ完全な Enterprise オフライン ZIP をインストールする。
  • Fleet Agent はホストレベルのプロセスサービスであり、業務コンテナではない。
  • Keepalived は Business VIP を管理し、Fleet Agent readiness endpoint を呼び出してローカルノードが VIP を保持できるか判断する。
  • Business VIP Owner だけが業務グループを実行し、他の 2 台は Standby にとどまる。
  • VIP を失ったノードは業務グループを停止しなければならない。復旧したノードはまず Standby として再参加する。
  • EMQX は Single Active 業務グループの一部として実行する。Agent 制御外で再起動したり、3 台間で別の選出機構を作ったりしない。

PostgreSQL Primary/Standby、Witness、統一入口

Section titled “PostgreSQL Primary/Standby、Witness、統一入口”
  • A は Primary、B は Streaming Standby、C は repmgr Witness として開始する。
  • Witness はクラスター状態を記録し、障害判断に参加する。完全な業務データは保存せず、読み書きも処理しない。
  • Primary に障害が発生した場合、repmgr は健全な Standby を新しい Primary に昇格させる。
  • D/E HAProxy は 5432 トラフィックを現在の書き込み可能 Primary のみにルーティングする。
  • PostgreSQL VIP は D/E プロキシノード間を移動する。プロキシフェイルオーバーとデータベース Primary/Standby フェイルオーバーは分離されている。
  • 受け入れでは「書き込み可能 Primary が 1 つだけであること」と「Standby が streaming を再開すること」の両方を証明する必要がある。
  • C と F はそれぞれ 1 つの standalone Redis インスタンスを実行する。
  • 2 つの Redis は Sentinel、Cluster、Primary/Replica レプリケーションを構成しない。
  • Redis VIP は接続入口だけを切り替える。現在のインスタンスに障害が発生すると、VIP はもう一方の健全なインスタンスへ移動する。
  • Redis には失われてもよい、または再構築できるデータだけを保存する。切り替え後の空キャッシュや再ログインは設計境界内である。
  • 将来 Redis が破棄できない状態を保存する場合は、独立インスタンス前提を維持せず、レプリケーション/仲裁設計へアップグレードする。
  • C、D、E、F は 4 ノードの分散 RustFS オブジェクトストレージクラスターを構成する。
  • A と B の HAProxy は健全な RustFS backend へプロキシする。
  • RustFS VIP は A と B の間を移動する。Enterprise は常にこの VIP 経由で S3 にアクセスする。
  • 単一 RustFS ノード障害はクラスター機構で処理し、単一プロキシ障害は VIP フェイルオーバーで処理する。
  • オブジェクトデータを rsync、ホットコピー、または RustFS マウントディレクトリの直接編集で同期しない。
  • RustFS のノード数、ディスク数、erasure coding の可用性境界は、デプロイされたバージョンのクラスター検査結果に従う。

App、Flow、Marimo、License ファイル同期

Section titled “App、Flow、Marimo、License ファイル同期”

Fleet Agent は、PostgreSQL/RustFS に直接置けないが、新しい Active ノードに存在する必要があるローカル業務ファイルだけを同期します。

  • App runtime ディレクトリと node_modules
  • Flow、Marimo、Notebook、および関連するローカル runtime ファイル
  • License Bundle
  • 現在の実装で明示的に登録されたその他の HA fileset

同期は、deployer が管理する業務ノード間の SSH trust 上で system rsync を使用します。各リリースは完全な generation/manifest を作成します。Standby ノードは generation が完全であることを確認してからのみ引き継げます。PostgreSQL データディレクトリ、Redis データディレクトリ、RustFS データディレクトリはこの同期範囲に含まれません。

Source Target Purpose
ユーザー / 現場システム Business VIP Web/API 業務アクセス
D/E/F Enterprise PostgreSQL VIP 業務データベースの読み書き
D/E/F Enterprise Redis VIP キャッシュとセッション
D/E/F Enterprise RustFS VIP S3 オブジェクトの読み書き
Deployer controller A-F SSH、デプロイ、状態収集、運用
D/E/F D/E/F rsync/SSH ファイル同期
A/B/C A/B/C PostgreSQL streaming replication、repmgr、Witness 通信
RustFS members/proxies C/D/E/F RustFS クラスターと S3 backend 通信
同じ VIP を共有するノード 対応する候補ノード VRRP advertisement と VIP 移動

ポートは、必要最小限の source-to-target 関係で許可してください。すべての管理ポートをユーザーネットワークへ直接公開しないでください。

Port / protocol 推奨許可範囲 用途
22/TCP Deployer -> A-F; D/E/F 相互同期 SSH、デプロイ、rsync
8088/TCP ユーザーネットワーク -> Business VIP Enterprise 業務入口
5432/TCP D/E/F -> PostgreSQL VIP; PG/proxy 内部アクセス PostgreSQL、streaming replication、proxy
6379/TCP D/E/F -> Redis VIP; health-check nodes -> C/F Redis アクセスとヘルスチェック
19000/TCP D/E/F -> RustFS VIP Enterprise 固定 S3 入口
9000/TCP A/B -> C/D/E/F; RustFS members RustFS S3 backend/cluster 通信。バージョンごとに確認
9001/TCP 管理対象運用ネットワーク -> RustFS admin entry 任意の RustFS admin endpoint。ユーザーネットワークへ公開しない
19731/TCP Localhost / Keepalived / 管理対象運用ネットワーク Fleet Agent HTTP health/control interface
18080/TCP 運用ネットワーク -> deployer controller Deployer HTTPS UI
112/VRRP 各 VIP の候補ノード Keepalived VIP 移動。TCP/UDP ではなく IP プロトコル番号
1883/8883 現場デバイスネットワーク -> 業務入口。製品設定に従う MQTT/MQTTS
障害シナリオ 期待される動作 境界
D Active 業務ノード障害 Business VIP が E または F に移動し、正常な Standby が fileset generation を確認してから業務グループを起動する 最後の正常な同期後に未同期のファイルは失われる可能性がある
Fleet Agent 障害 readiness が失敗し、旧業務グループが停止して Business VIP が移動する Agent を迂回して手動でコンテナーを起動しない
PostgreSQL A Primary 障害 B が昇格し、HAProxy が新 Primary にルーティングする。PostgreSQL VIP は変わらない 切り替え中は接続が一時的に失敗する。後で新しい Standby を復旧する
PostgreSQL HAProxy 1 台の障害 PostgreSQL VIP がもう一方の proxy へ移動する データベースの役割は変わらない
現在の Redis ノード障害 Redis VIP がもう一方の独立 Redis インスタンスへ移動する キャッシュが失われ、セッションが無効になる可能性がある
RustFS データノード 1 台の障害 残りのクラスターノードがサービスを継続する 許容範囲は実際の erasure coding とディスクの状態に依存する
RustFS HAProxy 1 台の障害 RustFS VIP がもう一方の proxy へ移動する S3 アドレスは変わらず、既存の接続は再接続が必要になる場合がある
deployer controller 障害 稼働中のデータプレーンは継続する デプロイ、集中監視、運用が一時的に利用できず、controller 自体には自動 Standby がない
ネットワーク分断 安全な自動リーダー選出は保証されない VIP Owner または Active が二重になる可能性があり、障害側を隔離して手動で復旧する
任意の 2 台が同時に障害 一律の可用性保証はない 結果は 2 台の役割の組み合わせに依存し、シナリオごとの検証が必要

ネットワーク分断、複数ノード同時障害、誤った VRRP priority、ディスク満杯、時刻ずれ、deployer 外の手動変更は通常の自動復旧保証の範囲外であり、運用手順で扱う必要があります。

  • PostgreSQL は独立した論理または物理バックアップとリストア検証が必要です。
  • RustFS は容量、ディスク、クラスターのヘルス監視が必要です。
  • Redis は将来のレプリケーション設計が導入されるまではキャッシュ/セッションとして扱う必要があります。
  • D/E/F の Fleet Agent と Keepalived 状態を監視する必要があります。
  • rsync generation lag を監視する必要があります。古い generation の Standby は業務トラフィックを引き継いではいけません。
  • 定期フェイルオーバードリルには、Business VIP、PostgreSQL 昇格、Redis VIP 切り替え、RustFS proxy 切り替え、バックアップからの復元を含める必要があります。
確認項目 合格基準
マシンと役割 6 台の業務マシン A~F が計画と一致し、deployer は分離されている。
SSH と sudo deployer が管理されたアカウントで A~F に対話なしでアクセスでき、ホストキーを確認済み。
ネットワークと時刻 6 台は計画されたサブネットにあり、4 つの VIP は未使用。NIC、プレフィックス、時刻同期が要件を満たす。
Docker/Compose 6 台すべて初期化済みで、古いコンテナー、ポート、ネットワーク、データディレクトリとの競合がない。
ディスク PostgreSQL、RustFS、Enterprise fileset が計画されたマウントポイントを使用し、容量と inode に問題がない。
PostgreSQL Primary が 1 台、Standby は streaming 中、Witness は稼働中で、PostgreSQL VIP 経由で読み書きできる。
Redis C/F のインスタンスが正常で、Redis VIP 経由の PING に成功し、切り替え後にデータが複製されない境界を了承済み。
RustFS 4 ノードが正常で、RustFS VIP 経由でオブジェクトを書き込み、読み取り、削除できる。
Enterprise D/E/F のバージョンが一致し、Business VIP の所有者だけが業務グループを実行する。
Fleet Agent 3 台の Agent が稼働し、readiness、同期履歴、generation の状態を確認できる。
License Cluster License が Business VIP 経由で 1 回だけ有効化され、切り替え後も有効。
App 同期 node_modules を含むインポート済み App が同期と切り替え後も動作する。
ファイアウォール この計画で必要な送信元、宛先、プロトコルのみ許可されている。
バックアップ PostgreSQL、RustFS、deployer のバックアップ計画があり、少なくとも 1 回の復元テストを完了している。
  1. 独立した deployer controller、6 台の業務マシン、4 つの VIP、NIC、ディスク構成を準備する。
  2. 完全な納品パッケージと Enterprise オフライン ZIP の SHA256 を検証する。
  3. deployer を起動し、SSH 認証情報と 6 台のマシンを登録して接続を確認する。
  4. 6 台すべてで Docker/Compose とオフラインイメージ環境を初期化する。
  5. 標準デプロイを作成し、A~F の役割と 4 つの VIP を確認する。
  6. PostgreSQL、Redis、RustFS、HAProxy、Keepalived を順にデプロイする。
  7. D/E/F 間に専用 rsync アカウントと SSH 信頼関係を設定する。
  8. D/E/F に Enterprise と Fleet Agent をデプロイし、初期 Active が D のみであることを確認する。
  9. Business VIP 経由で License を 1 回有効化し、同期完了を待つ。
  10. テスト App をインポートし、App、node_modules、Flow/Marimo、License fileset の同期を検証する。
  11. Enterprise、PostgreSQL、Redis、RustFS の単一ノード障害を個別に演習する。
  12. ノードを復旧し、VIP Owner、Active、Primary がそれぞれ 1 つで、同期が完了していることを確認する。
  13. バックアップ復元演習、運用引き継ぎ、現場パラメーターの記録を完了する。
  • ユーザーは Business VIP 経由で Enterprise にアクセスできる。
  • Enterprise は PostgreSQL VIP 経由でのみ PostgreSQL を読み書きする。
  • Enterprise は Redis VIP 経由でのみ Redis を使用する。
  • Enterprise は RustFS VIP 経由でのみ RustFS を使用する。
  • フェイルオーバー後、App、Flow、Marimo、Notebook、License ファイルが Active ノードに存在する。
  • Branch Enterprise は引き続き独立してインストールでき、この 6 台 HA グループには参加しない。

フェイルオーバードリル受け入れ

Section titled “フェイルオーバードリル受け入れ”
  • Active 業務ノードを停止する: Business VIP が健全な Standby に移動し、業務グループはそこだけで起動する。
  • PostgreSQL Primary を停止する: Standby が昇格し、PostgreSQL VIP は書き込み可能 Primary を指し続ける。
  • Redis VIP owner を停止する: Redis VIP がもう一方のインスタンスへ移動し、キャッシュ/セッション損失を許容する。
  • RustFS proxy owner を停止する: RustFS VIP がもう一方の proxy へ移動する。
  • RustFS データノードを 1 台停止する: オブジェクトアクセスは実際の RustFS 冗長性境界内で維持される。
  • 障害ノードを復旧する: Standby または健全な member として復帰し、新しいデータやファイルを上書きしない。
  • 4 つの VIP が 6 台のマシンで共有できる同じレイヤー 2 ネットワークにあるか。
  • ネットワーク機器が VRRP/GARP を許可し、セキュリティポリシーが VIP の移動を妨げないか。
  • 現場が完全にオフラインか。deployer は Harbor への到達性を確認するため、事前に経路または proxy を検証する。
  • PostgreSQL、RustFS、Enterprise fileset の容量、増加率、RPO/RTO 目標が要件を満たすか。
  • Redis に失われてはならないデータがあるか。その場合、独立した 2 インスタンスでは要件を満たさない。
  • App/Flow/Marimo のファイル量、変更量、許容同期遅延が要件を満たすか。
  • サブネット間、データセンター間、ネットワーク分断、または任意の 2 台同時障害への可用性が必須か。
  • 本番証明書、ドメイン、パスワード、License、SSH キー、監査記録の管理責任者は誰か。
  • deployer controller の復旧方法、バックアップ周期、代替運用経路は何か。

これらが変わると VIP、役割、ストレージ、障害時の境界に影響する可能性があるため、実装前に計画を更新してください。

現在の計画は、6 台のマシン、4 つの固定 VIP、Single Active Enterprise を中心にしています。業務入口、データベース入口、キャッシュ入口、オブジェクトストレージ入口を分離します。同一ネットワークセグメント内で一般的な単一マシン障害をカバーでき、フェイルオーバー後に接続構成を変更したり、License を再アクティベートしたり、App ファイルを手動コピーしたりする作業を大幅に減らします。

同時に、3 つの境界を受け入れる必要があります。Redis はデータをレプリケートせず、業務 fileset は非同期で同期され、ネットワーク分断には合意仲裁がありません。したがって、この計画は Fleet Center 6 台 Single Active Active/Standby 災害復旧計画 として定義するのが適切です。ゼロ中断、ゼロデータ損失、またはデータセンター間の厳密な高可用性を外部に約束してはいけません。

リファレンス

SLA と高可用性の境界

標準 Tier0 Enterprise デプロイの SLA 推奨、高可用性境界、受け入れ条件、訓練、強化項目です。

このドキュメントは、3 台のアプリケーション / Swarm ノード、2 台の PostgreSQL HA ノード、1 台の witness ノードで構成される 6 VM 完全オフラインデプロイに適用されます。

レイヤー 現在の設計 高可用性の境界
アプリケーションランタイム Enterprise New compose は固定の tier0_app_active_node 上で実行されます。 backend、redis、EMQX、Marimo、OPC UA Server はまだ自動マルチレプリカサービスではありません。
HTTP 入口 3 台のアプリケーションノードで keepalived APP VIP + HAProxy を実行します。 VIP は浮動できます。HAProxy はアクティブノードの 8088/TCP に転送し、/healthz を確認します。
MQTT / OPC UA EMQX は 1883/8883/8083/8084、OPC UA は 4840 を使用します。 これらはアクティブノードへ直接接続します。TCP VIP プロキシには含まれないため、プロトコル入口の HA は保証されません。
データベース PostgreSQL / TimescaleDB ストリーミングレプリケーション + repmgr + witness + DB VIP。 primary 障害時に standby を自動昇格できます。非同期レプリケーションは厳密なゼロ RPO を保証できません。
バックアップと復元 backup-db.sh / restore-db.sh。 復旧性を提供しますが、オンライン HA と同じではありません。
サービス対象 推奨表現 制約
プラットフォーム HTTP 入口 月間可用性 99.5% から開始します。 VIP フェイルオーバーはアクティブアプリケーションノードの自動移行と同じではありません。
データベースアクセス 運用目標:RTO <= 2 minutes。 RPO はレプリケーション遅延に依存します。同じアーキテクチャでの過去フェイルオーバーテストは約 59-64 秒でした。
MQTT / OPC UA 現在の設計では HA SLA を約束しません。 先に HAProxy TCP proxy、専用 VIP、またはサービスクラスタリングを追加する必要があります。
バックアップと復元 毎日バックアップ。大きな変更前は必須。 復元時間はデータ量と現地 I/O に依存します。

99.9% 以上を主張する前に、アプリケーションの自動移行またはマルチレプリカデプロイ、プロトコル入口の HA、監視アラート、復旧訓練を完了してください。計画中の機能を納品済み機能として記述しないでください。

各デプロイまたはアップグレードでは、少なくとも以下を満たす必要があります。

  • verify-materials.sh が成功し、デリバリーパッケージの SHA256 チェックが通る。
  • 3 台の Swarm ノードが Ready である。
  • APP VIP /healthz と /readyz が 200 を返し、ホームページと /uns にアクセスできる。
  • アクティブノード上の 7 つの compose サービスが実行中である。
  • DB VIP:5432 にアクセスでき、primary、standby、witness の topology が正常である。
  • デフォルトアカウントで実際にログインできる。ポート、コンテナ、HTTP 200 応答だけで IAM 初期化成功を判断しない。
  • HTTP、EMQX ポート、WebSocket/WSS、OPC UA TCP の smoke check が通る。

毎日以下を実行します。

Terminal window
./bin/verify.sh --site config/site.conf
./bin/smoke-business-emqx.sh --site config/site.conf

少なくとも以下のアラートを設定します。

  • APP VIP /healthz または /readyz の失敗。
  • DB VIP 到達不可、primary 不在、split-brain リスク、レプリケーション中断、またはしきい値超過の遅延。
  • keepalived、HAProxy、PostgreSQL、repmgrd の異常状態。
  • backend、redis、EMQX などの重要コンテナの終了または頻繁な再起動。
  • データディスク使用率が 80% / 90% を超過。
  • 最新バックアップが失敗、または生成されていない。
訓練 頻度 検証基準
APP VIP failover デリバリー前および四半期ごと。 現在の VIP ノードで keepalived を停止した後、/healthz と /readyz が復旧する。
DB primary 障害 デリバリー前および半年ごと。 standby が昇格し、DB VIP が復旧し、旧 primary が standby として再構築される。
データベース復元 毎月のサンプル確認、および大きな変更前。 バックアップが復元可能であること。復元後に verify、スモークチェック、ログイン検証が通過すること。
資材検証 すべてのパッケージビルド。 source material、package SHA、展開検証が通る。
  1. まず影響範囲を確認します。HTTP、MQTT、OPC UA、database、単一ノード影響を確認します。
  2. VIP、HAProxy、アクティブアプリケーション、database primary の復旧を優先します。
  3. ログ、データディレクトリ、バックアップを保全します。インシデント現場を直接削除または上書きしないでください。
  4. データベースインシデントでは、まず現在の primary を特定し、その後フェイルオーバー、再参加、復元のいずれを行うか判断します。
  5. 復旧後、verify、smoke check、実ログイン検証を実行します。
  • アプリケーションを multi-replica 化するか、アクティブノードの検証可能な自動移行プロセスを確立します。
  • EMQX をクラスタ化するか、専用 VIP と HAProxy TCP / TLS でルーティングします。
  • HAProxy TCP、専用 VIP、またはサービスクラスタリングで OPC UA の高可用入口を提供します。
  • PostgreSQL 同期レプリケーションを使用するか、許容できる replication lag と RPO を明確に定義します。
  • バックアップスケジュール、オフサイトレプリケーション、定期復元訓練を自動化します。
  • コンテナ、ホスト、データベース、ログ、black-box probe を統一アラートに接続します。

関連手順: 運用 Runbook と 標準ポート一覧。

リファレンス

標準ポート一覧

標準的な 6 VM オフライン Tier0 Enterprise デプロイ向けのファイアウォールポート一覧。

次の表は Enterprise New の 6 VM オフラインデプロイを前提にしています。顧客側ファイアウォールでは、必要最小限の送信元範囲からの通信のみを許可してください。これらのポートを公開インターネットへ直接公開しないでください。

送信元 宛先 ポート プロトコル 用途
制御ホスト 6 台の対象 VM 22 TCP SSH / Ansible
3 台のアプリケーションノード相互 3 台のアプリケーションノード 2377 TCP Docker Swarm 管理プレーン
3 台のアプリケーションノード相互 3 台のアプリケーションノード 7946 TCP/UDP Swarm ノード検出
3 台のアプリケーションノード相互 3 台のアプリケーションノード 4789 UDP Swarm overlay
3 台のアプリケーションノード アクティブなアプリケーションノード 8088 TCP HAProxy から Enterprise New バックエンドへ。アプリケーションネットワークセグメントのみ
ビジネスネットワークセグメント APP VIP 80 TCP プラットフォーム HTTP 入口、/healthz、/readyz
ビジネスネットワークセグメント APP VIP / アクティブなアプリケーションノード 1883 TCP MQTT
ビジネスネットワークセグメント APP VIP / アクティブなアプリケーションノード 8883 TCP MQTT TLS
ビジネスネットワークセグメント APP VIP / アクティブなアプリケーションノード 8083 TCP MQTT WebSocket
ビジネスネットワークセグメント APP VIP / アクティブなアプリケーションノード 8084 TCP MQTT WebSocket TLS
ビジネスネットワークセグメント APP VIP / アクティブなアプリケーションノード 4840 TCP OPC UA Server
制御されたアプリケーションネットワークセグメント アクティブなアプリケーションノード 8089 TCP Launchpad
動的アプリケーションアクセスネットワークセグメント アクティブなアプリケーションノード 30000-30199 TCP App Gateway / 動的アプリケーションのホストポート
アプリケーションノード、DB ノード、Witness DB VIP / DB ノード 5432 TCP PostgreSQL / TimescaleDB
DB1、DB2、Witness DB1、DB2、Witness 5432 TCP Streaming replication / repmgr
アプリケーションノード NFS server 2049 TCP/UDP NFS_ENABLED=true の場合に使用

現在の compose デプロイでは、Redis、Marimo、EMQX Dashboard は外部に公開されません。これらのサービスは Docker runtime ネットワーク内の backend からのみ呼び出されます。

リファレンス

運用 Runbook

標準 Tier0 Enterprise deployment の daily inspection、failover、backup、restore、cleanup、troubleshooting 手順。

この document は Enterprise New offline application を前提にしています。

  1. deployment package の root directory で次の commands を実行します。
    Terminal window
    ./bin/verify.sh --site config/site.conf
    ./bin/smoke-business-emqx.sh --site config/site.conf
  2. 次の項目を確認します。
    • 3 台の Swarm nodes が Ready である。
    • APP VIP /healthz と /readyz が 200 を返す。
    • DB VIP:5432 にアクセスできる。
    • PostgreSQL primary、standby、witness topology が正常である。
    • backend、redis、emqx、marimo、opcua-server が active application node ですべて running である。
  1. active application node で次の commands を実行します。

    Terminal window
    cd /opt/tier0-enterprise/tier0-deploy
    bash bin/compose.sh ps
    bash bin/compose.sh logs --tail=200 backend
    curl -fsS http://127.0.0.1:8088/healthz
    curl -fsS http://127.0.0.1:8088/readyz
  2. Health-check の見方:

    • healthz failure: まず backend process、image、container logs を確認します。
    • readyz failure: DB VIP、Redis、database migration logs も確認します。
    • Home page に到達できるが login できない場合: .env の ADMIN_INITIAL_PASSWORD を確認し、その後 backend IAM migration logs と user tables を確認します。HTTP port だけで deployment success を判断しないでください。
Terminal window
nc -vz <APP_VIP> 1883
nc -vz <APP_VIP> 8883
nc -vz <APP_VIP> 8083
nc -vz <APP_VIP> 8084
nc -vz <APP_VIP> 4840

Database nodes で次を実行します。

Terminal window
systemctl status tier0-postgresql
systemctl status tier0-repmgrd
sudo -iu postgres psql -Atqc 'select pg_is_in_recovery();'
sudo -iu postgres /usr/local/bin/repmgr -f /etc/repmgr.conf cluster show
  • pg_is_in_recovery=false は primary を意味します。
  • pg_is_in_recovery=true は standby を意味します。
  • DB VIP は current primary のみに配置されている必要があります。
  • standby replication が interrupted した場合、または witness が upstream errors を報告した場合は、まず site を保全してください。full deployment を直接再実行しないでください。
  1. test 前に、現在 VIP を保持している node を記録し、次を確認します。

    Terminal window
    curl -fsS http://<APP_VIP>/healthz
    curl -fsS http://<APP_VIP>/readyz
  2. 現在の VIP node で keepalived を停止した後、別の application node への VIP takeover を確認し、両方の URLs を再テストします。HAProxy backend は active application node の 8088/TCP を指すため、3 台すべての application nodes が active node の port 8088 に到達できる必要があります。

  3. keepalived を復旧した後、verify.sh と smoke checks を再実行します。drill 中に active application containers を停止しないでください。

Failure drill の前に backup を作成し、replication が healthy であることを確認します。

Terminal window
./bin/backup-db.sh --site config/site.conf

現在の primary で tier0-postgresql を停止した後、repmgr が standby を promote し、DB VIP takeover することを確認します。target RTO は 2 分以内です。同じ architecture での過去の tests は約 59-64 秒でした。

  • Backup:

    Terminal window
    ./bin/backup-db.sh --site config/site.conf
  • Restore:

    Terminal window
    ./bin/restore-db.sh --site config/site.conf --restore-file /backup/tier0-db/postgres-YYYYmmddTHHMMSS.dump
Terminal window
./full-cleanup.sh --env install.env --yes
./install.sh --auto --yes
Terminal window
cd /opt/tier0-enterprise/tier0-deploy
bash bin/compose.sh logs --tail=300 backend
bash bin/compose.sh ps
Terminal window
cd /opt/tier0-enterprise/tier0-deploy
bash bin/compose.sh logs --tail=200 emqx
Terminal window
systemctl status tier0-repmgrd
tail -100 /var/log/repmgr/repmgr.log
sudo -iu postgres psql -Atqc 'show shared_preload_libraries;'
Terminal window
./bin/verify-materials.sh
リファレンス

OpenAPI リファレンス付録

Tier0 OpenAPI 4.0.0 · 操作: 173 · スキーマ: 487

操作

API のフィールド名、例、元の説明は、同梱の英語版 OpenAPI 仕様に従います。

Collection Management

Collection management APIs

POST/uns/discovery/describe

Read Collection fields, relationships and measurement semantics

Returns the Collection Schema and explicitly declared semantics. Do not infer undeclared relationships, units or granularity from field names.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "collectionId": "string",
    "description": "string",
    "fields": [
      "value"
    ],
    "indexStatus": [
      "value"
    ],
    "indexes": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCollectionDescription. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/discovery/search

Search accessible Collections

Search Collections accessible to the current identity by name or description. Discover real IDs before interpreting their fields.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
searchstringいいえSearch by name or supported text fields; not SQL.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog. At most 200 items per page.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "asOf": 0,
    "complete": false,
    "hasMore": false,
    "list": [
      "value"
    ],
    "nextCursor": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいDiscoveryResult. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Metadata

Metadata APIs

POST/uns/app/context

context · App

Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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 では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/auto-indexes/disable

Disable or enable an automatic index specification

Disable or enable an automatic index specification. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/auto-indexes/disable' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"collectionId":"string","fields":[{"field":"value","direction":"value","form":"value"}],"action":"disable"}'

application/json

フィールド型必須説明
collectionIdstringはいCollection ID for the business records and samples.
fieldsarray<object>はいSpecification to disable or enable, taken from autoIndexes[].spec.fields or disabledAutoIndexSpecs[].spec.fields.
actionstringはいdisable deletes existing automatic indexes with the same specification and prevents their automatic recreation; enable restores automatic management.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "collectionId": "string",
    "specKey": "string",
    "spec": {
      "paths": "value",
      "fields": "value"
    },
    "state": "disabled",
    "removingIndexIds": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/auto-indexes/pin

Pin or unpin an automatic index

Pin or unpin an automatic index. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/auto-indexes/pin' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"collectionId":"string","indexId":"string","action":"pin"}'

application/json

フィールド型必須説明
collectionIdstringはいCollection ID for the business records and samples.
indexIdstringはいAutomatic index task ID (autoIndexes[].id).
actionstringはいpin pins the index: the platform will neither delete nor rebuild it; unpin removes the pin.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "id": "string",
    "name": "string",
    "physicalNames": [
      "value"
    ],
    "spec": {
      "paths": "value",
      "fields": "value"
    },
    "state": "pending"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudAutoIndex. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/batch/status

Query the caller’s write receipt and current durable delivery status

Retains existing cross-type batch semantics for recovery by existing clients. New calls should use meta/batch, /uns/records:transact or the items array on ordinary Record/Sample resource operations. Do not replay an unresolved old request through a different endpoint.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/batch/status' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"scope":"string","idempotencyKey":"string"}'

application/json

フィールド型必須説明
scopestringいいえOpenAPI に記載なし
idempotencyKeystringはいUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "committedAt": 0,
    "deliveries": [
      "value"
    ],
    "itemCount": 0,
    "jobId": "string",
    "retryAdvice": {
      "recommendedAction": "value",
      "canRetrySameRequest": "value",
      "keepIdempotencyKey": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいTransactionStatusResult. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/edges/collection-sync/validate

Validate this Edge Collection mapping, current center grant and target schema

Validate this Edge Collection mapping, current center grant and target schema. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/collection-sync/validate' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"collectionId":"string"}'

application/json

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "collectionId": "string",
    "targetCollectionId": "string",
    "centerId": "string",
    "sourceRevision": 0,
    "targetRevision": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/edges/config/get

Read an Edge configuration section and its revision

Read an Edge configuration section and its revision. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/config/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"section":"collectionSync"}'

application/json

フィールド型必須説明
sectionstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "section": "collectionSync",
    "revision": 0,
    "config": "string",
    "effectiveAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/edges/config/update

Save an Edge configuration section with revision checking. uploadPolicy sets the delivery cadence for newly queued Collection replication

Save an Edge configuration section with revision checking. uploadPolicy sets the delivery cadence for newly queued Collection replication. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/config/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"section":"collectionSync","expectedRevision":0,"config":"string","collectionId":"string","expectedCollectionRevision":0}'

application/json

フィールド型必須説明
sectionstringはいOpenAPI に記載なし
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
configobjectはいOpenAPI に記載なし
collectionIdstringいいえCollection ID owning the business Records and Samples.
expectedCollectionRevisionintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "section": "collectionSync",
    "revision": 0,
    "config": "string",
    "effectiveAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/edges/list

Query the Fleet node directory managed by the Cluster center

Lists configuration by page/size/search; archived=true selects archived items only. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
keywordstringいいえOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "list": [
      "value"
    ],
    "total": 0,
    "page": 0,
    "size": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Apps and Grants

App identity and authorization APIs

POST/uns/app-stream-access/list

List configured App Request grants with current platform management authority. includeInactive=1 retains revoked or missing-publication grants for review and revocation.

Lists configuration by page/size/search; archived=true selects archived items only. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
streamIdstringいいえOpenAPI に記載なし
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
includeInactiveintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "items": [
      "value"
    ],
    "page": 0,
    "size": 0,
    "total": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/app-stream-policy/get

Get native App Stream policy; current manager session or full_access personal/Agent/service key requires uns.write and stream.requests.manage; restricted MCP OAuth and App runtime credentials cannot manage policy; preserves data grants and does not upgrade credentials or enable message transport

Reads only the object definition, ID and revision, without expanding business Records or Samples. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "appId": "string",
    "revision": 0,
    "version": "cloud-hosted-app-stream/v1",
    "status": "active",
    "platformPermissions": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいAppStreamPolicyView. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/app-stream-policy/update

Update native App Stream policy; current manager session or full_access personal/Agent/service key requires uns.write and stream.requests.manage; restricted MCP OAuth and App runtime credentials cannot manage policy; preserves data grants and does not upgrade credentials or enable message transport

Updates only the basic information listed by this operation. Omitted fields retain their values. Schema, connections, drafts and grants use their own operations. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","platformPermissions":["stream.requests.read"],"messageTopics":[{"publish":"value","subscribe":"value","topic":"value"}]}'

application/json

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
expectedRevisionintegerはいExpected revision; provide it after reading the current object. On conflict, reread and decide how to proceed instead of blindly overwriting. Shared App metadata revision; zero only when no metadata exists. Read the current revision before updating.
statusstringはいOpenAPI に記載なし
platformPermissionsarray<string>はいOpenAPI に記載なし
messageTopicsarray<object>いいえOpenAPI に記載なし
idempotencyKeystringはいUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/app/collections/archive

Archive an App-owned Collection and revoke its data grants

Archive an App-owned Collection and revoke its data grants. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
aliasstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "alias": "string",
    "collectionId": "string",
    "revision": 0,
    "archived": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/app/collections/ensure

Resolve an existing Collection or create/widen a Collection owned by the current App

Resolve an existing Collection or create/widen a Collection owned by the current App. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/ensure' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","dryRun":false,"collections":[{"alias":"value","name":"value","description":"value","directoryPath":"value","recordSchema":"value"}]}'

application/json

フィールド型必須説明
appIdstringいいえOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
collectionsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "appId": "string",
    "results": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/app/collections/list

List Collections owned by a local App, including archived Collections

List Collections owned by a local App, including archived Collections. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "appId": "string",
    "collections": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/app/collections/restore

Restore an App-owned Collection and the data grants revoked by this archive

Restore an App-owned Collection and the data grants revoked by this archive. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
aliasstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "alias": "string",
    "collectionId": "string",
    "revision": 0,
    "archived": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/app/collections/schema:replace

Explicitly replace the Schema and indexes of an App-owned Collection

Explicitly replace the Schema and indexes of an App-owned Collection. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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"],"format":"string","items":{"additionalProperties":"value","description":"value","enum":"value","format":"value","items":"value"}},"indexes":[{"expireAfterSeconds":"value","kind":"value","path":"value","paths":"value","target":"value"}],"description":"string","expectedRevision":0}'

application/json

フィールド型必須説明
aliasstringはいOpenAPI に記載なし
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
indexesarray<object>はいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

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

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps:replace

Replace App configuration

Replaces the complete configuration under current domain rules. System fields are read-only. Credential, release, associated-resource and authorization checks still apply.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps:replace' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","expectedRevision":0,"replacement":{"collections":["value"],"description":"string","entry":{"basePath":"value","environment":"value","path":"value"},"members":["value"],"name":"string"},"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいAppData. スキーマの章で参照先のスキーマを確認してください。
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/apps/context

Read the current App identity and grants

Requires an App data Key. Returns actual Collection grants and cannot elevate permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/context' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/create

Create app; schemaVersion is assigned by the server

Creates App configuration. Set initial Collection grants, members, roles and linked Topics through their dedicated update operations. This creates neither a deployment nor a page. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","description":"value","entry":"value","name":"value","platformPermissions":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/get

Get one app definition and revision, without data expansion

Reads only the object definition, ID and revision, without expanding business Records or Samples. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "kind": "app",
    "id": "string",
    "revision": 0,
    "data": {
      "collections": "value",
      "description": "value",
      "entry": "value",
      "members": "value",
      "name": "value"
    },
    "createdAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/grants/update

Replace App collections only; all other App fields are preserved

Replaces the complete collections grant list; omitted grants are removed and [] clears it. alias is the Collection alias within the App. permissions explicitly grant record:read/write/delete and sample:read/write. Linked Topics grant none of these permissions. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/grants/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","collections":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/keys/create

Issue an App data Key

The secret is returned only on creation. Store it on a trusted server; never in a browser.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/keys/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","name":"string"}'

application/json

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/keys/revoke

Revoke an App data Key

The specified Key can no longer access the API after revocation.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/keys/revoke' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","keyId":"string"}'

application/json

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
keyIdstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/list

List apps; archived=true selects archived objects only

Lists configuration by page/size/search; archived=true selects archived items only. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"size":0,"search":"string","archived":false}'

application/json

フィールド型必須説明
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
archivedbooleanいいえtrue lists archived objects only; false lists active objects only.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "asOf": 0,
    "complete": false,
    "hasMore": false,
    "nextCursor": "string",
    "nextPage": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/members/update

Replace App members only; all other App fields are preserved

Replaces all members; userId references a user and roleIds reference this App's roles. Omitted members are removed; [] clears the list. This does not grant platform roles. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/members/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","members":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/navigation/update

Replace the App associated Topic list (navigation.topicIds); this does not configure page menus or grant data access; all other App fields are preserved

Replaces the App's complete linked Topic list; an empty list clears it. navigation is the retained API field name for Topic associations, not a page navbar or menu. Linking grants no Collection data permissions and does not modify App pages. idempotencyKey and expectedRevision are optional and apply when supplied; dryRun=true validates only.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/navigation/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","navigation":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/platform-permissions/update

Replace explicit App platform permissions; empty array revokes all; permissions cannot exceed issuer resources; MCP consent is unavailable

Replaces the complete App platformPermissions list; [] revokes all platform capabilities. Collection grants, roles and linked Topics do not substitute for platform permissions. Effective capabilities remain the intersection with Key scope and owner permissions. Optionally supply the current expectedRevision; dryRun=true validates only.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/platform-permissions/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","platformPermissions":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/roles/update

Replace App roles only; all other App fields are preserved

Replaces all roles; each role has id/name. Omitted roles are removed; [] clears the list. Collection data permissions remain configured through grants. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/roles/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","roles":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/session/inspect

Verify a human platform session for the caller App; OpenAPI requires an App-bound API Key matching appId; internal callers may inspect only themselves; returns minimal identity and current App roles, never credentials; no implicit administrator membership

The App server uses an App Key matching appId to verify a platform session token and read the trusted user identity and App roles. It issues no login credentials and does not elevate data permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/session/inspect' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","token":"string"}'

application/json

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
tokenstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "appId": "string",
    "roleIds": [
      "value"
    ],
    "roles": [
      "value"
    ],
    "sessionExpireAt": "string",
    "user": {
      "nickName": "value",
      "userId": "value",
      "userName": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいAppSessionIdentity. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/apps/update

Update app metadata only; omitted fields are preserved

Updates only the basic information listed by this operation. Omitted fields retain their values. Schema, connections, drafts and grants use their own operations. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","name":"value","description":"value","status":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

API Capabilities

API capability discovery

POST/uns/catalog/get

Read the API capability catalog

Returns operations, Schemas and limits supported by this server. Call for a new connection or after a version change.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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 では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Namespaces

Namespace APIs

POST/uns/namespace:copy

Copy a directory or display Topic

Directory copies preserve the tree; Topic copies preserve explicit references. Collections, Records and Samples are not copied. Mounted resources are read-only. Permissions, names, parents and references are still validated.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/namespace:copy' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","id":"string","expectedRevision":0,"data":{"name":"string","parentId":"string","description":"string"},"dryRun":false}'

application/json

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
dataobjectはいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "insertedId": "string",
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/namespace/query

Read directory trees in a batch

Reads the directory/topic display hierarchy; Records are not expanded into tree nodes.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","kinds":"value"}]}'

application/json

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/topics/view

Read Topic display data

Reads the saved records/fields view of a Topic without creating a data copy.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","include":"value","records":"value","selectedRecord":"value"}]}'

application/json

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Metadata Management

Metadata management APIs

POST/uns/metadata

Insert one metadata object

Creates a directory, Topic or Collection with current identity permissions and configuration validation. Use dedicated operations for App grants.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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":{},"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idstringいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "insertedId": "string",
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:aggregate

Aggregate metadata

Supports match/project/group/sort/skip/limit for permitted metadata kinds, without cross-table joins or writes.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
kindsarray<string>いいえOpenAPI に記載なし
statestringいいえActive, soft-deleted, or all objects.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
pipelinearray<object>はいSupports $match/$project/$group/$sort/$skip/$limit/$distinct. The $distinct stage sorts by JSONB value and uses outer pagination.
pageobjectいいえOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

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

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query results.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:bulkWrite

Execute mixed metadata writes

At most 200 operations within one kind. Atomic by default. For non-atomic batches, ordered controls whether to continue after failure. Per-item results retain original input indices.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
operationsarray<object>はいOpenAPI に記載なし
atomicbooleanいいえThe entire batch commits atomically by default. Set false to commit items independently. Full authorization and domain validation still apply to each object.
orderedbooleanいいえWith atomic=false, controls whether to stop or continue after a failure. Atomic batches reject ordered=false.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "insertedCount": 0,
    "matchedCount": 0,
    "modifiedCount": 0,
    "deletedCount": 0,
    "restoredCount": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:count

Count metadata

Counts matching objects within the specified kind and state.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
kindsarray<string>いいえOpenAPI に記載なし
statestringいいえActive, soft-deleted, or all objects.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "count": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query results.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:deleteMany

Soft-delete multiple metadata objects

An atomic conditional batch within an explicit kind. Rejects the entire batch if matches exceed maxDocs. Use bulkWrite when objects require independent revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
atomicbooleanいいえThe entire batch commits atomically. Use bulkWrite to commit individual items.
maxDocsintegerいいえRejects the entire operation if the match limit is exceeded. The write set is never truncated.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "deletedCount": 0,
    "results": [
      "value"
    ],
    "errors": [
      "value"
    ],
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:deleteOne

Soft-delete one metadata object

Recycles an active object. Directories include their active subtree. Collections retain Records, Samples and references while rejecting writes.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "deletedCount": 0,
    "status": "validated",
    "replayed": false,
    "value": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:find

Find metadata

Queries directories, Topics and Collections. Use bare configuration field names and _id/_meta.* for system fields. Returns items/pageInfo.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
kindsarray<string>いいえOpenAPI に記載なし
statestringいいえActive, soft-deleted, or all objects.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
pageobjectいいえOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

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

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいMetadataPage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query results.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:purge

Permanently purge recycled objects

Asynchronously purges explicitly selected recycled objects; directories include recycled descendants. Deletes metadata after cleaning Records and Samples in batches. Returns jobId. Retain idempotencyKey when retrying.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idsarray<string>はいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:replaceOne

Replace one metadata object

Fully replaces writable configuration, validating Schema, indexes and references. System fields remain server-managed. An upsert insertion requires an explicit _id and complete configuration.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえSupported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "upsertedId": "string",
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:restore

Restore metadata objects by ID

Atomically restores the batch, revalidating current names, parent directories and references, and incrementing revision. Dependencies are not implicitly restored.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "restoredCount": 0,
    "items": [
      "value"
    ],
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:transact

Execute a metadata transaction

Atomic operations across directories, Topics and Collections. opId/dependsOn control dependencies. parentId/collectionId support {ref:opId} to reference creation results. At most 200 items. dryRun=true validates then rolls back.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
operationsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "results": [
      "value"
    ],
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:updateMany

Update multiple metadata objects

An atomic conditional batch within an explicit kind. Rejects the entire batch if matches exceed maxDocs. Use bulkWrite when objects require independent revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
updateobjectはいSupports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field.
atomicbooleanいいえThe entire batch commits atomically. Use bulkWrite to commit individual items.
maxDocsintegerいいえRejects the entire operation if the match limit is exceeded. The write set is never truncated.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "upsertedId": "string",
    "results": [
      "value"
    ],
    "errors": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/metadata:updateOne

Update one metadata object

Selection and update run in the same transaction with domain validation. An upsert insertion requires an explicit _id and complete configuration.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
updateobjectはいSupports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field.
upsertbooleanいいえSupported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "upsertedId": "string",
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/references/query

Query object references

Inspects references between configuration objects; it does not infer business batch relationships.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","relationKinds":"value"}]}'

application/json

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Jobs

Job APIs

POST/uns/jobs/query

Query asynchronous job status

accepted means the job was accepted. Wait for its final status to confirm a successful commit.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Business Data

Query, write, soft-delete and restore business Records; manage lease locks and cross-Collection transactions. Use bare business field names and _id/_meta.* for system fields.

POST/uns/collections/{collectionId}/records

Insert one Record

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringいいえObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
dataobjectはいOpenAPI に記載なし
returnDocumentstringいいえnone returns the original insertedId response. after includes the created value in the same write transaction and requires the corresponding read permission. Idempotent replays return the original creation snapshot. dryRun returns an uncommitted preview.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "insertedId": "string",
    "value": {
      "id": "value",
      "collectionId": "value",
      "data": "value",
      "revision": "value",
      "createdAt": "value"
    },
    "acceptedId": "string",
    "deliveryState": "pendingUpload",
    "centerCommitted": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:aggregate

Aggregate business Records

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
pipelinearray<object>はいOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。
countobjectいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "items": [
      "value"
    ],
    "pageInfo": {
      "mode": "value",
      "hasMore": "value",
      "nextCursor": "value",
      "nextPage": "value",
      "snapshotScope": "value"
    },
    "total": {
      "count": "value",
      "capped": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudDataPage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:bulkWrite

Execute mixed writes within a Collection

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
operationsarray<object>はいOpenAPI に記載なし
orderedbooleanいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically, with up to 200 items for document actions. false commits each document separately.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "insertedCount": 0,
    "matchedCount": 0,
    "modifiedCount": 0,
    "deletedCount": 0,
    "upsertedCount": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:count

Count Records

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
maxCountintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "count": 0,
    "capped": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:deleteMany

Soft-delete multiple Records

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
maxDocsintegerいいえDefault 1000; atomic requests default to 200.
resumeAfterstringいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately.
orderedbooleanいいえOpenAPI に記載なし
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "deletedCount": 0,
    "delivery": {
      "centerCommitted": "value",
      "eventIds": "value",
      "failed": "value",
      "localCommitted": "value",
      "pending": "value"
    },
    "status": "string",
    "replayed": false,
    "writeErrors": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:deleteOne

Soft-delete one Record

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "deletedCount": 0,
    "delivery": {
      "centerCommitted": "value",
      "eventIds": "value",
      "failed": "value",
      "localCommitted": "value",
      "pending": "value"
    },
    "status": "string",
    "replayed": false,
    "value": {
      "id": "value",
      "collectionId": "value",
      "data": "value",
      "revision": "value",
      "createdAt": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:explain

Assess query and write scope. aggregate uses the actual pipeline and pagination; returns only the database plan without executing aggregation or writes.

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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,"pipeline":["string"]}'

application/json

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
opstringいいえOpenAPI に記載なし
limitintegerいいえFor scope evaluation, the default is 1000 and the maximum is 10000. For aggregate, the default is 20 and the maximum is 200.
pipelinearray<object>いいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:find

Find business Records

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
limitintegerいいえOpenAPI に記載なし
cursorstringいいえOpenAPI に記載なし
countobjectいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "items": [
      "value"
    ],
    "pageInfo": {
      "mode": "value",
      "hasMore": "value",
      "nextCursor": "value",
      "nextPage": "value",
      "snapshotScope": "value"
    },
    "total": {
      "count": "value",
      "capped": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudRecordPage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:get

Read Records by ID

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idsarray<string>はいOpenAPI に記載なし
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "items": [
      "value"
    ],
    "missing": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:lock

Lock or claim Records

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idsarray<string>いいえOpenAPI に記載なし
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
limitintegerいいえOpenAPI に記載なし
ttlMsintegerいいえOpenAPI に記載なし
labelstringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "locks": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:renew

Renew Record lock leases

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
locksarray<object>はいOpenAPI に記載なし
ttlMsintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "locks": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:replaceOne

Replace one Record

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえInserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "upsertedId": "string",
    "delivery": {
      "centerCommitted": "value",
      "eventIds": "value",
      "failed": "value",
      "localCommitted": "value",
      "pending": "value"
    },
    "status": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:restore

Restore Records by ID in a batch

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idsarray<string>はいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "restoredCount": 0,
    "restoredIds": [
      "value"
    ],
    "delivery": {
      "centerCommitted": "value",
      "eventIds": "value",
      "failed": "value",
      "localCommitted": "value",
      "pending": "value"
    },
    "status": "string",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:unlock

Release Record locks

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
locksarray<object>いいえOpenAPI に記載なし
idsarray<string>いいえOpenAPI に記載なし
forcebooleanいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "unlockedCount": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:updateMany

Update multiple Records

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
updateobjectはい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.
arrayFiltersarray<object>いいえOpenAPI に記載なし
maxDocsintegerいいえDefault 1000; atomic requests default to 200.
resumeAfterstringいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately.
orderedbooleanいいえOpenAPI に記載なし
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "delivery": {
      "centerCommitted": "value",
      "eventIds": "value",
      "failed": "value",
      "localCommitted": "value",
      "pending": "value"
    },
    "status": "string",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/records:updateOne

Update one Record

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
updateobjectはい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.
arrayFiltersarray<object>いいえOpenAPI に記載なし
upsertbooleanいいえInserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "upsertedId": "string",
    "delivery": {
      "centerCommitted": "value",
      "eventIds": "value",
      "failed": "value",
      "localCommitted": "value",
      "pending": "value"
    },
    "status": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/records:queryBatch

Query business Records in a batch

Query business Records in a batch. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "results": {}
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

GET/uns/records:subscribe

Subscribe to authorized Record changes using SSE. Supply repeated collectionIds/recordIds query parameters, Accept: text/event-stream and optional Last-Event-ID. Notifications contain no business fields. Current key and App permissions are rechecked on every poll.

Subscribe to authorized Record changes using SSE. Supply repeated collectionIds/recordIds query parameters, Accept: text/event-stream and optional Last-Event-ID. Notifications contain no business fields. Current Key and App permissions are rechecked on every poll. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
collectionIdsqueryarray<string>いいえOpenAPI に記載なし
recordIdsqueryarray<string>いいえOpenAPI に記載なし
AcceptheaderstringはいOpenAPI に記載なし
Last-Event-IDheaderstringいいえOpaque resume cursor from the last SSE event id.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · text/event-stream

"string"
レスポンスステータスの意味
ステータス意味メディアタイプ
200Server-Sent Events: change, heartbeat, or reset. Never contains business data.text/event-stream
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/records:transact

Execute a cross-Collection business transaction

Atomically orchestrates query/check/read/create/update/replace/delete and result bindings across authorized Collections. record.query supports filter, sort, limit (default 20, maximum 100) and expectCount.min/max (asserts the total before limit). Later items may bind id=query.records.N.id from the same Collection and must omit a static id. Write each Record at most once. Query transactions use serializable isolation and Record locks; conflicts roll back the entire batch and never skip locked rows. Transactional join aggregation and allowPartial are unsupported. Use items arrays for ordinary same-kind operations. Idempotency keys are optional. Query accepted jobs by jobId; inspect business state before retrying a timeout.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/records:updateManyAtomic

Update all matching Records in one serializable transaction

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:updateManyAtomic' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"collectionId":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{},"arrayFilters":[{}],"idempotencyKey":"string"}'

application/json

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
updateobjectはい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.
arrayFiltersarray<object>いいえOpenAPI に記載なし
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "transactionTime": 0,
    "replayed": false,
    "dryRun": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Streams

Stream APIs

POST/uns/stream-requests/grants/get

Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants.

Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "code": "string",
    "principalKind": "app",
    "principalID": "string",
    "status": "string",
    "bindingDigest": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいAppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/stream-requests/grants/set

Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants.

Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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,"actions":["stream.requests.read"]}'

application/json

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし
activeintegerはいOpenAPI に記載なし
actionsarray<string>いいえOpenAPI に記載なし
expectedSnapshotTokenstringいいえOpenAPI に記載なし
expectedCodeRevisionintegerいいえOpenAPI に記載なし
expectedBindingDigeststringいいえOpenAPI に記載なし
targetRevisionsarray<object>いいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "code": "string",
    "principalKind": "app",
    "principalID": "string",
    "status": "string",
    "bindingDigest": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいAppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams:replace

Replace Stream configuration

Replaces the complete configuration under current domain rules. System fields are read-only. Credential, release, associated-resource and authorization checks still apply.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams:replace' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","expectedRevision":0,"replacement":{"description":"string","draft":{"name":"value","description":"value","script":"value","sources":"value","sourceBindings":"value"},"executionMode":"string","name":"string","schemaVersion":1},"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいStreamData. スキーマの章で参照先のスキーマを確認してください。
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/streams/create

Create stream; schemaVersion is assigned by the server

draft describes the supported protocol, parameter Schema, JavaScript processor and output Schema. Creating a draft does not execute it. Full programs use the native Source/Stream API and SDK; storage policy is configured separately. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","description":"value","draft":"value","executionMode":"value","name":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/documents/create

Create a Stream document

Create a Stream document. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "activeRelease": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/documents/disable

Disable a Stream document

Disable a Stream document. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
dryRunbooleanはいOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
expectedActiveVersionstringはいAuthoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "activeRelease": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/documents/get

Read a Stream document

Read a Stream document. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいPositive decimal int64 identifier; always a string on the wire.
viewstringいいえsummary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "activeRelease": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/documents/update

Update a Stream document

Update a Stream document. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
idstringはいPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "activeRelease": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/documents/validate

Validate a Stream document

Validate a Stream document. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
idstringいいえStable current Stream ID when validating edits. Omit for new drafts; names never identify which active routes to exclude.
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/draft/update

draft/update stream

Replaces the complete draft without changing existing releases. Call publish to create a new fixed release. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/draft/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","draft":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/get

Get one stream definition and revision, without data expansion

Reads only the object definition, ID and revision, without expanding business Records or Samples. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "kind": "stream",
    "id": "string",
    "revision": 0,
    "data": {
      "description": "value",
      "draft": "value",
      "executionMode": "value",
      "name": "value",
      "schemaVersion": "value"
    },
    "createdAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/list

List streams; archived=true selects archived objects only

Lists configuration by page/size/search; archived=true selects archived items only. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"size":0,"search":"string","archived":false}'

application/json

フィールド型必須説明
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
archivedbooleanいいえtrue lists archived objects only; false lists active objects only.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "asOf": 0,
    "complete": false,
    "hasMore": false,
    "nextCursor": "string",
    "nextPage": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/observation/get

Read Stream observations

Read Stream observations. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "window": {
      "from": "value",
      "to": "value"
    },
    "diagnostics": {
      "release": "value",
      "streamRevision": "value",
      "state": "value",
      "stage": "value",
      "evidence": "value"
    },
    "opcuaAcquisition": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/delete

Delete a Stream program

Delete a Stream program. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanはいOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
idstringはいPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/deploy

program/deploy: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

program/deploy: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object.
expectedSourceRevisionintegerいいえOpenAPI に記載なし
expectedReleaseStatestringいいえCloud extension: require inactive state; mutually exclusive with expectedActiveVersion.
expectedActiveVersionstringいいえAuthoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "activeRelease": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/invoke

program/invoke: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

program/invoke: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/invoke' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedActiveVersion":"string","entryId":"string"}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedActiveVersionstringはいOpenAPI に記載なし
entryIdstringいいえOpenAPI に記載なし
inputobjectはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/list

List Stream programs

List Stream programs. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
sourceIdstringいいえPositive decimal int64 identifier; always a string on the wire.
modelstringいいえOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし
archivedbooleanいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/rollback

program/rollback: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

program/rollback: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object.
expectedSourceRevisionintegerいいえOpenAPI に記載なし
versionIdstringはいOpenAPI に記載なし
expectedReleaseStatestringいいえCloud extension: require inactive state; mutually exclusive with expectedActiveVersion.
expectedActiveVersionstringいいえAuthoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "activeRelease": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/runs/get

program/runs/get: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

program/runs/get: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/runs/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","runId":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
runIdstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/runs/list

program/runs/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

program/runs/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/runs/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","page":0,"size":0,"search":"string","status":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
statusstringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/test

program/test: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

program/test: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/test' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"document":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"input":{"checkpointSample":"string","data":"string","previewWrites":false,"sourceSamples":{},"topicSamples":{}},"phase":"input"}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
documentobjectはいRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
inputobjectはいRuntimeProgramTestInput. スキーマの章で参照先のスキーマを確認してください。
phasestringはいOpenAPI に記載なし
entryIdstringいいえOpenAPI に記載なし
expectedSourceRevisionintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/program/versions/list

program/versions/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

program/versions/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/publish

Publish an immutable Stream release on its execution node

Creates an immutable release from the current draft; expectedRevision is the current Stream revision. Full programs use their native publishing lifecycle. Verify runtime state and delivered data after the call. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/publish' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/releases/get

Read one immutable shared transform release with parameter/output schemas; processor code is redacted

Read one immutable shared transform release with parameter/output schemas; processor code is redacted. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/releases/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","release":0}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
releaseintegerはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "streamId": "string",
    "release": 0,
    "publishedAt": 0,
    "definition": {
      "name": "value",
      "description": "value",
      "script": "value",
      "sources": "value",
      "sourceBindings": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/releases/list

List immutable shared transform releases in descending release order; this is not a program deployment version

List immutable shared transform releases in descending release order; this is not a program deployment version. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/releases/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","page":0,"size":0,"search":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "asOf": 0,
    "complete": false,
    "hasMore": false,
    "nextCursor": "string",
    "nextPage": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/releases/restore

Restore a shared release into the draft on the server, retaining hidden processor code; does not change enabled Bindings or publish a new release

Restore a shared release into the draft on the server, retaining hidden processor code; does not change enabled Bindings or publish a new release. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/releases/restore' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","release":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/runs/get

Read a redacted native Stream run receipt.

Read a redacted native Stream run receipt. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/runs/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"runId":"string"}'

application/json

フィールド型必須説明
runIdstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/runs/list

List Stream runs

List Stream runs. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","page":0,"size":0,"search":"string","cursor":"string"}'

application/json

フィールド型必須説明
idstringいいえObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
cursorstringいいえOpaque creation-time/id continuation bound; retain the same id and native filters. Mutually exclusive with page when nonempty.
statusstringいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
topicIdstringいいえOpenAPI に記載なし
modelstringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "items": [
      "value"
    ],
    "list": [
      "value"
    ],
    "nextCursor": "string",
    "page": 0,
    "size": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/sample/test

Test Stream Samples

Test a Stream entry in an isolated Worker. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
documentobjectはいCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
entryIdstringはいOpenAPI に記載なし
inputobjectはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "status": "completed",
    "errorCode": "string",
    "snapshot": "string",
    "entryId": "string",
    "data": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/streams/update

Update stream metadata only; omitted fields are preserved

Updates only the basic information listed by this operation. Omitted fields retain their values. Schema, connections, drafts and grants use their own operations. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","name":"value","description":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Sources

Source APIs

POST/uns/sources:replace

Replace Source configuration

Replaces the complete configuration under current domain rules. System fields are read-only. Credential, release, associated-resource and authorization checks still apply.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources:replace' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","expectedRevision":0,"replacement":{"adapter":"http-api","config":{"connection":"value"},"description":"string","name":"string","schemaVersion":1},"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいSourceData. スキーマの章で参照先のスキーマを確認してください。
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "matchedCount": 0,
    "modifiedCount": 0,
    "status": "validated",
    "replayed": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation counts or object, plus commit or validation status.application/json
defaultOperation failed. See error for the reason, rollback state and recovery advice.application/json

POST/uns/sources/credentials/list

List Edge-local shared Source credential references; never returns secrets; string Source IDs

List Edge-local shared Source credential references; never returns secrets; string Source IDs. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/credentials/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/devices/list

List currently attached physical devices on this Edge without reading input. Returns a fresh snapshot with checkedAt, revision, completeness and existing Source bindings. Serial discovery does not imply a supported serial acquisition driver.

List currently attached physical devices on this Edge without reading input. Returns a fresh snapshot with checkedAt, revision, completeness and existing Source bindings. Serial discovery does not imply a supported serial acquisition driver. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/discover

discover: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

discover: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/create

Create a Source document

Create a Source document. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","connectTimeoutMs":"value"}},"credentials":{"kind":"basic","username":"string","secret":"string","values":{},"certificateFileId":"string"},"items":[{"id":"value","document":"value","credentials":"value"}]}'

application/json

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
documentobjectいいえSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
credentialsobjectいいえSourceCredentials. スキーマの章で参照先のスキーマを確認してください。
itemsarray<object>いいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/credentials/update

Set or rotate encrypted credentials on the native Edge, including MQTT mTLS, file access and SQL login.

Set or rotate encrypted credentials on the native Edge, including MQTT mTLS, file access and SQL login. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringはいUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
credentialsobjectはいSourceCredentials. スキーマの章で参照先のスキーマを確認してください。
confirmedImpactRevisionstringいいえ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.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/delete

Delete a native Source using its current revision and dependency impact confirmation. Stops future connections and acquisition without a separate disable step; history is retained.

Delete a native Source using its current revision and dependency impact confirmation. Stops future connections and acquisition without a separate disable step; history is retained. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
confirmedImpactRevisionstringいいえ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.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/get

Read a Source document

Read a Source document. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいPositive decimal int64 identifier; always a string on the wire.
viewstringいいえsummary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "sourceType": "string",
    "catalogId": "aws-iot-core"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/list

List Source documents

List Source documents. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
protocolstringいいえOpenAPI に記載なし
healthstringいいえOpenAPI に記載なし
archivedbooleanいいえOpenAPI に記載なし
includeDocumentbooleanいいえFalse returns safe summaries for viewers. True additionally requires current Source manage permission and returns full native editor documents, including opaque references.
desiredStatestringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "list": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/oauth/complete

Complete the native OAuth flow with its stored one-time state.

Complete the native OAuth flow with its stored one-time state. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
statestringはいOpenAPI に記載なし
codestringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/oauth/start

Start native OAuth authorization; secrets remain encrypted on the Source installation.

Start native OAuth authorization; secrets remain encrypted on the Source installation. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
redirectUristringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/state/update

Enable or disable Source connections with revision and dependency confirmation; configuration, Stream documents and history are retained.

Enable or disable Source connections with revision and dependency confirmation; configuration, Stream documents and history are retained. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
dryRunbooleanはいOpenAPI に記載なし
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
desiredStatestringはいOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
confirmedImpactRevisionstringいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/documents/update

Update a Source document

Update a Source document. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","connectTimeoutMs":"value"}}}'

application/json

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
idstringいいえPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし
documentobjectいいえSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
confirmedImpactRevisionstringいいえ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.
patchobjectいいえSourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。
itemsarray<object>いいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/history

Read Source revision history

Read durable revision history for a local Source. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいOpenAPI に記載なし
beforeRevisionintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "sourceID": "string",
    "currentRevision": 0,
    "deleted": 1,
    "total": 0,
    "missingRevisionCount": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/impact

Assess Source change impact

Assess Source change impact. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","connectTimeoutMs":"value"}},"offset":0}'

application/json

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
actionstringはいOpenAPI に記載なし
documentobjectいいえSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
offsetintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
impactRevisionstringいいえOpaque exact-intent confirmation from sourceImpact. Never inferred, synthesized or refreshed automatically.
patchobjectいいえSourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/observations/get

Read Source observations

Read Source observations. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
viewstringいいえsummary returns only the latest durable admission time for each requested revision; full preserves the 24-hour counters.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/opcua/endpoints

Discover SignAndEncrypt with Basic256Sha256 at the supplied OPC UA address. Does not create a Source or device session, accept certificates or write device data.

Discover SignAndEncrypt with Basic256Sha256 at the supplied OPC UA address. Does not create a Source or device session, accept certificates or write device data. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/opcua/endpoints' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"endpoint":"string"}'

application/json

フィールド型必須説明
endpointstringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "endpoint": "string",
    "securityMode": "SignAndEncrypt",
    "securityPolicy": "Basic256Sha256"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/opcua/points/discover

Browse child nodes or describe up to 100 explicit OPC UA Variable references on the selected Source. The selectors are mutually exclusive.

Browse child nodes or describe up to 100 explicit OPC UA Variable references on the selected Source. The selectors are mutually exclusive. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/opcua/points/discover' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"parentResourceRef":"string"}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
parentResourceRefstringいいえOpenAPI に記載なし
resourceRefsarray<string>いいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/probe

probe: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

probe: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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,"mode":"connection"}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
timeoutMsintegerはいOpenAPI に記載なし
modestringいいえconnection performs a bounded lightweight check; data explicitly validates a configured readable resource without writing business data. Only enabled Sources are periodically checked every 10 minutes on their owning runtime. Cloud never schedules checks for Edge references. Data checks never replace connection health.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "mode": "connection",
    "health": "healthy",
    "stage": "string",
    "errorCode": "string",
    "message": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExecuted checks return SourceCheckResult fields; dryRun returns validated:true and sideEffects:false without performing a check.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/protocols/list

protocols/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

protocols/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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 では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/resources/catalog

Describe the read-only resources declared on this native Source, including mode, parameters, result shape and required permission.

Describe the read-only resources declared on this native Source, including mode, parameters, result shape and required permission. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいOpenAPI に記載なし
configRevisionintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "id": "string",
    "configRevision": 0,
    "protocol": "string",
    "sourceType": "string",
    "resources": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/resources/preview

Perform one bounded read on an enabled native Source at the specified revision. Use the instance catalog for supported parameters and output fields.

Perform one bounded read on an enabled native Source at the specified revision. Use the instance catalog for supported parameters and output fields. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいOpenAPI に記載なし
configRevisionintegerはいOpenAPI に記載なし
resourceRefstringはいOpenAPI に記載なし
paramsobjectいいえOpenAPI に記載なし
timeoutMsintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "resourceRef": "string",
    "configRevision": 0,
    "collectedAt": 0,
    "items": [
      "value"
    ],
    "returned": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/resources/scan

Read one bounded native page of a resource declared by this Source. Pass the issued opaque cursor unchanged with the same parameters, caller, resource and revision.

Read one bounded native page of a resource declared by this Source. Pass the issued opaque cursor unchanged with the same parameters, caller, resource and revision. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいOpenAPI に記載なし
configRevisionintegerはいOpenAPI に記載なし
resourceRefstringはいOpenAPI に記載なし
cursorstringいいえOpenAPI に記載なし
paramsobjectいいえOpenAPI に記載なし
limitintegerはいUse the resource catalog bounds. Only Salesforce object queries support a native page of 200.
timeoutMsintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "resourceRef": "string",
    "configRevision": 0,
    "collectedAt": 0,
    "items": [
      "value"
    ],
    "nextCursor": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/runtime/get

Read observed Source and per-Stream acquisition health, pagination checkpoint, counts and last error; no payloads or credentials

Read observed Source and per-Stream acquisition health, pagination checkpoint, counts and last error; no payloads or credentials. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
レスポンス
200401403404409413422500503504
成功レスポンスの例

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

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/runtime/read

Read one Modbus range on this Edge using an enabled native Source at exactly configRevision; fixed read operation; endpoint, credentials and unit ID remain local; no subscriptions or writes

Read one Modbus range on this Edge using an enabled native Source at exactly configRevision; fixed read operation; endpoint, credentials and unit ID remain local; no subscriptions or writes. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/runtime/read' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","configRevision":0,"range":{"id":"string","table":"holding-register","address":0,"quantity":0},"timeoutMs":0}'

application/json

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
configRevisionintegerはいOpenAPI に記載なし
rangeobjectはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/sources/validate

validate: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed

validate: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed. Reads are constrained by the current caller's permissions.

リクエストパラメーター
名前場所型必須説明
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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","connectTimeoutMs":"value"}}}'

application/json

フィールド型必須説明
documentobjectはいSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Time Series Data

Append Samples, query multiple Records, aggregate, read latest values and delete within explicit time ranges. Latest values always refer to actual Samples.

POST/uns/collections/{collectionId}/records/{recordId}/samples

Append Samples

Uses collectionId, dryRun, an items array and optional mode. Defaults to whole-batch rollback. allowPartial=true independently commits items and returns results in input order, with error.code/path/reason/repair per failure. For partiallyCommitted, inspect summary and jobId. dryRun validates only. Idempotency keys and Record revisions are optional. Query accepted jobs by jobId; never automatically resubmit an unknown outcome. Sample requests require recordId alongside collectionId and items; items contain time/data and optional quality and cannot override the parent Record.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
recordIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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":[{"time":"value","quality":"value","data":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "nextIndex": 0,
    "replayed": false,
    "results": [
      "value"
    ],
    "status": "committed"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/samples:aggregate

Aggregate Samples

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
recordIdsarray<string>いいえIn rows mode, accepts up to 20 IDs. Omission uses the authorized scope. In series mode, IDs are required and are paginated in request order.
fromintegerはいInclusive start time in Unix milliseconds.
tointegerはいExclusive end time in Unix milliseconds. Must be greater than from.
pipelinearray<object>はいOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。
resultFormatstringいいえrows returns a list of aggregation documents. series paginates the supplied Record IDs. Each outer item is {recordId, items}, with an empty items array if no Samples match.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "items": [
      "value"
    ],
    "pageInfo": {
      "mode": "value",
      "hasMore": "value",
      "nextCursor": "value",
      "nextPage": "value",
      "snapshotScope": "value"
    },
    "total": {
      "count": "value",
      "capped": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudDataPage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/samples:delete

Delete Samples for specified Records within a time range

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
recordIdsarray<string>はいList of Record IDs, with no Collection IDs.
fromintegerはいTime range start, Unix milliseconds.
tointegerはいTime range end, Unix milliseconds.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "deletedCount": 0,
    "dryRun": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/samples:deleteExact

Delete explicit Sample identities atomically

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:deleteExact' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"samples":[{"recordId":"value","id":"value","time":"value"}],"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
samplesarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "deletedCount": 0,
    "missingCount": 0,
    "dryRun": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/samples:find

Find Samples

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
recordIdsarray<string>いいえOpenAPI に記載なし
fromintegerはいInclusive start time in Unix milliseconds.
tointegerはいExclusive end time in Unix milliseconds. Must be greater than from.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
limitintegerいいえOpenAPI に記載なし
cursorstringいいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200401403404409413422500503504
成功レスポンスの例

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

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudSamplePage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/uns/collections/{collectionId}/samples:latest

Read the latest Sample of each Record

4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
X-Fleet-Node-IdheaderstringいいえRegistered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding.
リクエストボディ
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

フィールド型必須説明
recordIdsarray<string>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "series": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status.application/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

Instance Identity and Users

Shared by platform integrations and business Apps subject to permissions; Apps require the corresponding platformPermissions. identity/get verifies the current Key identity; info/get reads platform information. users/list and projects/members/list require platform permissions. Listing users does not grant an App access to their business data.

POST/apps/access-members/list

List App access members

An App Key can only query deployed-role members of its own App. Grant timestamps come from current effective direct or group grants. Older grants without a recorded time return grantedAt=0; timestamp filtering involving these members returns 503. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
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","roleKeys":["string"],"grantedAtStart":0,"grantedAtEnd":0,"scope":""}'

application/json

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
roleKeysarray<string>いいえOpenAPI に記載なし
grantedAtStartinteger (int64)いいえStart of the authorization period in Unix milliseconds.
grantedAtEndinteger (int64)いいえEnd of the authorization period in Unix milliseconds.
scopestringいいえOpenAPI に記載なし
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "appId": "string",
    "published": 0,
    "productionVersionId": "string",
    "allActiveMembers": 0,
    "roles": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/auth/whoami

Read SDK caller identity

Returns the API Key's current identity and effective permissions. Request body may be omitted; a nonempty body requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/auth/whoami' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "userID": 0,
    "userName": "string",
    "email": "string",
    "workspaceID": 0,
    "workspaceName": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle the status and error code; do not bypass permission failures.application/json
401Request failed. Handle the status and error code; do not bypass permission failures.application/json
403Request failed. Handle the status and error code; do not bypass permission failures.application/json
404Request failed. Handle the status and error code; do not bypass permission failures.application/json
409Request failed. Handle the status and error code; do not bypass permission failures.application/json
413Request failed. Handle the status and error code; do not bypass permission failures.application/json
415Request failed. Handle the status and error code; do not bypass permission failures.application/json
422Request failed. Handle the status and error code; do not bypass permission failures.application/json
429Request failed. Handle the status and error code; do not bypass permission failures.application/json
500Request failed. Handle the status and error code; do not bypass permission failures.application/json
503Request failed. Handle the status and error code; do not bypass permission failures.application/json
504Request failed. Handle the status and error code; do not bypass permission failures.application/json

POST/capabilities/discover

Discover capabilities available to the current identity

Read-only assessment of registered operations and platform prerequisites; does not replace target resource checks. Accepts only an empty JSON object (maximum 4 KiB), with no query parameters.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/capabilities/discover' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "product": "cloud",
  "productVersion": "string",
  "contractVersion": "2.0",
  "apiContractVersions": [
    "string"
  ],
  "sdkContractVersions": [
    "string"
  ]
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
productobjectはいスキーマの章で参照先のスキーマを確認してください。
productVersionstringいいえスキーマの章で参照先のスキーマを確認してください。
contractVersionobjectはいスキーマの章で参照先のスキーマを確認してください。
apiContractVersionsarray<string>はいスキーマの章で参照先のスキーマを確認してください。
sdkContractVersionsarray<string>はいスキーマの章で参照先のスキーマを確認してください。
capabilitiesarray<object>はいスキーマの章で参照先のスキーマを確認してください。
deprecationsarray<object>はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle the status and error code; do not bypass permission failures.application/json
401Request failed. Handle the status and error code; do not bypass permission failures.application/json
403Request failed. Handle the status and error code; do not bypass permission failures.application/json
404Request failed. Handle the status and error code; do not bypass permission failures.application/json
409Request failed. Handle the status and error code; do not bypass permission failures.application/json
413Request failed. Handle the status and error code; do not bypass permission failures.application/json
415Request failed. Handle the status and error code; do not bypass permission failures.application/json
422Request failed. Handle the status and error code; do not bypass permission failures.application/json
429Request failed. Handle the status and error code; do not bypass permission failures.application/json
500Request failed. Handle the status and error code; do not bypass permission failures.application/json
503Request failed. Handle the status and error code; do not bypass permission failures.application/json
504Request failed. Handle the status and error code; do not bypass permission failures.application/json

POST/info

Read SDK platform information

No credentials required. Returns the API version, public MQTT address and registered public API capability families. capabilities describes route families, not caller authorization; read effective permissions through auth/whoami or platform/info/get. Request body may be omitted; a nonempty body requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/info' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "name": "string",
    "version": "string",
    "mqttBroker": "string",
    "capabilities": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/mqtt-auth/create

Create ordinary MQTT credentials

Requires full_access and a non-App Key. The password is returned only on successful creation. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/mqtt-auth/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"name":"string","description":"string","clientIDRandomSuffixEnabled":false}'

application/json

フィールド型必須説明
namestringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
clientIDRandomSuffixEnabledbooleanいいえOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "id": 0,
    "name": "string",
    "clientID": "string",
    "username": "string",
    "password": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/mqtt-auth/delete

Delete ordinary MQTT credentials

Requires full_access and a non-App Key. System credentials are unaffected. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
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

フィールド型必須説明
idinteger (int64)はいRegular MQTT credential ID.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "success": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/platform/getMembers

List Workspace members

App callers receive only fields needed for directory use. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/getMembers' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"keyword":"string","roleKey":"string","roles":["string"],"statuses":["string"],"updatedAtStart":"string"}'

application/json

フィールド型必須説明
keywordstringいいえOpenAPI に記載なし
roleKeystringいいえOpenAPI に記載なし
rolesarray<string>いいえOpenAPI に記載なし
statusesarray<string>いいえOpenAPI に記載なし
updatedAtStartstringいいえOpenAPI に記載なし
updatedAtEndstringいいえOpenAPI に記載なし
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "list": [
      "value"
    ],
    "total": 0,
    "page": 0,
    "size": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/platform/identity/get

Read the current caller identity

Returns the trusted subject and grants associated with the API Key, never the secret. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/identity/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "userId": "string",
    "userName": "string",
    "authType": "string",
    "apiKeyId": "string",
    "appId": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/platform/info/get

Read platform information

Reads current instance information without changing configuration. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/info/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "name": "string",
    "version": "string",
    "apiVersion": "v2",
    "capabilities": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/platform/projects/members/list

List project members

projectId is a positive decimal project ID string. The API Key owner must have access to this project. App Keys also require platform.projects.members.read. This operation neither adds members nor grants permissions. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/projects/members/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"projectId":"string","page":0,"size":0}'

application/json

フィールド型必須説明
projectIdstringはいTarget project ID as a positive integer string.
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "list": [
      "value"
    ],
    "total": 0,
    "page": 0,
    "size": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/platform/users/list

Find platform users by page

Searches users by text under the intersection of current Key and owner permissions. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/users/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"search":"string","page":0,"size":0,"roleKeys":["string"],"statuses":["active"]}'

application/json

フィールド型必須説明
searchstringいいえSearch text for supported fields such as usernames and display names.
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.
roleKeysarray<string>いいえMatches any specified platform role.
statusesarray<string>いいえOpenAPI に記載なし
updatedAtStartstring (date-time)いいえStart of the last-update time range, in RFC3339 format.
updatedAtEndstring (date-time)いいえEnd of the last-update time range, in RFC3339 format.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "list": [
      "value"
    ],
    "total": 0,
    "page": 0,
    "size": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

Notifications

Shared by platform integrations and business Apps subject to permissions; Apps require the corresponding platformPermissions. send creates an inbox notification using a stable idempotency key; status/get reads the status of messages created by the same caller. Creation does not mean the recipient has read the message. Notifications are outside UNS batch transactions.

POST/notifications/get

Read SDK notification send status

Only reads messages created by the current API Key. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
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

フィールド型必須説明
messageIdstringはいOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "messageId": "string",
  "type": "string",
  "status": "string",
  "createdAt": "string",
  "completedAt": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
messageIdstringはいスキーマの章で参照先のスキーマを確認してください。
typestringはいスキーマの章で参照先のスキーマを確認してください。
statusstringはいスキーマの章で参照先のスキーマを確認してください。
createdAtstring (date-time)はいスキーマの章で参照先のスキーマを確認してください。
completedAtstring (date-time)いいえスキーマの章で参照先のスキーマを確認してください。
errorCodestringいいえスキーマの章で参照先のスキーマを確認してください。
messagestringいいえスキーマの章で参照先のスキーマを確認してください。
recipientUserIdstringはいスキーマの章で参照先のスキーマを確認してください。
recipientNamestringいいえスキーマの章で参照先のスキーマを確認してください。
channelsarray<object>はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle the status and error code; do not bypass permission failures.application/json
401Request failed. Handle the status and error code; do not bypass permission failures.application/json
403Request failed. Handle the status and error code; do not bypass permission failures.application/json
404Request failed. Handle the status and error code; do not bypass permission failures.application/json
409Request failed. Handle the status and error code; do not bypass permission failures.application/json
413Request failed. Handle the status and error code; do not bypass permission failures.application/json
415Request failed. Handle the status and error code; do not bypass permission failures.application/json
422Request failed. Handle the status and error code; do not bypass permission failures.application/json
429Request failed. Handle the status and error code; do not bypass permission failures.application/json
500Request failed. Handle the status and error code; do not bypass permission failures.application/json
503Request failed. Handle the status and error code; do not bypass permission failures.application/json
504Request failed. Handle the status and error code; do not bypass permission failures.application/json

POST/notifications/list

Query SDK notification send history

Normally restricted to this Key. A personal Key with Workspace management permission can read instance send history. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"size":0,"messageId":"string","recipientUserId":"string","status":""}'

application/json

フィールド型必須説明
pageinteger (int64)いいえPage number.
sizeinteger (int64)いいえResults per page.
messageIdstringいいえOpenAPI に記載なし
recipientUserIdstringいいえOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "list": [
    {
      "messageId": "value",
      "type": "value",
      "status": "value",
      "createdAt": "value",
      "completedAt": "value"
    }
  ],
  "total": 0,
  "page": 0,
  "size": 0
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
listarray<object>はいスキーマの章で参照先のスキーマを確認してください。
totalinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
pageinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
sizeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle the status and error code; do not bypass permission failures.application/json
401Request failed. Handle the status and error code; do not bypass permission failures.application/json
403Request failed. Handle the status and error code; do not bypass permission failures.application/json
404Request failed. Handle the status and error code; do not bypass permission failures.application/json
409Request failed. Handle the status and error code; do not bypass permission failures.application/json
413Request failed. Handle the status and error code; do not bypass permission failures.application/json
415Request failed. Handle the status and error code; do not bypass permission failures.application/json
422Request failed. Handle the status and error code; do not bypass permission failures.application/json
429Request failed. Handle the status and error code; do not bypass permission failures.application/json
500Request failed. Handle the status and error code; do not bypass permission failures.application/json
503Request failed. Handle the status and error code; do not bypass permission failures.application/json
504Request failed. Handle the status and error code; do not bypass permission failures.application/json

POST/notifications/send

Send an inbox notification

The server derives sender from the trusted identity; clients cannot supply it. Retry with the same idempotencyKey and request. A sent status does not mean the recipient has read it. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/send' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"recipientUserId":"string","type":"inbox","title":"string","content":"string","idempotencyKey":"string"}'

application/json

フィールド型必須説明
recipientUserIdstringはいRecipient user ID as a positive integer string to preserve large integer precision.
typestringいいえOpenAPI に記載なし
titlestringはいOpenAPI に記載なし
contentstringはいOpenAPI に記載なし
idempotencyKeystringはいOpenAPI に記載なし
modestringいいえOpenAPI に記載なし
linkstringいいえBusiness link starting with http://, https://, or /. Credentials, protocol-relative URLs, and control characters are forbidden.
channelsarray<string>いいえOmit or pass an empty array to send a silent inbox message. Enterprise accepts web/mobile metadata without sending external push notifications. The get operation returns not_configured for external channels. sent means the message was persisted in the local inbox.
sourcestringいいえOpenAPI に記載なし
wechatEventRefstringいいえOpenAPI に記載なし
senderobjectいいえOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "messageId": "string",
    "type": "string",
    "status": "string",
    "createdAt": "string",
    "completedAt": "string"
  },
  "messageId": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
messageIdstringはいスキーマの章で参照先のスキーマを確認してください。
typestringいいえスキーマの章で参照先のスキーマを確認してください。
statusstringはいスキーマの章で参照先のスキーマを確認してください。
createdAtstring (date-time)はいスキーマの章で参照先のスキーマを確認してください。
completedAtstring (date-time)いいえスキーマの章で参照先のスキーマを確認してください。
errorCodestringいいえスキーマの章で参照先のスキーマを確認してください。
messagestringいいえスキーマの章で参照先のスキーマを確認してください。
recipientUserIdstringはいスキーマの章で参照先のスキーマを確認してください。
recipientNamestringいいえスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle the status and error code; do not bypass permission failures.application/json
401Request failed. Handle the status and error code; do not bypass permission failures.application/json
403Request failed. Handle the status and error code; do not bypass permission failures.application/json
404Request failed. Handle the status and error code; do not bypass permission failures.application/json
409Request failed. Handle the status and error code; do not bypass permission failures.application/json
413Request failed. Handle the status and error code; do not bypass permission failures.application/json
415Request failed. Handle the status and error code; do not bypass permission failures.application/json
422Request failed. Handle the status and error code; do not bypass permission failures.application/json
429Request failed. Handle the status and error code; do not bypass permission failures.application/json
500Request failed. Handle the status and error code; do not bypass permission failures.application/json
503Request failed. Handle the status and error code; do not bypass permission failures.application/json
504Request failed. Handle the status and error code; do not bypass permission failures.application/json

POST/notifications/status/get

Read notification send status

Only reads messageId values created by the current caller. Inaccessible messages do not reveal their existence. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/status/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"messageId":"string"}'

application/json

フィールド型必須説明
messageIdstringはいMessage ID returned by send.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "messageId": "string",
    "type": "string",
    "status": "string",
    "createdAt": "string",
    "completedAt": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

Files and Attachments

Shared by platform integrations and business Apps subject to permissions; Apps require the corresponding platformPermissions. POST operations are the JSON control plane. GET assets/files/url uses query parameters; GET assets/files/download returns 302/Location. Single file: obtain a signed form with uploads/create, then upload binary content directly to upload.url with upload.fields. Large file: multipart/create, obtain part PUT URLs with parts, upload parts, then submit their ETags with complete; use abort on failure. downloads/create returns a short-lived download URL. File permissions follow the authenticated caller; clients cannot impersonate App ownership.

POST/assets/files

Request an SDK file upload

Returns signed form fields. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileName":"string","contentType":"string","size":0,"visibility":"private","business":"string"}'

application/json

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeinteger (int64)はいFile size in bytes.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
businessstringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
appInstanceIdstringいいえOpenAPI に記載なし
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "fileId": 0,
    "filePath": "string",
    "fileUrl": "string",
    "postUrl": "string",
    "postFields": {}
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/assets/files/delete

Delete an SDK file

Deletes a file the caller may manage. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
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

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "deleted": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

GET/assets/files/download

Download an SDK file

Checks file permissions and redirects to the download URL.

リクエストパラメーター
名前場所型必須説明
filePathquerystringはいOpenAPI に記載なし
responseContentDispositionquerystringいいえOpenAPI に記載なし
レスポンス
302400401403404409413415422429500503504
レスポンスステータスの意味
ステータス意味メディアタイプ
302Redirect to an authorized file URL.—
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/assets/files/multipart/abort

Abort an SDK multipart upload

Revokes the specified multipart session. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
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

フィールド型必須説明
fileKeystringはいFile identifier returned by multipart initialization.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "aborted": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/assets/files/multipart/complete

Complete an SDK multipart upload

Submit part numbers and ETags after all parts are uploaded. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
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","uploadId":"string","parts":[{"partNumber":"value","etag":"value"}]}'

application/json

フィールド型必須説明
fileKeystringはいFile identifier returned by multipart initialization.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partsarray<object>はいOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "filePath": "string",
    "fileUrl": "string",
    "sizeBytes": 0,
    "expiresAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/assets/files/multipart/init

Initialize an SDK multipart upload

Returns a file identity and multipart session. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/init' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileName":"string","contentType":"string","size":0,"visibility":"private","business":"string"}'

application/json

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeinteger (int64)はいFile size in bytes.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
businessstringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
appInstanceIdstringいいえOpenAPI に記載なし
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.
partSizeinteger (int64)いいえBytes.
bizIdstringいいえOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "fileKey": "string",
    "filePath": "string",
    "uploadId": "string",
    "partSize": 0,
    "partCount": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/assets/files/multipart/part-urls

Read SDK multipart upload links

Upload each part to its corresponding signed URL. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
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","uploadId":"string","partNumbers":[0]}'

application/json

フィールド型必須説明
fileKeystringはいFile identifier returned by multipart initialization.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partNumbersarray<integer (int64)>はいOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "partUrls": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

GET/assets/files/url

Read an SDK file URL

Issues an access link after checking file permissions.

リクエストパラメーター
名前場所型必須説明
filePathquerystringはいOpenAPI に記載なし
expiredSecqueryinteger (int64)いいえOpenAPI に記載なし
responseContentDispositionquerystringいいえOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "fileUrl": "string",
    "expiresAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/assets/upload

Request an SDK asset upload

Returns signed form fields; the storage service creates the file object identity. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/upload' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileName":"string","sizeBytes":0,"contentType":"string","size":0,"sha256":"string"}'

application/json

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
sizeBytesinteger (int64)はいDeclared file size in bytes. Direct and multipart uploads each support up to 1 GiB.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeinteger (int64)いいえOpenAPI に記載なし
sha256stringいいえOpenAPI に記載なし
storageKeystringいいえOpenAPI に記載なし
isPublicbooleanいいえOpenAPI に記載なし
businessstringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "filePath": "string",
    "fileUrl": "string",
    "postUrl": "string",
    "postFields": {}
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/files/delete

Delete a file

Deletes a file the current caller may manage. Use filePath returned by uploads/create or multipart/complete. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filePath":"string"}'

application/json

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "filePath": "string",
    "deleted": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/files/downloads/create

Create a file download link

Creates a time-limited download URL after checking file access. The URL is a temporary credential; do not expose it in public logs. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/downloads/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filePath":"string","expiresInSeconds":0}'

application/json

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
expiresInSecondsinteger (int64)いいえRequested URL lifetime in seconds. Uses the server default when omitted or set to 0, with a maximum of 7 days.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "filePath": "string",
    "url": "string",
    "expiresAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/files/uploads/create

Create file upload credentials

Creates upload credentials only. The caller must still submit the file to upload.url with upload.fields and the upload.fileField file field. This response does not mean the file is uploaded. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileName":"string","contentType":"string","sizeBytes":0,"visibility":"private","sessionId":"string"}'

application/json

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeBytesinteger (int64)はいDeclared file size in bytes. Direct and multipart uploads each support up to 1 GiB.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "fileId": "string",
    "filePath": "string",
    "upload": {
      "method": "value",
      "url": "value",
      "fields": "value",
      "fileField": "value"
    },
    "expiresAt": 0,
    "sizeBytes": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/files/uploads/multipart/abort

Abort a multipart upload

Cancels an unfinished multipart session. Use files/delete to delete a completed file. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/abort' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filePath":"string","uploadId":"string"}'

application/json

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "filePath": "string",
    "aborted": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/files/uploads/multipart/complete

Complete a multipart upload

Submits part numbers and ETags only after all parts are uploaded. Associate filePath with business Records after success. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/complete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filePath":"string","uploadId":"string","parts":[{"partNumber":"value","etag":"value"}]}'

application/json

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partsarray<object>はいOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "fileId": "string",
    "filePath": "string",
    "url": "string",
    "sizeBytes": 0,
    "expiresAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/files/uploads/multipart/create

Initialize a multipart upload

Creates a multipart session. Split the file using returned partSizeBytes/partCount; the file is not uploaded yet. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileName":"string","contentType":"string","sizeBytes":0,"visibility":"private","sessionId":"string"}'

application/json

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeBytesinteger (int64)はいDeclared file size in bytes. Direct and multipart uploads each support up to 1 GiB.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.
partSizeBytesinteger (int64)いいえRequested part size in bytes. Omit, set to 0, or supply less than 5 MiB to use 10 MiB. Use the actual part size returned in the response.
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "filePath": "string",
    "uploadId": "string",
    "partSizeBytes": 0,
    "partCount": 0,
    "expiresAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

POST/files/uploads/multipart/parts

Create multipart upload links

Obtains a separate signed URL for each partNumber. Save every uploaded part's ETag for complete. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/parts' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filePath":"string","uploadId":"string","partNumbers":[0]}'

application/json

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partNumbersarray<integer (int64)>はいOpenAPI に記載なし
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "list": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it.application/json
400Request failed. Handle code/msg; do not bypass permission failures.application/json
401Request failed. Handle code/msg; do not bypass permission failures.application/json
403Request failed. Handle code/msg; do not bypass permission failures.application/json
404Request failed. Handle code/msg; do not bypass permission failures.application/json
409Request failed. Handle code/msg; do not bypass permission failures.application/json
413Request failed. Handle code/msg; do not bypass permission failures.application/json
415Request failed. Handle code/msg; do not bypass permission failures.application/json
422Request failed. Handle code/msg; do not bypass permission failures.application/json
429Request failed. Handle code/msg; do not bypass permission failures.application/json
500Request failed. Handle code/msg; do not bypass permission failures.application/json
503Request failed. Handle code/msg; do not bypass permission failures.application/json
504Request failed. Handle code/msg; do not bypass permission failures.application/json

Stream Requests

Discover contracts by public Request code and invoke them synchronously. Discovery and invocation permissions are independent. Apps also require current Stream policy and a grant for the frozen contract release; this does not grant Source/Stream management permissions.

POST/stream-requests/{requestCode}/describe

Describe a Stream Request contract

Requires stream.requests.read or stream.requests.manage. requestCode belongs only in the URL path; send {} as the body. Returns the active public contract itself, excluding internal Stream bindings. Content-Type: application/json. Body must be one valid UTF-8 object, maximum 1 MiB. Unknown/duplicate fields and query parameters are rejected. Errors are flat {errorCode,message}.

リクエストパラメーター
名前場所型必須説明
requestCodepathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/stream-requests/{requestCode}/describe' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。

レスポンス
200400401403404409422429500502503504
成功レスポンスの例

200 · application/json

{
  "code": "string",
  "name": "string",
  "description": "string",
  "contractVersion": "string",
  "inputSchema": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codestringはいスキーマの章で参照先のスキーマを確認してください。
namestringはいスキーマの章で参照先のスキーマを確認してください。
descriptionstringはいスキーマの章で参照先のスキーマを確認してください。
contractVersionstringはいスキーマの章で参照先のスキーマを確認してください。
inputSchemaobjectはいスキーマの章で参照先のスキーマを確認してください。
outputSchemaobjectはいスキーマの章で参照先のスキーマを確認してください。
sideEffectstringはいスキーマの章で参照先のスキーマを確認してください。
idempotencystringはいスキーマの章で参照先のスキーマを確認してください。
timeoutMsinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
statusstringはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Flat public result, without a code/msg/requestId/data envelope.application/json
400STREAM_REQUEST_INVALID_INPUTapplication/json
401INVALID_CREDENTIALapplication/json
403STREAM_REQUEST_FORBIDDENapplication/json
404STREAM_REQUEST_NOT_FOUNDapplication/json
409STREAM_REQUEST_INACTIVE / IDEMPOTENCY_CONFLICTapplication/json
422STREAM_REQUEST_OUTPUT_INVALIDapplication/json
429STREAM_REQUEST_RATE_LIMITEDapplication/json
500STREAM_REQUEST_INTERNAL_ERRORapplication/json
502SOURCE_PROTOCOL_ERRORapplication/json
503STREAM_REQUEST_UNAVAILABLEapplication/json
504STREAM_REQUEST_RESULT_UNKNOWNapplication/json

POST/stream-requests/{requestCode}/invoke

Invoke a Stream Request

Requires stream.requests.invoke; write contracts also require stream.requests.write. Discovery permission is unnecessary. requestCode belongs only in the URL path. input is required; send null when there is no business input. Follow the contract idempotency policy. Success is a flat result and status is always succeeded. HTTP 504 / STREAM_REQUEST_RESULT_UNKNOWN means an unknown outcome: do not treat it as execution failure or automatically retry with a new idempotency key. Content-Type: application/json. Body must be one valid UTF-8 object, maximum 1 MiB. Unknown/duplicate fields and query parameters are rejected. Errors are flat {errorCode,message}.

リクエストパラメーター
名前場所型必須説明
requestCodepathstringはい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 '{"input":"string","idempotencyKey":"string"}'

application/json

フィールド型必須説明
inputobjectはいRequired. Accepts any JSON value that conforms to the contract inputSchema. Pass null when there is no business input.
idempotencyKeystringいいえUp to 128 UTF-8 bytes without surrounding whitespace. A write/required contract requires a nonempty, durable key. Replays must reuse the same key and input.
レスポンス
200400401403404409422429500502503504
成功レスポンスの例

200 · application/json

{
  "code": "string",
  "contractVersion": "string",
  "result": "string",
  "runID": "string",
  "status": "succeeded"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codestringはいスキーマの章で参照先のスキーマを確認してください。
contractVersionstringはいスキーマの章で参照先のスキーマを確認してください。
resultobjectはいBusiness result that conforms to the contract outputSchema. May be null.
runIDstringはいスキーマの章で参照先のスキーマを確認してください。
statusstringはいスキーマの章で参照先のスキーマを確認してください。
replayedbooleanはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Flat public result, without a code/msg/requestId/data envelope.application/json
400STREAM_REQUEST_INVALID_INPUTapplication/json
401INVALID_CREDENTIALapplication/json
403STREAM_REQUEST_FORBIDDENapplication/json
404STREAM_REQUEST_NOT_FOUNDapplication/json
409STREAM_REQUEST_INACTIVE / IDEMPOTENCY_CONFLICTapplication/json
422STREAM_REQUEST_OUTPUT_INVALIDapplication/json
429STREAM_REQUEST_RATE_LIMITEDapplication/json
500STREAM_REQUEST_INTERNAL_ERRORapplication/json
502SOURCE_PROTOCOL_ERRORapplication/json
503STREAM_REQUEST_UNAVAILABLEapplication/json
504STREAM_REQUEST_RESULT_UNKNOWNapplication/json

POST/stream-requests/discover

Discover Stream Requests

Requires stream.requests.read or stream.requests.manage. Returns only visible active Request contracts, filtering by App grants before pagination and counting; the result is flat {total,list}. Content-Type: application/json. Body must be one valid UTF-8 object, maximum 1 MiB. Unknown/duplicate fields and query parameters are rejected. Errors are flat {errorCode,message}.

リクエストボディ
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,"size":0,"search":"string"}'

application/json

フィールド型必須説明
pageinteger (int64)いいえUses page 1 when omitted or set to 0.
sizeinteger (int64)いいえUses 20 when omitted or set to 0.
searchstringいいえUp to 256 UTF-8 bytes.
レスポンス
200400401403404409422429500502503504
成功レスポンスの例

200 · application/json

{
  "total": 0,
  "list": [
    {
      "code": "value",
      "name": "value",
      "description": "value",
      "contractVersion": "value",
      "inputSchema": "value"
    }
  ]
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
totalinteger (int64)はいスキーマの章で参照先のスキーマを確認してください。
listarray<object>はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Flat public result, without a code/msg/requestId/data envelope.application/json
400STREAM_REQUEST_INVALID_INPUTapplication/json
401INVALID_CREDENTIALapplication/json
403STREAM_REQUEST_FORBIDDENapplication/json
404STREAM_REQUEST_NOT_FOUNDapplication/json
409STREAM_REQUEST_INACTIVE / IDEMPOTENCY_CONFLICTapplication/json
422STREAM_REQUEST_OUTPUT_INVALIDapplication/json
429STREAM_REQUEST_RATE_LIMITEDapplication/json
500STREAM_REQUEST_INTERNAL_ERRORapplication/json
502SOURCE_PROTOCOL_ERRORapplication/json
503STREAM_REQUEST_UNAVAILABLEapplication/json
504STREAM_REQUEST_RESULT_UNKNOWNapplication/json

Fleet

Enterprise collaboration management; explicit cluster.edge.manage authorization required.

POST/fleet/rollouts/cancel

Stop dispatch of pending rollout steps

Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/cancel' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobKey":"string"}'

application/json

フィールド型必須説明
jobKeystringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string",
  "error": {
    "code": "string",
    "stage": "string",
    "message": "string",
    "repair": "string",
    "path": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
errorobjectいいえOptional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation resultapplication/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/fleet/rollouts/create

Submit selected preflight targets with a stable idempotency key

Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"previewId":"string","previewDigest":"string","approvedTargets":["string"],"impactConfirmations":[{"targetId":"value","sourceRef":"value","impactRevision":"value"}],"idempotencyKey":"string"}'

application/json

フィールド型必須説明
previewIdstringはいOpenAPI に記載なし
previewDigeststringはいOpenAPI に記載なし
approvedTargetsarray<string>はいOpenAPI に記載なし
impactConfirmationsarray<object>いいえOpenAPI に記載なし
idempotencyKeystringはいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string",
  "error": {
    "code": "string",
    "stage": "string",
    "message": "string",
    "repair": "string",
    "path": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
errorobjectいいえOptional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation resultapplication/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/fleet/rollouts/get

Read a rollout preview or durable job with target evidence

Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"previewId":"string","jobKey":"string","page":0,"size":0,"evidenceTargetId":"string"}'

application/json

フィールド型必須説明
previewIdstringいいえOpenAPI に記載なし
jobKeystringいいえOpenAPI に記載なし
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
evidenceTargetIdstringいいえWith jobKey, recheck late sample evidence for this expired target without retrying its deployment.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string",
  "error": {
    "code": "string",
    "stage": "string",
    "message": "string",
    "repair": "string",
    "path": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
errorobjectいいえOptional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation resultapplication/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/fleet/rollouts/list

List the current operator’s Fleet rollout jobs or target history

Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"size":0,"status":"pending","view":"targets","nodeId":"string"}'

application/json

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
statusstringいいえFilter by the job status in either view.
viewstringいいえOmit for job summaries. Use targets for one history row per node in each job, newest job first.
nodeIdstringいいえFilter by node in the targets view.
onlyIssuesbooleanいいえIn the targets view, include only failed, expired, unknown, conflict, denied, waitingOffline and reconciling targets.
jobKeystringいいえFilter by job in the targets view.
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

"string"
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerいいえスキーマの章で参照先のスキーマを確認してください。
msgstringいいえスキーマの章で参照先のスキーマを確認してください。
requestIdstringいいえスキーマの章で参照先のスキーマを確認してください。
dataobjectいいえスキーマの章で参照先のスキーマを確認してください。
errorobjectいいえOptional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included.
dataobjectいいえFleetV2RolloutListResult. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation resultapplication/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/fleet/rollouts/preview

Preflight a bounded Fleet rollout and freeze target guards

Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/preview' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"action":"saveConfig","config":{},"targets":[{"nodeId":"value","streamBinding":"value","streamDocument":"value","sourceBindings":"value","collectionBindings":"value"}],"taskExpiresAt":0}'

application/json

フィールド型必須説明
actionstringはいOpenAPI に記載なし
configobjectいいえOpenAPI に記載なし
targetsarray<object>はいOpenAPI に記載なし
taskExpiresAtintegerいいえOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string",
  "error": {
    "code": "string",
    "stage": "string",
    "message": "string",
    "repair": "string",
    "path": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
errorobjectいいえOptional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation resultapplication/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

POST/fleet/rollouts/retry

Wake selected recoverable rollout targets without changing intent

Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/retry' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobKey":"string","targetIds":["string"]}'

application/json

フィールド型必須説明
jobKeystringはいOpenAPI に記載なし
targetIdsarray<string>はいOpenAPI に記載なし
レスポンス
200401403404409413422500503504
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": "string",
  "error": {
    "code": "string",
    "stage": "string",
    "message": "string",
    "repair": "string",
    "path": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
errorobjectいいえOptional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation resultapplication/json
401Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes.application/json
403Permission denied: request authorization; do not bypass Collection restrictions.application/json
404Object does not exist or is inaccessible.application/json
409Condition, revision or unique-key conflict: read the latest state and decide again.application/json
413Request or response exceeds a limit: narrow the scope without splitting an atomic business intent.application/json
422Invalid request: correct parameters using error.path and the repair advice.application/json
500Server error: query transaction status first when the outcome is unknown.application/json
503Temporarily unavailable: follow retry advice and retain the original idempotency key.application/json
504Query timeout: narrow the time range, joins or aggregation scope.application/json

スキーマ

API のフィールド名、例、元の説明は、同梱の英語版 OpenAPI 仕様に従います。

AppCollectionContext

フィールド型必須説明
aliasstringはいOpenAPI に記載なし
autoIndexesarray<object>はいOpenAPI に記載なし
collectionIdstringはいCollection ID owning the business Records and Samples.
descriptionstringいいえOpenAPI に記載なし
directoryPatharray<string>はいOpenAPI に記載なし
indexStatusarray<object>はいRead-only index status: name/spec/state/error. Only ready means the declared physical index is usable. pending/building/failed cannot support business-key upsert. Mounted Collections have source-managed unique constraints.
indexesarray<object>いいえUnified index declarations, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omit to retain; [] removes declarations. Fields omit data. Unique indexes apply only to Record B-trees, build asynchronously and must be checked through indexStatus.
namestringはいOpenAPI に記載なし
ownerAppIdstringいいえOpenAPI に記載なし
permissionsarray<string>はいOpenAPI に記載なし
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
revisionintegerはいOpenAPI に記載なし
sampleSchemaobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。
sampleSchemaModestringいいえOpenAPI に記載なし
slowShapesarray<object>はいOpenAPI に記載なし
ttlobjectはいOpenAPI に記載なし

AppContext

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
collectionsarray<object>はいOpenAPI に記載なし
dataStatestringはいOpenAPI に記載なし
limitsobjectはいAppDataLimits. スキーマの章で参照先のスキーマを確認してください。
namestringはいOpenAPI に記載なし
platformPermissionsarray<string>はいExplicit platform capabilities; default none; current App grants intersect with key and issuer resources
revisionintegerはいOpenAPI に記載なし

AppData

collections[] explicitly grants collectionId, alias and record:read/write/delete or sample:read/write; App N:M Collection; grants cannot exceed issuer permissions; roles never add collection permissions; platformPermissions[] grants explicit platform capabilities independently of Collection grants; omitted or empty means no platform authorization; Platform capabilities must be allowlisted and within issuer resources; effective access intersects current App grants, key resources and user resources; Platform operations recheck the active App and its current grants on every request; removing a grant immediately prevents its use by existing keys; navigation.topicIds are entry points only, not data grants; members[] references platform users; roleIds reference this App's roles, members N:M roles; MCP manages Collection grants/navigation, preserves members/roles; credential APIs are separate; MCP has no consent for platformPermissions

フィールド型必須説明
collectionsarray<object>はいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
entryobjectいいえAppEntry. スキーマの章で参照先のスキーマを確認してください。
membersarray<object>いいえOpenAPI に記載なし
namestringはいUnique display name; no surrounding whitespace
navigationobjectはいTopics associated with the App. This retained field name does not describe a page menu and grants no data permissions.
platformPermissionsarray<string>いいえExplicit platform capabilities; default none; current App grants intersect with key and issuer resources
rolesarray<object>いいえOpenAPI に記載なし
schemaVersionintegerはいOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし
streamInteractionobjectいいえAppStreamPolicy. スキーマの章で参照先のスキーマを確認してください。

AppDataCountLimits

フィールド型必須説明
defaultMaxintegerはいOpenAPI に記載なし
maxintegerはいOpenAPI に記載なし

AppDataLimits

フィールド型必須説明
concurrencyobjectはいOpenAPI に記載なし
countobjectはいAppDataCountLimits. スキーマの章で参照先のスキーマを確認してください。
getobjectはいOpenAPI に記載なし
idempotencyWindowMsintegerはいOpenAPI に記載なし
queryBatchobjectはいOpenAPI に記載なし
subscribeobjectはいOpenAPI に記載なし
totalobjectはいAppDataCountLimits. スキーマの章で参照先のスキーマを確認してください。
transactionobjectはいOpenAPI に記載なし
ttlobjectはいOpenAPI に記載なし

AppDataView

collections[] explicitly grants collectionId, alias and record:read/write/delete or sample:read/write; App N:M Collection; grants cannot exceed issuer permissions; roles never add collection permissions; platformPermissions[] grants explicit platform capabilities independently of Collection grants; omitted or empty means no platform authorization; Platform capabilities must be allowlisted and within issuer resources; effective access intersects current App grants, key resources and user resources; Platform operations recheck the active App and its current grants on every request; removing a grant immediately prevents its use by existing keys; navigation.topicIds are entry points only, not data grants; members[] references platform users; roleIds reference this App's roles, members N:M roles; MCP manages Collection grants/navigation, preserves members/roles; credential APIs are separate; MCP has no consent for platformPermissions

フィールド型必須説明
collectionsarray<object>はいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
entryobjectいいえAppEntry. スキーマの章で参照先のスキーマを確認してください。
membersarray<object>いいえOpenAPI に記載なし
namestringはいUnique display name; no surrounding whitespace
navigationobjectはいTopics associated with the App. This retained field name does not describe a page menu and grants no data permissions.
platformPermissionsarray<string>いいえExplicit platform capabilities; default none; current App grants intersect with key and issuer resources
rolesarray<object>いいえOpenAPI に記載なし
schemaVersionintegerはいOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし
streamInteractionobjectいいえAppStreamPolicy. スキーマの章で参照先のスキーマを確認してください。

AppEntry

フィールド型必須説明
basePathstringいいえOpenAPI に記載なし
environmentstringいいえOpenAPI に記載なし
pathstringはいOpenAPI に記載なし

AppKeyCreated

フィールド型必須説明
apiKeystringはいOpenAPI に記載なし
appIdstringはいOpenAPI に記載なし
keyIdstringはいOpenAPI に記載なし
resourceKeysarray<string>はいOpenAPI に記載なし

AppKeyRevoked

フィールド型必須説明
keyIdstringはいOpenAPI に記載なし
revokedbooleanはいOpenAPI に記載なし

AppRequestGrantView

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
bindingDigeststringはいOpenAPI に記載なし
snapshotTokenstringはいOpenAPI に記載なし
recipientEligibleintegerはいOpenAPI に記載なし
recipientActionsarray<string>はいOpenAPI に記載なし
activationSupportedintegerはいOpenAPI に記載なし
registeredintegerはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
activeintegerはいOpenAPI に記載なし
actionsarray<string>はいOpenAPI に記載なし
targetsarray<object>はいOpenAPI に記載なし
createdPrincipalstringはいOpenAPI に記載なし
updatedPrincipalstringはいOpenAPI に記載なし
createdTimeintegerはいOpenAPI に記載なし
updatedTimeintegerはいOpenAPI に記載なし

AppSessionIdentity

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
roleIdsarray<string>はいOpenAPI に記載なし
rolesarray<object>はいOpenAPI に記載なし
sessionExpireAtstringはいOpenAPI に記載なし
userobjectはいAppSessionUser. スキーマの章で参照先のスキーマを確認してください。

AppSessionUser

フィールド型必須説明
nickNamestringはいOpenAPI に記載なし
userIdstringはいOpenAPI に記載なし
userNamestringはいOpenAPI に記載なし

AppStreamMessageTopicPermission

フィールド型必須説明
publishbooleanはいOpenAPI に記載なし
subscribebooleanはいOpenAPI に記載なし
topicstringはいOpenAPI に記載なし

AppStreamPolicy

フィールド型必須説明
messageTopicsarray<object>いいえOpenAPI に記載なし
platformPermissionsarray<string>はいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
versionstringはいOpenAPI に記載なし

AppStreamPolicyView

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
versionstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
platformPermissionsarray<string>はいOpenAPI に記載なし
messageTopicsarray<object>いいえOpenAPI に記載なし
authorityStatusstringはいOpenAPI に記載なし
appNamestringはいOpenAPI に記載なし

AutoIndexFieldView

フィールド型必須説明
directionstringはいOpenAPI に記載なし
fieldstringはいOpenAPI に記載なし
formstringはいOpenAPI に記載なし

AutoIndexReason

フィールド型必須説明
callsintegerはいOpenAPI に記載なし
p95BeforeMsnumberはいOpenAPI に記載なし
shapeHashstringはいOpenAPI に記載なし
timeoutsintegerはいOpenAPI に記載なし

AutoIndexSpecView

フィールド型必須説明
fieldsarray<object>はいOpenAPI に記載なし
pathsarray<string>はいOpenAPI に記載なし

AutoIndexView

フィールド型必須説明
createdAtintegerはいOpenAPI に記載なし
errorstringいいえOpenAPI に記載なし
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
lastUsedAtintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
originstringはいOpenAPI に記載なし
p95AfterMsnumberはいOpenAPI に記載なし
physicalNamesarray<string>はいOpenAPI に記載なし
pinnedintegerはいOpenAPI に記載なし
reasonobjectはいAutoIndexReason. スキーマの章で参照先のスキーマを確認してください。
replacesarray<string>はいOpenAPI に記載なし
specobjectはいAutoIndexSpecView. スキーマの章で参照先のスキーマを確認してください。
statestringはいOpenAPI に記載なし
takenOverintegerはいOpenAPI に記載なし

CloudAutoIndex

An index automatically maintained by the platform for Record queries.

フィールド型必須説明
idstringはいObject ID (string), obtained from a discovery or read endpoint; do not use a name as an ID. Automatic index task ID (autoIndexes[].id).
namestringはいPrimary physical index name. Newly created indexes use the qa_ prefix; adopted existing indexes retain their original names.
physicalNamesarray<string>はいAll physical index names. An adopted existing regular index may have a pair ending in _j and _v; a newly created index has only one.
specobjectはいCloudAutoIndexSpec. スキーマの章で参照先のスキーマを確認してください。
statestringはいreplacing means the index is being replaced by a better index and remains usable until replacement completes.
errorstringいいえError code when state=failed.
originstringはいOpenAPI に記載なし
takenOverintegerはい1 means adopted from an existing regular declared index; 0 means newly created by the platform.
pinnedintegerはい1 means pinned: the platform will neither delete nor rebuild the index; 0 means unpinned.
reasonobjectはいReason for creation; null for an adopted existing index.
p95AfterMsnumberはいp95 duration of the same query after the index has been ready for 24 hours, in milliseconds; null if not yet reassessed.
replacesarray<string>はいID of the old index replaced by this index.
createdAtintegerはいTask creation time, in Unix milliseconds.
lastUsedAtintegerはいLast time the index was observed being used by a query, based on daily snapshots, in Unix milliseconds; null if no observation exists.

CloudAutoIndexDisabledSpec

An index specification that has been disabled and will no longer be created automatically by the platform.

フィールド型必須説明
specKeystringはいSpecification key (columns, directions, and notation). Use the same fields when enabling it.
specobjectはいCloudAutoIndexSpec. スキーマの章で参照先のスキーマを確認してください。
disabledAtintegerはいTime disabled, in Unix milliseconds.

CloudAutoIndexDisableReq

フィールド型必須説明
collectionIdstringはいCollection ID for the business records and samples.
fieldsarray<object>はいSpecification to disable or enable, taken from autoIndexes[].spec.fields or disabledAutoIndexSpecs[].spec.fields.
actionstringはいdisable deletes existing automatic indexes with the same specification and prevents their automatic recreation; enable restores automatic management.

CloudAutoIndexDisableResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

CloudAutoIndexField

A column in an automatic index.

フィールド型必須説明
fieldstringはいBusiness field path, using the same notation as an indexes declaration, without the data. prefix.
directionstringはいOpenAPI に記載なし
formstringはいjson: a filter column for equality, $in, or range conditions, compared using original JSON values; scalar: a sort column compared as scalar values, with numbers and booleans compared by type.

CloudAutoIndexPinReq

フィールド型必須説明
collectionIdstringはいCollection ID for the business records and samples.
indexIdstringはいAutomatic index task ID (autoIndexes[].id).
actionstringはいpin pins the index: the platform will neither delete nor rebuild it; unpin removes the pin.

CloudAutoIndexPinResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudAutoIndex. スキーマの章で参照先のスキーマを確認してください。

CloudAutoIndexReason

Query category for which the index was created. Contains only the query shape and statistics, without query values.

フィールド型必須説明
shapeHashstringはいQuery shape hash, corresponding to slowShapes[].shapeHash.
callsintegerはいNumber of calls in the statistics window before index creation.
p95BeforeMsnumberはいp95 duration before index creation, in milliseconds.
timeoutsintegerはいNumber of QUERY_TIMEOUT errors in the statistics window before index creation.

CloudAutoIndexSpec

Automatic index specification: at most 3 columns, with equality columns first, then sort columns, and at most one range column last.

フィールド型必須説明
pathsarray<string>はいField paths of the columns, in the same order as fields.
fieldsarray<object>はいOpenAPI に記載なし

CloudDataPage

Output documents from the aggregation pipeline, without Record/Sample wrapping. Fields are determined by pipeline.

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。
totalobjectいいえOpenAPI に記載なし

CloudDistinctPage

フィールド型必須説明
modestringいいえOpenAPI に記載なし
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし

CloudEdgeSourceStateUpdateReq

フィールド型必須説明
dryRunbooleanはいOpenAPI に記載なし
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
desiredStatestringはいOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
confirmedImpactRevisionstringいいえOpenAPI に記載なし

CloudNullableRecordDocument

Ordinary business Record. Business fields are in data; system properties are siblings. filter/projection use bare business fields and _id/_meta.*, independently of this response object's paths. lock describes only an active lease and never returns its token.

フィールド型必須説明
idstringはいOpenAPI に記載なし
collectionIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
createdAtintegerはいUnix milliseconds.
updatedAtintegerはいUnix milliseconds.
sourceIdstringはいOpenAPI に記載なし
sourceTimeintegerはいUnix milliseconds.
lockobjectいいえCloudRecordLockView. スキーマの章で参照先のスキーマを確認してください。

CloudNullableSampleDocument

A standard sample object, uniquely identified by collectionId, recordId, and time. id and time have a one-to-one correspondence for references using Cloud's {recordId,id,time} triple. Business fields are in data; time, quality, record identity, and available source information are at the same level as data.

フィールド型必須説明
idstringはいSample ID, unique within the same Record; Enterprise derives it from time as a decimal string of Unix milliseconds.
collectionIdstringはいOpenAPI に記載なし
recordIdstringはいOpenAPI に記載なし
timeintegerはいUnix milliseconds.
receivedAtintegerはいUnix milliseconds.
qualitystringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
sourceIdstringはいOpenAPI に記載なし
streamIdstringいいえOpenAPI に記載なし
bindingIdstringいいえOpenAPI に記載なし

CloudPageInfo

フィールド型必須説明
modestringはいOpenAPI に記載なし
hasMorebooleanはいOpenAPI に記載なし
nextCursorstringはいOpenAPI に記載なし
nextPageintegerはいOpenAPI に記載なし
snapshotScopestringはいOpenAPI に記載なし

CloudRecordLeaseGrant

フィールド型必須説明
idstringはいOpenAPI に記載なし
tokenstringはいOpenAPI に記載なし
expiresAtintegerはいUnix milliseconds.
fenceintegerはいOpenAPI に記載なし
recordobjectはいRecordDocument. スキーマの章で参照先のスキーマを確認してください。

CloudRecordLockView

フィールド型必須説明
labelstringはいOpenAPI に記載なし
expiresAtintegerはいUnix milliseconds.
fenceintegerはいOpenAPI に記載なし
sinceintegerはいUnix milliseconds.

CloudRecordPage

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。
totalobjectいいえOpenAPI に記載なし

CloudSamplePage

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。

CloudSlowQueryAdvice

The platform's decision for this query shape.

フィールド型必須説明
codestringはいDecision: indexed means covered by an existing index; building means index creation is in progress (see indexId); observing means index creation criteria have not been met and observation continues; notIndexable means the conditions cannot be accelerated with an index and the query must be rewritten; collectionTooSmall means the collection is too small; writeHeavy means writes outweigh reads; quotaFull means the index quota is full; disabled means the specification is disabled; cooldown means this specification was deleted within the last 7 days; adviseOnly means recommendations only, without execution; deferred means size or disk usage limits were exceeded, so only recommendations are provided. New values may be added; treat unknown values as observing.
indexIdstringいいえRelated automatic index ID; omitted if none.

CloudSlowQueryShape

Slow query shape: contains only field paths and statistics, without query values.

フィールド型必須説明
shapeHashstringはいQuery shape hash.
opstringはいQuery type. findPage and queryBatch are counted as find or count; $lookup joins are counted as lookup.
eqarray<string>はいFields with equality conditions.
inarray<string>はいFields with $in conditions.
rangearray<string>はいFields with range conditions ($gt, $gte, $lt, $lte).
sortarray<object>はいSort fields and directions.
noIndexablearray<string>はいCondition operators that cannot be accelerated with an index, such as $regex, $ne, and $or.
callsintegerはいNumber of calls in the last 24 hours.
p95Msnumberはいp95 duration in the last 24 hours, in milliseconds, estimated from a histogram.
timeoutsintegerはいNumber of QUERY_TIMEOUT errors in the last 24 hours.
adviceobjectはいCloudSlowQueryAdvice. スキーマの章で参照先のスキーマを確認してください。

CloudSlowQuerySortField

フィールド型必須説明
fieldstringはいOpenAPI に記載なし
directionstringはいOpenAPI に記載なし

CloudSourceDevicesListReq

フィールド型必須説明
kindstringいいえOpenAPI に記載なし

CloudSourceDiscoverReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし

CloudSourceDocumentCreateReq

Create or update a single Source document or an atomic items batch. Each item may provide write-only native credentials under Source credential management authority. New credentials require an idempotency key. Connection fields are top-level; existing credentials use document.credentialRef.

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
documentobjectいいえSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
credentialsobjectいいえSourceCredentials. スキーマの章で参照先のスキーマを確認してください。
itemsarray<object>いいえOpenAPI に記載なし

CloudSourceDocumentGetReq

フィールド型必須説明
idstringはいPositive decimal int64 identifier; always a string on the wire.
viewstringいいえsummary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope.

CloudSourceDocumentListReq

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
protocolstringいいえOpenAPI に記載なし
healthstringいいえOpenAPI に記載なし
archivedbooleanいいえOpenAPI に記載なし
includeDocumentbooleanいいえFalse returns safe summaries for viewers. True additionally requires current Source manage permission and returns full native editor documents, including opaque references.
desiredStatestringいいえOpenAPI に記載なし

CloudSourceDocumentUpdateReq

Update a single Source or atomic items batch using a complete document or patch with CAS. Credential material is not accepted here; use credentials/update.

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
idstringいいえPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし
documentobjectいいえSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
confirmedImpactRevisionstringいいえ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.
patchobjectいいえSourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。
itemsarray<object>いいえOpenAPI に記載なし

CloudSourceImpactReq

Inspect Source update, delete, enable, disable or credential-rotation dependencies. Only update accepts exactly one document or patch. Other actions never include document, patch or secrets. Follow offset/size with the same impactRevision snapshot, review dependencies and explicitly confirm the resulting token.

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
actionstringはいOpenAPI に記載なし
documentobjectいいえSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
offsetintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
impactRevisionstringいいえOpaque exact-intent confirmation from sourceImpact. Never inferred, synthesized or refreshed automatically.
patchobjectいいえSourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。

CloudSourceObservationsGetReq

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
viewstringいいえsummary returns only the latest durable admission time for each requested revision; full preserves the 24-hour counters.

CloudSourceResourceCatalogReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
configRevisionintegerいいえOpenAPI に記載なし

CloudSourceResourceReadReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
configRevisionintegerはいOpenAPI に記載なし
resourceRefstringはいOpenAPI に記載なし
paramsobjectいいえOpenAPI に記載なし
timeoutMsintegerいいえOpenAPI に記載なし

CloudSourceResourceScanReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
configRevisionintegerはいOpenAPI に記載なし
resourceRefstringはいOpenAPI に記載なし
cursorstringいいえOpenAPI に記載なし
paramsobjectいいえOpenAPI に記載なし
limitintegerはいUse the resource catalog bounds. Only Salesforce object queries support a native page of 200.
timeoutMsintegerいいえOpenAPI に記載なし

CloudStreamDocument

Shared Stream script and Source bindings; Cloud deployment additionally exposes model, entries and messages.

フィールド型必須説明
namestringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
modelstringいいえOpenAPI に記載なし
scriptobjectはいStreamScript. スキーマの章で参照先のスキーマを確認してください。
sourcesarray<object>いいえOpenAPI に記載なし
entriesarray<object>いいえOpenAPI に記載なし
messagesarray<object>いいえOpenAPI に記載なし
sourceBindingsarray<object>いいえOpenAPI に記載なし
extensionsobjectいいえOpenAPI に記載なし

CloudStreamDocumentCreateReq

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし

CloudStreamDocumentDisableReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
dryRunbooleanはいOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
expectedActiveVersionstringはいAuthoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence.

CloudStreamDocumentGetReq

フィールド型必須説明
idstringはいPositive decimal int64 identifier; always a string on the wire.
viewstringいいえsummary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope.

CloudStreamDocumentUpdateReq

フィールド型必須説明
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
idstringはいPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし

CloudStreamDocumentValidateReq

フィールド型必須説明
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
idstringいいえStable current Stream ID when validating edits. Omit for new drafts; names never identify which active routes to exclude.
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし

CloudStreamEntry

フィールド型必須説明
idstringはいOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
configobjectいいえOpenAPI に記載なし
topicstringいいえOpenAPI に記載なし
requestobjectいいえCloudStreamRequestDefinition. スキーマの章で参照先のスキーマを確認してください。

CloudStreamMessageDeclaration

フィールド型必須説明
topicstringはいOpenAPI に記載なし
accessstringはいOpenAPI に記載なし

CloudStreamProgramDeleteReq

フィールド型必須説明
dryRunbooleanはいOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし
idstringはいPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし

CloudStreamProgramListReq

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
sourceIdstringいいえPositive decimal int64 identifier; always a string on the wire.
modelstringいいえOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし
archivedbooleanいいえOpenAPI に記載なし

CloudStreamRequestDefinition

フィールド型必須説明
codestringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
contractVersionstringはいOpenAPI に記載なし
inputSchemaobjectはいOpenAPI に記載なし
outputSchemaobjectはいOpenAPI に記載なし
sideEffectstringはいOpenAPI に記載なし
idempotencystringはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし

CloudWriteError

フィールド型必須説明
indexintegerはいOpenAPI に記載なし
idstringいいえOpenAPI に記載なし
errorobjectはいFault. スキーマの章で参照先のスキーマを確認してください。

CollectionDescription

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.
descriptionstringはいOpenAPI に記載なし
fieldsarray<object>はいOpenAPI に記載なし
indexStatusarray<object>はいRead-only index status: name/spec/state/error. Only ready means the declared physical index is usable. pending/building/failed cannot support business-key upsert. Mounted Collections have source-managed unique constraints.
indexesarray<object>はいUnified index declarations, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omit to retain; [] removes declarations. Fields omit data. Unique indexes apply only to Record B-trees, build asynchronously and must be checked through indexStatus.
metadataNoticestringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
recordGrainstringいいえOpenAPI に記載なし
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
relationshipsarray<object>はいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
sampleGrainstringいいえOpenAPI に記載なし
sampleSchemaobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。
sampleSchemaModestringいいえOpenAPI に記載なし
autoIndexesarray<object>いいえOpenAPI に記載なし
slowShapesarray<object>いいえOpenAPI に記載なし
disabledAutoIndexSpecsarray<object>いいえOpenAPI に記載なし

CollectionRelationship

フィールド型必須説明
cardinalitystringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
namestringはいOpenAPI に記載なし
sourceFieldstringはいOpenAPI に記載なし
targetCollectionIdstringはいOpenAPI に記載なし
targetFieldstringはいOpenAPI に記載なし

CollectionSemantics

フィールド型必須説明
fieldsarray<object>いいえOpenAPI に記載なし
recordGrainstringいいえOpenAPI に記載なし
relationshipsarray<object>いいえOpenAPI に記載なし
sampleGrainstringいいえOpenAPI に記載なし

DiscoveredField

フィールド型必須説明
aggregationNotestringいいえOpenAPI に記載なし
descriptionstringはいOpenAPI に記載なし
enumarray<object>いいえOpenAPI に記載なし
formatstringいいえOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
pathstringはいOpenAPI に記載なし
requiredbooleanはいOpenAPI に記載なし
typestringはいOpenAPI に記載なし
unitstringはいOpenAPI に記載なし

DiscoveryCollection

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.
descriptionstringはいOpenAPI に記載なし
hasSamplesbooleanいいえOpenAPI に記載なし
namestringはいOpenAPI に記載なし
recordGrainstringいいえOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
sampleGrainstringいいえOpenAPI に記載なし

DiscoveryResult

フィールド型必須説明
asOfintegerいいえCursor traversal cutoff in Unix milliseconds; not a retained database snapshot.
completebooleanはいTrue only when this response contains the entire query result; a final page alone is not complete.
hasMorebooleanはいContinue with nextCursor in cursor mode, otherwise nextPage.
listarray<object>はいOpenAPI に記載なし
nextCursorstringいいえOpenAPI に記載なし
nextPageintegerいいえOpenAPI に記載なし
pageintegerはいPage number, starting at 1.
sizeintegerはいItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
snapshotScopestringはいthisRequestOnly uses independent request snapshots; boundedLive limits cursor traversal by asOf but does not preserve row versions across requests.
totalintegerはいMatching row count; null when includeTotal=false.
totalKnownbooleanいいえOpenAPI に記載なし
truncatedbooleanはいOpenAPI に記載なし

EdgeCollectionSyncConfig

フィールド型必須説明
modestringはいOpenAPI に記載なし
collectionIdsarray<string>はいOpenAPI に記載なし

EdgeUploadPolicyConfig

{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "immediate"
          ]
        }
      },
      "required": [
        "mode"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "periodic"
          ]
        },
        "flushIntervalMs": {
          "type": "integer",
          "minimum": 1000,
          "maximum": 3600000
        }
      },
      "required": [
        "mode",
        "flushIntervalMs"
      ]
    }
  ]
}

Fault

フィールド型必須説明
candidatesarray<object>いいえOpenAPI に記載なし
codestringはいOpenAPI に記載なし
conditionIndexintegerいいえOpenAPI に記載なし
detailsarray<object>いいえOpenAPI に記載なし
executionstringいいえOpenAPI に記載なし
objectIdstringいいえOpenAPI に記載なし
objectKindstringいいえOpenAPI に記載なし
opIdstringいいえOperation identifier unique within this transaction, used for dependencies and result references.
pathstringいいえOpenAPI に記載なし
queryIdstringいいえIdentifier unique within this query batch, used to match results.
reasonstringいいえOpenAPI に記載なし
repairstringいいえOpenAPI に記載なし
retryAdviceobjectいいえRetryAdvice. スキーマの章で参照先のスキーマを確認してください。
retryablebooleanはいOpenAPI に記載なし
rolledBackbooleanいいえOpenAPI に記載なし
retryobjectいいえOpenAPI に記載なし

FieldBinding

フィールド型必須説明
collectionIdobjectはいUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
displayNamestringいいえOpenAPI に記載なし
fieldPathstringはいOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
recordIdobjectはいUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。

FieldSemantics

フィールド型必須説明
aggregationNotestringはいOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
pathstringはいOpenAPI に記載なし

FileDirectory

フィールド型必須説明
extensionsarray<string>はいOpenAPI に記載なし
formatstringはいOpenAPI に記載なし
idstringはい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.
pathstringはいOpenAPI に記載なし

FileSelection

フィールド型必須説明
idstringはい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.
pathstringはいOpenAPI に記載なし
tablesarray<string>いいえOmit for a byte resource, or select QC2000 tables from a SQLite snapshot.

FileSourceOptions

フィールド型必須説明
caCertificatestringいいえOpenAPI に記載なし
directoriesarray<object>いいえOpenAPI に記載なし
resourcesarray<object>いいえOpenAPI に記載なし
sshHostKeystringいいえOpenAPI に記載なし
connectTimeoutMsintegerいいえDNS and TCP connect timeout (ms).

FleetV2Envelope

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
errorobjectいいえOptional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included.

FleetV2RolloutCancelRequest

フィールド型必須説明
jobKeystringはいOpenAPI に記載なし

FleetV2RolloutCreateRequest

フィールド型必須説明
previewIdstringはいOpenAPI に記載なし
previewDigeststringはいOpenAPI に記載なし
approvedTargetsarray<string>はいOpenAPI に記載なし
impactConfirmationsarray<object>いいえOpenAPI に記載なし
idempotencyKeystringはいOpenAPI に記載なし

FleetV2RolloutGetRequest

フィールド型必須説明
previewIdstringいいえOpenAPI に記載なし
jobKeystringいいえOpenAPI に記載なし
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
evidenceTargetIdstringいいえWith jobKey, recheck late sample evidence for this expired target without retrying its deployment.

FleetV2RolloutHistoryRow

フィールド型必須説明
jobKeystringはいOpenAPI に記載なし
jobStatusstringはいOpenAPI に記載なし
actionstringはいOpenAPI に記載なし
startedTimeintegerはいJob start time in Unix milliseconds. Uses creation time while a job has no start time.
targetobjectはいFleetV2RolloutHistoryTarget. スキーマの章で参照先のスキーマを確認してください。

FleetV2RolloutHistoryTarget

フィールド型必須説明
targetIdstringはいOpenAPI に記載なし
nodeIdstringはいOpenAPI に記載なし
generationstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
deadlineAtintegerはいOpenAPI に記載なし
attemptintegerはいOpenAPI に記載なし
resultobjectはいOpenAPI に記載なし

FleetV2RolloutJobSummary

フィールド型必須説明
idintegerはいOpenAPI に記載なし
jobKeystringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし

FleetV2RolloutListRequest

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
statusstringいいえFilter by the job status in either view.
viewstringいいえOmit for job summaries. Use targets for one history row per node in each job, newest job first.
nodeIdstringいいえFilter by node in the targets view.
onlyIssuesbooleanいいえIn the targets view, include only failed, expired, unknown, conflict, denied, waitingOffline and reconciling targets.
jobKeystringいいえFilter by job in the targets view.

FleetV2RolloutListResult

フィールド型必須説明
listarray<object>はいRows have the same shape throughout a page, as selected by the request view.
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

FleetV2RolloutPreviewRequest

フィールド型必須説明
actionstringはいOpenAPI に記載なし
configobjectいいえOpenAPI に記載なし
targetsarray<object>はいOpenAPI に記載なし
taskExpiresAtintegerいいえOpenAPI に記載なし

FleetV2RolloutRetryRequest

フィールド型必須説明
jobKeystringはいOpenAPI に記載なし
targetIdsarray<string>はいOpenAPI に記載なし

Grant

フィールド型必須説明
aliasstringはいOpenAPI に記載なし
collectionIdobjectはいUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
permissionsarray<string>はいOpenAPI に記載なし

HTTPConnection

フィールド型必須説明
anonymousbooleanいいえOpenAPI に記載なし
authenticationstringいいえOpenAPI に記載なし
caCertificatestringいいえOpenAPI に記載なし
headersobjectいいえOpenAPI に記載なし
oauthobjectいいえOAuthConfig. スキーマの章で参照先のスキーマを確認してください。
parametersobjectいいえOpenAPI に記載なし
portintegerいいえOpenAPI に記載なし
responseHeaderTimeoutMsintegerいいえResponse header timeout (ms).

IndexSpec

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.

フィールド型必須説明
expireAfterSecondsintegerいいえOpenAPI に記載なし
kindstringいいえOpenAPI に記載なし
pathstringいいえBare business field path; _id and _meta.* cannot be declared as business indexes.
pathsarray<string>いいえOpenAPI に記載なし
targetstringいいえOpenAPI に記載なし
uniquebooleanいいえOpenAPI に記載なし

IndexState

フィールド型必須説明
errorstringいいえOpenAPI に記載なし
managedBystringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
specobjectはいIndexSpec. スキーマの章で参照先のスキーマを確認してください。
statestringはいOpenAPI に記載なし

Member

フィールド型必須説明
roleIdsarray<string>はいOpenAPI に記載なし
userIdstringはいOpenAPI に記載なし

MetadataBulkDeleteOne

フィールド型必須説明
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.

MetadataBulkInsertOne

フィールド型必須説明
idstringいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

MetadataBulkReplaceOne

フィールド型必須説明
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえSupported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically.

MetadataBulkRestoreOne

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.

MetadataBulkResult

フィールド型必須説明
indexintegerはいOpenAPI に記載なし
insertedIdstringいいえOpenAPI に記載なし
matchedCountintegerいいえOpenAPI に記載なし
modifiedCountintegerいいえOpenAPI に記載なし
deletedCountintegerいいえOpenAPI に記載なし
restoredCountintegerいいえOpenAPI に記載なし
upsertedIdstringいいえOpenAPI に記載なし
valueobjectいいえMetadataNullableDocument. スキーマの章で参照先のスキーマを確認してください。
errorobjectいいえFault. スキーマの章で参照先のスキーマを確認してください。

MetadataBulkUpdateOne

フィールド型必須説明
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
updateobjectはいSupports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field.
upsertbooleanいいえSupported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically.

MetadataCollectionInput

Writable configuration. The server defaults schemaVersion to 1; unknown fields are rejected.

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
indexesarray<object>いいえUnified index declarations, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omit to retain; [] removes declarations. Fields omit data. Unique indexes apply only to Record B-trees, build asynchronously and must be checked through indexStatus.
namestringはいUnique display name; no surrounding whitespace
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
sampleSchemaobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。
sampleSchemaModestringいいえEach Record may declare its Sample schema in data.sampleSchema. Records without a declaration use the Collection sampleSchema.
schemaVersionintegerいいえOpenAPI に記載なし
semanticsobjectいいえCollectionSemantics. スキーマの章で参照先のスキーマを確認してください。
parentIdobjectいいえOpenAPI に記載なし

MetadataDirectoryInput

Writable configuration. The server defaults schemaVersion to 1; unknown fields are rejected.

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
namestringはいUnique display name; no surrounding whitespace
parentIdobjectいいえOpenAPI に記載なし
schemaVersionintegerいいえOpenAPI に記載なし

MetadataDocument

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idstringはいOpenAPI に記載なし
originNodeIdstringいいえFleet origin node identity for automatically synchronized Collections. Does not change edit permissions.
mountIdstringはいSource identifier of the mounted resource; configuration is read-only when nonempty.
revisionintegerはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
deletedAtintegerはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

MetadataNullableDocument

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
idstringいいえOpenAPI に記載なし
originNodeIdstringいいえFleet origin node identity for automatically synchronized Collections. Does not change edit permissions.
mountIdstringいいえSource identifier of the mounted resource; configuration is read-only when nonempty.
revisionintegerいいえOpenAPI に記載なし
createdAtintegerいいえOpenAPI に記載なし
updatedAtintegerいいえOpenAPI に記載なし
deletedAtintegerいいえOpenAPI に記載なし
dataobjectいいえOpenAPI に記載なし

MetadataPage

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。

MetadataTopicInput

Writable configuration. The server defaults schemaVersion to 1; unknown fields are rejected.

フィールド型必須説明
collectionIdobjectいいえUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
descriptionstringいいえOpenAPI に記載なし
fieldsarray<object>いいえOpenAPI に記載なし
namestringはいUnique display name; no surrounding whitespace
parentIdobjectいいえOpenAPI に記載なし
schemaVersionintegerいいえOpenAPI に記載なし
viewModestringはいOpenAPI に記載なし

MetadataTransactionOperation

フィールド型必須説明
opIdstringはいOpenAPI に記載なし
actionstringはいOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
idstringいいえOpenAPI に記載なし
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
dataobjectいいえOpenAPI に記載なし
updateobjectいいえSupports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field.
replacementobjectいいえOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
dependsOnarray<string>いいえOpenAPI に記載なし

MetadataTransactionResult

フィールド型必須説明
opIdstringはいOpenAPI に記載なし
insertedIdstringいいえOpenAPI に記載なし
matchedCountintegerいいえOpenAPI に記載なし
modifiedCountintegerいいえOpenAPI に記載なし
deletedCountintegerいいえOpenAPI に記載なし
restoredCountintegerいいえOpenAPI に記載なし
upsertedIdstringいいえOpenAPI に記載なし
valueobjectいいえMetadataNullableDocument. スキーマの章で参照先のスキーマを確認してください。

ModbusOptions

フィールド型必須説明
pollIntervalMsintegerいいえOpenAPI に記載なし
rangesarray<object>いいえOpenAPI に記載なし
unitIdintegerはいOpenAPI に記載なし

ModbusRange

フィールド型必須説明
addressintegerはいOpenAPI に記載なし
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
quantityintegerはいOpenAPI に記載なし
tablestringはいOpenAPI に記載なし
unitIdintegerいいえOpenAPI に記載なし
writablebooleanいいえOpenAPI に記載なし

MQTTOptions

フィールド型必須説明
caCertificatestringいいえOpenAPI に記載なし
clientIdstringいいえOpenAPI に記載なし
correlationFieldstringいいえOpenAPI に記載なし
packetEnvelopebooleanいいえOpenAPI に記載なし
qosintegerいいえOpenAPI に記載なし
replyTopicstringいいえOpenAPI に記載なし
replyTopicFieldstringいいえOpenAPI に記載なし
requestTopicstringいいえOpenAPI に記載なし
serverSubscribeTopicsarray<string>いいえOpenAPI に記載なし
subscriptionsobjectいいえOpenAPI に記載なし
topicFiltersarray<string>いいえOpenAPI に記載なし
devicePublishTopicsarray<string>いいえManaged server logical topic filters; availability and the combined topic budget are defined by the target protocol catalog.
deviceSubscribeTopicsarray<string>いいえManaged server logical topic filters; availability and the combined topic budget are defined by the target protocol catalog.
publishTopicsarray<string>いいえOpenAPI に記載なし
deviceIdentitybooleanいいえOpenAPI に記載なし
payloadFormatstringいいえOpenAPI に記載なし
keepAliveSecondsintegerいいえKeepalive (seconds). Zero disables it.

OAuthConfig

フィールド型必須説明
authorizationUrlstringいいえOpenAPI に記載なし
clientAuthenticationstringはいOpenAPI に記載なし
clientIdstringはいOpenAPI に記載なし
grantTypestringいいえOpenAPI に記載なし
scopesstringいいえOpenAPI に記載なし
tokenUrlstringはいOpenAPI に記載なし

OpcuaAcquisition

フィールド型必須説明
streamIdstringはいOpenAPI に記載なし
versionIdstringはいOpenAPI に記載なし
entryIdstringはいOpenAPI に記載なし
sourceIdstringはいOpenAPI に記載なし
configRevisionintegerはいOpenAPI に記載なし
latestobjectいいえOpcuaAcquisitionObservation. スキーマの章で参照先のスキーマを確認してください。
lastFailureobjectいいえOpcuaAcquisitionObservation. スキーマの章で参照先のスキーマを確認してください。
batchesarray<object>いいえOpenAPI に記載なし

OpcuaAcquisitionObservation

フィールド型必須説明
sourceIdstringはいOpenAPI に記載なし
configRevisionintegerはいOpenAPI に記載なし
entryIdstringいいえOpenAPI に記載なし
methodstringはいOpenAPI に記載なし
scopestringはいOpenAPI に記載なし
stagestringはいOpenAPI に記載なし
observedAtintegerはいOpenAPI に記載なし
codestringいいえOpenAPI に記載なし
messagestringいいえOpenAPI に記載なし
readBatchobjectいいえOpcuaReadBatch. スキーマの章で参照先のスキーマを確認してください。

OPCUAOptions

フィールド型必須説明
nodeIdsarray<string>いいえOpenAPI に記載なし
samplingIntervalMsintegerいいえOpenAPI に記載なし
securityModestringはいOpenAPI に記載なし
securityPolicystringはいOpenAPI に記載なし
serverCertificatestringいいえOpenAPI に記載なし
serverNodesarray<object>いいえOpenAPI に記載なし
requestTimeoutMsintegerいいえClient UA service request timeout in milliseconds. Zero or absent uses the 6000 ms default.
sessionTimeoutMsintegerいいえRequested client session inactivity timeout in milliseconds. Zero or absent requests 600000 ms. The server may revise the timeout.
readBatchSizeintegerいいえPreferred maximum points per client Read. Zero or absent uses the server limit, or 32 if unavailable. The advertised server limit is always respected.

OpcuaReadBatch

フィールド型必須説明
batchNumberintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし
requestedintegerはいOpenAPI に記載なし
returnedintegerはいOpenAPI に記載なし
goodintegerはいOpenAPI に記載なし
badintegerはいOpenAPI に記載なし
uncertainintegerはいOpenAPI に記載なし
unknownintegerはいOpenAPI に記載なし
unattemptedintegerはいOpenAPI に記載なし
completedGoodintegerはいOpenAPI に記載なし
durationMsintegerはいOpenAPI に記載なし
cycleDurationMsintegerはいOpenAPI に記載なし
observedAtintegerはいOpenAPI に記載なし
methodstringはいOpenAPI に記載なし
statusCodestringいいえOpenAPI に記載なし
responseHeaderObservedbooleanいいえOpenAPI に記載なし

OPCUAServerNode

フィールド型必須説明
dataTypestringはいOpenAPI に記載なし
directionstringはいOpenAPI に記載なし
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
namestringはいOpenAPI に記載なし
nodeClassstringはいOpenAPI に記載なし

OpenProtocolOptions

フィールド型必須説明
bufferLimitintegerいいえOpenAPI に記載なし
cellIdintegerはいOpenAPI に記載なし
channelIdintegerはいOpenAPI に記載なし
controllerNamestringはいOpenAPI に記載なし
historyEndIdintegerいいえOpenAPI に記載なし
historyStartIdintegerいいえOpenAPI に記載なし

Outcome

フィールド型必須説明
jobIdstringいいえOpenAPI に記載なし
nextIndexintegerいいえOpenAPI に記載なし
replayedbooleanはいOpenAPI に記載なし
resultsarray<object>いいえOpenAPI に記載なし
statusstringはいLocal execution lifecycle. accepted means durable upload acceptance only; results with pendingUpload are not center commits.
summaryobjectいいえOutcomeSummary. スキーマの章で参照先のスキーマを確認してください。
unknownUntilintegerいいえOpenAPI に記載なし

OutcomeSummary

フィールド型必須説明
failedintegerはいOpenAPI に記載なし
notExecutedintegerはいOpenAPI に記載なし
succeededintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし
unknownintegerはいOpenAPI に記載なし

PlatformV2CapabilitiesDiscoverReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {},
  "required": []
}

PlatformV2CapabilitiesDiscoverResponse

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.

フィールド型必須説明
productobjectはいOpenAPI に記載なし
productVersionstringいいえOpenAPI に記載なし
contractVersionobjectはいOpenAPI に記載なし
apiContractVersionsarray<string>はいOpenAPI に記載なし
sdkContractVersionsarray<string>はいOpenAPI に記載なし
capabilitiesarray<object>はいOpenAPI に記載なし
deprecationsarray<object>はいOpenAPI に記載なし

PlatformV2CloudAssetUploadReq

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
sizeBytesinteger (int64)はいDeclared file size in bytes. Direct and multipart uploads each support up to 1 GiB.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeinteger (int64)いいえOpenAPI に記載なし
sha256stringいいえOpenAPI に記載なし
storageKeystringいいえOpenAPI に記載なし
isPublicbooleanいいえOpenAPI に記載なし
businessstringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし

PlatformV2CloudAssetUploadResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudFileDeleteReq

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.

PlatformV2CloudFileDeleteResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudFileUploadReq

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeinteger (int64)はいFile size in bytes.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
businessstringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
appInstanceIdstringいいえOpenAPI に記載なし
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.

PlatformV2CloudFileUploadResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudFileURLResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudInfoReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {},
  "required": []
}

PlatformV2CloudInfoResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMembersListAppReq

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
roleKeysarray<string>いいえOpenAPI に記載なし
grantedAtStartinteger (int64)いいえStart of the authorization period in Unix milliseconds.
grantedAtEndinteger (int64)いいえEnd of the authorization period in Unix milliseconds.
scopestringいいえOpenAPI に記載なし
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.

PlatformV2CloudMembersListAppResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMembersListWorkspaceReq

フィールド型必須説明
keywordstringいいえOpenAPI に記載なし
roleKeystringいいえOpenAPI に記載なし
rolesarray<string>いいえOpenAPI に記載なし
statusesarray<string>いいえOpenAPI に記載なし
updatedAtStartstringいいえOpenAPI に記載なし
updatedAtEndstringいいえOpenAPI に記載なし
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.

PlatformV2CloudMembersListWorkspaceResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMQTTAuthCreateReq

フィールド型必須説明
namestringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
clientIDRandomSuffixEnabledbooleanいいえOpenAPI に記載なし

PlatformV2CloudMQTTAuthCreateResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMQTTAuthDeleteReq

フィールド型必須説明
idinteger (int64)はいRegular MQTT credential ID.

PlatformV2CloudMQTTAuthDeleteResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMultipartAbortReq

フィールド型必須説明
fileKeystringはいFile identifier returned by multipart initialization.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.

PlatformV2CloudMultipartAbortResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMultipartCompleteReq

フィールド型必須説明
fileKeystringはいFile identifier returned by multipart initialization.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partsarray<object>はいOpenAPI に記載なし

PlatformV2CloudMultipartCompleteResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMultipartInitReq

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeinteger (int64)はいFile size in bytes.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
businessstringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
appInstanceIdstringいいえOpenAPI に記載なし
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.
partSizeinteger (int64)いいえBytes.
bizIdstringいいえOpenAPI に記載なし

PlatformV2CloudMultipartInitResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudMultipartPartURLsReq

フィールド型必須説明
fileKeystringはいFile identifier returned by multipart initialization.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partNumbersarray<integer (int64)>はいOpenAPI に記載なし

PlatformV2CloudMultipartPartURLsResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CloudNotificationError

フィールド型必須説明
errorCodestringはいOpenAPI に記載なし
messagestringはいOpenAPI に記載なし

PlatformV2CloudNotificationGetReq

フィールド型必須説明
messageIdstringはいOpenAPI に記載なし

PlatformV2CloudNotificationGetResponse

フィールド型必須説明
messageIdstringはいOpenAPI に記載なし
typestringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
createdAtstring (date-time)はいOpenAPI に記載なし
completedAtstring (date-time)いいえOpenAPI に記載なし
errorCodestringいいえOpenAPI に記載なし
messagestringいいえOpenAPI に記載なし
recipientUserIdstringはいOpenAPI に記載なし
recipientNamestringいいえOpenAPI に記載なし
channelsarray<object>はいOpenAPI に記載なし

PlatformV2CloudNotificationListReq

フィールド型必須説明
pageinteger (int64)いいえPage number.
sizeinteger (int64)いいえResults per page.
messageIdstringいいえOpenAPI に記載なし
recipientUserIdstringいいえOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし

PlatformV2CloudNotificationListResponse

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
totalinteger (int64)はいOpenAPI に記載なし
pageinteger (int64)はいOpenAPI に記載なし
sizeinteger (int64)はいOpenAPI に記載なし

PlatformV2CloudWhoamiReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {},
  "required": []
}

PlatformV2CloudWhoamiResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2CompletedPart

フィールド型必須説明
partNumberinteger (int64)はいOne-based part number.
etagstringはいPass the nonempty ETag returned by object storage for this part exactly as received.

PlatformV2Discovery_capability

Unknown capability codes are ignored; only recognized codes use the frozen assessment contract.

フィールド型必須説明
codestringはいOpenAPI に記載なし

PlatformV2Discovery_knownCapability

State reports publication and assessed prerequisites only; ready never grants resource access or confirms an actual execution.

フィールド型必須説明
stateobjectはいOpenAPI に記載なし
reasonCodestringはいOpenAPI に記載なし
checkedAtstring (date-time)いいえOpenAPI に記載なし
validUntilstring (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.
retryAfterMsintegerいいえOpenAPI に記載なし
codestringはいOpenAPI に記載なし
contractVersionsarray<string>はいOpenAPI に記載なし
operationsarray<object>いいえOpenAPI に記載なし

PlatformV2Discovery_knownOperation

State reports publication and assessed prerequisites only; ready never grants resource access or confirms an actual execution.

フィールド型必須説明
stateobjectはいOpenAPI に記載なし
reasonCodestringはいOpenAPI に記載なし
checkedAtstring (date-time)いいえOpenAPI に記載なし
validUntilstring (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.
retryAfterMsintegerいいえOpenAPI に記載なし
operationstringはいOpenAPI に記載なし
requiresResourceCheckbooleanはいOpenAPI に記載なし

PlatformV2Discovery_operation

Unknown operation names are ignored within their parent capability; known names are validated by that capability.

フィールド型必須説明
operationstringはいOpenAPI に記載なし

PlatformV2DiscoveryError

フィールド型必須説明
errorCodestringはいOpenAPI に記載なし
messagestringはいOpenAPI に記載なし

PlatformV2ErrorResponse

フィールド型必須説明
codeinteger (int64)はいActual HTTP status code.
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
errorobjectはいOpenAPI に記載なし

PlatformV2FileDeleteReq

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.

PlatformV2FileDeleteResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2FileDownloadCreateReq

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
expiresInSecondsinteger (int64)いいえRequested URL lifetime in seconds. Uses the server default when omitted or set to 0, with a maximum of 7 days.

PlatformV2FileDownloadCreateResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2FileUploadCreateReq

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeBytesinteger (int64)はいDeclared file size in bytes. Direct and multipart uploads each support up to 1 GiB.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.

PlatformV2FileUploadCreateResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2IdentityGetReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {},
  "required": []
}

PlatformV2IdentityGetResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2InfoGetReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {},
  "required": []
}

PlatformV2InfoGetResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2MultipartAbortReq

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.

PlatformV2MultipartAbortResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2MultipartCompleteReq

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partsarray<object>はいOpenAPI に記載なし

PlatformV2MultipartCompleteResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2MultipartCreateReq

フィールド型必須説明
fileNamestringはいNonempty original filename. Disallowed extensions include html and php.
contentTypestringいいえOptional file MIME type, such as application/pdf.
sizeBytesinteger (int64)はいDeclared file size in bytes. Direct and multipart uploads each support up to 1 GiB.
visibilitystringいいえWith private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use.
sessionIdstringいいえOptional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace.
partSizeBytesinteger (int64)いいえRequested part size in bytes. Omit, set to 0, or supply less than 5 MiB to use 10 MiB. Use the actual part size returned in the response.

PlatformV2MultipartCreateResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2MultipartPartsReq

フィールド型必須説明
filePathstringはいManaged file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding.
uploadIdstringはいSession identifier returned by multipart initialization. Use it together with filePath exactly as returned.
partNumbersarray<integer (int64)>はいOpenAPI に記載なし

PlatformV2MultipartPartsResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2NotificationSendReq

フィールド型必須説明
recipientUserIdstringはいRecipient user ID as a positive integer string to preserve large integer precision.
typestringいいえOpenAPI に記載なし
titlestringはいOpenAPI に記載なし
contentstringはいOpenAPI に記載なし
idempotencyKeystringはいOpenAPI に記載なし
modestringいいえOpenAPI に記載なし
linkstringいいえBusiness link starting with http://, https://, or /. Credentials, protocol-relative URLs, and control characters are forbidden.
channelsarray<string>いいえOmit or pass an empty array to send a silent inbox message. Enterprise accepts web/mobile metadata without sending external push notifications. The get operation returns not_configured for external channels. sent means the message was persisted in the local inbox.
sourcestringいいえOpenAPI に記載なし
wechatEventRefstringいいえOpenAPI に記載なし
senderobjectいいえOpenAPI に記載なし

PlatformV2NotificationSendResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
messageIdstringはいOpenAPI に記載なし
typestringいいえOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
createdAtstring (date-time)はいOpenAPI に記載なし
completedAtstring (date-time)いいえOpenAPI に記載なし
errorCodestringいいえOpenAPI に記載なし
messagestringいいえOpenAPI に記載なし
recipientUserIdstringはいOpenAPI に記載なし
recipientNamestringいいえOpenAPI に記載なし

PlatformV2NotificationStatusGetReq

フィールド型必須説明
messageIdstringはいMessage ID returned by send.

PlatformV2NotificationStatusGetResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2ProjectMembersListReq

フィールド型必須説明
projectIdstringはいTarget project ID as a positive integer string.
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.

PlatformV2ProjectMembersListResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2UsersListReq

フィールド型必須説明
searchstringいいえSearch text for supported fields such as usernames and display names.
pageinteger (int64)いいえPage number. Uses page 1 when omitted or set to 0.
sizeinteger (int64)いいえResults per page, up to 100. Uses 20 when omitted or set to 0.
roleKeysarray<string>いいえMatches any specified platform role.
statusesarray<string>いいえOpenAPI に記載なし
updatedAtStartstring (date-time)いいえStart of the last-update time range, in RFC3339 format.
updatedAtEndstring (date-time)いいえEnd of the last-update time range, in RFC3339 format.

PlatformV2UsersListResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

PlatformV2WhoamiErrorResponse

フィールド型必須説明
codeinteger (int64)はいActual HTTP status code.
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
errorobjectはいOpenAPI に記載なし

PublicStreamRequest

フィールド型必須説明
codestringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
descriptionstringはいOpenAPI に記載なし
contractVersionstringはいOpenAPI に記載なし
inputSchemaobjectはいOpenAPI に記載なし
outputSchemaobjectはいOpenAPI に記載なし
sideEffectstringはいOpenAPI に記載なし
idempotencystringはいOpenAPI に記載なし
timeoutMsinteger (int64)はいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし

RecordDocument

Ordinary business Record. Business fields are in data; system properties are siblings. filter/projection use bare business fields and _id/_meta.*, independently of this response object's paths. lock describes only an active lease and never returns its token.

フィールド型必須説明
idstringはいOpenAPI に記載なし
collectionIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
createdAtintegerはいUnix milliseconds.
updatedAtintegerはいUnix milliseconds.
sourceIdstringはいOpenAPI に記載なし
sourceTimeintegerはいUnix milliseconds.
lockobjectいいえCloudRecordLockView. スキーマの章で参照先のスキーマを確認してください。

RecordTTL

フィールド型必須説明
expireAfterSecondsintegerはいOpenAPI に記載なし
pathstringはいOpenAPI に記載なし

Release

Identity is (streamId,release); immutable snapshot created by stream.publish; Query the owning Stream; use expectedRevision and dependsOn before publishing a dependent Stream

フィールド型必須説明
definitionobjectはいStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
publishedAtintegerはいOpenAPI に記載なし

Result

フィールド型必須説明
actionstringはいOpenAPI に記載なし
collectionIdstringいいえCollection ID owning the business Records and Samples.
dataobjectいいえBusiness data payload used by transaction result bindings. Read document for the complete resource object.
deliveryobjectいいえWriteDelivery. スキーマの章で参照先のスキーマを確認してください。
documentobjectいいえRecordDocument. スキーマの章で参照先のスキーマを確認してください。
errorobjectいいえFault. スキーマの章で参照先のスキーマを確認してください。
idstringいいえObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
kindstringいいえOpenAPI に記載なし
opIdstringはいOperation identifier unique within this transaction, used for dependencies and result references.
queryobjectいいえTransactionQueryResult. スキーマの章で参照先のスキーマを確認してください。
recordIdstringいいえOpenAPI に記載なし
releaseintegerいいえOpenAPI に記載なし
revisionintegerいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
statusstringはいpendingUpload means durably accepted for remote delivery, not center storage confirmation.
timeintegerいいえUnix milliseconds.
transactionTimeintegerいいえOpenAPI に記載なし

RetryAdvice

フィールド型必須説明
recommendedActionstringはいNext recovery action; grants no additional business permissions.
canRetrySameRequestbooleanはいWhether the exact same request can be sent again. Check status first when advised.
keepIdempotencyKeybooleanはいRetain the original idempotency key when recovering the same intent; do not execute again with a new key.

Role

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
namestringはいOpenAPI に記載なし

RuntimeProgramTestInput

Isolated preview envelope; data is passed to the selected entry. sourceSamples maps Source alias to operation key to JSON result. topicSamples maps UNS alias to JSON value. checkpointSample is at most 16 KiB of JSON.

フィールド型必須説明
checkpointSampleobjectいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
previewWritesbooleanいいえCompare proposed UNS writes with current data; requires uns.read and does not commit
sourceSamplesobjectいいえOpenAPI に記載なし
topicSamplesobjectいいえOpenAPI に記載なし

RuntimeStreamDefinition

フィールド型必須説明
namestringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
scriptobjectはいStreamScript. スキーマの章で参照先のスキーマを確認してください。
sourcesarray<object>いいえOpenAPI に記載なし
sourceBindingsarray<object>いいえOpenAPI に記載なし
extensionsobjectいいえOpenAPI に記載なし

SalesforceQueryDeclaration

フィールド型必須説明
cdcbooleanいいえOpenAPI に記載なし
endstringはいOpenAPI に記載なし
fieldsarray<string>はいOpenAPI に記載なし
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
objectstringはいOpenAPI に記載なし
queryAllbooleanいいえOpenAPI に記載なし
startstringはいOpenAPI に記載なし

SampleDocument

A standard sample object, uniquely identified by collectionId, recordId, and time. id and time have a one-to-one correspondence for references using Cloud's {recordId,id,time} triple. Business fields are in data; time, quality, record identity, and available source information are at the same level as data.

フィールド型必須説明
idstringはいSample ID, unique within the same Record; Enterprise derives it from time as a decimal string of Unix milliseconds.
collectionIdstringはいOpenAPI に記載なし
recordIdstringはいOpenAPI に記載なし
timeintegerはいUnix milliseconds.
receivedAtintegerはいUnix milliseconds.
qualitystringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
sourceIdstringはいOpenAPI に記載なし
streamIdstringいいえOpenAPI に記載なし
bindingIdstringいいえOpenAPI に記載なし

Schema

フィールド型必須説明
additionalPropertiesbooleanいいえOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
enumarray<object>いいえOpenAPI に記載なし
formatstringいいえOpenAPI に記載なし
itemsobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。
maximumnumberいいえOpenAPI に記載なし
minimumnumberいいえOpenAPI に記載なし
propertiesobjectいいえOpenAPI に記載なし
requiredarray<string>いいえOpenAPI に記載なし
titlestringいいえOpenAPI に記載なし
typestringはいOpenAPI に記載なし
unitstringいいえOpenAPI に記載なし

SlowQueryAdvice

フィールド型必須説明
codestringはいOpenAPI に記載なし
indexIdstringいいえOpenAPI に記載なし

SlowQueryShapeView

フィールド型必須説明
adviceobjectはいSlowQueryAdvice. スキーマの章で参照先のスキーマを確認してください。
callsintegerはいOpenAPI に記載なし
eqarray<string>はいOpenAPI に記載なし
inarray<string>はいOpenAPI に記載なし
noIndexablearray<string>はいOpenAPI に記載なし
opstringはいOpenAPI に記載なし
p95MsnumberはいOpenAPI に記載なし
rangearray<string>はいOpenAPI に記載なし
shapeHashstringはいOpenAPI に記載なし
sortarray<object>はいOpenAPI に記載なし
timeoutsintegerはいOpenAPI に記載なし

SlowQuerySortField

フィールド型必須説明
directionstringはいOpenAPI に記載なし
fieldstringはいOpenAPI に記載なし

SourceCheckResult

フィールド型必須説明
modestringはいOpenAPI に記載なし
healthstringはいOpenAPI に記載なし
stagestringはいOpenAPI に記載なし
errorCodestringはいOpenAPI に記載なし
messagestringはいOpenAPI に記載なし
checkedAtintegerはいOpenAPI に記載なし
latencyMsintegerはいOpenAPI に記載なし

SourceCredentials

フィールド型必須説明
kindstringはいOpenAPI に記載なし
usernamestringいいえOpenAPI に記載なし
secretstringいいえOpenAPI に記載なし
valuesobjectいいえOpenAPI に記載なし
certificateFileIdstringいいえOpenAPI に記載なし
privateKeyFileIdstringいいえOpenAPI に記載なし
caFileIdstringいいえOpenAPI に記載なし

SourceData

Source owns connection, protocol resources and credential references only; Acquisition and processing belong to Stream; storage belongs to an independent Collection policy; Edge Source references an enrolled Edge and exposes its authorized Stream outputs; use an ordinary center Stream to consume them; Credentials remain on their dedicated API

フィールド型必須説明
adapterstringはいSelect exactly this protocol; http-api is not http
configobjectはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
namestringはいUnique display name; no surrounding whitespace
schemaVersionintegerはいOpenAPI に記載なし

SourceDefinition

Unified Source connection. Choose the matching protocol object. Query the target protocol catalog for installed execution, TLS and state capabilities.

フィールド型必須説明
credentialRefstringいいえ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.
descriptionstringいいえOpenAPI に記載なし
endpointstringはいProtocol connection address or a discovered native device key. Never include credentials in the address. Managed server roles use the target-defined managed endpoint.
extensionsobjectいいえOpenAPI に記載なし
fileobjectいいえFileSourceOptions. スキーマの章で参照先のスキーマを確認してください。
httpobjectいいえHTTPConnection. スキーマの章で参照先のスキーマを確認してください。
modbusobjectいいえModbusOptions. スキーマの章で参照先のスキーマを確認してください。
mqttobjectいいえMQTTOptions. スキーマの章で参照先のスキーマを確認してください。
namestringいいえOpenAPI に記載なし
opcuaobjectいいえOPCUAOptions. スキーマの章で参照先のスキーマを確認してください。
openProtocolobjectいいえOpenProtocolOptions. スキーマの章で参照先のスキーマを確認してください。
protocolstringはいOpenAPI に記載なし
rolestringいいえOpenAPI に記載なし
runtimeLocationstringいいえOpenAPI に記載なし
sourceTypestringいいえOpenAPI に記載なし
sqlobjectいいえSQLConnection. スキーマの章で参照先のスキーマを確認してください。
kafkaobjectいいえOpenAPI に記載なし
industrialobjectいいえOpenAPI に記載なし
snmpobjectいいえOpenAPI に記載なし
fieldbusTimeoutMsintegerいいえNative fieldbus device timeout (ms).
connectionCheckTimeoutMsintegerいいえConnection check limit (ms).

SourceDefinitionPatch

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.

フィールド型必須説明
credentialRefstringいいえ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.
descriptionstringいいえOpenAPI に記載なし
endpointstringいいえProtocol connection address or a discovered native device key. Never include credentials in the address. Managed server roles use the target-defined managed endpoint.
extensionsobjectいいえOpenAPI に記載なし
fileobjectいいえFileSourceOptions. スキーマの章で参照先のスキーマを確認してください。
httpobjectいいえHTTPConnection. スキーマの章で参照先のスキーマを確認してください。
modbusobjectいいえModbusOptions. スキーマの章で参照先のスキーマを確認してください。
mqttobjectいいえMQTTOptions. スキーマの章で参照先のスキーマを確認してください。
namestringいいえOpenAPI に記載なし
opcuaobjectいいえOPCUAOptions. スキーマの章で参照先のスキーマを確認してください。
openProtocolobjectいいえOpenProtocolOptions. スキーマの章で参照先のスキーマを確認してください。
protocolstringいいえOpenAPI に記載なし
rolestringいいえOpenAPI に記載なし
runtimeLocationstringいいえOpenAPI に記載なし
sourceTypestringいいえOpenAPI に記載なし
sqlobjectいいえSQLConnection. スキーマの章で参照先のスキーマを確認してください。
fieldbusTimeoutMsintegerいいえOpenAPI に記載なし
connectionCheckTimeoutMsintegerいいえOpenAPI に記載なし

SQLConnection

Database connection. A connection-only Source uses Stream acquisition.queries for SQL reads.

フィールド型必須説明
caCertificatestringいいえOpenAPI に記載なし
querystringいいえ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.
wmsobjectいいえWMSMapping. スキーマの章で参照先のスキーマを確認してください。
queriesobjectいいえOptional Source-owned named queries. A Stream may declare its own queries only when the Source has no preset or named queries.
tlsModestringいいえOpenAPI に記載なし
queryTimeoutMsintegerいいえSQL read timeout (ms).
insertTargetsobjectいいえOpenAPI に記載なし

StreamData

Draft defines processor and output schemas, plus optional execution; Saving a draft never executes; publication creates an immutable numbered release; Edge execution references a published Source revision and an output Collection; storage is configured independently on that Collection; A published Edge release executes only on that Edge; changing a draft does not change running configuration; Processor uses bounded JavaScript process(input,params,context); unrelated edits retain hidden code

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
draftobjectはいStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
executionModestringいいえOpenAPI に記載なし
namestringはいUnique display name; no surrounding whitespace
schemaVersionintegerはいOpenAPI に記載なし

StreamDataView

Draft defines processor and output schemas, plus optional execution; Saving a draft never executes; publication creates an immutable numbered release; Edge execution references a published Source revision and an output Collection; storage is configured independently on that Collection; A published Edge release executes only on that Edge; changing a draft does not change running configuration; Processor uses bounded JavaScript process(input,params,context); unrelated edits retain hidden code

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
draftobjectはいStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
executionModestringいいえOpenAPI に記載なし
namestringはいUnique display name; no surrounding whitespace
schemaVersionintegerはいOpenAPI に記載なし
releasesobjectいいえOpenAPI に記載なし

StreamDefinition

フィールド型必須説明
namestringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
scriptobjectはいStreamScript. スキーマの章で参照先のスキーマを確認してください。
sourcesarray<object>いいえOpenAPI に記載なし
sourceBindingsarray<object>いいえOpenAPI に記載なし
extensionsobjectいいえOpenAPI に記載なし

StreamRequestDescribeReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {}
}

StreamRequestDiscoverReq

フィールド型必須説明
pageinteger (int64)いいえUses page 1 when omitted or set to 0.
sizeinteger (int64)いいえUses 20 when omitted or set to 0.
searchstringいいえUp to 256 UTF-8 bytes.

StreamRequestDiscoverResp

フィールド型必須説明
totalinteger (int64)はいOpenAPI に記載なし
listarray<object>はいOpenAPI に記載なし

StreamRequestError

フィールド型必須説明
errorCodestringはいOpenAPI に記載なし
messagestringはいOpenAPI に記載なし

StreamRequestInvokeReq

フィールド型必須説明
inputobjectはいRequired. Accepts any JSON value that conforms to the contract inputSchema. Pass null when there is no business input.
idempotencyKeystringいいえUp to 128 UTF-8 bytes without surrounding whitespace. A write/required contract requires a nonempty, durable key. Replays must reuse the same key and input.

StreamRequestInvokeResp

フィールド型必須説明
codestringはいOpenAPI に記載なし
contractVersionstringはいOpenAPI に記載なし
resultobjectはいBusiness result that conforms to the contract outputSchema. May be null.
runIDstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
replayedbooleanはいOpenAPI に記載なし

StreamScript

フィールド型必須説明
codestringはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし

StreamSourceAlias

フィールド型必須説明
sourceIdstringいいえOpenAPI に記載なし
configRevisionintegerいいえOpaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision.
targetobjectいいえStreamSourceTarget. スキーマの章で参照先のスキーマを確認してください。
acquisitionobjectいいえProtocol acquisition only; cannot override connection or credentials.
aliasstringはいOpenAPI に記載なし
resourcesarray<string>いいえOpenAPI に記載なし

StreamSourceBinding

フィールド型必須説明
sourceIdstringいいえOpenAPI に記載なし
configRevisionintegerいいえOpaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision.
targetobjectいいえStreamSourceTarget. スキーマの章で参照先のスキーマを確認してください。
acquisitionobjectいいえProtocol acquisition only; cannot override connection or credentials.
aliasstringいいえOpenAPI に記載なし
resourcesarray<string>いいえOpenAPI に記載なし

StreamSourceTarget

フィールド型必須説明
fleetNodeIdstringはいOpenAPI に記載なし
sourceIdstringはいOpenAPI に記載なし
configRevisionintegerはいOpaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision.

TeamcenterFileSelection

フィールド型必須説明
datasetUidstringはいOpenAPI に記載なし
fileUidstringはいOpenAPI に記載なし
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
itemIdstringはいOpenAPI に記載なし
itemUidstringはいOpenAPI に記載なし
queryUidstringはいOpenAPI に記載なし
revisionUidstringはいOpenAPI に記載なし

TransactionQueryResult

フィールド型必須説明
hasMorebooleanはいOpenAPI に記載なし
recordsarray<object>はいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

TransactionStatusResult

フィールド型必須説明
committedAtintegerいいえCommit receipt timestamp, Unix milliseconds; not the physical device/WMS execution time.
deliveriesarray<object>いいえOpenAPI に記載なし
itemCountintegerいいえOpenAPI に記載なし
jobIdstringいいえOpenAPI に記載なし
retryAdviceobjectはいRetryAdvice. スキーマの章で参照先のスキーマを確認してください。
statusstringはいunknown does not prove rollback. Recover using the original request and key according to retryAdvice. succeeded means the asynchronous job succeeded; committed means a local commit receipt exists; accepted means durably received and awaiting upload, not persisted at the center.

UnsV2AppCollectionAliasReq

フィールド型必須説明
aliasstringはいOpenAPI に記載なし

UnsV2AppCollectionsEnsureReq

フィールド型必須説明
appIdstringいいえOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
collectionsarray<object>はいOpenAPI に記載なし

UnsV2AppCollectionsEnsureResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppCollectionsListReq

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし

UnsV2AppCollectionsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppCollectionsSchemaReplaceReq

フィールド型必須説明
aliasstringはいOpenAPI に記載なし
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
indexesarray<object>はいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし

UnsV2AppCollectionsSchemaReplaceResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppCollectionStateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppContextReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {}
}

UnsV2AppCreateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2AppCreateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppGetReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.

UnsV2AppGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppGrantsUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2AppGrantsUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppKeyCreateReq

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし

UnsV2AppKeyRevokeReq

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
keyIdstringはいOpenAPI に記載なし

UnsV2AppListReq

フィールド型必須説明
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
archivedbooleanいいえtrue lists archived objects only; false lists active objects only.

UnsV2AppListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppMembersUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2AppMembersUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppNavigationUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2AppNavigationUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppPlatformPermissionsUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2AppPlatformPermissionsUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppReplaceReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいAppData. スキーマの章で参照先のスキーマを確認してください。
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2AppReplaceResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppRolesUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2AppRolesUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppSessionInspectReq

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
tokenstringはいOpenAPI に記載なし

UnsV2AppSessionInspectResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいAppSessionIdentity. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppStreamAccessListReq

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
streamIdstringいいえOpenAPI に記載なし
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
includeInactiveintegerいいえOpenAPI に記載なし

UnsV2AppStreamAccessListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2AppStreamPolicyGetReq

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし

UnsV2AppStreamPolicyGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいAppStreamPolicyView. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppStreamPolicyUpdateReq

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
expectedRevisionintegerはいExpected revision; provide it after reading the current object. On conflict, reread and decide how to proceed instead of blindly overwriting. Shared App metadata revision; zero only when no metadata exists. Read the current revision before updating.
statusstringはいOpenAPI に記載なし
platformPermissionsarray<string>はいOpenAPI に記載なし
messageTopicsarray<object>いいえOpenAPI に記載なし
idempotencyKeystringはいUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.

UnsV2AppStreamPolicyUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2AppUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2AppUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2ArrayElementFilter

Use comparison operators for scalar elements, or field conditions relative to each element for object elements; nested logical combinations are supported. pull does not accept $expr.

{
  "type": "object",
  "minProperties": 1,
  "additionalProperties": true,
  "description": "Use comparison operators for scalar elements, or field conditions relative to each element for object elements; nested logical combinations are supported. pull does not accept $expr."
}

UnsV2CatalogReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {}
}

UnsV2CollectionDescribeReq

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.

UnsV2CollectionDescribeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCollectionDescription. スキーマの章で参照先のスキーマを確認してください。

UnsV2DataDiscoverResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいDiscoveryResult. スキーマの章で参照先のスキーマを確認してください。

UnsV2DataFilter

Unified predicate: use field or customer.name directly for business paths; use _id and _meta.revision/createdAt/updatedAt/sourceId/sourceTime/locked for system paths. Sample uses _meta.recordId/time/receivedAt/quality/streamId/bindingId. A direct value is equivalent to $eq. Supports scalar comparisons, array $elemMatch/$all/$size, logical combinations, and restricted $expr. Paths are dot-separated; write a literal dot as \. and a backslash as \\, and escape backslashes again in JSON. Maximum 512 bytes/10 segments. Arrays require explicit indexes; implicit traversal is not supported. Field types are validated against the Schema; SQL and scripts are not accepted. Record writes must match exactly one record by default. $eq:null matches null or missing; $ne:null matches present, non-null values; $ne with a non-null value includes missing fields. $exists distinguishes present from missing; explicit null counts as present.

フィールド型必須説明
$andarray<object>いいえOpenAPI に記載なし
$orarray<object>いいえOpenAPI に記載なし
$norarray<object>いいえOpenAPI に記載なし
$notobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
$exprobjectいいえUnsV2PipelineExpression. スキーマの章で参照先のスキーマを確認してください。

UnsV2DiscoverySearchReq

フィールド型必須説明
searchstringいいえSearch by name or supported text fields; not SQL.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog. At most 200 items per page.

UnsV2Distinct

Deduplicates by the combination of fields specified in by and outputs the alias fields. Results use standard offset pagination. To count unique values, use $distinct followed by $count; no countDistinct stage is added.

フィールド型必須説明
byobjectはいUnsV2DistinctBy. スキーマの章で参照先のスキーマを確認してください。

UnsV2DistinctBy

Mapping from 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 retained. Arrays are compared as whole values; use $unwind first to deduplicate elements.

{
  "type": "object",
  "minProperties": 1,
  "maxProperties": 16,
  "additionalProperties": {
    "type": "string",
    "minLength": 2,
    "maxLength": 513,
    "pattern": "^\\$[^$].*$",
    "description": "A declared field path with a single $ prefix, such as $status; expressions and $$ variables are not accepted."
  },
  "description": "Mapping from 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 retained. Arrays are compared as whole values; use $unwind first to deduplicate elements."
}

UnsV2EdgeCollectionSyncValidateReq

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.

UnsV2EdgeCollectionSyncValidateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2EdgeConfigGetReq

フィールド型必須説明
sectionstringはいOpenAPI に記載なし

UnsV2EdgeConfigResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2EdgeConfigUpdateReq

フィールド型必須説明
sectionstringはいOpenAPI に記載なし
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
configobjectはいOpenAPI に記載なし
collectionIdstringいいえCollection ID owning the business Records and Samples.
expectedCollectionRevisionintegerいいえOpenAPI に記載なし

UnsV2EdgeNodesListReq

フィールド型必須説明
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
keywordstringいいえOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし

UnsV2EdgeNodesListResponse

フィールド型必須説明
codeinteger (int64)はいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2Envelope

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2ErrorResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectいいえOpenAPI に記載なし
errorobjectはいOpenAPI に記載なし

UnsV2FieldComparisons

フィールド型必須説明
$eqobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$neobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$gtobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$gteobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$ltobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$lteobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$inarray<object>いいえOpenAPI に記載なし
$ninarray<object>いいえOpenAPI に記載なし
$existsbooleanいいえOpenAPI に記載なし
$allarray<object>いいえEach item is matched by equality of the complete JSON element.
$sizeintegerいいえOpenAPI に記載なし
$elemMatchobjectいいえUnsV2ArrayElementFilter. スキーマの章で参照先のスキーマを確認してください。
$containsstringいいえOpenAPI に記載なし
$likestringいいえOpenAPI に記載なし
$ilikestringいいえOpenAPI に記載なし

UnsV2FieldOperation

フィールド型必須説明
opstringはいOpenAPI に記載なし
pathstringはい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.
valueobjectいいえ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.

UnsV2FieldPredicate

フィールド型必須説明
$eqobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$neobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$gtobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$gteobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$ltobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$lteobjectいいえUnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。
$inarray<object>いいえOpenAPI に記載なし
$ninarray<object>いいえOpenAPI に記載なし
$existsbooleanいいえOpenAPI に記載なし
$allarray<object>いいえEach item is matched by equality of the complete JSON element.
$sizeintegerいいえOpenAPI に記載なし
$elemMatchobjectいいえUnsV2ArrayElementFilter. スキーマの章で参照先のスキーマを確認してください。
$notobjectいいえUnsV2FieldComparisons. スキーマの章で参照先のスキーマを確認してください。
$containsstringいいえOpenAPI に記載なし
$likestringいいえOpenAPI に記載なし
$ilikestringいいえOpenAPI に記載なし

UnsV2FilterScalar

{
  "oneOf": [
    {
      "type": "string",
      "nullable": true
    },
    {
      "type": "number"
    },
    {
      "type": "boolean"
    }
  ]
}

UnsV2Frequencies

Counts frequencies by the combination of fields specified in by, outputting the alias fields and a fixed count field. Counts are based on the current stage's input; results can be sorted or filtered further.

フィールド型必須説明
byobjectはいUses the same field combinations and missing/null rules as distinct; an alias cannot be count.

UnsV2History

フィールド型必須説明
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
timeRangeobjectいいえUnsV2TimeRange. スキーマの章で参照先のスキーマを確認してください。

UnsV2Identity

{
  "oneOf": [
    {
      "type": "string",
      "maxLength": 128
    },
    {
      "type": "object",
      "required": [
        "ref"
      ],
      "additionalProperties": false,
      "properties": {
        "ref": {
          "type": "string"
        }
      }
    }
  ]
}

UnsV2JobsDocumentedRequest

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし

UnsV2JobsQuery

フィールド型必須説明
queryIdstringはいIdentifier unique within this query batch, used to match results.
jobIdsarray<string>いいえOpenAPI に記載なし

UnsV2ManagedBy

フィールド型必須説明
sourceIdobjectはいUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
instanceIdstringはいOpenAPI に記載なし

UnsV2MetadataAggregateReq

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
kindsarray<string>いいえOpenAPI に記載なし
statestringいいえActive, soft-deleted, or all objects.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
pipelinearray<object>はいSupports $match/$project/$group/$sort/$skip/$limit/$distinct. The $distinct stage sorts by JSONB value and uses outer pagination.
pageobjectいいえOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし

UnsV2MetadataAggregateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataBulkWriteReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
operationsarray<object>はいOpenAPI に記載なし
atomicbooleanいいえThe entire batch commits atomically by default. Set false to commit items independently. Full authorization and domain validation still apply to each object.
orderedbooleanいいえWith atomic=false, controls whether to stop or continue after a failure. Atomic batches reject ordered=false.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2MetadataBulkWriteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataCountReq

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
kindsarray<string>いいえOpenAPI に記載なし
statestringいいえActive, soft-deleted, or all objects.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。

UnsV2MetadataCountResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataDeleteManyReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
atomicbooleanいいえThe entire batch commits atomically. Use bulkWrite to commit individual items.
maxDocsintegerいいえRejects the entire operation if the match limit is exceeded. The write set is never truncated.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2MetadataDeleteManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataDeleteOneReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2MetadataDeleteOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataFindReq

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
kindsarray<string>いいえOpenAPI に記載なし
statestringいいえActive, soft-deleted, or all objects.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
pageobjectいいえOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし

UnsV2MetadataFindResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいMetadataPage. スキーマの章で参照先のスキーマを確認してください。

UnsV2MetadataInsertOneReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idstringいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2MetadataInsertOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataPurgeReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idsarray<string>はいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2MetadataPurgeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2MetadataReplaceOneReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえSupported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2MetadataReplaceOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataRestoreReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2MetadataRestoreResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataTransactReq

フィールド型必須説明
operationsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2MetadataTransactResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataUpdateManyReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
updateobjectはいSupports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field.
atomicbooleanいいえThe entire batch commits atomically. Use bulkWrite to commit individual items.
maxDocsintegerいいえRejects the entire operation if the match limit is exceeded. The write set is never truncated.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2MetadataUpdateManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2MetadataUpdateOneReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
updateobjectはいSupports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field.
upsertbooleanいいえSupported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically.
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2MetadataUpdateOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2NamespaceCopyReq

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
dataobjectはいOpenAPI に記載なし
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2NamespaceCopyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2NamespaceDocumentedRequest

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし

UnsV2NamespaceQuery

フィールド型必須説明
queryIdstringはいIdentifier unique within this query batch, used to match results.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
kindsarray<string>いいえOpenAPI に記載なし
idsarray<string>いいえOpenAPI に記載なし
parentIdobjectいいえOpenAPI に記載なし
includeAncestorsbooleanいいえOpenAPI に記載なし
includeArchivedbooleanいいえOpenAPI に記載なし

UnsV2Page

フィールド型必須説明
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.

UnsV2PipelineAccumulator

$stdDevPop/$stdDevSamp compute the population/sample standard deviation of numeric values. $first/$last return the expression value from the first/last row of each group in pipeline order before grouping. When grouping Sample directly, rows are ordered by sample time, Record ID, and Sample ID. Use $sort first to specify a business order. Missing or null values return null.

{
  "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": {
        "$stdDevPop": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$stdDevPop"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$stdDevSamp": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$stdDevSamp"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$first": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$first"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$last": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$last"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$count": {
          "type": "object",
          "maxProperties": 0
        }
      },
      "required": [
        "$count"
      ]
    }
  ],
  "description": "$stdDevPop/$stdDevSamp compute the population/sample standard deviation of numeric values. $first/$last return the expression value from the first/last row of each group in pipeline order before grouping. When grouping Sample directly, rows are ordered by sample time, Record ID, and Sample ID. Use $sort first to specify a business order. Missing or null values return null."
}

UnsV2PipelineExpression

A $field path reference or scalar constant; $literal forces a constant. Arithmetic accepts only numbers; $divide returns null when the denominator is 0; $ifNull explicitly provides a default for missing/null values. $expr must produce a boolean; the $cond condition must be boolean and both branches must have compatible types. Conversion failures are errors; missing/null values propagate. $trim input/chars must both be string expressions; omitting chars trims whitespace. $dateTrunc input and output are Unix milliseconds; timezone is an IANA time zone; startOfWeek applies only to week. Maximum expression depth is 8 and maximum node count is 512. Each $concat intermediate result is limited to 1 MiB of UTF-8 bytes; exceeding this limit returns EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are not supported.

{
  "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": "Values greater than 1 support only fixed-duration UTC millisecond/second/minute/hour/day buckets aligned to the Unix epoch; 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": "A $field path reference or scalar constant; $literal forces a constant. Arithmetic accepts only numbers; $divide returns null when the denominator is 0; $ifNull explicitly provides a default for missing/null values. $expr must produce a boolean; the $cond condition must be boolean and both branches must have compatible types. Conversion failures are errors; missing/null values propagate. $trim input/chars must both be string expressions; omitting chars trims whitespace. $dateTrunc input and output are Unix milliseconds; timezone is an IANA time zone; startOfWeek applies only to week. Maximum expression depth is 8 and maximum node count is 512. Each $concat intermediate result is limited to 1 MiB of UTF-8 bytes; exceeding this limit returns EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are not supported."
}

UnsV2PipelinePage

フィールド型必須説明
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
modestringいいえPipelines containing only $match/$sort default to cursor (keyset) pagination. Other pipelines default to offset and do not support cursor.
pageintegerいいえPage number, starting at 1.
cursorstringいいえSigned keyset token preserving complete sort values and unique identity. Bound to the query, Collection, Schema/revisions and caller, valid for 7 days. Restart after changing identity, Schema or signing key. Does not freeze a snapshot across requests.

UnsV2PipelineSort

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."
}

UnsV2PipelineStage

Each stage must contain exactly one operator; stages execute in order. $lookup performs an equality join first, then runs its pipeline, returning an array. Each target collection is authorized separately.

{
  "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 such as field, with references written as $field. Inclusion and exclusion cannot be mixed, except for _id."
        }
      },
      "required": [
        "$project"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$set": {
          "type": "object",
          "minProperties": 1,
          "maxProperties": 64,
          "additionalProperties": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "description": "Adds or replaces computed fields, supports nested paths, and accepts only allowlisted 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 specifies a single value, null, or an object as the grouping key. Supports $sum/$avg/$min/$max/$count/$stdDevPop/$stdDevSamp/$first/$last, which can be combined in one grouping stage."
        }
      },
      "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, with the join scope restricted to that Record; records prohibits recordId. foreignField requires a ready B-tree index with that field as its leading field, or an applicable built-in identity index. The primary input is limited to 1000 rows, raw joined rows to 10000 per input row, stage intermediate results to 8 MiB, and each final joined array to 200 items. Exceeding a limit causes an explicit failure, without silent truncation; the subpipeline can 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": "A valid top-level output field name, following the unified path escaping and reserved-name rules. Outputs one row containing a count; empty input returns 0. Explicit page is prohibited when this is the last stage; if more stages follow, normal pagination applies to the final result."
        }
      },
      "required": [
        "$count"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$exists": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "description": "A valid top-level output field name, following the unified path escaping and reserved-name rules. Outputs one row containing a boolean indicating whether the current stage has any input rows; empty input returns false. Explicit page is prohibited when this is the last stage; if more stages follow, normal pagination applies to the final result."
        }
      },
      "required": [
        "$exists"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$unionWith": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "collectionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "pipeline": {
              "type": "array",
              "maxItems": 32,
              "items": {
                "$ref": "#/components/schemas/UnsV2PipelineStage"
              }
            }
          },
          "required": [
            "collectionId"
          ],
          "description": "Appends the target collection's records subpipeline results to the current results, retaining duplicates, with PostgreSQL UNION ALL semantics. A subsequent $group can deduplicate; $sort/$skip/$limit/$count apply to the entire combined result. Each target collection is checked independently against existing read permissions. Branches share the current read-only snapshot and the limits of 32 stages per branch, 64 stages in total, 4 nesting levels, and query/response budgets. Fields with the same name must have compatible types; project and convert them first if needed. Targets support only records, do not accept kind/recordId, and do not promise full MongoDB compatibility."
        }
      },
      "required": [
        "$unionWith"
      ]
    }
  ],
  "description": "Each stage must contain exactly one operator; stages execute in order. $lookup performs an equality join first, then runs its pipeline, returning an array. Each target collection is authorized separately."
}

UnsV2QueryCountExpectation

フィールド型必須説明
minintegerいいえOpenAPI に記載なし
maxintegerいいえOpenAPI に記載なし

UnsV2RecordAggregatePipelineReqBody

フィールド型必須説明
pipelinearray<object>はいOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。
countobjectいいえOpenAPI に記載なし

UnsV2RecordAggregatePipelineResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudDataPage. スキーマの章で参照先のスキーマを確認してください。

UnsV2RecordBulkWriteReqBody

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
operationsarray<object>はいOpenAPI に記載なし
orderedbooleanいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically, with up to 200 items for document actions. false commits each document separately.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし

UnsV2RecordBulkWriteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordChange

フィールド型必須説明
updateobjectいいえupdate document, mutually exclusive with legacy operations.
arrayFiltersarray<object>いいえOpenAPI に記載なし
upsertbooleanいいえWhen true, filter must contain an _id equality condition or equality conditions covering all fields of a ready unique index; otherwise, returns UPSERT_REQUIRES_UNIQUE_INDEX. Inserts if no record matches; a uniqueness conflict returns 409 DUPLICATE_KEY.
opIdstringはいOperation identifier unique within this transaction, used for dependencies and result references.
actionstringはいOpenAPI に記載なし
kindstringいいえOpenAPI に記載なし
idobjectいいえObject ID (string), obtained from a discovery or read endpoint; do not use a name as an ID. Existing record actions select exactly one record using filter, an explicit id, or an id result binding. Static id and id binding cannot coexist. When id and filter are both supplied they must match the same record. record.query has no id. Creation may omit id for server allocation.
collectionIdobjectいいえUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
recordIdobjectいいえUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
streamIdobjectいいえUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dataobjectいいえOpenAPI に記載なし
dependsOnarray<string>いいえopId values that must complete first; the server checks for dependency cycles.
managedByobjectいいえUnsV2ManagedBy. スキーマの章で参照先のスキーマを確認してください。
timeintegerいいえBusiness sample time, in Unix milliseconds; this is not the server receipt time.
qualitystringいいえOpenAPI に記載なし
existsbooleanいいえOpenAPI に記載なし
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
selectionstringいいえOnly for record.update/modify/replace. first selects the first record according to sort and rechecks it under the transaction lock. By default, matching multiple records is an error.
sortobjectいいえOnly for selection=first. The server appends ascending _id order to ensure stable ordering when values are equal.
returnDocumentstringいいえOnly for record.update/modify/replace; returns results[].document. If omitted, preserves the original receipt without returning a document.
operationsarray<object>いいえOpenAPI に記載なし
bindingsarray<object>いいえBinds a previous operation's result to a specified field of this operation; does not evaluate string templates or arbitrary code.
queryobjectいいえUnsV2TransactionQuery. スキーマの章で参照先のスキーマを確認してください。
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし

UnsV2RecordCountReqBody

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
maxCountintegerいいえOpenAPI に記載なし

UnsV2RecordCountResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordDeleteManyReqBody

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
maxDocsintegerいいえDefault 1000; atomic requests default to 200.
resumeAfterstringいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately.
orderedbooleanいいえOpenAPI に記載なし
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし

UnsV2RecordDeleteManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordDeleteOneReqBody

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2RecordDeleteOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordExplainReqBody

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
opstringいいえOpenAPI に記載なし
limitintegerいいえFor scope evaluation, the default is 1000 and the maximum is 10000. For aggregate, the default is 20 and the maximum is 200.
pipelinearray<object>いいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。

UnsV2RecordExplainResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordFindReqBody

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
limitintegerいいえOpenAPI に記載なし
cursorstringいいえOpenAPI に記載なし
countobjectいいえOpenAPI に記載なし

UnsV2RecordFindResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudRecordPage. スキーマの章で参照先のスキーマを確認してください。

UnsV2RecordGetReqBody

Provide at least one unique ID. items follows the request order. missing covers nonexistent, deleted, and inaccessible records. The projected response is limited to 8 MiB. If it exceeds the limit, the server returns 413 RESPONSE_TOO_LARGE. Reduce ids or the number of projection fields.

フィールド型必須説明
idsarray<string>はいOpenAPI に記載なし
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2RecordGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordInsertOneReqBody

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringいいえObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
dataobjectはいOpenAPI に記載なし
returnDocumentstringいいえnone returns the original insertedId response. after includes the created value in the same write transaction and requires the corresponding read permission. Idempotent replays return the original creation snapshot. dryRun returns an uncommitted preview.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2RecordInsertOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordLockReqBody

In ids mode, the operation succeeds or fails for all IDs together. In filter mode, it claims available Records in sort order. Expired leases are invalid, and reads are unaffected.

フィールド型必須説明
idsarray<string>いいえOpenAPI に記載なし
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
limitintegerいいえOpenAPI に記載なし
ttlMsintegerいいえOpenAPI に記載なし
labelstringいいえOpenAPI に記載なし

UnsV2RecordLockResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordQueryBatchReq

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし

UnsV2RecordQueryBatchResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordRenewReqBody

フィールド型必須説明
locksarray<object>はいOpenAPI に記載なし
ttlMsintegerいいえOpenAPI に記載なし

UnsV2RecordRenewResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordReplaceOneReqBody

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえInserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2RecordReplaceOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordRestoreReqBody

Atomically restores up to 100 IDs. The operation revalidates the current Schema and unique indexes for active Records. A conflict rolls back the entire batch. Restoration increments the Record revision without rewriting Sample history.

フィールド型必須説明
idsarray<string>はいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえOpenAPI に記載なし

UnsV2RecordRestoreResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordSubscribeResponse

SSE change frames contain RecordChangeEvent identity and revision only. heartbeat frames carry the safe cursor as id and {at}; reset frames carry {reason,message} without an id. Resume with Last-Event-ID. Re-read Records after change notifications.

{
  "type": "string",
  "description": "SSE change frames contain RecordChangeEvent identity and revision only. heartbeat frames carry the safe cursor as id and {at}; reset frames carry {reason,message} without an id. Resume with Last-Event-ID. Re-read Records after change notifications."
}

UnsV2RecordTransactionExecuteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2RecordTransactionReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし

UnsV2RecordUnlockReqBody

Regular release requires a matching holder and token. Setting force=true to force a release requires additional management permission.

フィールド型必須説明
locksarray<object>いいえOpenAPI に記載なし
idsarray<string>いいえOpenAPI に記載なし
forcebooleanいいえOpenAPI に記載なし

UnsV2RecordUnlockResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordUpdateManyAtomicReq

フィールド型必須説明
collectionIdstringはいCollection ID owning the business Records and Samples.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
updateobjectはい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.
arrayFiltersarray<object>いいえOpenAPI に記載なし
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.

UnsV2RecordUpdateManyAtomicResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordUpdateManyReqBody

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
updateobjectはい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.
arrayFiltersarray<object>いいえOpenAPI に記載なし
maxDocsintegerいいえDefault 1000; atomic requests default to 200.
resumeAfterstringいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately.
orderedbooleanいいえOpenAPI に記載なし
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし

UnsV2RecordUpdateManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2RecordUpdateOneReqBody

フィールド型必須説明
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
updateobjectはい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.
arrayFiltersarray<object>いいえOpenAPI に記載なし
upsertbooleanいいえInserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.

UnsV2RecordUpdateOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2ReferencesDocumentedRequest

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし

UnsV2ReferencesQuery

フィールド型必須説明
queryIdstringはいIdentifier unique within this query batch, used to match results.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
targetsarray<object>いいえOpenAPI に記載なし
relationKindsarray<string>いいえOpenAPI に記載なし

UnsV2ReferenceTarget

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.

UnsV2ResultBinding

フィールド型必須説明
pathstringはいA data.field DTO path, operations.N.value, or a JSON Pointer beginning with filter/ (for example filter/available/$gte or filter/_id/$eq). Filter pointers may replace only existing scalar/null placeholders, never predicate structure. id may bind a Record identity returned by a query in the same Collection.
refstringはいOpenAPI に記載なし
resultPathstringはい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.
formatstringいいえFormat a transactionTime result as an ISO 8601 timestamp.
jsonPathstringいいえJSON Pointer to an existing scalar inside a JSON object stored as a string.

UnsV2SampleAggregateReqBody

recordIds accepts multiple Record IDs. If omitted, queries the authorized scope in the current Collection. filter and pipeline cannot expand the requested time range or Record scope. Results share one pagination sequence. series accepts one $group stage with _id.recordId:"$_meta.recordId", plus optional $match and $sort stages. limit or page.size counts Record IDs. The 8 MiB per-response budget still applies.

フィールド型必須説明
recordIdsarray<string>いいえIn rows mode, accepts up to 20 IDs. Omission uses the authorized scope. In series mode, IDs are required and are paginated in request order.
fromintegerはいInclusive start time in Unix milliseconds.
tointegerはいExclusive end time in Unix milliseconds. Must be greater than from.
pipelinearray<object>はいOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。
resultFormatstringいいえrows returns a list of aggregation documents. series paginates the supplied Record IDs. Each outer item is {recordId, items}, with an empty items array if no Samples match.

UnsV2SampleAggregateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudDataPage. スキーマの章で参照先のスキーマを確認してください。

UnsV2SampleAppendReqBody

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2SampleAppendResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2SampleDeleteExactReqBody

フィールド型必須説明
samplesarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえOpenAPI に記載なし
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.

UnsV2SampleDeleteExactResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SampleDeleteRangeReqBody

Permanently deletes Samples for the specified recordIds within [from, to). Requires delete permission. dryRun returns the expected deletion count. Parent Records are retained.

フィールド型必須説明
recordIdsarray<string>はいList of Record IDs, with no Collection IDs.
fromintegerはいTime range start, Unix milliseconds.
tointegerはいTime range end, Unix milliseconds.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.

UnsV2SampleDeleteRangeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SampleFindReqBody

recordIds accepts multiple Record IDs. If omitted, queries the authorized scope in the current Collection. filter and pipeline cannot expand the requested time range or Record scope. Results share one pagination sequence.

フィールド型必須説明
recordIdsarray<string>いいえOpenAPI に記載なし
fromintegerはいInclusive start time in Unix milliseconds.
tointegerはいExclusive end time in Unix milliseconds. Must be greater than from.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
limitintegerいいえOpenAPI に記載なし
cursorstringいいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。

UnsV2SampleFindResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudSamplePage. スキーマの章で参照先のスキーマを確認してください。

UnsV2SampleLatestValuesReqBody

recordIds is required and must contain at least one ID with no duplicates. Returns the latest stored Sample for each Record in request order, or null when a Record has no Sample.

フィールド型必須説明
recordIdsarray<string>はいOpenAPI に記載なし

UnsV2SampleLatestValuesResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SelectedRecord

フィールド型必須説明
recordIdstringはいBusiness Record ID owning the Sample.
historyobjectいいえUnsV2History. スキーマの章で参照先のスキーマを確認してください。

UnsV2SourceCredentialsListReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.

UnsV2SourceCredentialsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2SourceDevicesListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceDiscoverResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2SourceDocumentCreateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceDocumentDeleteReq

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
confirmedImpactRevisionstringいいえ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.

UnsV2SourceDocumentDeleteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceDocumentGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceDocumentListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceDocumentStateUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceDocumentUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceHistoryReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
beforeRevisionintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし

UnsV2SourceHistoryResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceImpactResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceNativeCredentialsUpdateReq

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idempotencyKeystringはいUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
credentialsobjectはいSourceCredentials. スキーマの章で参照先のスキーマを確認してください。
confirmedImpactRevisionstringいいえ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.

UnsV2SourceNativeCredentialsUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceNativeOAuthCompleteReq

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
statestringはいOpenAPI に記載なし
codestringはいOpenAPI に記載なし

UnsV2SourceNativeOAuthCompleteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceNativeOAuthStartReq

フィールド型必須説明
dryRunbooleanいいえtrue validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected.
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
redirectUristringはいOpenAPI に記載なし

UnsV2SourceNativeOAuthStartResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceObservationsGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceOpcuaEndpointsReq

フィールド型必須説明
endpointstringはいOpenAPI に記載なし

UnsV2SourceOpcuaEndpointsResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceOpcuaPointsDiscoverReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerはいExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly.
parentResourceRefstringいいえOpenAPI に記載なし
resourceRefsarray<string>いいえOpenAPI に記載なし

UnsV2SourceOpcuaPointsDiscoverResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceProbeReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
timeoutMsintegerはいOpenAPI に記載なし
modestringいいえconnection performs a bounded lightweight check; data explicitly validates a configured readable resource without writing business data. Only enabled Sources are periodically checked every 10 minutes on their owning runtime. Cloud never schedules checks for Edge references. Data checks never replace connection health.

UnsV2SourceProbeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExecuted checks return SourceCheckResult fields; dryRun returns validated:true and sideEffects:false without performing a check.

UnsV2SourceProtocolsListReq

{
  "type": "object",
  "additionalProperties": false,
  "properties": {},
  "required": []
}

UnsV2SourceProtocolsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2SourceReplaceReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいSourceData. スキーマの章で参照先のスキーマを確認してください。
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2SourceReplaceResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceResourceCatalogResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceResourceReadResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceResourceScanResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceRuntimeGetReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.

UnsV2SourceRuntimeGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2SourceRuntimeReadReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
configRevisionintegerはいOpenAPI に記載なし
rangeobjectはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし

UnsV2SourceRuntimeReadResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2SourceValidateReq

フィールド型必須説明
documentobjectはいSourceDefinition. スキーマの章で参照先のスキーマを確認してください。

UnsV2SourceValidateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamCreateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2StreamCreateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2StreamDocumentCreateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamDocumentDisableResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamDocumentGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamDocumentUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamDocumentValidateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamDraftUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2StreamDraftUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2StreamGetReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.

UnsV2StreamGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamListReq

フィールド型必須説明
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
archivedbooleanいいえtrue lists archived objects only; false lists active objects only.

UnsV2StreamListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamObservationGetReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.

UnsV2StreamObservationGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamProgramDeleteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamProgramDeployReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object.
expectedSourceRevisionintegerいいえOpenAPI に記載なし
expectedReleaseStatestringいいえCloud extension: require inactive state; mutually exclusive with expectedActiveVersion.
expectedActiveVersionstringいいえAuthoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence.

UnsV2StreamProgramDeployResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamProgramInvokeReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedActiveVersionstringはいOpenAPI に記載なし
entryIdstringいいえOpenAPI に記載なし
inputobjectはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし

UnsV2StreamProgramInvokeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamProgramListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamProgramRollbackReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
expectedRevisionintegerいいえExpected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object.
expectedSourceRevisionintegerいいえOpenAPI に記載なし
versionIdstringはいOpenAPI に記載なし
expectedReleaseStatestringいいえCloud extension: require inactive state; mutually exclusive with expectedActiveVersion.
expectedActiveVersionstringいいえAuthoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence.

UnsV2StreamProgramRollbackResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamProgramRunsGetReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
runIdstringはいOpenAPI に記載なし

UnsV2StreamProgramRunsGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamProgramRunsListReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
statusstringいいえOpenAPI に記載なし

UnsV2StreamProgramRunsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamProgramTestReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanいいえtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
documentobjectはいRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
inputobjectはいRuntimeProgramTestInput. スキーマの章で参照先のスキーマを確認してください。
phasestringはいOpenAPI に記載なし
entryIdstringいいえOpenAPI に記載なし
expectedSourceRevisionintegerいいえOpenAPI に記載なし

UnsV2StreamProgramTestResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamProgramVersionsListReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.

UnsV2StreamProgramVersionsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいExisting Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects.

UnsV2StreamPublishReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2StreamPublishResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2StreamReleasesGetReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
releaseintegerはいOpenAPI に記載なし

UnsV2StreamReleasesGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamReleasesListReq

フィールド型必須説明
idstringはいObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.

UnsV2StreamReleasesListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamReleasesRestoreReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2StreamReleasesRestoreResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2StreamReplaceReq

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs.
replacementobjectはいStreamData. スキーマの章で参照先のスキーマを確認してください。
dryRunbooleanいいえValidates the operation and rolls it back without reserving resources.
idempotencyKeystringいいえReuse this key when retrying the same intended write. Use a new key if the request content changes.

UnsV2StreamReplaceResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamRequestGrantGetReq

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし

UnsV2StreamRequestGrantGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいAppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。

UnsV2StreamRequestGrantSetReq

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし
activeintegerはいOpenAPI に記載なし
actionsarray<string>いいえOpenAPI に記載なし
expectedSnapshotTokenstringいいえOpenAPI に記載なし
expectedCodeRevisionintegerいいえOpenAPI に記載なし
expectedBindingDigeststringいいえOpenAPI に記載なし
targetRevisionsarray<object>いいえOpenAPI に記載なし

UnsV2StreamRequestGrantSetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいAppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。

UnsV2StreamRunGetReq

フィールド型必須説明
runIdstringはいOpenAPI に記載なし

UnsV2StreamRunGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamRunsListReq

フィールド型必須説明
idstringいいえObject ID string obtained from discovery or a read operation. Do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえItems per page; the maximum is declared by this operation's maximum constraint or the capability catalog.
searchstringいいえSearch by name or supported text fields; not SQL.
cursorstringいいえOpaque creation-time/id continuation bound; retain the same id and native filters. Mutually exclusive with page when nonempty.
statusstringいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
topicIdstringいいえOpenAPI に記載なし
modelstringいいえOpenAPI に記載なし

UnsV2StreamRunsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamSampleTestReq

フィールド型必須説明
documentobjectはいCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
entryIdstringはいOpenAPI に記載なし
inputobjectはいOpenAPI に記載なし

UnsV2StreamSampleTestResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

UnsV2StreamUpdateReq

フィールド型必須説明
idempotencyKeystringいいえUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route.
dryRunbooleanはいtrue validates only, without committing or reserving resources. Execution rechecks all conditions.
allowPartialbooleanいいえSupported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし

UnsV2StreamUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOutcome. スキーマの章で参照先のスキーマを確認してください。

UnsV2TimeRange

フィールド型必須説明
fromintegerはいTime range start, Unix milliseconds.
tointegerはいTime range end, Unix milliseconds.

UnsV2TopicsDocumentedRequest

フィールド型必須説明
queriesarray<object>はいOpenAPI に記載なし

UnsV2TopicsQuery

フィールド型必須説明
queryIdstringはいIdentifier unique within this query batch, used to match results.
topicIdstringいいえOpenAPI に記載なし
includearray<string>いいえOpenAPI に記載なし
recordsobjectいいえUnsV2Page. スキーマの章で参照先のスキーマを確認してください。
selectedRecordobjectいいえUnsV2SelectedRecord. スキーマの章で参照先のスキーマを確認してください。

UnsV2TransactionQuery

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
limitintegerいいえReturned row limit; omitted or 0 means 20. Count assertions apply before this limit.
expectCountobjectいいえUnsV2QueryCountExpectation. スキーマの章で参照先のスキーマを確認してください。

UnsV2TransactionStatusReq

フィールド型必須説明
scopestringいいえOpenAPI に記載なし
idempotencyKeystringはいUnique key for this business intent. Reuse it for identical retries; never reuse it for a different request.

UnsV2TransactionStatusResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいTransactionStatusResult. スキーマの章で参照先のスキーマを確認してください。

WMSMapping

フィールド型必須説明
fieldsarray<string>はいOpenAPI に記載なし
keyColumnstringはいOpenAPI に記載なし
tablestringはいOpenAPI に記載なし
updatedAtstringいいえOpenAPI に記載なし

WriteDelivery

フィールド型必須説明
centerCommittedbooleanはいOpenAPI に記載なし
eventIdsarray<string>いいえOpenAPI に記載なし
failedintegerはいOpenAPI に記載なし
localCommittedbooleanはいOpenAPI に記載なし
pendingintegerはいOpenAPI に記載なし
statestringはいOpenAPI に記載なし