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 の使い方

アプリの構築

AI との対話でカスタム産業アプリを構築します。

AI との対話でカスタム産業アプリを構築します。アプリは工場データを利用でき、ロールによるアクセス制御、バージョン管理、外部へのデプロイ機能を備えます。

  • フォルダーはアプリの分類にのみ使用します。
  • プロンプトに応じてテンプレートが自動的に選ばれ、開発時間を短縮します。
  • 設備管理、生産監視、エネルギー管理などの一般的な産業アプリにはテンプレートプロンプトがあります。

アプリの目的、機能、外部データが必要かどうかを示します。

  • アプリの目的:何のためのアプリですか?
Terminal window
工場技術者向けの設備保全アプリを作成してください。
  • アプリの機能:何を行うアプリですか?
Terminal window
設備の状態監視、保全依頼、修理状況の追跡を可能にしてください。
  • アプリのデータ:外部データが必要ですか?
Terminal window
xxx table のアラーム記録と保全履歴を使ってください。

アプリはロールベースアクセス制御(RBAC)でメンバーのアクセスと操作を管理します。

  • 明示されない場合、Agent が業務ロジックからロールを生成します。責務が合う既存ロールも再利用できます。
  • アプリのロールは Workspace メンバーにのみ割り当てられます。
  • ロール不要とプロンプトで明示したアプリは、すべてのメンバーに開放されます。
  • 未公開: アプリの最新状態。デプロイ前の変更は他のバージョンに影響しません。
  • スナップショット: 保存時点の状態。デプロイすると現在の公開バージョンに代わります。
  • 公開済み: 現在オンラインのバージョン。

完成したアプリは Preview ページから外部環境や Tier0 Enterprise 向けにエクスポートできます。

  • ソースコードをダウンロード: 二次開発向け。
  • Bundle をエクスポート: Tier0 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 の使い方

Digital Twin を構築する

ライブ UNS データを 3D モデルにバインドし、完全な工場シーンとして組み立てて Digital Twin 可視化を行います。

Tier0 に接続された工場データは、リアルな動きと環境を持つ Digital Twin として可視化できます。流れは、データを 3D モデルへマッピングし、その後モデルを組み合わせて完全な工場シーンを構築する形です。

データを 3D モデルにマッピングする

Section titled “データを 3D モデルにマッピングする”
  1. Model にモデルをアップロードしたあと、UNS データでリアルタイム動作を制御するノードを選択します。
  2. 同じモデルに異なる UNS データを持つインスタンスを追加し、複数の機械をシミュレートします。
  3. データをモデルにバインドし、Preview でデータの変化に合わせて移動や回転が行われるか確認します。
    • Position: モデルは選択した座標方向へ移動します。
    • Rotation: モデルは座標の原点を中心に回転します。
  4. Data Tagging を使用して、静的情報表示用のタグを追加します。
  1. Instance Library から、シーン内に存在すべきインスタンスを追加します。
  2. 上部のツールを使ってモデルを移動、拡大縮小、回転させ、シーンに合わせます。視点と座標位置も調整できます。
  3. 右側の Object でモデル位置を確認できます。ここにはバインドされた UNS データが表示されます。
  4. ビューポートとライティングは環境の詳細を調整するために使用します。

共有できるのはインスタンスのみで、モデル単位またはシーン単位で共有できます。

  • Share Model: リアルタイム UNS データ付きのモデルを表示する Tier0 プラットフォームリンクを生成します。
  • Share Scene: リアルタイム UNS データと環境設定を含むモデルおよびシーンを表示する Tier0 プラットフォームリンクを生成します。
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 が工場データを整理、提供する方法を確認します。

ベストプラクティス

RBAC アクセス制御

Tier0 は、ワークスペースのシートでプラットフォーム機能を、ビジネスロールでアプリ内のアクセスを制御する、2 層のロールベースアクセス制御(RBAC)を使用します。

メンバーのシートは Builder と Operator の 2 種類です。

種類 権限
オーナー ワークスペースの全機能を使用でき、請求、全メンバー、所有権の譲渡、ワークスペースの削除を単独で管理します。
Builder オーナー専用機能を除くすべてのワークスペース機能を使用できます。
Operator アクセス権のあるアプリを使用します。
  • ワークスペースへの招待時にメンバーのシートを設定します。
  • 既存メンバーのシートは Settings > Member で変更できます。
  • アプリのロールは業務ロジックに基づいて自動生成されます。
  • プロンプトでロールが不要と明示した場合は生成されません。
  • Agent は確認を得てから、他のアプリで同様の責務を持つ既存ロールを再利用できます。
  • ロールはメンバーまたはメンバーグループに割り当てられます。
  • メンバーは複数のグループに所属し、直接割り当てとグループからの継承によって複数のロールを持てます。
  • 別の割り当てが残っている場合、1 つの割り当てを削除してもロールは取り消されません。
  • ロールを持つメンバーは、そのロールを使用するすべてのアプリにアクセスできますが、許可された部分に限られます。
  • ワークスペースのシートはビジネスロールに影響しません。Builder でもアプリへのアクセス権は自動的に付与されません。
  • アプリ生成中のロールのプレビューは開発用です。
  • ロールのないアプリは、ワークスペースのすべての有効なメンバーが利用できます。
ベストプラクティス

ユーザー管理

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 ヘッダー以上待ちます。
  • バッチの一部がコミットされた場合、成功項目を確認してから残りを送信します。結果不明で安全な再試行が確認できない場合は、再送前に書き込みの反映を確認します。
リファレンス

組み込み Builder Skills

Tier0 Builder に組み込まれた AI Skills のリファレンス。

Tier0 Builder Skills リポジトリの feature/cloud-new-architecture-migration ブランチには現在、要件、アプリ構築、プラットフォーム整合、ブラウザー機能、レスポンシブ設計、プレビュー障害に対応する 6 つの Skill があります。

産業向けアプリの要件定義の入口です。依頼から SRS を作成し、PRD を変換し、既存の SRS を改訂します。業務上の役割、ワークフロー、状態、検証、例外を整理し、初回リリースの範囲を定め、既定で specs/spec.md に保存します。要件だけが求められた場合や確認が必要な場合を除き、新規アプリは app-builder に引き継ぎます。

Terminal window
$app-srs を使って自動車部品工場の品質異常管理システムを設計してください。

要件または specs/spec.md から動作する初回アプリを構築するか、既存アプリに大きな業務機能を追加します。必要なら先に app-srs で SRS を作成します。通常のフィールド、文言、スタイル、局所的な UI 修正には完全な Builder ワークフローは不要です。

機能の入口と操作経路、実データと状態変更、検証とロール権限、ビルド・プレビュー・対話操作を確認します。適切な一覧ページでは対象スキャフォールドの MetaListPage を実際のサービスと権限に接続します。

Terminal window
$app-builder を使って specs/spec.md から初回バージョンを構築してください。

インポートしたアプリを Tier0 スキャフォールドへ移行するか、既存アプリを現在の契約に合わせます。古い Tier0 アプリ、独自 SQL データベースやブラウザー保存を使うアプリ、全面更新または限定的なプラットフォーム修正が必要なアプリが対象です。

クラウドアーキテクチャのスキャフォールドの正確なコミットと比較し、業務動作を保ちながらランタイム、ルーティング、Gateway ロール、プラットフォーム契約を合わせます。クラウドへの全面移行では、アプリ独自の永続レコードを @tier0/sdk-v2 で Tier0 UNS tables に移します。元のデータベースにある履歴レコードが必要なら、UNS 側へ別途インポートします。ビルドと実行時の動作を検証してから package.json にスキャフォールドのバージョンを記録します。

Terminal window
$align-platform-app を使い、業務コードを維持して最新の Tier0 スキャフォールドに合わせてください。

QR/バーコード読み取り、写真撮影、位置情報、録音、ファイル読み取り、クリップボードを扱います。対象デバイスに適したブラウザー API と代替手段を選び、安全なコンテキスト、権限、iframe/WebView の制約を確認します。キャンセルや失敗時にはフォーム入力を保持し、代替データがライブ取得と異なる場合はその違いを明示します。成功、拒否、再試行、後片付けを検証します。

Terminal window
$browser-platform-capabilities を使って点検フォームに写真撮影とファイルアップロードの代替手段を追加してください。

複雑なブレークポイント、連動する固定・スクロール領域、複数画面幅での監査とプレビューを扱います。単純なはみ出しや切れた操作部品は直接修正できます。audit は既存レイアウトの監査と修正、build は新規構築、preview は複数幅のライブプレビューです。

Terminal window
$responsive-craft audit を使ってダッシュボードのモバイルレイアウトを修正してください。
Terminal window
$responsive-craft preview で 375、768、1024、1440 px を表示してください。

管理されたプレビューのインストール、起動、準備状態、ロール、ポート、HMR の障害を診断します。業務機能は構築しません。依存関係・ロックファイルのエラー(npm ERESOLVE を含む)、Vite/TanStack Start の起動、5173 の競合、/api/health、プレビューのロール、artifact.toml、HMR の全ページ再読み込みなどが対象です。最初の関連エラーを読み、確認できた原因を修正し、必要な場合だけ再起動して、元の障害、ヘルスチェック、対象ルートを検証します。

Terminal window
$preview-runtime-stability を使って「Preview loading timed out」を調査してください。
  • 要件の作成・改訂:app-srs。新規アプリは通常 app-builder に引き継ぎます。
  • 初回リリース・大きな業務機能追加:app-builder。
  • 移行・スキャフォールド整合:align-platform-app。
  • 6 種類のブラウザー機能:browser-platform-capabilities。
  • 複雑なレスポンシブ設計:responsive-craft。管理されたプレビューの障害:preview-runtime-stability。
リファレンス

Tier0 Cloud のネットワークとデータのセキュリティに関する説明

Tier0 Cloud の本番 SaaS サービスにおけるネットワーク境界、テナント分離、データ保護、セキュリティ運用について説明します。

適用範囲: AWS シンガポールリージョンにデプロイされた Tier0 Cloud の本番 SaaS サービス。
文書日付: 2026 年 10 月 22 日

Tier0 Cloud は、ネットワークアクセス制御、テナント分離、ID とアクセスの管理、データ暗号化、バックアップと復旧によって、ネットワーク攻撃や不正アクセスのリスクを低減します。本書では、プラットフォームのセキュリティ対策と、セキュリティインシデントが他のテナント、プラットフォーム内部のサービス、お客様のネットワークへ波及することを抑える制御の境界について説明します。

1 ネットワーク境界とアクセス制御

Section titled “1 ネットワーク境界とアクセス制御”

Tier0 Cloud の公開 Web および API へのアクセスは TLS で暗号化され、統一されたエッジ入口とアプリケーションゲートウェイを経由します。主要サービスの入口ではオリジンへのアクセスを検証し、検証要件を満たさない直接アクセスを拒否することで、エッジ入口を迂回したオリジンへのアクセスリスクを低減します。

本番環境は、クラウドアカウント、ネットワーク、クラスター、データベースの各層で開発環境およびステージング環境から分離され、アクセス認証情報も個別に管理されます。本番環境への管理アクセスには、認証済みの専用ネットワーク経路を使用します。

2 テナント分離とインシデントの波及防止

Section titled “2 テナント分離とインシデントの波及防止”

テナントのワークロードは個別の Kubernetes 名前空間で実行され、専用ノードプールとスケジューリング制約によって、プラットフォームのサービスおよび管理コンポーネントから分離されます。この仕組みは、テナントのアプリケーションとプラットフォームのコンポーネントが直接接触する範囲を制限し、あるアプリケーションでセキュリティインシデントが発生した場合の他のサービスへの影響を低減します。

テナントの名前空間に対する受信・送信通信には、デフォルトで拒否し、明示的なルールでのみ許可するネットワークポリシーを適用します。プラットフォームがポリシーを自動的に設定・同期し、クラスターのネットワークコンポーネントが適用します。

受信通信は、同一テナントのワークロードと、必要な業務機能を担うプラットフォームサービスからの通信に限定されます。送信通信は、クラスター内の DNS 名前解決、同一テナントのサービス、指定されたプラットフォームゲートウェイ、メッセージングサービス、割り当てられたデータベースエンドポイントに対して、ルールに従って許可されます。パブリックインターネットへのアクセスもネットワークポリシーの制約を受けます。明示的に許可された業務上の依存先を除き、プライベートネットワークアドレスへのアクセスを制限し、クラウドインスタンスのメタデータアドレスへの直接アクセスを遮断します。

これらの対策は、許可されていないテナント間接続や、テナントのワークロードからプラットフォーム内部ネットワークへのラテラルムーブメントを制限します。あるテナントのアプリケーションでセキュリティインシデントが発生しても、それだけで他のテナントやプラットフォームの管理コンポーネントへのアクセス権限が付与されることはありません。許可済みの業務接続にも、対応するネットワークルールと ID・アクセス制御が適用されます。

テナントのアプリケーションデータは、データベース層で論理的に分離されます。個別のデータベース単位が割り当てられる場合は、ネットワークアクセスルールによって接続元も制限されます。

プラットフォームはサービスの役割に応じてアクセス権限を設定し、各ワークロードがアクセスできるリソースを必要な機能の範囲に限定します。ネットワーク分離と ID に基づく認可を組み合わせることで、影響を受けたワークロードがアクセスできるリソースの範囲を制限します。

2.4 お客様のネットワークへの接続境界

Section titled “2.4 お客様のネットワークへの接続境界”

本節のテナント分離対策は、Tier0 Cloud のプラットフォーム内部に適用されます。お客様がコネクター、ゲートウェイ、その他の連携方式で内部システムを接続する場合、お客様のネットワークへのアクセス境界は、実際の接続方式、ルーティング、ファイアウォールルール、使用する認証情報に付与された権限にも依存します。

接続時には、業務に必要な宛先アドレス、ポート、アカウント権限だけを許可し、接続コンポーネントと他の内部システムをネットワーク上で分離してください。プラットフォーム内部の分離は、お客様側のネットワークアクセス制御を代替するものではありません。双方が具体的な接続構成に基づいてアクセス範囲を決定・検証し、許可済みの接続を経由して他の内部システムへ影響が波及するリスクを抑える必要があります。

プラットフォームは、データの転送、保存、アクセスに対して次の保護対策を実施します。

  • 公開 Web および API の通信と、マネージドデータベースおよびキャッシュへのアクセスに TLS 暗号化を使用します。
  • マネージドデータベース、キャッシュ、オブジェクトストレージでは保存時の暗号化を有効にします。
  • オブジェクトストレージではパブリックアクセスをブロックし、暗号化要件、HTTPS 接続要件、リソース権限によってデータアクセスを制限します。
  • テナントデータへのアクセスには、データベース分離と ID・アクセス制御の両方を適用します。

Tier0 Cloud は、本番データベースと、バックアップ対象に含まれるサービス単位のデータベースをバックアップします。バックアップデータはアクセスが制限された専用のオブジェクトストレージに保存され、対応する保持ポリシーに従って管理されます。

バックアップジョブには専用の ID を使用し、指定された保存先で必要な読み取り・書き込み操作だけを許可します。バックアップオブジェクトの削除権限は付与しません。保持期限が切れたバックアップはストレージのライフサイクルルールで削除し、バックアップ用の認証情報が漏えいした場合に復旧用データが削除されるリスクを低減します。

バックアップ完了後は整合性を確認し、分離された環境でのリストア検証によってバックアップが利用可能であることを確認します。アプリケーション設定はバージョン管理し、ビルド成果物は非公開のコンテナーイメージレジストリに保存することで、サービスの復旧とバージョンのロールバックを支援します。

5 管理アクセスと本番環境の変更

Section titled “5 管理アクセスと本番環境の変更”

本番環境への管理アクセスには、個人ごとに割り当てられた ID を使用し、最小権限の原則に従って権限を付与します。機密性の高い操作を行うコンソールの ID には、多要素認証を必須とします。

日常点検には、ワークロードの状態、ログ、イベントを参照できる制限付きの読み取り専用 ID を使用します。この ID では、機密性の高い認証情報の読み取り、リソースの変更、リモートコマンドの実行はできません。本番環境の変更には、個別に認可された ID と手順を使用します。

インフラストラクチャ設定、デプロイマニフェスト、運用スクリプトはバージョン管理します。本番環境の変更では、目的、影響範囲、検証手順、ロールバック計画を明確にし、実行者の ID、設定差分、検証結果を記録して、追跡と復旧を可能にします。

6 監視とセキュリティインシデント対応

Section titled “6 監視とセキュリティインシデント対応”

プラットフォームは、本番環境の稼働メトリクス、ログ、健全性情報を集約し、異常アラートを運用対応チャネルへ送信します。監視対象には、サービスの可用性、エラー率、データベースの健全性、証明書の有効期限、バックアップジョブの状態、クラスターの稼働状態が含まれます。

セキュリティインシデントが発生した場合は、影響範囲の封じ込めを優先し、関連するログ、設定、発生から対応までの時系列記録を保全します。必要な隔離と調査を完了した後にサービスを復旧し、その後、振り返りと是正措置の進捗管理を行います。インシデント対応中の本番環境の変更も、所定の手順に従って認可・記録します。

7 セキュリティに関するお問い合わせ

Section titled “7 セキュリティに関するお問い合わせ”

セキュリティ評価、お客様によるデューデリジェンス、脆弱性の疑いについては、Tier0 の担当者またはセキュリティチームにお問い合わせください。非公開のアーキテクチャや制御の詳細は、適切な秘密保持の取り決めの下で提供できる場合があります。初回のお問い合わせには、アクセス認証情報、秘密鍵、お客様の機密データを含めないでください。

リファレンス

OpenAPI リファレンス付録

Tier0 OpenAPI 5.0.0 · 操作: 141 · スキーマ: 363

操作

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

Collection management

Collection management endpoints

POST/uns/discovery/describe

Read collection data definitions

Return field definitions and data-operation capabilities by collectionId for constructing queries and writes.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/discovery/describe' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"collectionId":"string"}'

application/json

フィールド型必須説明
collectionIdstringはいCollection ID identifying the owner of business records and samples.
レスポンス
200default
成功レスポンスの例

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. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/discovery/search

Search accessible collections

Search collections accessible to the current credentials using keywords and pagination.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/discovery/search' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"search":"string","page":0,"size":0}'

application/json

フィールド型必須説明
searchstringいいえSearch names or supported text fields; not SQL.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえPage size; see this endpoint's maximum or the capability catalog. Page size, at most 200.
レスポンス
200default
成功レスポンスの例

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. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

API capabilities

Capability endpoints

POST/uns/catalog/get

Read the capability catalog

Return current UNS resource, query and write capabilities and limits.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/catalog/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

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

レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいDocCatalog. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/edges/list

Discover Edges in the current workspace

List Edge nodes in the current workspace. This is a Center-only read operation; do not send X-Fleet-Node-Id. - **Access:** A workspace identity with uns.read can call this endpoint. App-bound identities cannot. - **Query:** Use page and size to paginate. Optionally filter by keyword or status. - **Result:** Returns each node's ID, name, description and infrastructure status. Credentials, sessions and host details are excluded. To read a specific Edge node's catalog, Sources, Streams, Collections or business data, use its ID in the X-Fleet-Node-Id header on the corresponding endpoint.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"size":0,"keyword":"string","status":"unjoined"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Namespace

Namespace endpoints

POST/uns/namespace/query

Query the namespace

Use queries to retrieve directories and topics by parent, optionally including ancestors.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/namespace/query' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"queries":[{"queryId":"value","page":"value","size":"value","search":"value","ids":"value"}]}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "results": []
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/topics/view

Read topic views

Read bound field values, availability and associated timestamps.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/topics/view' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"queries":[{"queryId":"value","topicId":"value"}]}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "results": []
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Metadata management

Metadata management endpoints

POST/uns/metadata

Insert one metadata object

Create a directory, topic or collection. With appId/alias, only collection creation is allowed. The server atomically binds app grants, requires idempotencyKey and rechecks current Builder permissions. Prefer the ISA-95 equipment hierarchy for industrial data: Enterprise > Site > Area > Work Center (production line, production unit, process cell, or storage zone) > Work Unit. First query existing directories with paginated metadataFind and reuse them. Create only known, meaningful business levels; do not invent enterprises, sites, or equipment, or substitute control activity Levels 0-4 for the equipment hierarchy. Attach data and references with parentId. Place shared data under a suitable common ancestor, and organize non-industrial data by its actual business hierarchy. User-facing names of directories, collections, and references must be concise, readable, and describe their business purpose. Follow the user's language preferences and established terminology; Chinese is not required and translation is not mandatory. name is the sole user-facing business name. App SDK alias is a separate stable program identifier, for example alias=production_orders and name=Production Orders. For example, use Quality Inspection Records or its equivalent in the user's language. Do not use program aliases such as quality_records as display labels, or use App-timestamp, random strings, or IDs as names or meaningless suffixes. Dates, versions, and equipment numbers with actual business meaning may remain. Rename only changes name; keep ID and alias unchanged to preserve program references. Report sibling name collisions explicitly; never append random suffixes automatically. Do not automatically move existing data or change permissions to reorganize directories.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","id":"string","data":{},"appId":"string","alias":"string"}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
idstringいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
appIdstring (uuid)いいえOpenAPI に記載なし
aliasstringいいえOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.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.

リクエストボディ
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いいえOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
kindsarray<string>いいえOpenAPI に記載なし
statestringいいえActive, soft-deleted or all objects.
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
pipelinearray<object>はいSupports $match/$project/$group/$sort/$skip/$limit/$distinct. $distinct uses JSONB value ordering and the outer pagination options.
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:bulkWrite

Execute mixed metadata writes

At most 200 operations of one kind. Atomic by default; for non-atomic execution, ordered controls continuation after errors and results retain original indices. After any non-atomic item commits, failures report error.execution=committed and retry.safe=false. Error data contains cumulative results with nextIndex and optionally unknownUntil. Indices below nextIndex absent from errors committed; [nextIndex, unknownUntil) has unknown outcome. Retry with the same idempotency key if available. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading IDs. Server-generated-ID inserts, filter-selected operations and incremental updates such as $inc cannot be safely reconciled; always use keys for these writes. Without unknownUntil, continuation from nextIndex is safe. Only when nothing committed is execution rolledBack or notStarted. Prefer the ISA-95 equipment hierarchy for industrial data: Enterprise > Site > Area > Work Center (production line, production unit, process cell, or storage zone) > Work Unit. First query existing directories with paginated metadataFind and reuse them. Create only known, meaningful business levels; do not invent enterprises, sites, or equipment, or substitute control activity Levels 0-4 for the equipment hierarchy. Attach data and references with parentId. Place shared data under a suitable common ancestor, and organize non-industrial data by its actual business hierarchy. User-facing names of directories, collections, and references must be concise, readable, and describe their business purpose. Follow the user's language preferences and established terminology; Chinese is not required and translation is not mandatory. name is the sole user-facing business name. App SDK alias is a separate stable program identifier, for example alias=production_orders and name=Production Orders. For example, use Quality Inspection Records or its equivalent in the user's language. Do not use program aliases such as quality_records as display labels, or use App-timestamp, random strings, or IDs as names or meaningless suffixes. Dates, versions, and equipment numbers with actual business meaning may remain. Rename only changes name; keep ID and alias unchanged to preserve program references. Report sibling name collisions explicitly; never append random suffixes automatically. Do not automatically move existing data or change permissions to reorganize directories.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:bulkWrite' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","operations":["string"],"atomic":false,"ordered":false,"dryRun":false}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
operationsarray<object>はいOpenAPI に記載なし
atomicbooleanいいえAtomic batch commit by default. false commits items independently; each object still receives full permission and domain validation.
orderedbooleanいいえWith atomic=false, controls stopping or continuing after errors; atomic batches reject ordered=false.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
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 result.application/json
defaultFailure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results.application/json

POST/uns/metadata:count

Count metadata objects

Count matching objects within the specified kind and state.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:count' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]}}'

application/json

フィールド型必須説明
kindstringいいえOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:deleteMany

Soft-delete metadata in bulk

Conditional bulk operation within an explicit kind. Atomic batch; reject everything if matches exceed maxDocs. Use bulkWrite when objects need independent revision checks. Soft deletion moves objects to Trash; deleting a directory atomically moves its entire active subtree to Trash. References do not block deletion. Referring configurations and Record/Sample data are retained; historical data remains readable under existing authorization while in Trash, with writes rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:deleteMany' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"atomic":true,"maxDocs":0,"dryRun":false}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
atomicbooleanいいえAtomic batch commit; use bulkWrite for per-item commits.
maxDocsintegerいいえReject the entire request if the match limit is exceeded; do not truncate the write scope.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:deleteOne

Soft-delete one metadata object

Soft deletion moves objects to Trash; deleting a directory atomically moves its entire active subtree to Trash. References do not block deletion. Referring configurations and Record/Sample data are retained; historical data remains readable under existing authorization while in Trash, with writes rejected.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:deleteOne' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"dryRun":false}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock; management forms should send the revision read. Read again after a conflict.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
returnDocumentstringいいえnone returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion.
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:find

Query metadata

Query directories, topics and collections. Use bare configuration field names and _id / _meta.* for system fields. Returns items/pageInfo.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:find' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'

application/json

フィールド型必須説明
kindstringいいえOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:purge

Permanently delete directories, references, or collections from the recycle bin

Accepts up to 200 explicit Directory, Topic, or Collection IDs in the current workspace recycle bin. Single and batch deletion use the same operation. Execution returns accepted/jobId. Query jobs for per-item completion; accepted does not mean permanently deleted. Targets are cleaned independently; a failure does not roll back completed items. Purging a Collection deletes all records (including soft-deleted records), samples, and collection metadata, and revokes App grants to the collection. Indexes are reclaimed in the background. Referencing Topics, Sources, and Streams are preserved. References describe impact rather than blocking deletion; data access reports the missing target. Restore is unavailable after cleanup starts. Interrupted work can resume; same-key retries do not reselect completed targets. Optional dryRun validates targets without creating a task or deleting data. No prerequisite preflight, force flag, or confirmation token is required. Directories include their entire deleted subtree, including previously deleted descendants. Any active descendant rejects the request. Descendants are cleaned before empty directories. Deleting a Topic removes only its reference metadata and preserves the referenced collections, records, and samples. To empty the recycle bin, freeze the current target IDs and submit batches by kind. Do not submit descendants separately when their directory is selected. Items moved to trash with their owner App and their descendants cannot be purged independently; restore or permanently delete the owner App in App Trash. A directory containing these items is rejected as a whole.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:purge' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","ids":["string"],"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
idsarray<string>はいOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "results": [
      {
        "opId": "item-0",
        "action": "meta.purge",
        "kind": "metadata",
        "id": "example-id",
        "revision": 1,
        "status": "updated"
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいDocUnsV2MetadataPurgeOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:replaceOne

Replace one metadata object

Fully replace writable configuration with schema, index and reference validation; system fields remain server-managed. Upsert insertion requires explicit _id and complete configuration.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:replaceOne' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"replacement":{}}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock; management forms should send the revision read. Read again after a conflict.
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえSupported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
returnDocumentstringいいえnone returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion.
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:restore

Restore metadata by ID

Restore atomically, rechecking current names, parents and references and incrementing revision. Restoring a directory restores only the subtree from the same deletion batch; batch children must be restored with the directory. Other dependencies are not implicitly restored.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:restore' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","items":[{"id":"value","expectedRevision":"value"}],"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
itemsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:transact

Execute a metadata transaction

Atomic operations across directories, topics and collections. opId/dependsOn control dependencies; parentId/collectionId accept {ref:opId} to reference creation results. At most 200 items; dryRun=true preflights and then rolls back. Prefer the ISA-95 equipment hierarchy for industrial data: Enterprise > Site > Area > Work Center (production line, production unit, process cell, or storage zone) > Work Unit. First query existing directories with paginated metadataFind and reuse them. Create only known, meaningful business levels; do not invent enterprises, sites, or equipment, or substitute control activity Levels 0-4 for the equipment hierarchy. Attach data and references with parentId. Place shared data under a suitable common ancestor, and organize non-industrial data by its actual business hierarchy. User-facing names of directories, collections, and references must be concise, readable, and describe their business purpose. Follow the user's language preferences and established terminology; Chinese is not required and translation is not mandatory. name is the sole user-facing business name. App SDK alias is a separate stable program identifier, for example alias=production_orders and name=Production Orders. For example, use Quality Inspection Records or its equivalent in the user's language. Do not use program aliases such as quality_records as display labels, or use App-timestamp, random strings, or IDs as names or meaningless suffixes. Dates, versions, and equipment numbers with actual business meaning may remain. Rename only changes name; keep ID and alias unchanged to preserve program references. Report sibling name collisions explicitly; never append random suffixes automatically. Do not automatically move existing data or change permissions to reorganize directories.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:transact' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"operations":[{"opId":"value","action":"value","kind":"value","id":"value","filter":"value"}],"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
operationsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:updateMany

Update metadata in bulk

Conditional bulk operation within an explicit kind. Atomic batch; reject everything if matches exceed maxDocs. Use bulkWrite when objects need independent revision checks.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:updateMany' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{"$set":{},"$unset":{},"$setOnInsert":{}},"atomic":true,"maxDocs":0}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
updateobjectはいSupports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields.
atomicbooleanいいえAtomic batch commit; use bulkWrite for per-item commits.
maxDocsintegerいいえReject the entire request if the match limit is exceeded; do not truncate the write scope.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/metadata:updateOne

Update one metadata object

Selection and update occur in one transaction with domain validation. Upsert insertion requires explicit _id and complete configuration.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:updateOne' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"update":{"$set":{},"$unset":{},"$setOnInsert":{}}}'

application/json

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock; management forms should send the revision read. Read again after a conflict.
updateobjectはいSupports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields.
upsertbooleanいいえSupported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
returnDocumentstringいいえnone returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion.
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 result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/references/query

Query resource references

Query resource references by targets. Collection App references include grants and policy status for that Collection. Stream references include only frozen dependencies of the currently effective release: relationship.access describes read/write access to this target, and data.sourceIds contains the unique, sorted Source IDs bound by the same release. With Source read permission, no bindings returns an empty array. Without that permission, the field is omitted while the Stream reference remains visible. An omitted field does not mean no bindings. Drafts, historical releases and disabled Streams are excluded. Version selection is not supported. Use kinds to select app/stream/source/topic. status=active excludes disabled configuration; filtering precedes permission checks and pagination. Dependencies do not prove active writes or per-record provenance. Each target is paginated independently and sorted by kind and ID. Continue using nextPage only for targets with hasMore. The total request row budget is 2000. With size=20, a batch can contain at most 100 targets. Hidden reference items continue to be indicated only by hasHiddenReferences.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/references/query' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"queries":[{"queryId":"value","page":"value","size":"value","targets":"value","kinds":"value"}]}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "results": []
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Jobs

Job endpoints

POST/uns/jobs/query

Query job status

Query asynchronous job states and results by jobIds; queryId in queries correlates results. App credentials cannot submit asynchronous jobs or call this endpoint.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/jobs/query' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"queries":[{"queryId":"value","jobIds":"value"}]}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "results": []
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Sources

Source endpoints

POST/uns/sources/devices/list

Discover attached Edge devices

Requires X-Fleet-Node-Id. Enumerate live USB HID and serial hardware before creating a Source, including device addresses, existing bindings, checkedAt, revision and completeness. Optional kind is usb-hid or serial. Discovery does not capture input text. Serial acquisition requires a protocol adapter. Users must identify ambiguous keyboard devices remotely. No on-site test scan is required.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/devices/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"kind":"usb-hid"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいFresh target Edge inventory. checkedAt is observation time; revision hashes device and binding state; complete=false includes per-kind discovery errors. devices contain deviceId, kind, label, address, canCreateSource, requiredParameters and existing sources. Serial discovery does not imply serial acquisition support. Empty devices only proves absence when complete=true. Never classify an arbitrary HID keyboard as a scanner without device identity supplied by the user.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/discover

Discover Source resources

Read the vendor service directory using id and the current expectedRevision. SAP OData is currently supported. Source management, data read and credential-use permissions are required; endpoint, path, method and authentication overrides are rejected. Returns resource names and references within the service root without credentials or the Source endpoint. Credential use is audited, so this operation is not a side-effect-free query.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/discover' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","expectedRevision":0}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/create

Create a Source document

Create using the shared native document with top-level endpoint and protocol fields. Supply write-only credentials or an existing document.credentialRef. Inline credentials require credential management permission and an idempotency key, including each batch item. dryRun validates without storing credentials or contacting the upstream.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}},"credentials":{"kind":"basic","username":"string","secret":"string","values":{},"certificateFileId":"string"},"items":[{"id":"value","document":"value","credentials":"value"}]}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
documentobjectいいえSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
credentialsobjectいいえSourceCredentials. スキーマの章で参照先のスキーマを確認してください。
itemsarray<object>いいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/credentials/update

Update Source credentials

Provision or rotate shared write-only credentials using Source ID and expectedRevision under uns.source.credentials authority and source:manage scope. For dependencies, inspect sourceImpact with action=credentials first and explicitly supply confirmedImpactRevision after review. Optional Fleet targeting uses the same native request. Credential material is never returned.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/credentials/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"credentials":{"kind":"basic","username":"string","secret":"string","values":{},"certificateFileId":"string"}}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringはいRequired idempotency key; reuse for the same request, never for a different request.
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
expectedRevisionintegerはいExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not 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.
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/delete

Delete a Source document

Delete the current Source using id and expectedRevision. Submit the dependency impact confirmation when required. dryRun validates without committing. Fleet targeting uses the same native document contract.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"confirmedImpactRevision":"string"}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
expectedRevisionintegerはいExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not 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.
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/get

Read a source document

Read a source's full native configuration document by id, requiring source management permission.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","view":"summary"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/list

List source documents

List sources with pagination and filters such as protocol and health. Returns safe summaries by default. includeDocument=true requires management permission and includes full native configuration.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"size":0,"search":"string","protocol":"http-api","health":"string"}'

application/json

フィールド型必須説明
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 に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/oauth/complete

Complete Source OAuth authorization

Complete the Source authorization flow using its one-time state and code under Source credential management authority. Credentials remain write-only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/oauth/complete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","id":"string","state":"string","code":"string"}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
statestringはいOpenAPI に記載なし
codestringはいOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/oauth/start

Start Source OAuth authorization

Start the authorization flow for the selected Source under Source credential management authority. Uses the normal source:manage API Key scope; Fleet targeting forwards the same native contract.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/oauth/start' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","id":"string","redirectUri":"string"}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
redirectUristringはいOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/state/update

Update native Edge Source enabled state

Requires X-Fleet-Node-Id and Source management permission. Read the target Source revision first; submit dryRun, id, expectedRevision and desiredState (enabled or disabled). Keep any required dependency impact confirmation and a stable idempotency key. The Edge performs final permission and version checks. Requests without a target fail before dispatch; this does not modify center Sources.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/state/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"id":"string","expectedRevision":0,"desiredState":"enabled","idempotencyKey":"string"}'

application/json

フィールド型必須説明
dryRunbooleanはいtrue validates only; false performs writes.
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
desiredStatestringはいOpenAPI に記載なし
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
confirmedImpactRevisionstringいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいNative Edge Source result; inspect the target catalog for its exact versioned response.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/documents/update

Update source documents

Update a source with document or patch and its current expectedRevision. Name and description changes can be submitted directly. Connection changes can also be submitted directly when there are no Stream references; otherwise supply a confirmedImpactRevision for the exact change. A successful commit returns the complete Source; dryRun=true validates only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}}}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
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 に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/history

Read source change history

Read source revision history by id; use beforeRevision to page backward.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/history' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","beforeRevision":0,"size":0}'

application/json

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

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はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/impact

Inspect Source mutation dependencies

Submit id, expectedRevision and action. For credential rotation use action=credentials without document, patch or secrets. Review all returned dependencies before explicitly passing confirmedImpactRevision to credentials/update. The token binds ID, revision, dependency snapshot and action; it does not include a random credential reference. Never automatically confirm an impact.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/impact' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","expectedRevision":0,"action":"update","document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}},"offset":0}'

application/json

フィールド型必須説明
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. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "impactRevision": "string",
    "sourceID": "string",
    "sourceRevision": 0,
    "action": "update",
    "complete": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/observations/get

Read source observations

Read observations for items in a batch; statistics cover accepted execution tasks.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/observations/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"items":[{"id":"value","expectedRevision":"value"}],"view":"summary"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/probe

Probe a source connection

Probe the source within timeoutMs. HTTP probes check network connectivity only; they do not send business HTTP requests or establish successful authentication or collection. dryRun=true validates the probe request only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/probe' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"id":"string","timeoutMs":0}'

application/json

フィールド型必須説明
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
dryRunbooleanはいtrue validates only; false performs writes.
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
timeoutMsintegerはいOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/protocols/list

List source protocols

Return supported source protocols and their configuration capabilities.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/protocols/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

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

レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/resources/catalog

List declared Edge Source resources

Use the Source ID to list declared resources, supported modes, input and output schemas, and configuration revisions. Use the target node's native Source ID with X-Fleet-Node-Id, or a cloud Edge reference ID without the header. Import a declared Teamcenter vendor:teamcenter:file:<selectionId> into a formal private Asset with await api.assets.importSource(sourceAlias,resourceRef) in an integration Stream. First declare the bound Source with api.sources.use(alias). This side effect is bounded to 8 MiB and 60 seconds, returns fileKey/filePath/sha256/sizeBytes and version UIDs, and uses the effect ledger and idempotent SYS confirmation. Paths, URLs and tickets are not accepted.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/catalog' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","configRevision":0}'

application/json

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

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はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/resources/preview

Preview an Edge Source resource

Read a bounded sample through the target Edge using the catalog revision and resourceRef. Credentials stay on the Edge. Only declared resources can be read. Device addresses, authentication and vendor request paths cannot be overridden.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/preview' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","configRevision":0,"resourceRef":"string","params":{"limit":0,"createdDateTimeBegin":"string","createdDateTimeEnd":"string","material":"string","baseUnit":"string"},"timeoutMs":0}'

application/json

フィールド型必須説明
idstringはいOpenAPI に記載なし
configRevisionintegerはいOpenAPI に記載なし
resourceRefstringはいOpenAPI に記載なし
paramsobjectいいえOpenAPI に記載なし
timeoutMsintegerいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいBounded native result. Interpret fields using the selected resource output schema.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/resources/scan

Read an Edge Source resource page

Read a bounded page using an opaque cursor issued for the same Source configuration and resource. Discover the specific Edge resource first. Named resources include file directories, EDI exchanges, SQL queries, controller history, approved Teamcenter files and Salesforce Bulk or deletion windows. Connections, paths, query text and vendor tickets remain on Edge. Commit the cursor only after all returned records are durably written. Preserve a returned checkpoint on the final page for incremental resources. Poll a pending Bulk job using its returned cursor. An empty pending page is not completion.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/scan' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","configRevision":0,"resourceRef":"string","cursor":"string","params":{"maxItems":0,"createdDateTimeBegin":"string","createdDateTimeEnd":"string","material":"string","baseUnit":"string"}}'

application/json

フィールド型必須説明
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 に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/runtime/get

Read source runtime status

Read the current runtime status of a source by id.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/runtime/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
レスポンス
200default
成功レスポンスの例

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はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/sources/validate

Validate source configuration

Validate a native SourceDefinition document, including protocol, endpoint and protocol parameters, without creating a Source.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/validate' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value"}}}'

application/json

フィールド型必須説明
documentobjectはいSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Streams

Stream endpoints

POST/uns/stream-requests/grants/get

Read stream-entry grants

Read grants, current release bindings and permission ceilings by code and recipient (app/user only), returning snapshotToken for concurrency checks. Requires a current management session or full_access personal/agent key with stream.requests.manage and uns.source.manage. App and service keys cannot configure grants. Source configuration and credentials are not returned.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/stream-requests/grants/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"code":"string","principalKind":"app","principalID":"string"}'

application/json

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

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はいCloudStreamRequestGrantInfo. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/stream-requests/grants/set

Set or revoke stream-entry grants

Use expectedSnapshotToken from get to atomically modify grants without resubmitting all target revisions. active=1 adds or updates; actions permits only stream.requests.read, stream.requests.invoke and stream.requests.write, and write requires invoke. Resource management includes view, invoke and write operations; stream.requests.manage is the caller's grant-configuration capability. active=2 revokes all historical targets; actions must be empty. Neither recipient nor current release needs to be online. Legacy version fields remain supported; the two validation modes are mutually exclusive. After a version conflict or lost response, reread and reconcile current state before changing it; do not overwrite blindly.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/stream-requests/grants/set' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"code":"string","principalKind":"app","principalID":"string","active":1,"expectedBindingDigest":"string"}'

application/json

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし
activeintegerはいOpenAPI に記載なし
expectedBindingDigeststringいいえOpenAPI に記載なし
expectedCodeRevisionintegerいいえLegacy code CAS revision; new callers use expectedSnapshotToken. The modes are mutually exclusive.
actionsarray<string>いいえOpenAPI に記載なし
targetRevisionsarray<object>いいえLegacy target revision list; use expectedSnapshotToken for revocation when there are many historical targets.
expectedSnapshotTokenstringいいえServer-generated authorization snapshot version, for concurrency checking only, not an invocation credential.
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudStreamRequestGrantMutation. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/documents/create

Create a stream document

Create a Stream from document or program; dryRun=true validates only. Bind an existing Edge Source using target:{fleetNodeId,sourceId,configRevision} and resources from that revision's catalog. When Modbus acquisition.ranges is omitted, the server resolves selected ranges from the target resource catalog. You may provide pollIntervalMs separately; do not copy unitId, writable, connection endpoints or credentials.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"program":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"expectedSourceRevision":0}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/documents/disable

Disable a stream document

Disable by id, using both expectedRevision and expectedActiveRelease to prevent concurrent overwrites; dryRun=true validates only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/disable' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","expectedRevision":0,"dryRun":false,"idempotencyKey":"string","expectedActiveVersion":"string"}'

application/json

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerはいOpenAPI に記載なし
dryRunbooleanはいtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
expectedActiveVersionstringはいAuthoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence.
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/documents/get

Read a stream document

Read the stream's native configuration document by id.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","view":"summary"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/documents/update

Update a stream document

Update the stream with document, optionally checking concurrent changes through expectedRevision; dryRun=true validates only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]}}'

application/json

フィールド型必須説明
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
idstringはいPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし
documentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
programobjectいいえRuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。
expectedSourceRevisionintegerいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/documents/validate

Validate a stream document

Validate document or program through isolated script registration without executing acquisition callbacks or deploying. For existing Edge Modbus Sources, both sources and sourceBindings accept target and resources without acquisition.ranges. The server resolves ranges from the target catalog at configRevision; pollIntervalMs may be specified separately. Select existing catalog resources only; do not copy unitId, writable, connection endpoints or credentials. Validation failures identify the binding field through reason/path; normalizedDocument is returned only when normalization produces one.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/validate' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"id":"string","program":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"expectedSourceRevision":0}'

application/json

フィールド型必須説明
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 に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "valid": false,
    "issues": [
      "value"
    ],
    "normalizedDocument": {
      "name": "value",
      "description": "value",
      "model": "value",
      "script": "value",
      "sources": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/observation/get

Read stream observations

Read observations and accepted-task statistics for a stream by id.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/observation/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string"}'

application/json

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "requestId": "string",
  "data": {
    "id": "string",
    "revision": 0,
    "stats": {
      "admitted": "value",
      "completed": "value",
      "failed": "value",
      "unknown": "value",
      "pending": "value"
    },
    "window": {
      "from": "value",
      "to": "value"
    },
    "coverage": "durable-admissions"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/program/delete

Delete a stream program

Delete a stream program by id, including an active program, and revoke future execution admission without a separate stop. Use expectedRevision to check concurrent changes; dryRun=true validates only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0}'

application/json

フィールド型必須説明
dryRunbooleanはいtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
idstringはいPositive decimal int64 identifier; always a string on the wire.
expectedRevisionintegerいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/program/deploy

Deploy a stream program

Deploy the program, optionally checking program/source revisions through expectedRevision and expectedSourceRevision; dryRun=true validates only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/deploy' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"expectedSourceRevision":0}'

application/json

フィールド型必須説明
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
dryRunbooleanいいえtrue validates only; false performs writes.
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. Optional optimistic concurrency guard; omission updates the current object.
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.
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/program/list

List stream programs

Query programs with pagination and sourceId, model, status and archived filters.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"size":0,"search":"string","sourceId":"string","model":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/program/rollback

Roll back a stream program

Roll back to versionId; dryRun=true validates only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/rollback' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"expectedSourceRevision":0}'

application/json

フィールド型必須説明
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
dryRunbooleanはいtrue validates only; false performs writes.
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly. Optional optimistic concurrency guard; omission updates the current object.
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.
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/program/versions/list

List stream releases

Read a stream program's release history by id with pagination.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/versions/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","page":0,"size":0,"search":"string"}'

application/json

フィールド型必須説明
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
pageintegerいいえPage number, starting at 1.
sizeintegerいいえPage size; see this endpoint's maximum or the capability catalog.
searchstringいいえSearch names or supported text fields; not SQL.
レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/runs/list

List stream runs

Query stream runs by id using size and cursor pagination. Failed runs may include a safe error reason and repair guidance. error.sourceRequest describes only the failed Source call and does not imply that the entire run had no side effects.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/runs/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":"string","size":0,"cursor":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/streams/sample/test

Test a stream sample

Run an isolated sample test with input on the document's entryId; no external host access or committed data writes.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/sample/test' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"entryId":"string","input":"string"}'

application/json

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

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はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Time series

Append samples, query multiple records, aggregate, read latest values and delete explicit time ranges. Latest values refer only to actual samples.

POST/uns/collections/{collectionId}/records/{recordId}/samples

Append samples

Append items to the existing record identified by URL collectionId and recordId. Each item requires time as event time in Unix milliseconds and data as sample values; id and quality are optional. receivedAt is generated by the server. dryRun=true validates only. The default is atomic batch commit; allowPartial=true commits items independently and returns individual results. mode is auto, sync or async. Query accepted asynchronous work through jobId; app credentials support only auto/sync.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
recordIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records/{recordId}/samples' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","time":"value","quality":"value","data":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
dryRunbooleanはいtrue validates only; false performs writes.
allowPartialbooleanいいえDefault false rolls back the entire batch; true commits items independently and reports failures in results[].error.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "results": [
      {
        "opId": "item-0",
        "action": "sample.append",
        "id": "s1",
        "collectionId": "devices",
        "status": "appended"
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいDocUnsV2SampleAppendOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Aggregate samples

Run pipeline on samples within [from,to), using Unix milliseconds. recordIds is optional, at most 20; omission queries the authorized collection. Supports advanced filters, grouping, sorting and time buckets; pipeline determines output documents. page and limit are mutually exclusive; pipeline cannot broaden time or record scope.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:aggregate' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"recordIds":["string"],"from":0,"to":0,"pipeline":["string"],"limit":0}'

application/json

フィールド型必須説明
recordIdsarray<string>いいえOpenAPI に記載なし
fromintegerはいInclusive start time in Unix milliseconds.
tointegerはいExclusive end time in Unix milliseconds, greater than from.
pipelinearray<object>はいOpenAPI に記載なし
limitintegerいいえOpenAPI に記載なし
pageobjectいいえUnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "items": [
      {
        "averageTemperature": 25
      }
    ],
    "pageInfo": {
      "mode": "offset",
      "hasMore": false,
      "nextCursor": null,
      "nextPage": null,
      "snapshotScope": "thisRequestOnly"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudDataPage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/collections/{collectionId}/samples:delete

Delete samples in a time range

Physically delete samples for explicit recordIds within [from,to), at most 20 records; from/to use Unix milliseconds. dryRun=true returns only estimated deletion count; parent records remain.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"recordIds":["string"],"from":0,"to":0,"dryRun":false}'

application/json

フィールド型必須説明
recordIdsarray<string>はいRecord IDs, not collection IDs.
fromintegerはいTime-range start in Unix milliseconds.
tointegerはいTime-range end in Unix milliseconds.
dryRunbooleanいいえtrue validates only; false performs writes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "deletedCount": 1,
    "dryRun": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Query samples

Query samples within [from,to), using Unix milliseconds. recordIds is optional, at most 20; omission queries the authorized collection. Supports filter, sort, projection and either limit/cursor or page; page cannot be combined with limit/cursor. Results paginate across selected records together; filter cannot broaden time or record scope.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:find' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"recordIds":["string"],"from":0,"to":0,"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'

application/json

フィールド型必須説明
recordIdsarray<string>いいえOpenAPI に記載なし
fromintegerはいInclusive start time in Unix milliseconds.
tointegerはいExclusive end time in Unix milliseconds, 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. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "items": [
      {
        "id": "s1",
        "collectionId": "devices",
        "recordId": "r1",
        "time": 1792454400000,
        "receivedAt": 1792454400100,
        "quality": "good",
        "data": {
          "temperature": 25
        },
        "sourceId": null
      }
    ],
    "pageInfo": {
      "mode": "cursor",
      "hasMore": false,
      "nextCursor": null,
      "nextPage": null,
      "snapshotScope": "thisRequestOnly"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudSamplePage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/collections/{collectionId}/samples:latest

Read each record's latest sample

recordIds is required, at most 20. Return each record's latest actual sample; sample is null if none exists.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:latest' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"recordIds":["string"]}'

application/json

フィールド型必須説明
recordIdsarray<string>はいRecord IDs, not collection IDs.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "series": [
      {
        "recordId": "r1",
        "sample": {
          "id": "s1",
          "collectionId": "devices",
          "recordId": "r1",
          "time": 1792454400000,
          "receivedAt": 1792454400100,
          "quality": "good",
          "data": {
            "temperature": 25
          },
          "sourceId": null
        }
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Business data

Business record queries, writes, soft deletion, restoration, lease locks and cross-collection transactions. Use bare names for business fields and _id / _meta.* for system fields.

POST/uns/collections/{collectionId}/records

Insert one record

Insert data into the collection, optionally with id. A deleted record with the same ID is not implicitly restored. By default, only insertedId and execution state are returned. returnDocument=after returns the created value in the same transaction, supports projection, and requires read access. Idempotent replay returns the original creation snapshot; dryRun=true returns only an uncommitted preview.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","id":"string","data":{}}'

application/json

フィールド型必須説明
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
idstringいいえObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
dataobjectはいOpenAPI に記載なし
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone preserves the insertedId response; after includes the created value from the same write transaction and requires read access. Idempotent replay returns the original creation snapshot; dryRun returns an uncommitted preview.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "insertedId": "r1"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Aggregate business records

Run pipeline on active records in the collection, supporting filtering, projection, grouping and sorting. Pipeline determines returned documents; page and limit are mutually exclusive. On the first or an offset page, count:{max} includes capped pipeline-output total from the same snapshot.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:aggregate' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"pipeline":["string"],"limit":0,"page":{"size":0,"mode":"offset","page":0,"cursor":"string"},"count":{"max":0}}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "items": [
      {
        "averageTemperature": 25
      }
    ],
    "pageInfo": {
      "mode": "offset",
      "hasMore": false,
      "nextCursor": null,
      "nextPage": null,
      "snapshotScope": "thisRequestOnly"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudRecordAggregatePage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Execute mixed writes within a collection

Use operations to mix insert, update, replace and soft-delete operations in one collection. atomic and ordered control batch execution; result indices refer to original input positions. dryRun=true validates only. With atomic=false, chunks/items commit independently. Once any commit occurs, failure reports error.execution=committed and retry.safe=false, with cumulative data matching the success structure: counts, insertedIds, writeErrors, hasMore and nextIndex, plus unknownUntil when outcomes are unknown. nextIndex is the first unexecuted zero-based operation; earlier indices absent from writeErrors committed. If unknownUntil is present, [nextIndex, unknownUntil) has unknown outcome. Retry with the same idempotency key if supplied. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading those IDs before continuation. Server-generated-ID inserts, filter-selected operations and incremental updates such as $inc cannot be reconciled safely; always use idempotency keys for these writes. Without unknownUntil, continuation from nextIndex is safe. execution is rolledBack or notStarted only when nothing committed.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:bulkWrite' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","operations":["string"],"ordered":false}'

application/json

フィールド型必須説明
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
operationsarray<object>はいOpenAPI に記載なし
orderedbooleanいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically, with at most 200 document actions; false commits per document.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "insertedCount": 1,
    "matchedCount": 0,
    "modifiedCount": 0,
    "deletedCount": 0,
    "upsertedCount": 0,
    "insertedIds": {
      "0": "r1"
    },
    "upsertedIds": {}
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results.application/json

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

Count records

Count active records matching filter in the collection, up to maxCount (default and maximum 100000). Above the cap, return count=maxCount and capped=true; equality gives capped=false.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:count' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"maxCount":0}'

application/json

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
maxCountintegerいいえCount limit; actual counts above maxCount return count=maxCount and capped=true. Equality returns capped=false.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "count": 1,
    "capped": false
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudCappedCount. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Soft-delete multiple records

Soft-delete records matching filter and physically delete related samples in the same transaction. Restoring records does not restore samples. maxDocs bounds this pass and resumeAfter continues it; atomic and ordered control batch execution. dryRun=true validates only. With atomic=false, chunks/items commit independently. Any committed work makes failure report error.execution=committed and retry.safe=false; error-envelope data contains cumulative counts, insertedIds and writeErrors, plus hasMore/resumeAfter when continuation is possible. execution is rolledBack or notStarted only if nothing committed.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:deleteMany' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"maxDocs":0}'

application/json

フィールド型必須説明
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
maxDocsintegerいいえDefault 1000; atomic requests default to 200.
resumeAfterstringいいえOpenAPI に記載なし
atomicbooleanいいえtrue commits the entire batch atomically, with at most 200 document actions; false commits per document. All selected writes commit together; maxDocs must be <= 200 and the complete match set must fit.
orderedbooleanいいえOpenAPI に記載なし
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "deletedCount": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results.application/json

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

Soft-delete one record

Select one record by filter and sort, then soft-delete it. Ordinary queries no longer return the record. Related samples are physically deleted in the same transaction; restoring the record does not restore samples. dryRun=true validates only.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:deleteOne' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'

application/json

フィールド型必須説明
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "deletedCount": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Assess query and write scope

Read-only assessment of find, updateMany or deleteMany plans and a bounded match scope, returning sampleIds without writing. The assessment does not guarantee later data state.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:explain' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"op":"find","limit":0}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Query business records

Query active records in a collection using filter, sort, projection and limit/cursor. Return items and pageInfo; each record's business fields are nested under data. On the first page, count:{max} includes capped total:{count,capped} from the same snapshot (default limit 10000, maximum 100000). Continuation cursor cannot include count.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:find' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"projection":{},"limit":0,"cursor":"string"}'

application/json

フィールド型必須説明
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いいえCloudRecordTotalOption. スキーマの章で参照先のスキーマを確認してください。
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "items": [
      {
        "id": "r1",
        "collectionId": "devices",
        "data": {
          "temperature": 25
        },
        "revision": 1,
        "createdAt": 1792454400000,
        "updatedAt": 1792454400000,
        "sourceId": null,
        "sourceTime": null
      }
    ],
    "pageInfo": {
      "mode": "cursor",
      "hasMore": false,
      "nextCursor": null,
      "nextPage": null,
      "snapshotScope": "thisRequestOnly"
    },
    "total": {
      "count": 1,
      "capped": false
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudRecordPage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Read records by ID

Read at most 100 active records by primary key with optional projection. items follow request order; nonexistent, soft-deleted and employee-rule-filtered IDs all appear in missing without distinguishing absence from unreadability.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"ids":["string"],"projection":{}}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "items": [
      {
        "id": "r1",
        "collectionId": "devices",
        "data": {
          "temperature": 25
        },
        "revision": 1,
        "createdAt": 1792454400000,
        "updatedAt": 1792454400000,
        "sourceId": null,
        "sourceTime": null
      }
    ],
    "missing": [
      "r2"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudRecordGetResult. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Lock or claim records

Acquire leases atomically by ids, or claim available records using filter, sort and limit. ttlMs defaults to 30000, with range 1000–300000 milliseconds. Return lease tokens and records. Collection read/write permission is required; locks do not affect reads.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:lock' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"ids":["string"],"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"limit":0,"ttlMs":0}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "locks": [
      {
        "id": "r1",
        "token": "lease-token",
        "expiresAt": 1792454430000,
        "fence": 1,
        "record": {
          "id": "r1",
          "collectionId": "devices",
          "data": {
            "temperature": 25
          },
          "revision": 1,
          "createdAt": 1792454400000,
          "updatedAt": 1792454400000,
          "sourceId": null,
          "sourceTime": null
        }
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Renew record locks

Renew currently held leases using id and token in locks. ttlMs defaults to 30000, with range 1000–300000 milliseconds.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:renew' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"locks":[{"id":"value","token":"value"}],"ttlMs":0}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "locks": [
      {
        "id": "r1",
        "expiresAt": 1792454460000
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Replace one record

Select one record by filter and sort, then fully replace business data with replacement. upsert=true may insert when unmatched, requiring ID or complete unique-key equality. dryRun=true validates only.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:replaceOne' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'

application/json

フィールド型必須説明
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえInsert if unmatched; filter must include _id equality or complete equality on a ready unique index. Concurrent conflicts do not create duplicate records.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "matchedCount": 1,
    "modifiedCount": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Restore records by ID

Restore at most 100 soft-deleted records by ids. Execute atomically and revalidate current schema and unique indexes. Any conflict rolls back everything; samples physically deleted with records are not restored. dryRun=true validates only.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:restore' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"ids":["string"],"dryRun":false,"idempotencyKey":"string"}'

application/json

フィールド型必須説明
idsarray<string>はいOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "restoredCount": 1,
    "restoredIds": [
      "r1"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Release record locks

Ordinary release uses locks with id/token. Administrators may force release with ids and force=true. Apps/API keys cannot force release.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:unlock' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"locks":[{"id":"value","token":"value"}],"ids":["string"],"force":false}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "unlockedCount": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

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

Update multiple records

Update records matching filter; upsert is not supported. maxDocs bounds this pass and resumeAfter continues it; atomic and ordered control batch execution. dryRun=true validates only. With atomic=false, chunks/items commit independently. Any committed work makes failure report error.execution=committed and retry.safe=false; error-envelope data contains cumulative counts, insertedIds and writeErrors, plus hasMore/resumeAfter when continuation is possible. execution is rolledBack or notStarted only if nothing committed.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:updateMany' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{}}'

application/json

フィールド型必須説明
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
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, with at most 200 document actions; false commits per document. All selected writes commit together; maxDocs must be <= 200 and the complete match set must fit.
orderedbooleanいいえOpenAPI に記載なし
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "matchedCount": 1,
    "modifiedCount": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response. After a partial commit, error.execution=committed and retry.safe=false; data contains cumulative results.application/json

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

Update one record

Select one record by filter and sort, then apply update. upsert=true may insert when unmatched, requiring ID or complete unique-key equality. dryRun=true validates only.

リクエストパラメーター
名前場所型必須説明
collectionIdpathstringはいOpenAPI に記載なし
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:updateOne' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'

application/json

フィールド型必須説明
expectedRevisionintegerいいえExpected revision; obtain it by reading the current object. On conflict, read again and decide how to proceed; do not overwrite blindly.
dryRunbooleanいいえtrue validates only; false performs writes.
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
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いいえInsert if unmatched; filter must include _id equality or complete equality on a ready unique index. Concurrent conflicts do not create duplicate records.
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
assertLocksarray<object>いいえOpenAPI に記載なし
returnDocumentstringいいえnone returns counts only; before/after includes value from the same write transaction and requires read access. No match returns value:null; before is null for an insertion.
projectionobjectいいえInclude or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "matchedCount": 1,
    "modifiedCount": 1
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/records:queryBatch

Batch-read page data

Execute at most 20 read-only queries (find/count/distinct/aggregate/get, optionally across collections) with one admission, authorization snapshot and repeatable-read snapshot. Requires uns.read and record:read on each collection. results correlates by query id and returns {ok:true,data} or {ok:false,error}; validation, compilation, authorization and individual SQL errors affect only that item. At most 2000 rows and 8 MiB per batch, otherwise 413 RESPONSE_TOO_LARGE. Any statement timeout returns 504 QUERY_TIMEOUT; neither case returns partial results.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:queryBatch' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"queries":["string"]}'

application/json

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

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "results": {
      "open": {
        "ok": true,
        "data": {
          "items": [
            {
              "id": "r1",
              "collectionId": "devices",
              "data": {
                "temperature": 25
              },
              "revision": 1,
              "createdAt": 1792454400000,
              "updatedAt": 1792454400000,
              "sourceId": null,
              "sourceTime": null
            }
          ],
          "pageInfo": {
            "mode": "cursor",
            "hasMore": false,
            "nextCursor": null,
            "nextPage": null,
            "snapshotScope": "thisRequestOnly"
          },
          "total": {
            "count": 1,
            "capped": false
          }
        }
      },
      "byStatus": {
        "ok": false,
        "error": {
          "code": "INVALID_REQUEST",
          "reason": "unknown field status",
          "details": [],
          "execution": "notStarted",
          "retry": {
            "safe": false
          },
          "queryId": "byStatus"
        }
      }
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

GET/uns/records:subscribe

Subscribe to record changes (SSE)

GET; Accept must be exactly text/event-stream. collectionIds is a repeated query parameter, at most 64. Omission selects all readable collections for the identity, or all collections granted to the app. At most 100 recordIds are allowed and require exactly one collection. Each collection requires record:read. The connection immediately sends heartbeat with the current position as id, then every 15 seconds. change events arrive in commit order and contain only collectionId, recordId, revision, change (record/delete), restricted and occurredAt. Read business data again by ID. restricted=true indicates employee data rules; servers forwarding under app identity may forward only collection-level notifications to browsers. Reconnect with the last event id as Last-Event-ID. Exceeding 24-hour retention or narrowing authorization sends reset and closes the connection. Reread data and subscribe without Last-Event-ID. Authorization is rechecked every 30 seconds. Exceeding the connection limit returns 429 OVERLOADED.

リクエストパラメーター
名前場所型必須説明
collectionIdsqueryarray<string>いいえSubscribed collections, at most 64; each requires record:read. Omission selects all collections readable by the identity, or all app-granted collections. Authorization-scope changes send reset.
recordIdsqueryarray<string>いいえSubscribe only to these records, at most 100; requires exactly one collectionId.
Last-Event-IDheaderstringいいえLast received event id; omission starts from the current position.
AcceptheaderstringはいMust be exactly text/event-stream.
レスポンス
200default
成功レスポンスの例

200 · text/event-stream

"event: heartbeat\nid: c1\ndata: {\"at\":1792454400000}\n\nevent: change\nid: c2\ndata: {\"eventId\":\"c2\",\"collectionId\":\"work_orders\",\"recordId\":\"wo-1\",\"revision\":3,\"change\":\"record\",\"restricted\":false,\"occurredAt\":1792454401000}\n\n"
レスポンスステータスの意味
ステータス意味メディアタイプ
200SSE event stream; each frame's data is JSON.text/event-stream
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/records:transact

Execute a business-data transaction

Execute cross-collection record operations atomically, correlating results by opId, with dependsOn and result references. dryRun=true preflights only. mode is auto, sync or async; query accepted asynchronous work by jobId. App credentials support only auto/sync. Collection permissions are checked for each operation.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:transact' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"idempotencyKey":"string","mode":"auto","items":[{"update":"value","arrayFilters":"value","upsert":"value","opId":"value","action":"value"}],"dryRun":false,"assertLocks":[{"collectionId":"value","id":"value","token":"value"}]}'

application/json

フィールド型必須説明
idempotencyKeystringいいえOptional idempotency key; reuse for the same request, never for different requests.
modestringいいえOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
assertLocksarray<object>いいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "results": [
      {
        "opId": "read",
        "action": "record.read",
        "id": "r1",
        "collectionId": "devices",
        "status": "read",
        "revision": 1,
        "data": {
          "temperature": 25
        },
        "document": {
          "id": "r1",
          "collectionId": "devices",
          "data": {
            "temperature": 25
          },
          "revision": 1,
          "createdAt": 1792454400000,
          "updatedAt": 1792454400000,
          "sourceId": null,
          "sourceTime": null
        }
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいdryRun=false returns transaction results; dryRun=true returns a rolled-back preflight plan.
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Apps and grants

App and grant endpoints

POST/uns/app-data-policy/get

Read app data grants

Read collection grants for a real app. Current Builder sessions and full_access personal/Agent keys may call this endpoint. Platform system credentials (service/system/full_access with uns.write) may read every App in their current Workspace, including Apps other than their Builder target. This read access does not grant policy update authority. Ordinary service keys and runtime App credentials cannot call this endpoint.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-data-policy/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudAppDataPolicy. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app-data-policy/update

Update app data grants

Use changes to atomically add, modify or remove grants by collection. Omitted fields remain unchanged; other collections or employee rules need not be resubmitted. collections still performs explicit full replacement; the two modes are mutually exclusive. permissionLevel values read/readwrite/manage mean record read-only, read-write and management including deletion, and are mutually exclusive with low-level permissions. New grants cannot exceed the manager's capabilities. Stream request boundaries remain; expectedRevision and idempotencyKey are required. An unchanged retry with the same key replays the result without expanding authorization again.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-data-policy/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","expectedRevision":0,"status":"active","collections":[{"alias":"value","collectionId":"value","permissions":"value","dataRule":"value"}],"idempotencyKey":"string"}'

application/json

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
expectedRevisionintegerはい0 attaches a data policy to an existing hosted App; positive revisions update it with CAS.
statusstringはいOpenAPI に記載なし
collectionsarray<object>いいえExplicitly replace all grants; choose exactly one of this and changes.
idempotencyKeystringはいRequired idempotency key; reuse for the same request, never for a different request.
dryRunbooleanはいtrue validates only; false performs writes.
ruleContractVersionstringいいえConfirmation is required when full replacement involves employee rules, or incremental changes edit/clear rules or remove a grant containing rules. Retained rules need not be resubmitted during incremental updates.
changesarray<object>いいえAtomic incremental updates by collectionId; no duplicate collection within the batch. New grants require alias and permissions; omitted update fields retain their values.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "results": [
      {
        "opId": "item-0",
        "action": "meta.replace",
        "kind": "app",
        "id": "example-id",
        "revision": 1,
        "status": "updated"
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいDocCloudAppDataPolicyUpdateOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app-stream-access/list

Page through an app's stream grants

The server summarizes configured entries, stream names, granted actions and current blocking reasons. Returns non-revoked grants by default; includeInactive=1 includes revoked entries. This is a current grant snapshot. Execution rechecks authorization and does not expand the app's global permission ceiling.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-access/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","streamId":"string","page":0,"size":0,"includeInactive":1}'

application/json

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
streamIdstringいいえOpenAPI に記載なし
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
includeInactiveintegerいいえ1 includes revoked grants; 2 (default) returns only non-revoked grants.
レスポンス
200default
成功レスポンスの例

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はいCloudAppStreamAccessPage. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app-stream-policy/get

Read an app's stream permission ceiling

Read the real app's control permission ceiling using a current Builder session or full_access personal/agent key, with uns.write and stream.requests.manage. This ceiling applies together with individual stream-entry grants.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-policy/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいCloudAppStreamPolicy. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app-stream-policy/update

Update an app's stream permission ceiling

Reuse the existing app policy while preserving collection grants and employee rules; expectedRevision, idempotencyKey and dryRun are required. Available only to a current Builder session or full_access personal/agent key with uns.write and stream.requests.manage. Does not grant any stream entry automatically or upgrade the app key.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-policy/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","expectedRevision":0,"status":"active","idempotencyKey":"string","dryRun":false}'

application/json

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
expectedRevisionintegerはいShared hosted policy metadata revision. 0 attaches to a real App; either data or Stream policy updates increment this revision.
statusstringはいOpenAPI に記載なし
idempotencyKeystringはいRequired idempotency key; reuse for the same request, never for a different request.
dryRunbooleanはいtrue validates only; false performs writes.
platformPermissionsarray<string>はいOpenAPI に記載なし
messageTopicsarray<object>いいえOpenAPI に記載なし
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "results": [
      {
        "opId": "item-0",
        "action": "meta.replace",
        "kind": "app",
        "id": "example-id",
        "revision": 1,
        "status": "updated"
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいDocCloudAppStreamPolicyUpdateOutcome. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app/collections/archive

Archive this app's collection

Only platform-issued app keys may archive collections owned by this app (ownerAppId). The transaction archives the collection and removes the calling app grant, retaining records, samples and query indexes without tombstoning individual records. New archives have no record-count limit. An app may retain at most 64 archived collections, otherwise 409 APP_QUOTA_EXCEEDED. Topic, Source/Stream and other references do not block archiving. Referring configurations remain; existing grants that have not been revoked may read historical data, while writes are rejected. During app collection reclaim or purge, return retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge. restore restores the collection state; independently deleted records retain their previous state.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/archive' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"alias":"string"}'

application/json

フィールド型必須説明
aliasstringはいCase-insensitively unique app collection alias, matching src/data/collections.ts.
レスポンス
200default
成功レスポンスの例

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はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app/collections/ensure

Declare collections for this app

Only platform-issued app keys (app/internal/full_access, non-MCP, no employee delegation) are accepted. Declare collections in a batch. Missing collections are created in the app directory and granted record:read/write in the same transaction, plus record:delete if the key has uns.delete. Existing collections only widen through join and union indexes. Annotations (title/description/unit and collection description) are written only on creation; later changes use schema:replace. Stale grants pointing to this app's archived or hard-deleted collections are replaced in the same transaction. The batch is atomic. Any type conflict, join that cannot widen the current structure, or widening that breaks employee-rule fields leaves everything unchanged and returns 409 SCHEMA_CONFLICT with data.conflicts. Administrator-revoked grants return 403 APP_GRANT_REVOKED and are not automatically restored. Exceeding per-app quotas (64 collections, 64 indexes) returns 409 APP_QUOTA_EXCEEDED. Exceeding workspace index quota, counting physically existing non-retired indexes, returns 409 INDEX_QUOTA_EXCEEDED. During app collection reclaim (app deletion) or purge (preview reset), creation, widening or stale-grant cleanup returns retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge. Fully unchanged batches still succeed. When the App owns no collection with the alias but exactly one grant has the same alias and points to an active collection the App does not own, ensure borrows it: if the stored schema and indexes cover the declaration it returns that collectionId with status=unchanged. If the declaration needs a wider schema, a new index or a longer TTL, it returns 409 SCHEMA_CONFLICT (reason=SHARED_SCHEMA_READONLY); type conflicts still report TYPE_CONFLICT and a shorter TTL reports TTL_REQUIRES_REPLACE. A borrowed collection is never widened or indexed and does not count toward the App quota. While the owner App is in the trash the collection is read-only and can still be borrowed if it was not archived before the move: the declaration is not compared, status=unchanged is always returned, and ignored carries reason=OWNER_APP_TRASHED. When dataAppContext does not show the collection to the credential, for example because the grant carries an employee data rule, the result exposes no fields: indexStatus is empty, notes with a field path are omitted, and conflicts with a path report only SHARED_SCHEMA_READONLY without path or types. dryRun=true computes only.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/ensure' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"collections":[{"alias":"value","name":"value","recordSchema":"value","indexes":"value","description":"value"}],"dryRun":false}'

application/json

フィールド型必須説明
collectionsarray<object>はいOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
レスポンス
200default
成功レスポンスの例

200 · application/json

{
  "code": 200,
  "msg": "success",
  "requestId": "request-id",
  "data": {
    "status": "committed",
    "replayed": false,
    "results": [
      {
        "opId": "item-0",
        "action": "meta.create",
        "kind": "appCollection",
        "id": "example-id",
        "revision": 1,
        "status": "created"
      }
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app/collections/list

List an app's collections

A session or personal API key with uns.read lists collections owned by appId, including archived collections, returning schemas, indexes/indexStatus and retired without grant details.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app/collections/restore

Restore this app's archived collection

Only platform-issued app keys may restore the most recently archived collection for the alias, restore grants while reusing those still referencing it, and reuse retained indexes without rewriting records. Only legacy recordsArchivedAt tombstones restore their original record batch (at most 2000, otherwise 409 COLLECTION_TOO_LARGE). Unique conflicts roll back everything with 409 DUPLICATE_KEY. If ensure recreated a same-name collection, return 409 DUPLICATE with data.activeCollectionId; archive the active collection first. During app collection reclaim or purge, return retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/restore' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"alias":"string"}'

application/json

フィールド型必須説明
aliasstringはいCase-insensitively unique app collection alias, matching src/data/collections.ts.
レスポンス
200default
成功レスポンスの例

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はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app/collections/schema:replace

Replace this app collection's schema

Only platform-issued app keys are accepted, for explicit worker-driven narrowing such as removing fields/enum values/indexes or changing required fields; runtime code must not call it. expectedRevision is required. Narrowing validates active records up to 10,000 records and 16MB; larger migrations return 409 SCHEMA_MIGRATION_TOO_LARGE. At most 20 violations are returned with 409 SCHEMA_DATA_VIOLATION; data.violations contains only recordId/path. References from topic fields or app data rules return 409 REFERENCED. Removed paths and enum values enter retired and cannot be reintroduced by ensure. Indexes are replaced exactly and remain subject to per-app quota (64) and workspace index quota. Annotation-only or description-only changes return status=widened. Failure to acquire the lock returns retryable 503 TEMPORARILY_UNAVAILABLE. During app collection reclaim or purge, an actual replacement returns retryable 503 TEMPORARILY_UNAVAILABLE with data.reason=COLLECTION_TEARDOWN_IN_PROGRESS and data.operation=reclaim/purge. dryRun=true validates on a read-only snapshot without holding locks.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/schema:replace' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"alias":"string","recordSchema":{"additionalProperties":false,"description":"string","enum":["value"],"items":{"additionalProperties":"value","description":"value","enum":"value","items":"value","maximum":"value"},"maximum":0},"indexes":[{"kind":"value","path":"value","paths":"value","target":"value","unique":"value"}],"expectedRevision":0,"description":"string"}'

application/json

フィールド型必須説明
aliasstringはいCase-insensitively unique app collection alias, matching src/data/collections.ts.
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
indexesarray<object>はいReplace indexes exactly as requested; [] removes all indexes.
expectedRevisionintegerはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
dryRunbooleanいいえtrue validates only; false performs writes.
レスポンス
200default
成功レスポンスの例

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はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Operation result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

POST/uns/app/context

Read current app data context

Available only to current managed app credentials; returns the real app name and intersection of collection grants and key permissions. A new App without a data policy returns dataState=uninitialized, revision=0 and empty collections without creating a policy or granting access; declaring its actual collections through appCollectionsEnsure makes the state ready. An administrator-disabled policy returns HTTP 403 with reason APP_DATA_POLICY_DISABLED and is never re-enabled automatically. collections[] includes definition revision, recordSchema, indexes, indexStatus and ttl. Both owned and granted collections include ownerAppId (omitted for workspace collections), name, description and directoryPath (directory names from the workspace root, in the same shape as appCollectionsEnsure). Apps use only this endpoint to read collection structures. collections[].createCapability provides allowed, an independent writable input schema and version bindings from the current employee's actual creation rules. Do not infer creation rights from generic record:write or read schemas. limits exposes count, totals, queryBatch, get, subscriptions, TTL, concurrency and idempotency-window limits for adaptive clients. Hints are not credentials; writes and replay are authorized again at runtime. Identity comes only from server authentication. App ID and issuer-user parameters are not accepted; credentials are not returned.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/context' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

application/json

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

レスポンス
200default
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
requestIdstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいAppContext. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200Query result.application/json
defaultFailure response; see Common errors for HTTP statuses and shared error fields.application/json

Platform information

POST/capabilities/discover

Discover workspace capabilities and contract versions

Requires a valid Workspace API key and an empty JSON object of at most 4KiB UTF-8 bytes; query parameters and Workspace overrides are rejected. Success returns CapabilityDiscoverV2Resp directly, without a code/msg/data envelope. Capabilities combine public release gates, Workspace feature gates and explicit key grants; Namespace and Stream request report publication and authorization only, with readiness_unknown and no runtime probe. Source/Stream retain evidence for individual operation prerequisites. state=ready does not replace resource authorization or an actual execution receipt. Contract 2.0 uses state, reasonCode and operations and omits redundant boolean states. Actual operations enforce backend execution safety checks and return their authoritative errors. Clients may ignore unknown extension fields. Version labels do not indicate device acknowledgements or npm package versions. Errors return CapabilityErrorResp with the actual HTTP status and do not expose internal exceptions.

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

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>はいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json

POST/info

info

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformInfoResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

Identity

POST/auth/whoami

whoami

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "apiKeyName": "string",
    "email": "string",
    "keyPrefix": "string",
    "keyType": "string",
    "permissions": [
      "value"
    ]
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAuthWhoamiResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

Files

POST/assets/files

Request a file upload

Request a file upload

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appInstanceId":"string","business":"string","contentType":"string","fileName":"string","sessionId":"string"}'

application/json

フィールド型必須説明
appInstanceIdstringいいえOpenAPI に記載なし
businessstringいいえOpenAPI に記載なし
contentTypestringいいえOpenAPI に記載なし
fileNamestringはいOpenAPI に記載なし
sessionIdstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
visibilitystringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "expiresAt": 0,
    "fileId": 0,
    "filePath": "string",
    "fileUrl": "string",
    "postFields": {}
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetFileUploadResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/assets/files/delete

Delete a file

Delete a file

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"filePath":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetFileDeleteResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

GET/assets/files/download

Download a file

Returns HTTP 302 with the download URL in Location and no JSON body. Private files use signed URLs; public files use persistent public URLs. When following the redirect, do not forward x-api-key or other credential headers to a different origin. The SDK already follows this rule.

リクエストパラメーター
名前場所型必須説明
filePathquerystringはいOpenAPI に記載なし
responseContentDispositionquerystringいいえOpenAPI に記載なし
レスポンス
302
レスポンスステータスの意味
ステータス意味メディアタイプ
302Redirect to the public or short-lived signed download URL.—

POST/assets/files/multipart/abort

Abort a multipart upload

Abort the multipart upload, remove remaining parts and release reserved quota.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/abort' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileKey":"string","uploadId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetFileMultipartAbortResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/assets/files/multipart/complete

Complete a multipart upload

Complete the upload after validating actual sizes with ListParts and reconciling reserved quota; change the file from temp to active.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/complete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileKey":"string","parts":[{"etag":"value","partNumber":"value"}],"uploadId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetFileMultipartCompleteResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/assets/files/multipart/init

Initialize a multipart upload

Initialize direct multipart upload for large files (>100 MB). The server creates the upload and reserves quota, returning uploadId, partSize and partCount.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/init' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appInstanceId":"string","bizId":"string","business":"string","contentType":"string","fileName":"string"}'

application/json

フィールド型必須説明
appInstanceIdstringいいえOpenAPI に記載なし
bizIdstringいいえOpenAPI に記載なし
businessstringいいえOpenAPI に記載なし
contentTypestringいいえOpenAPI に記載なし
fileNamestringはいOpenAPI に記載なし
partSizeintegerいいえOpenAPI に記載なし
sessionIdstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
visibilitystringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "expiresAt": 0,
    "fileKey": "string",
    "filePath": "string",
    "partCount": 0,
    "partSize": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetFileMultipartInitResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/assets/files/multipart/part-urls

Get signed part upload URLs

Issue signed PUT URLs for selected parts, uploaded directly to object storage. Resumable uploads are supported.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/part-urls' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"fileKey":"string","partNumbers":[0],"uploadId":"string"}'

application/json

フィールド型必須説明
fileKeystringはいOpenAPI に記載なし
partNumbersarray<integer>はいOpenAPI に記載なし
uploadIdstringはいOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetFileMultipartPartUrlsResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

GET/assets/files/url

Get a file URL

Get a file URL

リクエストパラメーター
名前場所型必須説明
filePathquerystringはいOpenAPI に記載なし
expiredSecqueryintegerいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetFileUrlResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/assets/upload

assetUpload

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/upload' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"business":"string","contentType":"string","fileName":"string","isPublic":false,"sha256":"string"}'

application/json

フィールド型必須説明
businessstringいいえOpenAPI に記載なし
contentTypestringいいえOpenAPI に記載なし
fileNamestringはいOpenAPI に記載なし
isPublicbooleanいいえOpenAPI に記載なし
sha256stringいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
sizeBytesintegerはいOpenAPI に記載なし
storageKeystringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAssetUploadResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

Notifications

POST/notifications/get

Get notification delivery status

Get delivery status by messageId. Ownership is checked against the requesting API key.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"messageId":"string"}'

application/json

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

200 · application/json

{
  "channels": [
    {
      "channel": "value",
      "errorCode": "value",
      "message": "value",
      "platform": "value",
      "status": "value"
    }
  ],
  "completedAt": "string",
  "createdAt": "string",
  "errorCode": "string",
  "message": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
channelsarray<object>はいスキーマの章で参照先のスキーマを確認してください。
completedAtstringいいえスキーマの章で参照先のスキーマを確認してください。
createdAtstringはいスキーマの章で参照先のスキーマを確認してください。
errorCodestringいいえスキーマの章で参照先のスキーマを確認してください。
messagestringいいえスキーマの章で参照先のスキーマを確認してください。
messageIdstringはいスキーマの章で参照先のスキーマを確認してください。
recipientNamestringいいえRecipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now
recipientUserIdstringはいRecipient user ID of the request (a large integer carried as string), same as the recipientUserId given when sending
statusstringはいスキーマの章で参照先のスキーマを確認してください。
typestringはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
404Platform operation failed.application/json
409Platform operation failed.application/json
422Platform operation failed.application/json
429Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json
504Platform operation failed.application/json

POST/notifications/list

List notification delivery records

List notification delivery records page by page, without the content. A personal key whose owner is an owner or admin of the workspace sees the whole workspace; any other key sees only the records it sent. The whole-workspace scope includes records dispatched from the admin console (keyId is the string 0).

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"messageId":"string","page":0,"recipientUserId":"string","size":0,"status":"string"}'

application/json

フィールド型必須説明
messageIdstringいいえFilter by message ID (a large integer carried as string, a positive integer); omitted or empty string means no filter
pageintegerいいえPage number, 1-based; defaults to 1 when omitted, an explicit value must be >= 1
recipientUserIdstringいいえFilter by recipient user ID (a large integer carried as string, a positive integer); omitted or empty string means no filter
sizeintegerいいえItems per page; defaults to 20 when omitted, an explicit value must be between 1 and 100
statusstringいいえFilter by status: accepted / sent / failed; omitted or empty string means no filter, any other value is rejected with 400
レスポンス
200400401403404409422429500503504
成功レスポンスの例

200 · application/json

{
  "list": [
    {
      "channels": "value",
      "completedAt": "value",
      "createdAt": "value",
      "errorCode": "value",
      "keyId": "value"
    }
  ],
  "page": 0,
  "size": 0,
  "total": 0
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
listarray<object>はいスキーマの章で参照先のスキーマを確認してください。
pageintegerはいPage number actually used
sizeintegerはいItems per page actually used
totalintegerはいTotal number of records matching the filters
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
404Platform operation failed.application/json
409Platform operation failed.application/json
422Platform operation failed.application/json
429Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json
504Platform operation failed.application/json

POST/notifications/send

Send a notification

Send an inbox notification to a user in the API key's workspace, optionally requesting web or mobile push delivery.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/send' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"channels":["web"],"content":"string","idempotencyKey":"string","link":"string","mode":"string"}'

application/json

フィールド型必須説明
channelsarray<string>いいえOpenAPI に記載なし
contentstringはいPlain text only; a request containing HTML tags is rejected with 400.
idempotencyKeystringはいOpenAPI に記載なし
linkstringいいえOpenAPI に記載なし
modestringいいえDeprecated (2026-11-04): test/live is decided by the platform from the API key and sender.type, and the value sent here is ignored (except for existing app credentials that do not distinguish preview from deployment, during the transition). test messages appear only in that App's Building preview bell; they do not enter the message center and are not pushed to devices.
recipientUserIdstringはいOpenAPI に記載なし
senderobjectいいえPlatformNotificationSender. スキーマの章で参照先のスキーマを確認してください。
sourcestringいいえDeprecated transitional alias for sender.name. sender.name takes precedence; this field will be removed.
titlestringはいPlain text only; a request containing HTML tags is rejected with 400.
typestringはいOpenAPI に記載なし
レスポンス
200400401403404409422429500503504
成功レスポンスの例

200 · application/json

{
  "createdAt": "string",
  "messageId": "string",
  "recipientName": "string",
  "recipientUserId": "string",
  "status": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
createdAtstringはいスキーマの章で参照先のスキーマを確認してください。
messageIdstringはいスキーマの章で参照先のスキーマを確認してください。
recipientNamestringいいえRecipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now; never affects the send result
recipientUserIdstringはいRecipient user ID of the request (a large integer carried as string); on an idempotent hit it is the recipient of the existing request
statusstringはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
404Platform operation failed.application/json
409Platform operation failed.application/json
422Platform operation failed.application/json
429Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json
504Platform operation failed.application/json

Members

POST/apps/access-members/list

listAccessMembers

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/apps/access-members/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","grantedAtEnd":0,"grantedAtStart":0,"page":0,"roleKeys":["string"]}'

application/json

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
grantedAtEndintegerいいえMilliseconds; inclusive bounds with second precision.
grantedAtStartintegerいいえMilliseconds; inclusive bounds with second precision.
pageintegerいいえOpenAPI に記載なし
roleKeysarray<string>いいえMatch any value, case insensitive.
scopestringいいえdraft: computed from draft roles; production or omitted: computed from the production version.
sizeintegerいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAppAccessMembersListResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/platform/getMembers

getMembers

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/getMembers' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"keyword":"string","page":0,"roleKey":"string","roles":["string"],"size":0}'

application/json

フィールド型必須説明
keywordstringいいえOpenAPI に記載なし
pageintegerいいえOpenAPI に記載なし
roleKeystringいいえOpenAPI に記載なし
rolesarray<string>いいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
statusesarray<string>いいえOpenAPI に記載なし
updatedAtEndstringいいえOpenAPI に記載なし
updatedAtStartstringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformPlatformMembersResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

MQTT credentials

POST/mqtt-auth/create

Create an MQTT credential

Create a regular MQTT credential of the same type created manually in the UI. The password is returned only once, in the successful creation response. Store it securely; this API cannot retrieve it later. Requires a full_access API key.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/mqtt-auth/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"clientIDRandomSuffixEnabled":false,"description":"string","name":"string"}'

application/json

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "clientID": "string",
    "clientIDRandomSuffixEnabled": false,
    "id": 0,
    "name": "string",
    "password": "string"
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformMqttAuthCreateResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/mqtt-auth/delete

Delete an MQTT credential

Idempotently delete a regular MQTT credential. Missing, deleted or non-regular IDs return success without deleting Flow, EdgeNode or other system credentials. Requires a full_access API key.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/mqtt-auth/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"id":0}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformMqttAuthDeleteResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

Agent

POST/agent/analyses/dispatch

Dispatch an analysis using its operation ID

Dispatch an immediate refresh or rerun analysis using an operationId UUID. Repeating the same ID and request reads the original run without executing again. Requires uns:write and the actual owner's identity.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/analyses/dispatch' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"canvasId":"string","cardId":"string","kind":"string","operationId":"string","resultId":"string"}'

application/json

フィールド型必須説明
canvasIdstringいいえOpenAPI に記載なし
cardIdstringいいえOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
operationIdstringはいOpenAPI に記載なし
resultIdstringいいえOpenAPI に記載なし
taskobjectはいOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentAnalysisDispatchResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/analyses/get

Read an analysis run and result reference

Read the current owner's analysis status, errors and results by runId within the workspace. Other users' runs are inaccessible. Requires uns:read.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/analyses/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"runId":"string"}'

application/json

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "run": {
      "dispatchState": "value",
      "errorCode": "value",
      "errorMessage": "value",
      "finishedAt": "value",
      "firedAt": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentAnalysisGetResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/canvases/list

List workspace canvases

List canvas metadata in the current workspace, optionally filtered by platform session. page and size are required; size is 1 to 100. Requires uns:read.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/canvases/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"sessionId":"string","size":0}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentCanvasListResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/cards/delete

Delete a canvas card with optimistic concurrency

Delete by canvas and card row ID. expectedCardSpec must match the full current card or HTTP 409 is returned. Requires uns:write.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"canvasId":"string","cardId":"string","expectedCardSpec":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentCardDeleteResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/cards/get

Read a complete canvas card

Read the full CardSpec by authenticated workspace, canvas ID and card row ID before editing.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"canvasId":"string","cardId":"string"}'

application/json

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "canvasId": "string",
    "cardId": "string",
    "cardKey": "string",
    "cardSpec": "string",
    "updatedAt": 0
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentCardGetResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/cards/list

List canvas cards

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"canvasId":"string","page":0,"size":0}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentCardListResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/cards/update

Update a canvas card

A sandbox Agent updates a canvas card using an App key. The card must belong to the key's workspace.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/cards/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"canvasId":"string","cardId":"string","cardSpec":"string","expectedCardSpec":"string","ord":0}'

application/json

フィールド型必須説明
canvasIdstringいいえOpenAPI に記載なし
cardIdstringはいOpenAPI に記載なし
cardSpecobjectはいOpenAPI に記載なし
expectedCardSpecobjectはいThe full previously read card. Changes produce HTTP 409.
ordintegerいいえCanvas order: omit to leave unchanged (forwarded to unssvr as -1). Explicit values, including 0, are preserved.
positionobjectいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentCardUpdateResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/job-runs/get

Read a task run

Only the task owner may use this operation. Triggering returns the run ID and current dispatch state, not proof of successful execution. Do not retry automatically after an unknown network outcome.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/job-runs/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobId":"string","jobRunId":"string"}'

application/json

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "run": {
      "dispatchState": "value",
      "errorCode": "value",
      "errorMessage": "value",
      "finishedAt": "value",
      "firedAt": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobRunGetResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/job-runs/list

List task run history

Only the task owner may use this operation. Triggering returns the run ID and current dispatch state, not proof of successful execution. Do not retry automatically after an unknown network outcome.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/job-runs/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobId":"string","page":0,"size":0,"status":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobRunListResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/create

Create a scheduled task

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"cardId":"string","cronExpr":"string","expiresAt":0,"intervalSeconds":0,"name":"string"}'

application/json

フィールド型必須説明
cardIdstringいいえOpenAPI に記載なし
cronExprstringいいえOpenAPI に記載なし
expiresAtintegerいいえOpenAPI に記載なし
intervalSecondsintegerいいえOpenAPI に記載なし
namestringはいOpenAPI に記載なし
notifyobjectいいえOpenAPI に記載なし
scheduleKindstringはいOpenAPI に記載なし
sessionIdstringはいOpenAPI に記載なし
sourceBlockIdstringいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
sourceNamestringいいえOpenAPI に記載なし
sourceTypestringはいOpenAPI に記載なし
taskobjectはいOpenAPI に記載なし
typestringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/delete

Delete a scheduled task

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/get

Read a scheduled task

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobId":"string"}'

application/json

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "job": {
      "attentionReason": "value",
      "cardId": "value",
      "createdAt": "value",
      "cronExpr": "value",
      "expiresAt": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobGetResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/list

List scheduled tasks

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"cardId":"string","page":0,"search":"string","size":0,"sourceId":"string"}'

application/json

フィールド型必須説明
cardIdstringいいえOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
sourceTypestringいいえOpenAPI に記載なし
statusstringいいえactive / paused / needs_attention / expired
typestringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobListResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/pause

Pause a scheduled task

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/pause' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/resume

Resume a scheduled task

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/resume' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/trigger

Trigger a task once

Only the task owner may use this operation. Triggering returns the run ID and current dispatch state, not proof of successful execution. Do not retry automatically after an unknown network outcome.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/trigger' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"jobId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobTriggerResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/jobs/update

Update a scheduled task

Operate only in the authenticated workspace. Reads require uns:read; writes require uns:write. The task owner is the actual API key user. Creation is not automatically retried.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/jobs/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"cardId":"string","cronExpr":"string","expiresAt":0,"intervalSeconds":0,"jobId":"string"}'

application/json

フィールド型必須説明
cardIdstringいいえOpenAPI に記載なし
cronExprstringいいえOpenAPI に記載なし
expiresAtintegerいいえOpenAPI に記載なし
intervalSecondsintegerいいえOpenAPI に記載なし
jobIdstringはいOpenAPI に記載なし
namestringいいえOpenAPI に記載なし
notifyobjectいいえOpenAPI に記載なし
notifyEnabledintegerいいえOmit to preserve notification settings. 1 requires notify; 2 disables notifications and must omit notify.
scheduleKindstringいいえOpenAPI に記載なし
sessionIdstringいいえOpenAPI に記載なし
sourceBlockIdstringいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
sourceNamestringいいえOpenAPI に記載なし
sourceTypestringいいえOpenAPI に記載なし
taskobjectいいえOpenAPI に記載なし
typestringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentJobMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/library/create

Create a library entry with conflict detection

Create a workspace template. The same cardKey and content reuse the existing entry; different content returns HTTP 409 without overwriting the template. Requires uns:write.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"cardKey":"string","cardSpec":"string","sourceSessionId":"string","tags":["string"]}'

application/json

フィールド型必須説明
cardKeystringはいOpenAPI に記載なし
cardSpecobjectはいOpenAPI に記載なし
sourceSessionIdstringいいえOpenAPI に記載なし
tagsarray<string>いいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentLibraryMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/library/delete

Delete a card library entry

Delete a workspace template by its verified library entry ID. Requires uns:write.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/delete' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"libraryItemId":"string"}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentLibraryMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/library/get

Read a complete card library entry

Read the complete template, tags and source session by library entry ID before editing. Requires uns:read.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"libraryItemId":"string"}'

application/json

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

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "item": {
      "cardKey": "value",
      "cardSpec": "value",
      "createdAt": "value",
      "libraryItemId": "value",
      "sourceSessionId": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentLibraryGetResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/library/list

List card library entries

List shared card templates in the current workspace, matching any requested tag and optionally searching titles. Requires uns:read.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"search":"string","size":0,"tags":["string"]}'

application/json

フィールド型必須説明
pageintegerはいOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
tagsarray<string>いいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentLibraryListResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/library/update

Update a library entry with optimistic concurrency

Update a template with the full previously read expectedItem. Changed content returns HTTP 409. An explicit empty tags array clears tags. Requires uns:write.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/library/update' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"cardSpec":"string","expectedItem":{"cardKey":"string","cardSpec":"string","sourceSessionId":"string","tags":["value"]},"libraryItemId":"string","sourceSessionId":"string","tags":["string"]}'

application/json

フィールド型必須説明
cardSpecobjectはいOpenAPI に記載なし
expectedItemobjectはいPlatformAgentLibrarySnapshot. スキーマの章で参照先のスキーマを確認してください。
libraryItemIdstringはいOpenAPI に記載なし
sourceSessionIdstringいいえOpenAPI に記載なし
tagsarray<string>いいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentLibraryMutationResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/results/create

Save an Agent analysis result

A sandbox Agent submits a v1 result manifest using an App key, with idempotency by operationId.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/create' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"cardSpec":"string","dataScope":"string","images":["value"],"missingData":"string","operationId":"string"}'

application/json

フィールド型必須説明
cardSpecobjectいいえOpenAPI に記載なし
dataScopeobjectいいえOpenAPI に記載なし
imagesarrayいいえOpenAPI に記載なし
missingDataobjectはいOpenAPI に記載なし
operationIdstringはいOpenAPI に記載なし
resultSchemaVersionintegerはいOpenAPI に記載なし
sourceobjectはいPlatformAgentResultSource. スキーマの章で参照先のスキーマを確認してください。
stepsarrayいいえOpenAPI に記載なし
summarystringいいえOpenAPI に記載なし
tablesarrayいいえOpenAPI に記載なし
titlestringはいOpenAPI に記載なし
warningsarray<string>いいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentResultCreateResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/results/get

Read a saved analysis result

Read a result in the authenticated workspace using exactly one of resultId or operationId. Reuse the original operation ID to verify a save after a lost receipt. Returns the full manifest and CardSpec; requires uns:read.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/get' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"operationId":"string","resultId":"string"}'

application/json

フィールド型必須説明
operationIdstringいいえProvide this or resultId, but not both. After a save timeout, retrieve by the original ID instead of saving again.
resultIdstringいいえOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

{
  "code": 0,
  "msg": "string",
  "data": {
    "result": {
      "agentId": "value",
      "byteSize": "value",
      "cardSpec": "value",
      "createdAt": "value",
      "manifest": "value"
    }
  }
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentResultGetResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/results/list

List saved analysis results

List results in the authenticated workspace, optionally filtered by platform session. page and size are required; size is 1 to 100. Requires uns:read.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/list' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"platformSessionId":"string","size":0}'

application/json

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

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentResultListResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

POST/agent/results/pin

Pin a saved result to a canvas

Pin a result in the authenticated workspace; requires uns:write. Create a card from CardSpec when present, or a reference card that reads tabular/chart details by resultId. Retrying the same result and canvas returns the original card without overwriting later edits.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/agent/results/pin' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"canvasId":"string","position":"string","resultId":"string"}'

application/json

フィールド型必須説明
canvasIdstringはいOpenAPI に記載なし
positionobjectいいえOpenAPI に記載なし
resultIdstringはいOpenAPI に記載なし
レスポンス
200
成功レスポンスの例

200 · application/json

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

200 · application/json

フィールド型必須説明
codeintegerはいスキーマの章で参照先のスキーマを確認してください。
msgstringはいスキーマの章で参照先のスキーマを確認してください。
dataobjectはいPlatformAgentResultPinResp. スキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json

Stream requests

POST/stream-requests/{requestCode}/describe

Describe Stream request

Read a public Stream request contract without exposing internal runtime bindings.

リクエストパラメーター
名前場所型必須説明
requestCodepathstringはいOpenAPI に記載なし
レスポンス
200400401403404409422429500503504
成功レスポンスの例

200 · application/json

{
  "code": "string",
  "contractVersion": "string",
  "description": "string",
  "idempotency": "string",
  "inputSchema": {}
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codestringはいスキーマの章で参照先のスキーマを確認してください。
contractVersionstringはいスキーマの章で参照先のスキーマを確認してください。
descriptionstringはいスキーマの章で参照先のスキーマを確認してください。
idempotencystringはいスキーマの章で参照先のスキーマを確認してください。
inputSchemaobjectはいスキーマの章で参照先のスキーマを確認してください。
namestringはいスキーマの章で参照先のスキーマを確認してください。
outputSchemaobjectはいスキーマの章で参照先のスキーマを確認してください。
sideEffectstringはいスキーマの章で参照先のスキーマを確認してください。
statusstringはいスキーマの章で参照先のスキーマを確認してください。
timeoutMsintegerはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
404Platform operation failed.application/json
409Platform operation failed.application/json
422Platform operation failed.application/json
429Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json
504Platform operation failed.application/json

POST/stream-requests/{requestCode}/invoke

Invoke Stream request

Invoke a Stream request using its public contract. The raw body must be valid UTF-8 and at most 1 MiB. The optional idempotencyKey is limited to 128 decoded UTF-8 bytes; the frozen contract determines whether it is required. Returns code, contractVersion, result, runID, status and replayed (boolean), without internal runtime bindings. An unknown result returns HTTP 504 with errorCode=STREAM_REQUEST_RESULT_UNKNOWN. Unclassified internal errors return HTTP 500 with errorCode=STREAM_REQUEST_INTERNAL_ERROR; message does not expose internal exceptions.

リクエストパラメーター
名前場所型必須説明
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 '{"idempotencyKey":"string","input":"string"}'

application/json

フィールド型必須説明
idempotencyKeystringいいえAt most 128 decoded UTF-8 bytes. The frozen contract determines whether this field is required.
inputobjectはいOpenAPI に記載なし
レスポンス
200400401403404409422429500503504
成功レスポンスの例

200 · application/json

{
  "code": "string",
  "contractVersion": "string",
  "replayed": false,
  "result": "string",
  "runID": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
codestringはいスキーマの章で参照先のスキーマを確認してください。
contractVersionstringはいThe frozen contract version used for execution.
replayedbooleanはいtrue indicates an idempotent replay; false indicates the first execution.
resultobjectはいThe JSON result defined by the contract; null is allowed.
runIDstringはいThe execution identifier returned by the server, represented as an opaque string.
statusstringはいThe final status returned by the server; never accepted, queued, pending or running.
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
404Platform operation failed.application/json
409Platform operation failed.application/json
422Platform operation failed.application/json
429Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json
504Platform operation failed.application/json

POST/stream-requests/discover

Discover Stream requests

Discover visible Stream request contracts without exposing internal runtime bindings.

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/stream-requests/discover' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"page":0,"search":"string","size":0}'

application/json

フィールド型必須説明
pageintegerいいえDefaults to 1.
searchstringいいえOpenAPI に記載なし
sizeintegerいいえDefaults to 20.
レスポンス
200400401403404409422429500503504
成功レスポンスの例

200 · application/json

{
  "list": [
    {
      "code": "value",
      "contractVersion": "value",
      "description": "value",
      "idempotency": "value",
      "inputSchema": "value"
    }
  ],
  "total": 0
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
listarray<object>はいスキーマの章で参照先のスキーマを確認してください。
totalintegerはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
404Platform operation failed.application/json
409Platform operation failed.application/json
422Platform operation failed.application/json
429Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json
504Platform operation failed.application/json

Stream messages

POST/stream-messages/connect

Connect Stream messages

リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/stream-messages/connect' \
  --header 'x-api-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{"appId":"string","clientPublicKey":"string","topics":[{"publish":"value","subscribe":"value","topic":"value"}]}'

application/json

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

200 · application/json

{
  "contractVersion": "string",
  "expiresAt": "string",
  "maxPayloadBytes": 0,
  "permissions": [
    {
      "publishSubject": "value",
      "subscribeSubject": "value",
      "topic": "value"
    }
  ],
  "url": "string"
}
成功レスポンスのフィールド

200 · application/json

フィールド型必須説明
contractVersionstringはいスキーマの章で参照先のスキーマを確認してください。
expiresAtstringはいスキーマの章で参照先のスキーマを確認してください。
maxPayloadBytesintegerはいスキーマの章で参照先のスキーマを確認してください。
permissionsarray<object>はいスキーマの章で参照先のスキーマを確認してください。
urlstringはいスキーマの章で参照先のスキーマを確認してください。
userJwtstringはいスキーマの章で参照先のスキーマを確認してください。
レスポンスステータスの意味
ステータス意味メディアタイプ
200application/json
400Platform operation failed.application/json
401Platform operation failed.application/json
403Platform operation failed.application/json
404Platform operation failed.application/json
409Platform operation failed.application/json
422Platform operation failed.application/json
429Platform operation failed.application/json
500Platform operation failed.application/json
503Platform operation failed.application/json
504Platform operation failed.application/json

スキーマ

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

AppCollectionContext

フィールド型必須説明
aliasstringはいOpenAPI に記載なし
collectionIdstringはいCollection ID identifying the owner of business records and samples.
indexesarray<object>いいえUnified index declaration, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omission preserves indexes; [] removes them. Paths omit data.; unique indexes are record B-trees only. Builds are asynchronous; check readiness through indexStatus.
permissionsarray<string>はいOpenAPI に記載なし
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
sampleSchemaobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。
createCapabilityobjectいいえCloudAppCreateCapability. スキーマの章で参照先のスキーマを確認してください。
revisionintegerはいCollection definition revision; increments on structural or index changes.
indexStatusarray<object>はいCurrent index state; only ready unique indexes support upsert, and only ready TTL indexes begin expiration deletion.
ttlobjectはいCollection TTL rule, or null when absent.
ownerAppIdstringいいえOwning App of the collection. Equal to the current appId for an owned collection, different for a collection granted from another App; omitted for workspace collections.
namestringはいBusiness name of the collection.
descriptionstringいいえCollection description; omitted when empty.
directoryPatharray<string>はいDirectory names from the workspace root to the collection, in the same shape as appCollectionsEnsure directoryPath; [] when the collection is at the root.

AppContext

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
collectionsarray<object>はいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
platformPermissionsarray<string>はいExplicit platform capabilities; default none; current App grants intersect with key and issuer resources
revisionintegerはいOpenAPI に記載なし
dataStatestringはいuninitialized means no data policy exists: empty collections are returned without writing initialization state; declaring the actual collections through ensure makes the state ready. An administrator-disabled policy still returns HTTP 403 APP_DATA_POLICY_DISABLED and is never re-enabled automatically.
limitsobjectはいCloudAppDataLimits. スキーマの章で参照先のスキーマを確認してください。

CapabilityDiscoverycapability

Unknown capability codes are ignored; only recognized codes use the frozen assessment contract.

フィールド型必須説明
codestringはいOpenAPI に記載なし

CapabilityDiscoveryknownCapability

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 に記載なし

CapabilityDiscoveryknownOperation

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 に記載なし

CapabilityDiscoveryoperation

Unknown operation names are ignored within their parent capability; known names are validated by that capability.

フィールド型必須説明
operationstringはいOpenAPI に記載なし

CloudAppCollectionDeclaration

フィールド型必須説明
aliasstringはいCase-insensitively unique app collection alias, matching src/data/collections.ts.
namestringはいThe user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias. Required. ensure writes the name only on creation; existing names are maintained through metadata updates. Declaration changes do not overwrite user renames.
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
indexesarray<object>いいえDeclared indexes; ensure unions current and declared indexes without removing any.
descriptionstringいいえCollection description is written only on creation; later changes use schema:replace. ensure does not write annotations and reports differences in ignored as ANNOTATION_NOT_APPLIED.
directoryPatharray<string>いいえReal business directory names from the workspace root. Required for new aliases; existing aliases may omit it, and changed paths are ignored without moving Collections. Reuse active directories by parent and name or atomically create missing segments. Archived or non-directory name conflicts fail without restoring directories or granting extra permissions. For industrial data, follow the known ISA-95 equipment hierarchy Enterprise, Site, Area, Work Center, Work Unit. Skip inapplicable levels; non-industrial data uses its real business hierarchy. Never invent five levels. MES, App or business-module directories are allowed below the real equipment scope, for example Factory/Line/MES/Work Orders. Do not flatten data from different equipment scopes into a single root App container.

CloudAppCollectionEnsureResult

フィールド型必須説明
aliasstringはいCase-insensitively unique app collection alias, matching src/data/collections.ts.
collectionIdstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
ignoredarray<object>はいDifferences ignored because the declaration is narrower than storage or hits retired; for logging only.
warningsarray<object>はいOpenAPI に記載なし
indexStatusarray<object>はいCurrent index state; only ready unique indexes support upsert.

CloudAppCollectionRetired

フィールド型必須説明
pathsarray<string>はいOpenAPI に記載なし
enumValuesarray<object>はいOpenAPI に記載なし

CloudAppCollectionSchemaNote

フィールド型必須説明
pathstringはいSchema paths join object properties with dots, escaping literal . and backslash with backslash. Array elements use [], such as lines.[].discount; empty string means the record root.
reasonstringはいOpenAPI に記載なし
messagestringいいえOpenAPI に記載なし

CloudAppCollectionView

フィールド型必須説明
aliasstringはいCase-insensitively unique app collection alias, matching src/data/collections.ts.
collectionIdstringはいOpenAPI に記載なし
namestringはいThe user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias.
descriptionstringいいえOpenAPI に記載なし
parentIdstringいいえOpenAPI に記載なし
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
indexesarray<object>はいOpenAPI に記載なし
indexStatusarray<object>はいOpenAPI に記載なし
retiredobjectはいCloudAppCollectionRetired. スキーマの章で参照先のスキーマを確認してください。
revisionintegerはいOpenAPI に記載なし
archivedbooleanはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし

CloudAppCollectionWarning

フィールド型必須説明
codestringはいOpenAPI に記載なし
pathstringいいえOpenAPI に記載なし
messagestringはいOpenAPI に記載なし

CloudAppCreateCapability

Creation-input hint for the current key/app/employee and collection version; not an authorization credential. allowed=true establishes that compliant input exists, not that uniqueness, actual input or future writes will succeed. inputSchema selects writable fields independently, including write-only fields, rather than using the read schema. owner/state are injected by the server and not exposed to clients. No business defaults are filled; required fields must still be supplied. Unprovable schema semantics safely return false. Writes and replay always reauthorize at runtime; binding is only for UI cache invalidation.

フィールド型必須説明
versionstringはいOpenAPI に記載なし
allowedbooleanはいOpenAPI に記載なし
reasonstringはいOpenAPI に記載なし
appRevisionintegerはいOpenAPI に記載なし
collectionRevisionintegerはいOpenAPI に記載なし
bindingstringはいOpenAPI に記載なし
inputSchemaobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。

CloudAppDataGrant

フィールド型必須説明
aliasstringいいえOptional access alias; when omitted, authorize and access directly by collectionId. An empty string clears the alias.
collectionIdstringはいOpenAPI に記載なし
permissionsarray<string>はいOpenAPI に記載なし
dataRuleobjectいいえCloudAppDataRule. スキーマの章で参照先のスキーマを確認してください。

CloudAppDataGrantChange

フィールド型必須説明
actionstringはいOpenAPI に記載なし
collectionIdstringはいOpenAPI に記載なし
aliasstringいいえOptional access alias; when omitted, authorize and access directly by collectionId. An empty string clears the alias.
permissionLevelstringいいえBusiness record permission presets: read-only, read-write and manage including deletion. Mutually exclusive with permissions; does not automatically grant sample permissions.
permissionsarray<string>いいえOpenAPI に記載なし
dataRuleobjectいいえOmission retains employee rules; null clears them explicitly and requires ruleContractVersion confirmation.

CloudAppDataLimits

Current data-plane limits for SDK/MCP batch and concurrency adaptation; returned from current server configuration.

フィールド型必須説明
countobjectはいOpenAPI に記載なし
totalobjectはいOpenAPI に記載なし
queryBatchobjectはいOpenAPI に記載なし
getobjectはいOpenAPI に記載なし
subscribeobjectはいOpenAPI に記載なし
ttlobjectはいOpenAPI に記載なし
concurrencyobjectはいOpenAPI に記載なし
idempotencyWindowMsintegerはいWrite-idempotency retention window in milliseconds; reuse after the window is treated as a new request.

CloudAppDataPolicy

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
versionstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
collectionsarray<object>はいOpenAPI に記載なし
authorityStatusstringはいOpenAPI に記載なし
appNamestringはいOpenAPI に記載なし
ruleContractVersionstringいいえRequired explicitly on updates when any previous or proposed Collection grant has a dataRule, including removal and disabled revocation. Omitted for unprotected policies.

CloudAppDataRule

フィールド型必須説明
versionstringはいOpenAPI に記載なし
ownerFieldstringはいOpenAPI に記載なし
stateFieldstringいいえOpenAPI に記載なし
initialStatestringいいえOpenAPI に記載なし
principalsarray<object>はいOpenAPI に記載なし

CloudAppDataRulePrincipal

フィールド型必須説明
userIdstringはいOpenAPI に記載なし
rowScopestringはいOpenAPI に記載なし
permissionsarray<string>はいOpenAPI に記載なし
readFieldsarray<string>いいえOpenAPI に記載なし
writeFieldsarray<string>いいえOpenAPI に記載なし
writeStatesarray<string>いいえOpenAPI に記載なし
transitionsarray<object>いいえOpenAPI に記載なし

CloudAppDataRuleTransition

フィールド型必須説明
fromstringはいOpenAPI に記載なし
tostringはいOpenAPI に記載なし

CloudAppStreamAccessItem

フィールド型必須説明
codestringはいOpenAPI に記載なし
streamIdstringはいOpenAPI に記載なし
streamNamestringはいOpenAPI に記載なし
entryIdstringはいOpenAPI に記載なし
entryNamestringはいOpenAPI に記載なし
actionsarray<string>はいOpenAPI に記載なし
configuredActiveintegerはいOpenAPI に記載なし
statestringはいOpenAPI に記載なし
blockedReasonsarray<string>はいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし

CloudAppStreamAccessPage

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

CloudAppStreamPolicy

フィールド型必須説明
appIdstring (uuid)はいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
versionstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
authorityStatusstringはいOpenAPI に記載なし
appNamestringはいOpenAPI に記載なし
platformPermissionsarray<string>はいOpenAPI に記載なし
messageTopicsarray<object>いいえOpenAPI に記載なし

CloudCappedCount

Capped count.

フィールド型必須説明
countintegerはいOpenAPI に記載なし
cappedbooleanはいcapped=true means actual matches exceed the cap, checked using cap + 1 rows, and count equals the cap. With capped=false, count is the complete total.

CloudCollectionTTL

Collection TTL rule: physically delete records after path time plus expireAfterSeconds; irreversible.

フィールド型必須説明
pathstringはいExpiration timestamp field.
expireAfterSecondsintegerはいOpenAPI に記載なし

CloudDataPage

Pipeline-generated documents, without record/sample wrappers. Fields are determined by pipeline.

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。

CloudDistinctPage

フィールド型必須説明
modestringいいえOpenAPI に記載なし
pageintegerいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし

CloudDistinctResult

フィールド型必須説明
valuesarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。

CloudNullableRecordDocument

Ordinary business record. Business fields are in data; system attributes are siblings. filter/projection use bare business names and _id/_meta.*, not response-object paths. lock describes only active leases and does not return tokens.

フィールド型必須説明
idstringはいOpenAPI に記載なし
collectionIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
createdAtintegerはいUnix milliseconds.
updatedAtintegerはいUnix milliseconds.
sourceIdstringはいOpenAPI に記載なし
sourceTimeintegerはいUnix milliseconds.
lockobjectいいえCloudRecordLockView. スキーマの章で参照先のスキーマを確認してください。

CloudNullableSampleDocument

Ordinary sample object. Business fields are in data; time, quality, record identity and available provenance are siblings.

フィールド型必須説明
idstringはいOpenAPI に記載なし
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 に記載なし

CloudPlatformReadiness

フィールド型必須説明
readybooleanはいOpenAPI に記載なし
reasonCodestringはいOpenAPI に記載なし
checkedAtstring (date-time)いいえOpenAPI に記載なし
validUntilstring (date-time)いいえOpenAPI に記載なし
retryAfterMsintegerいいえOpenAPI に記載なし

CloudPreviewResult

フィールド型必須説明
validatedbooleanはいOpenAPI に記載なし
sideEffectsbooleanはいOpenAPI に記載なし

CloudRecordAggregatePage

Pipeline-generated documents; total is the capped count of pipeline output.

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。
totalobjectいいえCloudCappedCount. スキーマの章で参照先のスキーマを確認してください。

CloudRecordBatchQuery

Batch entries support find/count/distinct/aggregate/get. Fields follow each op variant, with id and op. Record distinct is available only within queryBatch; no standalone distinct endpoint exists.

{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,64}$",
          "description": "Unique query identifier within the batch, used to return results."
        },
        "op": {
          "type": "string",
          "enum": [
            "find"
          ]
        },
        "collectionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "description": "Collection ID identifying the owner of business records and samples."
        },
        "filter": {
          "$ref": "#/components/schemas/UnsV2DataFilter"
        },
        "sort": {
          "$ref": "#/components/schemas/UnsV2PipelineSort"
        },
        "projection": {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": "integer",
                "enum": [
                  0,
                  1
                ]
              },
              {
                "type": "boolean"
              }
            ]
          },
          "description": "Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained."
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 200
        },
        "cursor": {
          "type": "string"
        },
        "count": {
          "$ref": "#/components/schemas/CloudRecordTotalOption"
        }
      },
      "required": [
        "id",
        "op",
        "collectionId"
      ],
      "allOf": [
        {
          "not": {
            "required": [
              "count",
              "cursor"
            ]
          }
        }
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,64}$",
          "description": "Unique query identifier within the batch, used to return results."
        },
        "op": {
          "type": "string",
          "enum": [
            "count"
          ]
        },
        "collectionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "description": "Collection ID identifying the owner of business records and samples."
        },
        "filter": {
          "$ref": "#/components/schemas/UnsV2DataFilter"
        },
        "maxCount": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100000,
          "default": 100000,
          "description": "Count limit; actual counts above maxCount return count=maxCount and capped=true. Equality returns capped=false."
        }
      },
      "required": [
        "id",
        "op",
        "collectionId"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,64}$",
          "description": "Unique query identifier within the batch, used to return results."
        },
        "op": {
          "type": "string",
          "enum": [
            "distinct"
          ]
        },
        "collectionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "description": "Collection ID identifying the owner of business records and samples."
        },
        "filter": {
          "$ref": "#/components/schemas/UnsV2DataFilter"
        },
        "field": {
          "type": "string"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 200
        },
        "page": {
          "$ref": "#/components/schemas/CloudDistinctPage"
        }
      },
      "required": [
        "id",
        "op",
        "collectionId",
        "field"
      ],
      "allOf": [
        {
          "not": {
            "required": [
              "limit",
              "page"
            ]
          }
        }
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,64}$",
          "description": "Unique query identifier within the batch, used to return results."
        },
        "op": {
          "type": "string",
          "enum": [
            "aggregate"
          ]
        },
        "collectionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "description": "Collection ID identifying the owner of business records and samples."
        },
        "pipeline": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineStage"
          },
          "minItems": 0,
          "maxItems": 32
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 200
        },
        "page": {
          "$ref": "#/components/schemas/UnsV2PipelinePage"
        },
        "count": {
          "$ref": "#/components/schemas/CloudRecordTotalOption"
        }
      },
      "required": [
        "id",
        "op",
        "collectionId",
        "pipeline"
      ],
      "allOf": [
        {
          "not": {
            "required": [
              "page",
              "limit"
            ]
          }
        },
        {
          "not": {
            "required": [
              "count",
              "page"
            ],
            "properties": {
              "page": {
                "required": [
                  "cursor"
                ]
              }
            }
          }
        }
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,64}$",
          "description": "Unique query identifier within the batch, used to return results."
        },
        "op": {
          "type": "string",
          "enum": [
            "get"
          ]
        },
        "collectionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "minItems": 1,
          "maxItems": 100,
          "uniqueItems": true
        },
        "projection": {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": "integer",
                "enum": [
                  0,
                  1
                ]
              },
              {
                "type": "boolean"
              }
            ]
          },
          "description": "Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained."
        }
      },
      "required": [
        "id",
        "op",
        "collectionId",
        "ids"
      ]
    }
  ],
  "description": "Batch entries support find/count/distinct/aggregate/get. Fields follow each op variant, with id and op. Record distinct is available only within queryBatch; no standalone distinct endpoint exists."
}

CloudRecordBatchQueryResult

Individual result. Validation, compilation, authorization and individual SQL errors affect only that item; statement timeout or exceeding the batch read budget fails the whole batch.

{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "ok": {
          "type": "boolean",
          "enum": [
            true
          ]
        },
        "data": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/CloudRecordPage"
            },
            {
              "$ref": "#/components/schemas/CloudCappedCount"
            },
            {
              "$ref": "#/components/schemas/CloudDistinctResult"
            },
            {
              "$ref": "#/components/schemas/CloudRecordAggregatePage"
            },
            {
              "$ref": "#/components/schemas/CloudRecordGetResult"
            }
          ],
          "description": "Same as data in the corresponding single endpoint's successful response."
        }
      },
      "required": [
        "ok",
        "data"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "ok": {
          "type": "boolean",
          "enum": [
            false
          ]
        },
        "error": {
          "$ref": "#/components/schemas/Fault"
        }
      },
      "required": [
        "ok",
        "error"
      ]
    }
  ],
  "description": "Individual result. Validation, compilation, authorization and individual SQL errors affect only that item; statement timeout or exceeding the batch read budget fails the whole batch."
}

CloudRecordChangeEvent

フィールド型必須説明
eventIdstringはいEvent position, equal to the SSE frame id; use as Last-Event-ID on reconnect. Opaque; do not parse or concatenate it.
collectionIdstringはいOpenAPI に記載なし
recordIdstringはいOpenAPI に記載なし
revisionintegerはいRecord revision after the change; delete uses the deletion revision.
changestringはいrecord: insert, update or restore; delete: soft deletion or physical TTL deletion. Read again by recordId to obtain current content.
occurredAtintegerはいWrite time: server time within the write transaction, in Unix milliseconds. Events follow write-transaction order, not commit order. Revisions for one record are not guaranteed monotonic. Reread by recordId and ignore non-delete events whose revision is no newer than already observed. Always process delete events, including late ones, and clear the record's observed revision. Treat later events with the same ID as a new record: revisions continue after soft deletion but restart at 1 after physical deletion.
restrictedbooleanはいtrue when the collection has employee data rules. Servers aggregating under app identity may forward restricted events only as collection-level notifications without recordId/revision. Browsers reread through employee-rule-protected endpoints to avoid disclosing inaccessible record existence.

CloudRecordGetResult

items follow requested ids order; nonexistent, soft-deleted or unreadable IDs appear in missing.

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
missingarray<string>はい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いいえCloudCappedCount. スキーマの章で参照先のスキーマを確認してください。

CloudRecordSubscribeFrame

SSE frame: event is the frame type, id is the resume position, and data is JSON. Sends heartbeat immediately on connection with the current position as id, then every 15 seconds. change follows write-transaction order, so record revisions may not be monotonic; see CloudRecordChangeEvent.occurredAt. reset closes the connection.

{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "event": {
          "type": "string",
          "enum": [
            "change"
          ]
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 8192
        },
        "data": {
          "$ref": "#/components/schemas/CloudRecordChangeEvent"
        }
      },
      "required": [
        "event",
        "id",
        "data"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "event": {
          "type": "string",
          "enum": [
            "heartbeat"
          ]
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 8192
        },
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "at": {
              "type": "integer",
              "description": "Server time in Unix milliseconds."
            }
          },
          "required": [
            "at"
          ]
        }
      },
      "required": [
        "event",
        "id",
        "data"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "event": {
          "type": "string",
          "enum": [
            "reset"
          ]
        },
        "data": {
          "$ref": "#/components/schemas/CloudRecordSubscribeReset"
        }
      },
      "required": [
        "event",
        "data"
      ]
    }
  ],
  "description": "SSE frame: event is the frame type, id is the resume position, and data is JSON. Sends heartbeat immediately on connection with the current position as id, then every 15 seconds. change follows write-transaction order, so record revisions may not be monotonic; see CloudRecordChangeEvent.occurredAt. reset closes the connection."
}

CloudRecordSubscribeReset

The server closes the connection after reset. Read current data again, then subscribe without Last-Event-ID.

フィールド型必須説明
reasonstringはいCURSOR_EXPIRED: changes after the resume position passed 24-hour retention, the cursor cannot be decoded (for example after key rotation), or the tenant database moved instances. SCOPE_CHANGED: authorization scope changed, including readable collection changes when collectionIds was omitted or a collection becoming unreadable during resume. Both require rereading current data and subscribing again without a resume position.
messagestringいいえOpenAPI に記載なし

CloudRecordTotalOption

Include matching total from the same read-only snapshot as total:{count,capped}. Only for the first or an offset page; combining with continuation cursor returns INVALID_REQUEST.

フィールド型必須説明
maxintegerいいえTotal cap; if actual total exceeds max, total.count=max and total.capped=true.

CloudSamplePage

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。

CloudSourceDocumentSummary

フィールド型必須説明
idstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
descriptionstringはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
redactedbooleanはいOpenAPI に記載なし
protocolstringはいOpenAPI に記載なし
runtimeStatestringはいOpenAPI に記載なし
healthstringはいOpenAPI に記載なし
platformReadinessobjectいいえCloudPlatformReadiness. スキーマの章で参照先のスキーマを確認してください。
referencebooleanいいえOpenAPI に記載なし
nativeProtocolstringいいえOpenAPI に記載なし
targetobjectいいえStreamSourceTarget. スキーマの章で参照先のスキーマを確認してください。
configRevisionintegerいいえOpaque execution snapshot version; may advance on rename. Read the authoritative receipt, never infer it from revision.
desiredStatestringいいえOpenAPI に記載なし
sourceTypestringいいえOpenAPI に記載なし
runtimeLocationstringいいえOpenAPI に記載なし

CloudSourceDocumentView

フィールド型必須説明
idstringはいPositive decimal int64 identifier; always a string on the wire.
revisionintegerはいOpenAPI に記載なし
documentobjectはいSourceDefinition. スキーマの章で参照先のスキーマを確認してください。
runtimeStatestringはいOpenAPI に記載なし
healthstringはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
platformReadinessobjectいいえCloudPlatformReadiness. スキーマの章で参照先のスキーマを確認してください。
configRevisionintegerいいえOpaque execution snapshot version; may advance on rename. Read the authoritative receipt, never infer it from revision.
desiredStatestringいいえOpenAPI に記載なし

CloudSourceObservationsFull

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
windowobjectはいOpenAPI に記載なし
coveragestringはいOpenAPI に記載なし
checkedAtinteger (int64)はいOpenAPI に記載なし

CloudSourceObservationsSummary

フィールド型必須説明
viewstringはいOpenAPI に記載なし
itemsarray<object>はいOpenAPI に記載なし
coveragestringはいOpenAPI に記載なし
checkedAtinteger (int64)はいOpenAPI に記載なし

CloudSourceReferenceView

フィールド型必須説明
idstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
configRevisionintegerはいOpaque execution snapshot version; may advance on rename. Read the authoritative receipt, never infer it from revision.
referencebooleanはいOpenAPI に記載なし
nativeProtocolstringはいOpenAPI に記載なし
targetobjectはいStreamSourceTarget. スキーマの章で参照先のスキーマを確認してください。
runtimeStatestringはいOpenAPI に記載なし
healthstringはいOpenAPI に記載なし
desiredStatestringはいOpenAPI に記載なし

CloudSourceSummaryView

Safe source inventory; no document or configuration is returned. Never use this summary as an editor document.

フィールド型必須説明
idstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
descriptionstringはいOpenAPI に記載なし
protocolstringはいOpenAPI に記載なし
runtimeStatestringはいOpenAPI に記載なし
healthstringはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
redactedbooleanはいOpenAPI に記載なし
platformReadinessobjectいいえCloudPlatformReadiness. スキーマの章で参照先のスキーマを確認してください。

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 に記載なし

CloudStreamDocumentSummary

フィールド型必須説明
idstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
descriptionstringはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
redactedbooleanはいOpenAPI に記載なし
modelstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
activeReleaseintegerはいCloud extension: release sequence, not the activeVersion identifier.
platformReadinessobjectいいえCloudPlatformReadiness. スキーマの章で参照先のスキーマを確認してください。
activeVersionstringいいえAuthoritative active version identifier, or 0 when inactive.

CloudStreamDocumentView

フィールド型必須説明
idstringはいPositive decimal int64 identifier; always a string on the wire.
revisionintegerはいOpenAPI に記載なし
documentobjectはいCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
activeDocumentobjectいいえCloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。
statusstringはいOpenAPI に記載なし
activeReleaseintegerはいCloud extension: release sequence, not the activeVersion identifier.
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
platformReadinessobjectいいえCloudPlatformReadiness. スキーマの章で参照先のスキーマを確認してください。
activeVersionstringいいえAuthoritative active version identifier, or 0 when inactive.

CloudStreamEntry

フィールド型必須説明
idstringはいOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
configobjectいいえOpenAPI に記載なし
topicstringいいえOpenAPI に記載なし
requestobjectいいえCloudStreamRequestDefinition. スキーマの章で参照先のスキーマを確認してください。

CloudStreamMessageDeclaration

フィールド型必須説明
topicstringはいOpenAPI に記載なし
accessstringはいOpenAPI に記載なし

CloudStreamMessageTopicPermission

フィールド型必須説明
topicstringはいOpenAPI に記載なし
publishbooleanはいOpenAPI に記載なし
subscribebooleanはいOpenAPI に記載なし

CloudStreamProgramSummary

Cloud deployment inventory. model and activeRelease are the stored native values; activeVersion is the immutable release row ID. The redacted document is display-only and has no script, entries or Source bindings.

フィールド型必須説明
idstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
modelstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
activeReleaseintegerはいOpenAPI に記載なし
activeVersionstringはいOpenAPI に記載なし
executionStatestringはいOpenAPI に記載なし
documentobjectはいOpenAPI に記載なし
redactedbooleanはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
platformReadinessobjectいいえCloudPlatformReadiness. スキーマの章で参照先のスキーマを確認してください。

CloudStreamProgramView

フィールド型必須説明
idstringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
modelstringはいOpenAPI に記載なし
revisionintegerはいDraft revision returned by this operation; pass it directly as the next expectedRevision.
activeVersionstringはいAuthoritative active version identifier, or 0 when inactive.
activeReleaseintegerいいえCloud extension: release sequence, not the activeVersion identifier.
statusstringはいOpenAPI に記載なし
executionStatestringはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
documentobjectいいえOpenAPI に記載なし
platformReadinessobjectいいえCloudPlatformReadiness. スキーマの章で参照先のスキーマを確認してください。

CloudStreamRequestDefinition

フィールド型必須説明
codestringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
contractVersionstringはいOpenAPI に記載なし
inputSchemaobjectはいOpenAPI に記載なし
outputSchemaobjectはいOpenAPI に記載なし
sideEffectstringはいOpenAPI に記載なし
idempotencystringはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし

CloudStreamRequestGrantInfo

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
bindingDigeststringはいOpenAPI に記載なし
recipientEligibleintegerはいOpenAPI に記載なし
recipientActionsarray<string>はいOpenAPI に記載なし
registeredintegerはいOpenAPI に記載なし
activeintegerはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
actionsarray<string>はいOpenAPI に記載なし
targetsarray<object>はいOpenAPI に記載なし
createdPrincipalstringはいOpenAPI に記載なし
updatedPrincipalstringはいOpenAPI に記載なし
createdTimeintegerはいOpenAPI に記載なし
updatedTimeintegerはいOpenAPI に記載なし
activationSupportedintegerはいOpenAPI に記載なし
snapshotTokenstringはいServer-generated authorization snapshot version, for concurrency checking only, not an invocation credential.

CloudStreamRequestGrantMutation

フィールド型必須説明
codestringはいOpenAPI に記載なし
principalKindstringはいOpenAPI に記載なし
principalIDstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
activeintegerはいOpenAPI に記載なし
snapshotTokenstringいいえNew snapshot returned after a successful expectedSnapshotToken update; absent in legacy revision-field mode.

CloudStreamRequestGrantTargetInfo

フィールド型必須説明
digeststringはいOpenAPI に記載なし
actionstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
activeintegerはいOpenAPI に記載なし
currentintegerはいOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
referencestringはいOpenAPI に記載なし

CloudStreamRequestGrantTargetRevision

フィールド型必須説明
digeststringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし

CloudStreamRunError

Safe run diagnostics from a server allowlist; credentials, upstream response bodies, query parameters and arbitrary script exceptions are excluded. Older records or services may omit this field.

フィールド型必須説明
codestringはいStable reason code; callers must tolerate new codes.
stagestringはいConfirmed failure stage; unspecified failures use execution, and unconfirmed outcomes use unknown.
messagestringはいFixed reason text selected from the server allowlist.
repairstringはいFixed repair guidance; it does not authorize automatically expanding permissions or replaying writes.
sourceRequeststringいいえIndicates only that the Source request causing this error was not dispatched; earlier external calls or writes in the same run may have completed. Omitted when unconfirmed or unrelated to a Source request.

CloudStreamStopView

フィールド型必須説明
idstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
activeReleaseintegerはいCloud extension: release sequence, not the activeVersion identifier.
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
activeVersionstringいいえAuthoritative active version identifier, or 0 when inactive.

CloudWriteError

フィールド型必須説明
indexintegerはいOpenAPI に記載なし
idstringいいえOpenAPI に記載なし
errorobjectはいFault. スキーマの章で参照先のスキーマを確認してください。

CollectionDescription

フィールド型必須説明
collectionIdstringはいCollection ID identifying the owner of 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 effective; pending/building/failed cannot support business-key upsert. Mounted collections enforce uniqueness at the source.
indexesarray<object>はいUnified index declaration, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omission preserves indexes; [] removes them. Paths omit data.; unique indexes are record B-trees only. Builds are asynchronous; check readiness through indexStatus.
metadataNoticestringはいOpenAPI に記載なし
namestringはいThe user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias.
recordGrainstringいいえOpenAPI に記載なし
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
relationshipsarray<object>はいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
sampleGrainstringいいえOpenAPI に記載なし
sampleSchemaobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。

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 に記載なし
kindstringはいOpenAPI に記載なし
pathstringはいOpenAPI に記載なし
requiredbooleanはいOpenAPI に記載なし
typestringはいOpenAPI に記載なし
unitstringはいOpenAPI に記載なし
formatstringいいえType representation annotation: int32 for integer, float (float32) or double (float64) for number, and date-time (datetime) for string. Adds no numeric range, precision or date-format validation, rounding, date parsing or time-zone conversion. Omission preserves base-type semantics. The outer sample time field is unchanged.

DiscoveryCollection

フィールド型必須説明
collectionIdstringはいCollection ID identifying the owner of business records and samples.
descriptionstringはいOpenAPI に記載なし
hasSamplesbooleanいいえOpenAPI に記載なし
namestringはいThe user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias.
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はいPage size; see this endpoint's maximum 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 に記載なし

DocCatalog

フィールド型必須説明
capabilitiesobjectはいOpenAPI に記載なし
contractVersionstringはいOpenAPI に記載なし
limitsobjectはいOpenAPI に記載なし
modelsarray<object>はいOpenAPI に記載なし
operationsarray<object>はいOpenAPI に記載なし
relationsarray<object>いいえOpenAPI に記載なし
schemasobjectはいOpenAPI に記載なし
versionstringいいえOpenAPI に記載なし
cloudContractRevisionstringいいえOpenAPI に記載なし
kindsarray<string>いいえOpenAPI に記載なし
modesarray<string>いいえOpenAPI に記載なし
jobStatesarray<string>いいえOpenAPI に記載なし
actionsarray<string>いいえOpenAPI に記載なし

DocCloudAppDataPolicyGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudAppDataPolicy. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppDataPolicyUpdateOutcome

フィールド型必須説明
jobIdstringいいえOpenAPI に記載なし
replayedbooleanはいOpenAPI に記載なし
resultsarray<object>いいえOpenAPI に記載なし
statusstringはいExecution state of this operation.
summaryobjectいいえOutcomeSummary. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppDataPolicyUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいDocCloudAppDataPolicyUpdateOutcome. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppDataPolicyUpdateResult

フィールド型必須説明
opIdstringはいInput identifier for correlating the original request.
actionstringはいOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
statusstringはいExecution state of this input item.
kindstringいいえOpenAPI に記載なし
revisionintegerいいえOpenAPI に記載なし
errorobjectいいえDocItemFault. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppStreamAccessListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudAppStreamAccessPage. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppStreamPolicyGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudAppStreamPolicy. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppStreamPolicyUpdateOutcome

フィールド型必須説明
jobIdstringいいえOpenAPI に記載なし
replayedbooleanはいOpenAPI に記載なし
resultsarray<object>いいえOpenAPI に記載なし
statusstringはいExecution state of this operation.
summaryobjectいいえOutcomeSummary. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppStreamPolicyUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいDocCloudAppStreamPolicyUpdateOutcome. スキーマの章で参照先のスキーマを確認してください。

DocCloudAppStreamPolicyUpdateResult

フィールド型必須説明
opIdstringはいInput identifier for correlating the original request.
actionstringはいOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
statusstringはいExecution state of this input item.
kindstringいいえOpenAPI に記載なし
revisionintegerいいえOpenAPI に記載なし
errorobjectいいえDocItemFault. スキーマの章で参照先のスキーマを確認してください。

DocCommonError

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectいいえOpenAPI に記載なし
errorobjectはいOpenAPI に記載なし

DocItemFault

フィールド型必須説明
codestringはいMachine-readable error code, such as OVERLOADED or VERSION_CONFLICT.
reasonstringはいDeveloper-facing error reason.
detailsarray<object>はいStructured location information; an empty array when absent.
executionstringはいnotStarted: rejected before the write path; rolledBack: executed then fully rolled back; committed: committed; unknown: commit status cannot be established. unknown occurs only on writes, never reads. notStarted/rolledBack establish no committed side effects. For non-atomic partialCommit operations, any committed chunk/item means committed, possibly partially. retry.safe=false and error-envelope data contains cumulative results.
retryobjectはいErrorRetry. スキーマの章で参照先のスキーマを確認してください。
repairstringいいえSuggested correction, such as narrowing query scope.
opIdstringいいえIdentifier of the failed input item.
queryIdstringいいえIdentifier of the failed query in a query batch.
pathstringいいえLocation of the invalid input, when available.

DocJobRow

フィールド型必須説明
attemptsintegerいいえOpenAPI に記載なし
createdAtintegerいいえOpenAPI に記載なし
errorobjectいいえOpenAPI に記載なし
executionStatusstringはいOpenAPI に記載なし
finishedAtintegerいいえOpenAPI に記載なし
jobIdstringはいOpenAPI に記載なし
outcomestringはいData commit outcome independent of legacy status; failed does not imply rollback.
progressobjectはいOpenAPI に記載なし
resultobjectいいえOriginal submitted operation result, using that operation's result structure.
startedAtintegerいいえOpenAPI に記載なし
statusstringはいOpenAPI に記載なし

DocJobsQueryResult

フィールド型必須説明
queryIdstringはいOpenAPI に記載なし
listarray<object>はいOpenAPI に記載なし

DocMetadataRow

フィールド型必須説明
createdAtintegerいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
deletedAtintegerいいえOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
kindstringはいOpenAPI に記載なし
launchobjectいいえOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
updatedAtintegerいいえOpenAPI に記載なし
relationshipobjectいいえOpenAPI に記載なし

DocNamespaceQueryResult

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
hasMorebooleanはいOpenAPI に記載なし
nextPageintegerいいえOpenAPI に記載なし
completebooleanはいOpenAPI に記載なし
truncatedbooleanはいOpenAPI に記載なし
snapshotScopestringはいOpenAPI に記載なし
queryIdstringはいOpenAPI に記載なし
ancestorsarray<object>いいえOpenAPI に記載なし

DocOtherReference

フィールド型必須説明
createdAtintegerいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
deletedAtintegerいいえOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
kindstringはいOpenAPI に記載なし
launchobjectいいえOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
updatedAtintegerいいえOpenAPI に記載なし
relationshipobjectいいえOpenAPI に記載なし

DocRecordPlanStep

フィールド型必須説明
actionstringはいOpenAPI に記載なし
bindingSourcesarray<string>いいえOpenAPI に記載なし
changedFieldsarray<string>いいえOpenAPI に記載なし
checksRevisionbooleanはいOpenAPI に記載なし
collectionIdstringいいえCollection ID identifying the owner of business records and samples.
conditionCountintegerはいOpenAPI に記載なし
conditionFieldsarray<string>いいえOpenAPI に記載なし
dependsOnarray<string>いいえPrerequisite opIds; the server checks dependency cycles.
opIdstringはいUnique operation identifier within the transaction, used by dependencies and result references.
targetIdstringいいえOpenAPI に記載なし

DocRecordValidation

フィールド型必須説明
executionGuaranteedbooleanはいOpenAPI に記載なし
locksHeldAfterResponsebooleanはいOpenAPI に記載なし
planarray<object>はいOpenAPI に記載なし
readCollectionsarray<string>はいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
warningsarray<string>はいOpenAPI に記載なし
writeCollectionsarray<string>はいOpenAPI に記載なし
writesCommittedbooleanはいOpenAPI に記載なし

DocReferencesQueryResult

フィールド型必須説明
queryIdstringはいOpenAPI に記載なし
targetsarray<object>はいOpenAPI に記載なし

DocStreamReference

フィールド型必須説明
createdAtintegerいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
deletedAtintegerいいえOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
kindstringはいOpenAPI に記載なし
launchobjectいいえOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
updatedAtintegerいいえOpenAPI に記載なし
relationshipobjectいいえOpenAPI に記載なし

DocTopicView

フィールド型必須説明
queryIdstringはいOpenAPI に記載なし
metaobjectはいDocMetadataRow. スキーマの章で参照先のスキーマを確認してください。
fieldsarray<object>はいOpenAPI に記載なし

DocUnsV2AppCollectionsArchiveResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2AppCollectionsEnsureResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2AppCollectionsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2AppCollectionsRestoreResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2AppCollectionsSchemaReplaceResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2CatalogResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいDocCatalog. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2CollectionDescribeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCollectionDescription. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2DataAppContextResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいAppContext. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2DataDiscoverResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいDiscoveryResult. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2EdgeNodesListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2JobsResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataAggregateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataBulkWritePartialError

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectいいえWith error.execution=committed, cumulative data includes results/errors/nextIndex/unknownUntil. Indices below nextIndex absent from errors committed; [nextIndex, unknownUntil) is uncertain. Retry with the same key if present. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading IDs; server-ID inserts, filter-selected operations and incremental updates such as $inc cannot be safely continued. Always use keys for these writes. Without unknownUntil, continuation from nextIndex is safe. null when nothing committed.
errorobjectはいOpenAPI に記載なし

DocUnsV2MetadataBulkWriteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataCountResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataDeleteManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataDeleteOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataFindResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいMetadataPage. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2MetadataInsertOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataPurgeOutcome

フィールド型必須説明
jobIdstringいいえOpenAPI に記載なし
replayedbooleanはいOpenAPI に記載なし
resultsarray<object>いいえOpenAPI に記載なし
statusstringはいExecution state of this operation.
summaryobjectいいえOutcomeSummary. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2MetadataPurgeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいDocUnsV2MetadataPurgeOutcome. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2MetadataPurgeResult

フィールド型必須説明
opIdstringはいInput identifier for correlating the original request.
actionstringはいOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
statusstringはいExecution state of this input item.
kindstringいいえOpenAPI に記載なし
revisionintegerいいえOpenAPI に記載なし
errorobjectいいえDocItemFault. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2MetadataReplaceOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataRestoreResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataTransactResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataUpdateManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2MetadataUpdateOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2NamespaceResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordAggregatePipelineResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudRecordAggregatePage. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2RecordBulkWritePartialError

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectいいえWith error.execution=committed, data contains cumulative partial results. Indices below nextIndex absent from writeErrors committed; [nextIndex, unknownUntil) is uncertain. Retry with the same key if present. Without a key, only client-ID inserts and ID-based replacements/deletes can be reconciled by reading IDs; server-ID inserts, filter-selected operations and incremental updates such as $inc cannot be safely continued. Always use keys for these writes. Without unknownUntil, continuation from nextIndex is safe. null when nothing committed.
errorobjectはいOpenAPI に記載なし

DocUnsV2RecordBulkWriteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordCountResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudCappedCount. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2RecordDeleteManyPartialError

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectいいえWith error.execution=committed, contains cumulative results and resumable hasMore/resumeAfter; null when nothing committed.
errorobjectはいOpenAPI に記載なし

DocUnsV2RecordDeleteManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordDeleteOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordExplainResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordFindResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudRecordPage. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2RecordGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudRecordGetResult. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2RecordInsertOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordLockResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordQueryBatchResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordRenewResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordReplaceOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordRestoreResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordTransactionExecuteOutcome

フィールド型必須説明
jobIdstringいいえOpenAPI に記載なし
replayedbooleanはいOpenAPI に記載なし
resultsarray<object>いいえOpenAPI に記載なし
statusstringはいExecution state of this operation.
summaryobjectいいえOutcomeSummary. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2RecordTransactionExecuteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいdryRun=false returns transaction results; dryRun=true returns a rolled-back preflight plan.

DocUnsV2RecordTransactionExecuteResult

フィールド型必須説明
opIdstringはいInput identifier for correlating the original request.
actionstringはいOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
statusstringはいExecution state of this input item.
collectionIdstringいいえCollection ID identifying the owner of business records and samples.
revisionintegerいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
dataobjectいいえBusiness payload for transaction result bindings; use document for the full resource object.
documentobjectいいえRecordDocument. スキーマの章で参照先のスキーマを確認してください。
queryobjectいいえTransactionQueryResult. スキーマの章で参照先のスキーマを確認してください。
errorobjectいいえDocItemFault. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2RecordUnlockResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordUpdateManyPartialError

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectいいえWith error.execution=committed, contains cumulative results and resumable hasMore/resumeAfter; null when nothing committed.
errorobjectはいOpenAPI に記載なし

DocUnsV2RecordUpdateManyResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2RecordUpdateOneResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2ReferencesResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SampleAggregateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudDataPage. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2SampleAppendOutcome

フィールド型必須説明
jobIdstringいいえOpenAPI に記載なし
replayedbooleanはいOpenAPI に記載なし
resultsarray<object>いいえOpenAPI に記載なし
statusstringはいExecution state of this operation.
summaryobjectいいえOutcomeSummary. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2SampleAppendResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいDocUnsV2SampleAppendOutcome. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2SampleAppendResult

フィールド型必須説明
opIdstringはいInput identifier for correlating the original request.
actionstringはいOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.
statusstringはいExecution state of this input item.
collectionIdstringいいえCollection ID identifying the owner of business records and samples.
errorobjectいいえDocItemFault. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2SampleDeleteRangeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SampleFindResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudSamplePage. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2SampleLatestValuesResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceDevicesListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいFresh target Edge inventory. checkedAt is observation time; revision hashes device and binding state; complete=false includes per-kind discovery errors. devices contain deviceId, kind, label, address, canCreateSource, requiredParameters and existing sources. Serial discovery does not imply serial acquisition support. Empty devices only proves absence when complete=true. Never classify an arbitrary HID keyboard as a scanner without device identity supplied by the user.

DocUnsV2SourceDiscoverResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceDocumentCreateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceDocumentDeleteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceDocumentGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceDocumentListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceDocumentStateUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいNative Edge Source result; inspect the target catalog for its exact versioned response.

DocUnsV2SourceDocumentUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceHistoryResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceImpactResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceNativeCredentialsUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceNativeOAuthCompleteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceNativeOAuthStartResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceObservationsGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceProbeResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceProtocolsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceResourceCatalogResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceResourceReadResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいBounded native result. Interpret fields using the selected resource output schema.

DocUnsV2SourceResourceScanResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceRuntimeGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2SourceValidateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamDocumentCreateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamDocumentDisableResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamDocumentGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamDocumentUpdateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamDocumentValidateResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamObservationGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamProgramDeleteResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamProgramDeployResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamProgramListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamProgramRollbackResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamProgramVersionsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamRequestGrantGetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudStreamRequestGrantInfo. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2StreamRequestGrantSetResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいCloudStreamRequestGrantMutation. スキーマの章で参照先のスキーマを確認してください。

DocUnsV2StreamRunsListResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2StreamSampleTestResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

DocUnsV2TopicsResponse

フィールド型必須説明
codeintegerはいOpenAPI に記載なし
msgstringはいOpenAPI に記載なし
requestIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

ErrorRetry

Whether an unchanged retry is safe. Retry read failures according to safe. Retry write failures only when safe=true, always reusing the original idempotency key.

フィールド型必須説明
safebooleanはいtrue permits retrying the same request unchanged, reusing the write's original key. With false, correct the request or restore authorization first.
afterMsintegerいいえSuggested minimum wait in milliseconds, only when safe=true; HTTP also supplies Retry-After in seconds.

Fault

Wire-format error object. The envelope error, bulk item errors, queryBatch item errors and job errors share this structure.

フィールド型必須説明
codestringはいMachine-readable error code, such as OVERLOADED or VERSION_CONFLICT.
reasonstringはいDeveloper-facing error reason.
detailsarray<object>はいStructured location information; an empty array when absent.
executionstringはいnotStarted: rejected before the write path; rolledBack: executed then fully rolled back; committed: committed; unknown: commit status cannot be established. unknown occurs only on writes, never reads. notStarted/rolledBack establish no committed side effects. For non-atomic partialCommit operations, any committed chunk/item means committed, possibly partially. retry.safe=false and error-envelope data contains cumulative results.
retryobjectはいErrorRetry. スキーマの章で参照先のスキーマを確認してください。
repairstringいいえSuggested correction, such as narrowing query scope.
opIdstringいいえIdentifier of the failed input in a transaction or bulk write.
queryIdstringいいえIdentifier of the failed query in a query batch.
pathstringいいえLocation of the invalid input, when available.
objectKindstringいいえOpenAPI に記載なし
objectIdstringいいえOpenAPI に記載なし
candidatesarray<object>いいえOpenAPI に記載なし
conditionIndexintegerいいえ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 に記載なし

HTTPConnection

フィールド型必須説明
anonymousbooleanいいえOpenAPI に記載なし
authenticationstringいいえOpenAPI に記載なし
caCertificatestringいいえOpenAPI に記載なし
headersobjectいいえOpenAPI に記載なし
oauthobjectいいえOAuthConfig. スキーマの章で参照先のスキーマを確認してください。
parametersobjectいいえOpenAPI に記載なし
portintegerいいえOpenAPI に記載なし

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.

フィールド型必須説明
kindstringいいえOpenAPI に記載なし
pathstringいいえBare business field path; _id and _meta.* cannot be declared as business indexes.
pathsarray<string>いいえOpenAPI に記載なし
targetstringいいえOpenAPI に記載なし
uniquebooleanいいえOpenAPI に記載なし
expireAfterSecondsintegerいいえTTL index: records are physically deleted after this field's timestamp plus the specified seconds; deletion is irreversible. Only a single path, btree, records, non-unique index is allowed; the field must be declared integer in recordSchema and contain Unix milliseconds. At most one per collection. ensure can only add or increase TTL; shortening/removal requires schema:replace. Unsupported for source-written collections.

IndexState

フィールド型必須説明
errorstringいいえOpenAPI に記載なし
namestringはいOpenAPI に記載なし
specobjectはいIndexSpec. スキーマの章で参照先のスキーマを確認してください。
statestringはいOpenAPI に記載なし

MetadataBulkDeleteOne

フィールド型必須説明
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock; management forms should send the revision read. Read again after a conflict.

MetadataBulkInsertOne

フィールド型必須説明
idstringいいえOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし

MetadataBulkReplaceOne

フィールド型必須説明
filterobjectはいUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional optimistic lock; management forms should send the revision read. Read again after a conflict.
replacementobjectはいOpenAPI に記載なし
upsertbooleanいいえSupported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically.

MetadataBulkRestoreOne

フィールド型必須説明
idstringはいOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock; management forms should send the revision read. Read again after a conflict.

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; management forms should send the revision read. Read again after a conflict.
updateobjectはいSupports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields.
upsertbooleanいいえSupported only for single updates/replacements; filter must explicitly match _id and inserted configuration must be complete and valid. Deleted objects with the same ID are not restored automatically.

MetadataCollectionInput

Writable configuration; schemaVersion defaults to 1 on the server and unknown fields are rejected.

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
indexesarray<object>いいえUnified index declaration, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omission preserves indexes; [] removes them. Paths omit data.; unique indexes are record B-trees only. Builds are asynchronous; check readiness through indexStatus.
namestringはいThe user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias.
recordSchemaobjectはいSchema. スキーマの章で参照先のスキーマを確認してください。
sampleSchemaobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。
schemaVersionintegerいいえOpenAPI に記載なし
semanticsobjectいいえCollectionSemantics. スキーマの章で参照先のスキーマを確認してください。
parentIdobjectいいえContaining directory ID. Omitted on create or null means root; omitted on update preserves placement. Moving does not change collection identity or data.

MetadataDirectoryInput

Writable configuration; schemaVersion defaults to 1 on the server and unknown fields are rejected.

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
namestringはいThe user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias.
parentIdobjectいいえOpenAPI に記載なし
schemaVersionintegerいいえOpenAPI に記載なし

MetadataDocument

フィールド型必須説明
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
idstringはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし
deletedAtintegerはいOpenAPI に記載なし
dataobjectはいMetadata response configuration; projection may return only selected fields. ownerAppId / appAlias describe server-managed Collection ownership and cannot be assigned or changed by ordinary writes. App grants determine access separately.

MetadataNullableDocument

フィールド型必須説明
kindstringいいえOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
idstringいいえOpenAPI に記載なし
revisionintegerいいえOpenAPI に記載なし
createdAtintegerいいえOpenAPI に記載なし
updatedAtintegerいいえOpenAPI に記載なし
deletedAtintegerいいえOpenAPI に記載なし
dataobjectいいえMetadata response configuration; projection may return only selected fields. ownerAppId / appAlias describe server-managed Collection ownership and cannot be assigned or changed by ordinary writes. App grants determine access separately.

MetadataPage

フィールド型必須説明
itemsarray<object>はいOpenAPI に記載なし
pageInfoobjectはいCloudPageInfo. スキーマの章で参照先のスキーマを確認してください。

MetadataTopicInput

Writable configuration; schemaVersion defaults to 1 on the server and unknown fields are rejected.

フィールド型必須説明
collectionIdobjectいいえUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
descriptionstringいいえOpenAPI に記載なし
fieldsarray<object>いいえOpenAPI に記載なし
namestringはいThe user-facing business name and the sole name shown in the interface. Use a concise, readable name that describes the business object or purpose. Follow the user's language preferences and existing terminology; Chinese is not required. Do not include surrounding whitespace, slashes, or NUL characters, or append IDs, timestamps, or random strings without business meaning. Report sibling name conflicts explicitly. Programs reference IDs; the App SDK uses a separate stable alias. Renaming does not change the ID or alias.
parentIdobjectいいえOpenAPI に記載なし
schemaVersionintegerいいえOpenAPI に記載なし
viewModestringはいOpenAPI に記載なし

MetadataTransactionOperation

フィールド型必須説明
opIdstringはいOpenAPI に記載なし
actionstringはいOpenAPI に記載なし
kindstringはいOnly directory, topic and collection are generic metadata kinds. Source/Stream writes use their dedicated /uns/sources/documents/create, update, delete and /uns/streams/documents/create, update lifecycle routes. Generic metadata cannot provision credentials or bypass dependency confirmation.
idstringいいえOpenAPI に記載なし
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
dataobjectいいえOpenAPI に記載なし
updateobjectいいえSupports only $set/$unset/$setOnInsert. Configuration paths omit data.; system fields are read-only. Replace arrays as whole fields.
replacementobjectいいえOpenAPI に記載なし
expectedRevisionintegerいいえOptional optimistic lock; management forms should send the revision read. Read again after a conflict.
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 as a string, obtained through discovery or read endpoints; 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.

OAuthConfig

フィールド型必須説明
authorizationUrlstringいいえOpenAPI に記載なし
clientAuthenticationstringはいOpenAPI に記載なし
clientIdstringはいOpenAPI に記載なし
grantTypestringいいえOpenAPI に記載なし
scopesstringいいえOpenAPI に記載なし
tokenUrlstringはいOpenAPI に記載なし

OPCUAOptions

フィールド型必須説明
nodeIdsarray<string>いいえOpenAPI に記載なし
samplingIntervalMsintegerいいえOpenAPI に記載なし
securityModestringはいOpenAPI に記載なし
securityPolicystringはいOpenAPI に記載なし
serverCertificatestringいいえOpenAPI に記載なし
serverNodesarray<object>いいえOpenAPI に記載なし

OPCUAServerNode

フィールド型必須説明
dataTypestringはいOpenAPI に記載なし
directionstringはいOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; 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 に記載なし

OutcomeSummary

フィールド型必須説明
failedintegerはいOpenAPI に記載なし
notExecutedintegerはいOpenAPI に記載なし
succeededintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし
unknownintegerはいOpenAPI に記載なし

PlatformAgentAnalysisDispatchReq

フィールド型必須説明
canvasIdstringいいえOpenAPI に記載なし
cardIdstringいいえOpenAPI に記載なし
kindstringはいOpenAPI に記載なし
operationIdstringはいOpenAPI に記載なし
resultIdstringいいえOpenAPI に記載なし
taskobjectはいOpenAPI に記載なし

PlatformAgentAnalysisDispatchResp

フィールド型必須説明
dispatchStatestringはいOpenAPI に記載なし
errorCodestringはいOpenAPI に記載なし
errorMessagestringはいOpenAPI に記載なし
runIdstringはいOpenAPI に記載なし

PlatformAgentAnalysisGetReq

フィールド型必須説明
runIdstringはいOpenAPI に記載なし

PlatformAgentAnalysisGetResp

フィールド型必須説明
runobjectはいPlatformAgentJobRunRecord. スキーマの章で参照先のスキーマを確認してください。

PlatformAgentCanvasListReq

フィールド型必須説明
pageintegerはいOpenAPI に記載なし
sessionIdstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし

PlatformAgentCanvasListResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformAgentCanvasRecord

フィールド型必須説明
canvasIdstringはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
sessionIdstringはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし

PlatformAgentCardDeleteReq

フィールド型必須説明
canvasIdstringはいOpenAPI に記載なし
cardIdstringはいOpenAPI に記載なし
expectedCardSpecobjectはいOpenAPI に記載なし

PlatformAgentCardDeleteResp

フィールド型必須説明
cardIdstringはいOpenAPI に記載なし

PlatformAgentCardGetReq

フィールド型必須説明
canvasIdstringはいOpenAPI に記載なし
cardIdstringはいOpenAPI に記載なし

PlatformAgentCardGetResp

フィールド型必須説明
canvasIdstringはいOpenAPI に記載なし
cardIdstringはいOpenAPI に記載なし
cardKeystringはいOpenAPI に記載なし
cardSpecobjectはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし

PlatformAgentCardListReq

フィールド型必須説明
canvasIdstringはいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし

PlatformAgentCardListResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformAgentCardUpdateReq

フィールド型必須説明
canvasIdstringいいえOpenAPI に記載なし
cardIdstringはいOpenAPI に記載なし
cardSpecobjectはいOpenAPI に記載なし
expectedCardSpecobjectはいThe full previously read card. Changes produce HTTP 409.
ordintegerいいえCanvas order: omit to leave unchanged (forwarded to unssvr as -1). Explicit values, including 0, are preserved.
positionobjectいいえOpenAPI に記載なし

PlatformAgentCardUpdateResp

フィールド型必須説明
cardIdstringはいOpenAPI に記載なし

PlatformAgentJobCreateReq

フィールド型必須説明
cardIdstringいいえOpenAPI に記載なし
cronExprstringいいえOpenAPI に記載なし
expiresAtintegerいいえOpenAPI に記載なし
intervalSecondsintegerいいえOpenAPI に記載なし
namestringはいOpenAPI に記載なし
notifyobjectいいえOpenAPI に記載なし
scheduleKindstringはいOpenAPI に記載なし
sessionIdstringはいOpenAPI に記載なし
sourceBlockIdstringいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
sourceNamestringいいえOpenAPI に記載なし
sourceTypestringはいOpenAPI に記載なし
taskobjectはいOpenAPI に記載なし
typestringいいえOpenAPI に記載なし

PlatformAgentJobGetResp

フィールド型必須説明
jobobjectはいPlatformAgentJobRecord. スキーマの章で参照先のスキーマを確認してください。

PlatformAgentJobIDReq

フィールド型必須説明
jobIdstringはいOpenAPI に記載なし

PlatformAgentJobListReq

フィールド型必須説明
cardIdstringいいえOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
sourceTypestringいいえOpenAPI に記載なし
statusstringいいえactive / paused / needs_attention / expired
typestringいいえOpenAPI に記載なし

PlatformAgentJobListResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformAgentJobMutationResp

フィールド型必須説明
jobIdstringはいOpenAPI に記載なし

PlatformAgentJobRecord

フィールド型必須説明
attentionReasonstringはいOpenAPI に記載なし
cardIdstringはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
cronExprstringはいOpenAPI に記載なし
expiresAtintegerはいOpenAPI に記載なし
intervalSecondsintegerはいOpenAPI に記載なし
jobIdstringはいOpenAPI に記載なし
lastFiredAtintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
nextRunAtintegerはいOpenAPI に記載なし
notifyobjectいいえOpenAPI に記載なし
orphanedAtintegerはいOpenAPI に記載なし
scheduleKindstringはいOpenAPI に記載なし
sessionIdstringはいOpenAPI に記載なし
sourceBlockIdstringはいOpenAPI に記載なし
sourceIdstringはいOpenAPI に記載なし
sourceNamestringはいOpenAPI に記載なし
sourceTypestringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
taskobjectはいOpenAPI に記載なし
typestringはいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし

PlatformAgentJobRunGetReq

フィールド型必須説明
jobIdstringはいOpenAPI に記載なし
jobRunIdstringはいOpenAPI に記載なし

PlatformAgentJobRunGetResp

フィールド型必須説明
runobjectはいPlatformAgentJobRunRecord. スキーマの章で参照先のスキーマを確認してください。

PlatformAgentJobRunListReq

フィールド型必須説明
jobIdstringはいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
statusstringいいえOpenAPI に記載なし

PlatformAgentJobRunListResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformAgentJobRunRecord

フィールド型必須説明
dispatchStatestringはいOpenAPI に記載なし
errorCodestringいいえOpenAPI に記載なし
errorMessagestringいいえOpenAPI に記載なし
finishedAtintegerいいえOpenAPI に記載なし
firedAtintegerはいOpenAPI に記載なし
jobIdstringはいOpenAPI に記載なし
jobRunIdstringはいOpenAPI に記載なし
resultIdstringいいえOpenAPI に記載なし
resultSummaryobjectいいえOpenAPI に記載なし
severitystringいいえOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
triggerstringいいえOpenAPI に記載なし

PlatformAgentJobTriggerResp

フィールド型必須説明
dispatchStatestringはいOpenAPI に記載なし
jobIdstringはいOpenAPI に記載なし
jobRunIdstringはいOpenAPI に記載なし

PlatformAgentJobUpdateReq

フィールド型必須説明
cardIdstringいいえOpenAPI に記載なし
cronExprstringいいえOpenAPI に記載なし
expiresAtintegerいいえOpenAPI に記載なし
intervalSecondsintegerいいえOpenAPI に記載なし
jobIdstringはいOpenAPI に記載なし
namestringいいえOpenAPI に記載なし
notifyobjectいいえOpenAPI に記載なし
notifyEnabledintegerいいえOmit to preserve notification settings. 1 requires notify; 2 disables notifications and must omit notify.
scheduleKindstringいいえOpenAPI に記載なし
sessionIdstringいいえOpenAPI に記載なし
sourceBlockIdstringいいえOpenAPI に記載なし
sourceIdstringいいえOpenAPI に記載なし
sourceNamestringいいえOpenAPI に記載なし
sourceTypestringいいえOpenAPI に記載なし
taskobjectいいえOpenAPI に記載なし
typestringいいえOpenAPI に記載なし

PlatformAgentLibraryCreateReq

フィールド型必須説明
cardKeystringはいOpenAPI に記載なし
cardSpecobjectはいOpenAPI に記載なし
sourceSessionIdstringいいえOpenAPI に記載なし
tagsarray<string>いいえOpenAPI に記載なし

PlatformAgentLibraryGetReq

フィールド型必須説明
libraryItemIdstringはいOpenAPI に記載なし

PlatformAgentLibraryGetResp

フィールド型必須説明
itemobjectはいPlatformAgentLibraryItem. スキーマの章で参照先のスキーマを確認してください。

PlatformAgentLibraryItem

フィールド型必須説明
cardKeystringはいOpenAPI に記載なし
cardSpecobjectはいOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
libraryItemIdstringはいOpenAPI に記載なし
sourceSessionIdstringはいOpenAPI に記載なし
tagsarray<string>はいOpenAPI に記載なし
updatedAtintegerはいOpenAPI に記載なし

PlatformAgentLibraryListReq

フィールド型必須説明
pageintegerはいOpenAPI に記載なし
searchstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
tagsarray<string>いいえOpenAPI に記載なし

PlatformAgentLibraryListResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformAgentLibraryMutationResp

フィールド型必須説明
libraryItemIdstringはいOpenAPI に記載なし

PlatformAgentLibrarySnapshot

フィールド型必須説明
cardKeystringはいOpenAPI に記載なし
cardSpecobjectはいOpenAPI に記載なし
sourceSessionIdstringはいOpenAPI に記載なし
tagsarray<string>はいOpenAPI に記載なし

PlatformAgentLibraryUpdateReq

フィールド型必須説明
cardSpecobjectはいOpenAPI に記載なし
expectedItemobjectはいPlatformAgentLibrarySnapshot. スキーマの章で参照先のスキーマを確認してください。
libraryItemIdstringはいOpenAPI に記載なし
sourceSessionIdstringいいえOpenAPI に記載なし
tagsarray<string>いいえOpenAPI に記載なし

PlatformAgentResultCreateReq

フィールド型必須説明
cardSpecobjectいいえOpenAPI に記載なし
dataScopeobjectいいえOpenAPI に記載なし
imagesarrayいいえOpenAPI に記載なし
missingDataobjectはいOpenAPI に記載なし
operationIdstringはいOpenAPI に記載なし
resultSchemaVersionintegerはいOpenAPI に記載なし
sourceobjectはいPlatformAgentResultSource. スキーマの章で参照先のスキーマを確認してください。
stepsarrayいいえOpenAPI に記載なし
summarystringいいえOpenAPI に記載なし
tablesarrayいいえOpenAPI に記載なし
titlestringはいOpenAPI に記載なし
warningsarray<string>いいえOpenAPI に記載なし

PlatformAgentResultCreateResp

フィールド型必須説明
jobRunIdstringはいOpenAPI に記載なし
resultIdstringはいOpenAPI に記載なし

PlatformAgentResultGetReq

フィールド型必須説明
operationIdstringいいえProvide this or resultId, but not both. After a save timeout, retrieve by the original ID instead of saving again.
resultIdstringいいえOpenAPI に記載なし

PlatformAgentResultGetResp

フィールド型必須説明
resultobjectはいPlatformAgentStoredResult. スキーマの章で参照先のスキーマを確認してください。

PlatformAgentResultListReq

フィールド型必須説明
pageintegerはいOpenAPI に記載なし
platformSessionIdstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし

PlatformAgentResultListResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformAgentResultPinReq

フィールド型必須説明
canvasIdstringはいOpenAPI に記載なし
positionobjectいいえOpenAPI に記載なし
resultIdstringはいOpenAPI に記載なし

PlatformAgentResultPinResp

フィールド型必須説明
cardIdstringはいOpenAPI に記載なし

PlatformAgentResultSource

フィールド型必須説明
agentIdstringはいOpenAPI に記載なし
platformRunIdstringいいえOpenAPI に記載なし
platformSessionIdstringはいOpenAPI に記載なし
platformUserIdstringいいえOpenAPI に記載なし
skillVersionstringいいえOpenAPI に記載なし

PlatformAgentStoredResult

フィールド型必須説明
agentIdstringはいOpenAPI に記載なし
byteSizeintegerはいOpenAPI に記載なし
cardSpecobjectいいえOpenAPI に記載なし
createdAtintegerはいOpenAPI に記載なし
manifestobjectはいOpenAPI に記載なし
operationIdstringはいOpenAPI に記載なし
platformRunIdstringはいOpenAPI に記載なし
platformSessionIdstringはいOpenAPI に記載なし
resultIdstringはいOpenAPI に記載なし
skillVersionstringはいOpenAPI に記載なし
sourceKindstringはいOpenAPI に記載なし

PlatformAppAccessMemberResp

フィールド型必須説明
emailstringいいえOpenAPI に記載なし
grantedAtintegerはいMilliseconds
rolesarray<object>はいOpenAPI に記載なし
userIdstringはいOpenAPI に記載なし
userNamestringいいえOpenAPI に記載なし

PlatformAppAccessMemberRoleResp

フィールド型必須説明
roleIdstringはいOpenAPI に記載なし
roleKeystringはいOpenAPI に記載なし
roleNamestringはいOpenAPI に記載なし
sourcesarray<object>はいOpenAPI に記載なし

PlatformAppAccessMembersListReq

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
grantedAtEndintegerいいえMilliseconds; inclusive bounds with second precision.
grantedAtStartintegerいいえMilliseconds; inclusive bounds with second precision.
pageintegerいいえOpenAPI に記載なし
roleKeysarray<string>いいえMatch any value, case insensitive.
scopestringいいえdraft: computed from draft roles; production or omitted: computed from the production version.
sizeintegerいいえOpenAPI に記載なし

PlatformAppAccessMembersListResp

フィールド型必須説明
allActiveMembersintegerはい1: all active members have access; 2: access is granted by role.
appIdstringはいOpenAPI に記載なし
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
productionVersionIdstringいいえOpenAPI に記載なし
publishedintegerはい1: published; 2: unpublished.
rolesarray<object>はいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformAppAccessRoleResp

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
memberCountintegerはいOpenAPI に記載なし
roleIdstringはいOpenAPI に記載なし
roleKeystringはいOpenAPI に記載なし
roleNamestringはいOpenAPI に記載なし
statusstringはいactive / retired

PlatformAppAccessRoleSourceResp

フィールド型必須説明
groupIdstringいいえOpenAPI に記載なし
groupNamestringいいえOpenAPI に記載なし
typestringはいdirect / group

PlatformAssetFileDeleteReq

フィールド型必須説明
filePathstringはいOpenAPI に記載なし

PlatformAssetFileDeleteResp

フィールド型必須説明
deletedbooleanはいOpenAPI に記載なし

PlatformAssetFileMultipartAbortReq

フィールド型必須説明
fileKeystringはいOpenAPI に記載なし
uploadIdstringはいOpenAPI に記載なし

PlatformAssetFileMultipartAbortResp

フィールド型必須説明
abortedintegerはいOpenAPI に記載なし

PlatformAssetFileMultipartCompleteReq

フィールド型必須説明
fileKeystringはいOpenAPI に記載なし
partsarray<object>はいOpenAPI に記載なし
uploadIdstringはいOpenAPI に記載なし

PlatformAssetFileMultipartCompleteResp

フィールド型必須説明
expiresAtintegerいいえOpenAPI に記載なし
filePathstringはいOpenAPI に記載なし
fileUrlstringいいえOpenAPI に記載なし
sizeBytesintegerはいOpenAPI に記載なし

PlatformAssetFileMultipartInitReq

フィールド型必須説明
appInstanceIdstringいいえOpenAPI に記載なし
bizIdstringいいえOpenAPI に記載なし
businessstringいいえOpenAPI に記載なし
contentTypestringいいえOpenAPI に記載なし
fileNamestringはいOpenAPI に記載なし
partSizeintegerいいえOpenAPI に記載なし
sessionIdstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
visibilitystringいいえOpenAPI に記載なし

PlatformAssetFileMultipartInitResp

フィールド型必須説明
expiresAtintegerはいOpenAPI に記載なし
fileKeystringはいOpenAPI に記載なし
filePathstringはいOpenAPI に記載なし
partCountintegerはいOpenAPI に記載なし
partSizeintegerはいOpenAPI に記載なし
uploadIdstringはいOpenAPI に記載なし

PlatformAssetFileMultipartPart

フィールド型必須説明
etagstringはいOpenAPI に記載なし
partNumberintegerはいOpenAPI に記載なし

PlatformAssetFileMultipartPartUrl

フィールド型必須説明
expiresAtintegerはいOpenAPI に記載なし
partNumberintegerはいOpenAPI に記載なし
urlstringはいOpenAPI に記載なし

PlatformAssetFileMultipartPartUrlsReq

フィールド型必須説明
fileKeystringはいOpenAPI に記載なし
partNumbersarray<integer>はいOpenAPI に記載なし
uploadIdstringはいOpenAPI に記載なし

PlatformAssetFileMultipartPartUrlsResp

フィールド型必須説明
partUrlsarray<object>はいOpenAPI に記載なし

PlatformAssetFileUploadReq

フィールド型必須説明
appInstanceIdstringいいえOpenAPI に記載なし
businessstringいいえOpenAPI に記載なし
contentTypestringいいえOpenAPI に記載なし
fileNamestringはいOpenAPI に記載なし
sessionIdstringいいえOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし
visibilitystringいいえOpenAPI に記載なし

PlatformAssetFileUploadResp

フィールド型必須説明
expiresAtintegerいいえOpenAPI に記載なし
fileIdintegerいいえOpenAPI に記載なし
filePathstringはいOpenAPI に記載なし
fileUrlstringいいえOpenAPI に記載なし
postFieldsobjectはいSend all signed fields before the file field. The policy constrains the object key and size.
postUrlstringはいSigned POST URL for multipart/form-data upload.

PlatformAssetFileUrlResp

フィールド型必須説明
expiresAtintegerいいえOpenAPI に記載なし
fileUrlstringはいOpenAPI に記載なし

PlatformAssetUploadReq

フィールド型必須説明
businessstringいいえOpenAPI に記載なし
contentTypestringいいえOpenAPI に記載なし
fileNamestringはいOpenAPI に記載なし
isPublicbooleanいいえOpenAPI に記載なし
sha256stringいいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
sizeBytesintegerはいOpenAPI に記載なし
storageKeystringいいえOpenAPI に記載なし
useBystringいいえOpenAPI に記載なし

PlatformAssetUploadResp

フィールド型必須説明
filePathstringはいOpenAPI に記載なし
fileUrlstringいいえOpenAPI に記載なし
postFieldsobjectはいSend all signed fields before the file field. The policy constrains the object key and size.
postUrlstringはいSigned POST URL for multipart/form-data upload.

PlatformAuthWhoamiResp

フィールド型必須説明
apiKeyNamestringはいOpenAPI に記載なし
emailstringはいOpenAPI に記載なし
keyPrefixstringはいOpenAPI に記載なし
keyTypestringはいOpenAPI に記載なし
permissionsarray<string>はいOpenAPI に記載なし
rolesarray<string>はいOpenAPI に記載なし
userIDintegerはいOpenAPI に記載なし
userNamestringはいOpenAPI に記載なし
workspaceIDintegerはいOpenAPI に記載なし
workspaceNamestringはいOpenAPI に記載なし

PlatformCapabilityDiscoverV2Resp

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 に記載なし

PlatformCapabilityErrorResp

フィールド型必須説明
errorCodestringはいINVALID_CREDENTIAL / CAPABILITY_INVALID_REQUEST / CAPABILITY_FORBIDDEN / CAPABILITY_UNAVAILABLE / CAPABILITY_INTERNAL_ERROR
messagestringはいA fixed public message; internal exceptions are not exposed.

PlatformGetNotificationReq

フィールド型必須説明
messageIdstringはいOpenAPI に記載なし

PlatformGetNotificationResp

フィールド型必須説明
channelsarray<object>はいOpenAPI に記載なし
completedAtstringいいえOpenAPI に記載なし
createdAtstringはいOpenAPI に記載なし
errorCodestringいいえOpenAPI に記載なし
messagestringいいえOpenAPI に記載なし
messageIdstringはいOpenAPI に記載なし
recipientNamestringいいえRecipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now
recipientUserIdstringはいRecipient user ID of the request (a large integer carried as string), same as the recipientUserId given when sending
statusstringはいOpenAPI に記載なし
typestringはいOpenAPI に記載なし

PlatformInfoResp

フィールド型必須説明
capabilitiesarray<string>はいOpenAPI に記載なし
mqttBrokerstringはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
versionstringはいAPI version of the requested HTTP entry point

PlatformListNotificationsReq

フィールド型必須説明
messageIdstringいいえFilter by message ID (a large integer carried as string, a positive integer); omitted or empty string means no filter
pageintegerいいえPage number, 1-based; defaults to 1 when omitted, an explicit value must be >= 1
recipientUserIdstringいいえFilter by recipient user ID (a large integer carried as string, a positive integer); omitted or empty string means no filter
sizeintegerいいえItems per page; defaults to 20 when omitted, an explicit value must be between 1 and 100
statusstringいいえFilter by status: accepted / sent / failed; omitted or empty string means no filter, any other value is rejected with 400

PlatformListNotificationsResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいPage number actually used
sizeintegerはいItems per page actually used
totalintegerはいTotal number of records matching the filters

PlatformMqttAuthCreateReq

フィールド型必須説明
clientIDRandomSuffixEnabledbooleanいいえOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
namestringはいOpenAPI に記載なし

PlatformMqttAuthCreateResp

フィールド型必須説明
clientIDstringはいOpenAPI に記載なし
clientIDRandomSuffixEnabledbooleanはいOpenAPI に記載なし
idintegerはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
passwordstringはいOpenAPI に記載なし
usernamestringはいOpenAPI に記載なし

PlatformMqttAuthDeleteReq

フィールド型必須説明
idintegerはいOpenAPI に記載なし

PlatformMqttAuthDeleteResp

フィールド型必須説明
successbooleanはいOpenAPI に記載なし

PlatformNotificationChannelResult

フィールド型必須説明
channelstringはいOpenAPI に記載なし
errorCodestringいいえOpenAPI に記載なし
messagestringいいえOpenAPI に記載なし
platformstringはいOpenAPI に記載なし
statusstringはいOne of sent / failed / no_device / not_configured / accepted / pending. accepted applies to inbox only (the in-app message is accepted and still being processed); pending means the channel was requested but its push is still being processed and has no final result yet.
successCountintegerはいOpenAPI に記載なし
targetCountintegerはいOpenAPI に記載なし

PlatformNotificationError

フィールド型必須説明
errorCodestringはいOpenAPI に記載なし
messagestringはいOpenAPI に記載なし

PlatformNotificationListItem

フィールド型必須説明
channelsarray<string>はいRequested terminal reminder channels, elements are web / mobile; an empty array for a silent message
completedAtstringいいえCompletion time, RFC 3339 UTC; empty while the request is not completed
createdAtstringはいCreation time, RFC 3339 UTC
errorCodestringいいえOnly filled when status is failed
keyIdstringはいID of the API key that sent the message (a large integer carried as string); the string 0 for records dispatched from the admin console
messagestringいいえOnly filled when status is failed
messageIdstringはいMessage ID (a large integer carried as string)
modestringはいtest / live
recipientNamestringいいえRecipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now
recipientUserIdstringはいRecipient user ID (a large integer carried as string)
senderIdstringいいえMachine identifier of the sender, self-reported, for display only
senderNamestringいいえDisplay name of the sender, self-reported, for display only
senderTypestringはいapp / other / system; self-reported by the sender, for display only
statusstringはいaccepted / sent / failed
titlestringはいNotification title; the content is never returned by this endpoint

PlatformNotificationSender

フィールド型必須説明
idstringいいえFor app, requires the appId (agent-platform UUID); optional for other and system. Pattern: [0-9a-zA-Z-]{1,128}.
metaobjectいいえType-specific metadata, at most 500 bytes when serialized.
namestringいいえHuman-readable display name replacing the deprecated source field; at most 100 characters.
typestringいいえOne of app, other or system; defaults to other. system is available only to internal platform senders (such as UNS Agent); app credentials cannot use system, and with sender.type=app the sender.id follows the app bound to the credential. Only type=app sent with an app-bound credential or a platform app credential is shown as an App; type=app self-declared by any other key is downgraded to other, and the API still returns success. Notifications are placed in the workspace System group. For the Agent in Builder (through Tier0 MCP): send a Builder-internal notification with type=app (sender.id is still required and is replaced by the App bound to the session); it appears only in that App's preview bell. Send a system notification with type=system and id=uns-agent; it goes to the regular message center.

PlatformPlatformGetMembersReq

フィールド型必須説明
keywordstringいいえOpenAPI に記載なし
pageintegerいいえOpenAPI に記載なし
roleKeystringいいえOpenAPI に記載なし
rolesarray<string>いいえOpenAPI に記載なし
sizeintegerいいえOpenAPI に記載なし
statusesarray<string>いいえOpenAPI に記載なし
updatedAtEndstringいいえOpenAPI に記載なし
updatedAtStartstringいいえOpenAPI に記載なし

PlatformPlatformMemberResp

フィールド型必須説明
emailstringいいえOpenAPI に記載なし
nickNamestringいいえOpenAPI に記載なし
rolesarray<object>はいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
updatedAtstringはいOpenAPI に記載なし
userIdstringはいOpenAPI に記載なし
userNamestringいいえOpenAPI に記載なし

PlatformPlatformMemberRoleResp

フィールド型必須説明
descriptionstringいいえOpenAPI に記載なし
roleIdstringはいOpenAPI に記載なし
roleKeystringはいOpenAPI に記載なし
roleNamestringいいえOpenAPI に記載なし

PlatformPlatformMembersResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
pageintegerはいOpenAPI に記載なし
sizeintegerはいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformPublicStreamRequest

フィールド型必須説明
codestringはいOpenAPI に記載なし
contractVersionstringはいOpenAPI に記載なし
descriptionstringはいOpenAPI に記載なし
idempotencystringはいOpenAPI に記載なし
inputSchemaobjectはいOpenAPI に記載なし
namestringはいOpenAPI に記載なし
outputSchemaobjectはいOpenAPI に記載なし
sideEffectstringはいOpenAPI に記載なし
statusstringはいOpenAPI に記載なし
timeoutMsintegerはいOpenAPI に記載なし

PlatformSendNotificationReq

フィールド型必須説明
channelsarray<string>いいえOpenAPI に記載なし
contentstringはいPlain text only; a request containing HTML tags is rejected with 400.
idempotencyKeystringはいOpenAPI に記載なし
linkstringいいえOpenAPI に記載なし
modestringいいえDeprecated (2026-11-04): test/live is decided by the platform from the API key and sender.type, and the value sent here is ignored (except for existing app credentials that do not distinguish preview from deployment, during the transition). test messages appear only in that App's Building preview bell; they do not enter the message center and are not pushed to devices.
recipientUserIdstringはいOpenAPI に記載なし
senderobjectいいえPlatformNotificationSender. スキーマの章で参照先のスキーマを確認してください。
sourcestringいいえDeprecated transitional alias for sender.name. sender.name takes precedence; this field will be removed.
titlestringはいPlain text only; a request containing HTML tags is rejected with 400.
typestringはいOpenAPI に記載なし

PlatformSendNotificationResp

フィールド型必須説明
createdAtstringはいOpenAPI に記載なし
messageIdstringはいOpenAPI に記載なし
recipientNamestringいいえRecipient display name (nickName, falling back to userName); an empty string when the recipient is not a member of this Workspace or the name cannot be looked up for now; never affects the send result
recipientUserIdstringはいRecipient user ID of the request (a large integer carried as string); on an idempotent hit it is the recipient of the existing request
statusstringはいOpenAPI に記載なし

PlatformStreamMessageGrantedTopic

フィールド型必須説明
publishSubjectstringはいOpenAPI に記載なし
subscribeSubjectstringはいOpenAPI に記載なし
topicstringはいOpenAPI に記載なし

PlatformStreamMessagesConnectReq

フィールド型必須説明
appIdstringはいOpenAPI に記載なし
clientPublicKeystringはいOpenAPI に記載なし
topicsarray<object>はいOpenAPI に記載なし

PlatformStreamMessagesConnectResp

フィールド型必須説明
contractVersionstringはいOpenAPI に記載なし
expiresAtstringはいOpenAPI に記載なし
maxPayloadBytesintegerはいOpenAPI に記載なし
permissionsarray<object>はいOpenAPI に記載なし
urlstringはいOpenAPI に記載なし
userJwtstringはいOpenAPI に記載なし

PlatformStreamMessageTopicPermission

フィールド型必須説明
publishbooleanはいOpenAPI に記載なし
subscribebooleanはいOpenAPI に記載なし
topicstringはいOpenAPI に記載なし

PlatformStreamRequestDiscoverReq

フィールド型必須説明
pageintegerいいえDefaults to 1.
searchstringいいえOpenAPI に記載なし
sizeintegerいいえDefaults to 20.

PlatformStreamRequestDiscoverResp

フィールド型必須説明
listarray<object>はいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

PlatformStreamRequestInvokeReq

フィールド型必須説明
idempotencyKeystringいいえAt most 128 decoded UTF-8 bytes. The frozen contract determines whether this field is required.
inputobjectはいOpenAPI に記載なし

PlatformStreamRequestInvokeResp

フィールド型必須説明
codestringはいOpenAPI に記載なし
contractVersionstringはいThe frozen contract version used for execution.
replayedbooleanはいtrue indicates an idempotent replay; false indicates the first execution.
resultobjectはいThe JSON result defined by the contract; null is allowed.
runIDstringはいThe execution identifier returned by the server, represented as an opaque string.
statusstringはいThe final status returned by the server; never accepted, queued, pending or running.

RecordDocument

Ordinary business record. Business fields are in data; system attributes are siblings. filter/projection use bare business names and _id/_meta.*, not response-object paths. lock describes only active leases and does not return tokens.

フィールド型必須説明
idstringはいOpenAPI に記載なし
collectionIdstringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
revisionintegerはいOpenAPI に記載なし
createdAtintegerはいUnix milliseconds.
updatedAtintegerはいUnix milliseconds.
sourceIdstringはいOpenAPI に記載なし
sourceTimeintegerはいUnix milliseconds.
lockobjectいいえCloudRecordLockView. スキーマの章で参照先のスキーマを確認してください。

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 as a string, obtained through discovery or read endpoints; do not use a name as an ID.
objectstringはいOpenAPI に記載なし
queryAllbooleanいいえOpenAPI に記載なし
startstringはいOpenAPI に記載なし

SampleDocument

Ordinary sample object. Business fields are in data; time, quality, record identity and available provenance are siblings.

フィールド型必須説明
idstringはいOpenAPI に記載なし
collectionIdstringはいOpenAPI に記載なし
recordIdstringはいOpenAPI に記載なし
timeintegerはいSample timestamp supplied by the caller, in Unix milliseconds.
receivedAtintegerはいServer-generated sample receipt time in Unix milliseconds.
qualitystringはいOpenAPI に記載なし
dataobjectはいOpenAPI に記載なし
sourceIdstringはいOpenAPI に記載なし
streamIdstringいいえOpenAPI に記載なし
bindingIdstringいいえOpenAPI に記載なし

Schema

フィールド型必須説明
additionalPropertiesbooleanいいえOpenAPI に記載なし
descriptionstringいいえOpenAPI に記載なし
enumarray<object>いいえOpenAPI に記載なし
itemsobjectいいえSchema. スキーマの章で参照先のスキーマを確認してください。
maximumnumberいいえOpenAPI に記載なし
minimumnumberいいえOpenAPI に記載なし
propertiesobjectいいえOpenAPI に記載なし
requiredarray<string>いいえOpenAPI に記載なし
titlestringいいえOpenAPI に記載なし
typestringはいOpenAPI に記載なし
unitstringいいえOpenAPI に記載なし
formatstringいいえType representation annotation: int32 for integer, float (float32) or double (float64) for number, and date-time (datetime) for string. Adds no numeric range, precision or date-format validation, rounding, date parsing or time-zone conversion. Omission preserves base-type semantics. The outer sample time field is unchanged.

SourceCredentials

フィールド型必須説明
kindstringはいOpenAPI に記載なし
usernamestringいいえOpenAPI に記載なし
secretstringいいえOpenAPI に記載なし
valuesobjectいいえOpenAPI に記載なし
certificateFileIdstringいいえOpenAPI に記載なし
privateKeyFileIdstringいいえOpenAPI に記載なし
caFileIdstringいいえOpenAPI に記載なし

SourceDefinition

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. スキーマの章で参照先のスキーマを確認してください。

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. スキーマの章で参照先のスキーマを確認してください。

SQLConnection

フィールド型必須説明
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いいえSource-owned named queries on Cloud and Enterprise; never override SQL in Stream acquisition. PostgreSQL/MySQL use read-only transactions and bounded read. SQL Server has no public preview or live-query dryRun; explicitly authorized Stream execution is potentially writing and uses effect journaling. No named-query scan. limit 1..100; timeoutMs 100..10000.
tlsModestringいいえ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 as a string, obtained through discovery or read endpoints; do not use a name as an ID.
itemIdstringはいOpenAPI に記載なし
itemUidstringはいOpenAPI に記載なし
queryUidstringはいOpenAPI に記載なし
revisionUidstringはいOpenAPI に記載なし

TransactionQueryResult

フィールド型必須説明
hasMorebooleanはいOpenAPI に記載なし
recordsarray<object>はいOpenAPI に記載なし
totalintegerはいOpenAPI に記載なし

UnsV2ArrayElementFilter

Scalar elements use comparison operators; object elements use relative field conditions, optionally with nested logical composition. pull rejects $expr.

{
  "type": "object",
  "minProperties": 1,
  "additionalProperties": true,
  "description": "Scalar elements use comparison operators; object elements use relative field conditions, optionally with nested logical composition. pull rejects $expr."
}

UnsV2DataFilter

Unified predicates: business paths use field or customer.name; system paths use _id and _meta.revision/createdAt/updatedAt/sourceId/sourceTime/locked. Samples use _meta.recordId/time/receivedAt/quality/streamId/bindingId. Direct values equal $eq. Supports scalar comparisons, string $contains (ASCII case-insensitive substring), array $elemMatch/$all/$size, logical composition and restricted $expr. Dot-separated paths: escape literal dots as \. and backslashes as \\, escaping again in JSON. At most 512 bytes/10 segments; arrays use explicit indices, without implicit traversal. Field types are schema-validated; SQL and scripts are rejected. Record writes must match exactly one record by default. $eq:null matches null or missing; $ne:null matches present non-null fields; $ne:non-null also includes missing fields. $exists distinguishes presence from absence; explicit null counts as present.

フィールド型必須説明
$andarray<object>いいえOpenAPI に記載なし
$orarray<object>いいえOpenAPI に記載なし
$norarray<object>いいえOpenAPI に記載なし
$notobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
$exprobjectいいえUnsV2PipelineExpression. スキーマの章で参照先のスキーマを確認してください。

UnsV2Distinct

Deduplicate by the field combination in by and output the alias fields. Uses ordinary offset pagination. Count unique values with $distinct followed by $count; there is no countDistinct stage.

フィールド型必須説明
byobjectはいUnsV2DistinctBy. スキーマの章で参照先のスキーマを確認してください。

UnsV2DistinctBy

Map output aliases to input field references. Aliases must be valid top-level field paths using the same escaping rules; empty names, $ prefixes, control characters and reserved prototype names are prohibited. An input row is discarded if any referenced field is missing; explicit null is preserved. Arrays compare as whole values; use $unwind first for element-level distinct values.

{
  "type": "object",
  "minProperties": 1,
  "maxProperties": 16,
  "additionalProperties": {
    "type": "string",
    "minLength": 2,
    "maxLength": 513,
    "pattern": "^\\$[^$].*$",
    "description": "Declared field path with one $ prefix, such as $status; expressions and $$ variables are rejected."
  },
  "description": "Map output aliases to input field references. Aliases must be valid top-level field paths using the same escaping rules; empty names, $ prefixes, control characters and reserved prototype names are prohibited. An input row is discarded if any referenced field is missing; explicit null is preserved. Arrays compare as whole values; use $unwind first for element-level distinct values."
}

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 matches by complete JSON-element equality.
$sizeintegerいいえOpenAPI に記載なし
$elemMatchobjectいいえUnsV2ArrayElementFilter. スキーマの章で参照先のスキーマを確認してください。
$containsstringいいえSubstring matching for string fields only; ASCII letters are case-insensitive and other characters compare literally. Arrays and other types are errors. Wildcards and regex are unsupported. Cannot use indexes; large collections may time out.

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 matches by complete JSON-element equality.
$sizeintegerいいえOpenAPI に記載なし
$elemMatchobjectいいえUnsV2ArrayElementFilter. スキーマの章で参照先のスキーマを確認してください。
$notobjectいいえUnsV2FieldComparisons. スキーマの章で参照先のスキーマを確認してください。
$containsstringいいえSubstring matching for string fields only; ASCII letters are case-insensitive and other characters compare literally. Arrays and other types are errors. Wildcards and regex are unsupported. Cannot use indexes; large collections may time out.

UnsV2FilterScalar

{
  "oneOf": [
    {
      "type": "string",
      "nullable": true
    },
    {
      "type": "number"
    },
    {
      "type": "boolean"
    }
  ]
}

UnsV2Frequencies

Count frequencies by the fields in by, returning aliases and a fixed count field. Counts the current stage's input; results may be sorted or filtered further.

フィールド型必須説明
byobjectはいUses distinct field-combination and missing/null rules; aliases cannot be count.

UnsV2Identity

{
  "oneOf": [
    {
      "type": "string",
      "maxLength": 128
    },
    {
      "type": "object",
      "required": [
        "ref"
      ],
      "additionalProperties": false,
      "properties": {
        "ref": {
          "type": "string"
        }
      }
    }
  ]
}

UnsV2JobsQuery

フィールド型必須説明
queryIdstringはいUnique identifier within this query batch, used to correlate results.
jobIdsarray<string>いいえOpenAPI に記載なし

UnsV2PipelineAccumulator

{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$sum": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$sum"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$avg": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$avg"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$min": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$min"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$max": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$max"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$count": {
          "type": "object",
          "maxProperties": 0
        }
      },
      "required": [
        "$count"
      ]
    }
  ]
}

UnsV2PipelineExpression

$field path reference or scalar constant; $literal forces a constant. Arithmetic accepts numbers only. $divide returns null for zero denominators; $ifNull explicitly supplies a missing/null default. $expr must return boolean. $cond requires a boolean condition and compatible branch types. Conversion failures are errors; missing/null propagate. $trim input/chars are string expressions; omitting chars trims whitespace. $dateTrunc input/output use Unix milliseconds, timezone is IANA, and startOfWeek applies only to week. Expression depth is at most 8, with at most 512 nodes. Each intermediate $concat result is limited to 1 MiB of UTF-8, otherwise EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are unsupported.

{
  "oneOf": [
    {
      "$ref": "#/components/schemas/UnsV2FilterScalar"
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$ifNull": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$ifNull"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$add": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$add"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$subtract": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$subtract"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$multiply": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$multiply"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$divide": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$divide"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$literal": {
          "$ref": "#/components/schemas/UnsV2FilterScalar"
        }
      },
      "required": [
        "$literal"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$eq": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$eq"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$ne": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$ne"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$gt": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$gt"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$gte": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$gte"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$lt": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$lt"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$lte": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "$lte"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$and": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 1,
          "maxItems": 64
        }
      },
      "required": [
        "$and"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$or": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 1,
          "maxItems": 64
        }
      },
      "required": [
        "$or"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$not": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 1,
          "maxItems": 1
        }
      },
      "required": [
        "$not"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$cond": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/UnsV2PipelineExpression"
              },
              "minItems": 3,
              "maxItems": 3
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "if": {
                  "$ref": "#/components/schemas/UnsV2PipelineExpression"
                },
                "then": {
                  "$ref": "#/components/schemas/UnsV2PipelineExpression"
                },
                "else": {
                  "$ref": "#/components/schemas/UnsV2PipelineExpression"
                }
              },
              "required": [
                "if",
                "then",
                "else"
              ]
            }
          ]
        }
      },
      "required": [
        "$cond"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$concat": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "minItems": 1,
          "maxItems": 64
        }
      },
      "required": [
        "$concat"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$toLower": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$toLower"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$toUpper": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$toUpper"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$strLenCP": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$strLenCP"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$toString": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$toString"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$toDecimal": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$toDecimal"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$toLong": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$toLong"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$toBool": {
          "$ref": "#/components/schemas/UnsV2PipelineExpression"
        }
      },
      "required": [
        "$toBool"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$trim": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "input": {
              "$ref": "#/components/schemas/UnsV2PipelineExpression"
            },
            "chars": {
              "$ref": "#/components/schemas/UnsV2PipelineExpression"
            }
          },
          "required": [
            "input"
          ]
        }
      },
      "required": [
        "$trim"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$convert": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "input": {
              "$ref": "#/components/schemas/UnsV2PipelineExpression"
            },
            "to": {
              "type": "string",
              "enum": [
                "string",
                "decimal",
                "long",
                "bool"
              ]
            }
          },
          "required": [
            "input",
            "to"
          ]
        }
      },
      "required": [
        "$convert"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$dateTrunc": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "date": {
              "$ref": "#/components/schemas/UnsV2PipelineExpression"
            },
            "unit": {
              "type": "string",
              "enum": [
                "millisecond",
                "second",
                "minute",
                "hour",
                "day",
                "week",
                "month",
                "quarter",
                "year"
              ]
            },
            "timezone": {
              "type": "string",
              "default": "UTC"
            },
            "binSize": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000000,
              "default": 1,
              "description": "Above 1, only fixed UTC millisecond/second/minute/hour/day buckets aligned to the Unix epoch are supported. 1 supports calendar units and time zones."
            },
            "startOfWeek": {
              "type": "string",
              "enum": [
                "sunday",
                "monday",
                "tuesday",
                "wednesday",
                "thursday",
                "friday",
                "saturday"
              ],
              "default": "sunday"
            }
          },
          "required": [
            "date",
            "unit"
          ]
        }
      },
      "required": [
        "$dateTrunc"
      ]
    }
  ],
  "description": "$field path reference or scalar constant; $literal forces a constant. Arithmetic accepts numbers only. $divide returns null for zero denominators; $ifNull explicitly supplies a missing/null default.  $expr must return boolean. $cond requires a boolean condition and compatible branch types. Conversion failures are errors; missing/null propagate. $trim input/chars are string expressions; omitting chars trims whitespace. $dateTrunc input/output use Unix milliseconds, timezone is IANA, and startOfWeek applies only to week. Expression depth is at most 8, with at most 512 nodes. Each intermediate $concat result is limited to 1 MiB of UTF-8, otherwise EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are unsupported."
}

UnsV2PipelinePage

フィールド型必須説明
sizeintegerいいえPage size; see this endpoint's maximum or the capability catalog.
modestringいいえPipelines containing only $match/$sort default to cursor (keyset); other pipelines default to offset and do not support cursor.
pageintegerいいえPage number, starting at 1.
cursorstringいいえSigned keyset token containing complete sort values and unique identity, bound to query, collection, schema/revision and caller identity, valid for 7 days. Restart after identity, schema or signing-key changes. Does not freeze snapshots across requests.

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

Exactly one operator per stage; stages execute in order. $lookup performs equality matching before its pipeline, producing an array; each target collection is authorized independently.

{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$match": {
          "$ref": "#/components/schemas/UnsV2DataFilter"
        }
      },
      "required": [
        "$match"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$project": {
          "type": "object",
          "minProperties": 1,
          "maxProperties": 64,
          "additionalProperties": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "description": "Field inclusion/exclusion (1/0) or expressions. Supports nested output paths and $field references. Cannot mix inclusion and exclusion except for _id."
        }
      },
      "required": [
        "$project"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$set": {
          "type": "object",
          "minProperties": 1,
          "maxProperties": 64,
          "additionalProperties": {
            "$ref": "#/components/schemas/UnsV2PipelineExpression"
          },
          "description": "Add or replace computed fields, including nested paths, using only allowed expressions."
        }
      },
      "required": [
        "$set"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$sort": {
          "$ref": "#/components/schemas/UnsV2PipelineSort"
        }
      },
      "required": [
        "$sort"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$group": {
          "type": "object",
          "required": [
            "_id"
          ],
          "properties": {
            "_id": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UnsV2PipelineExpression"
                },
                {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/UnsV2PipelineExpression"
                  }
                }
              ]
            }
          },
          "additionalProperties": {
            "$ref": "#/components/schemas/UnsV2PipelineAccumulator"
          },
          "description": "_id defines a scalar, null or object grouping key; other fields support $sum/$avg/$min/$max. Count with {$sum:1}."
        }
      },
      "required": [
        "$group"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$distinct": {
          "$ref": "#/components/schemas/UnsV2Distinct"
        }
      },
      "required": [
        "$distinct"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$frequencies": {
          "$ref": "#/components/schemas/UnsV2Frequencies"
        }
      },
      "required": [
        "$frequencies"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$lookup": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "collectionId": {
              "type": "string"
            },
            "recordId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "kind": {
              "type": "string",
              "enum": [
                "records",
                "samples"
              ],
              "default": "records"
            },
            "localField": {
              "type": "string"
            },
            "foreignField": {
              "type": "string"
            },
            "as": {
              "type": "string"
            },
            "pipeline": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/UnsV2PipelineStage"
              }
            }
          },
          "required": [
            "collectionId",
            "localField",
            "foreignField",
            "as"
          ],
          "oneOf": [
            {
              "properties": {
                "kind": {
                  "enum": [
                    "samples"
                  ]
                }
              },
              "required": [
                "kind",
                "recordId"
              ]
            },
            {
              "properties": {
                "kind": {
                  "enum": [
                    "records"
                  ]
                }
              },
              "not": {
                "required": [
                  "recordId"
                ]
              }
            }
          ],
          "description": "kind=samples requires a fixed recordId and joins only within that record; records prohibits recordId. foreignField requires a ready B-tree index with that leading field, or an applicable built-in identity index. At most 1000 primary rows, 10000 raw joined rows per input, 8 MiB intermediate results and 200 final joined items per input. Overflow fails explicitly instead of truncating; a child pipeline may filter or aggregate."
        }
      },
      "required": [
        "$lookup"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$unwind": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "path": {
                  "type": "string"
                },
                "preserveNullAndEmptyArrays": {
                  "type": "boolean"
                }
              },
              "required": [
                "path"
              ]
            }
          ]
        }
      },
      "required": [
        "$unwind"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$skip": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        }
      },
      "required": [
        "$skip"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000000
        }
      },
      "required": [
        "$limit"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$count": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "description": "Valid top-level output field name following common path escaping and reserved-name rules.  Output one count row; empty input returns 0. As the final stage, explicit page is prohibited. With later stages, paginate the final output normally."
        }
      },
      "required": [
        "$count"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "$exists": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "description": "Valid top-level output field name following common path escaping and reserved-name rules.  Output one boolean indicating whether the current stage has any input; empty input returns false. As the final stage, explicit page is prohibited. With later stages, paginate the final output normally."
        }
      },
      "required": [
        "$exists"
      ]
    }
  ],
  "description": "Exactly one operator per stage; stages execute in order. $lookup performs equality matching before its pipeline, producing an array; each target collection is authorized independently."
}

UnsV2QueryCountExpectation

フィールド型必須説明
minintegerいいえOpenAPI に記載なし
maxintegerいいえOpenAPI に記載なし

UnsV2RecordChange

フィールド型必須説明
updateobjectいいえUpdate-operator document for record.update; mutually exclusive with operations.
arrayFiltersarray<object>いいえOpenAPI に記載なし
upsertbooleanいいえWhen true, filter requires _id equality or equality covering every field of a ready unique index; otherwise UPSERT_REQUIRES_UNIQUE_INDEX. Insert when unmatched; unique conflicts return 409 DUPLICATE_KEY.
opIdstringはいUnique operation identifier within the transaction, used by dependencies and result references.
actionstringはいOpenAPI に記載なし
idobjectいいえRecord ID or a reference to an earlier create operation. Creation may omit it for automatic allocation. Existing-record operations may select by id, filter or target-result binding. record.query does not accept id.
collectionIdobjectはいUnsV2Identity. スキーマの章で参照先のスキーマを確認してください。
expectedRevisionintegerいいえOptional revision check. For creation, reads, collection queries or exists=false checks, omit or use 0 only.
dataobjectいいえBusiness data for record.create/replace.
dependsOnarray<string>いいえPrerequisite opIds; the server checks dependency cycles.
existsbooleanいいえOpenAPI に記載なし
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
selectionstringいいえSelection mode for record.read/update/modify/replace/delete. first requires filter and optionally sort. Defaults to exactOne; multiple matches are an error.
sortobjectいいえUsed only with selection=first; ID sorting is appended to stabilize ties.
returnDocumentstringいいえbefore/after snapshot option for record.read/update/modify/replace/delete. Writes return no extra snapshot when omitted.
operationsarray<object>いいえOpenAPI に記載なし
bindingsarray<object>いいえBind prior operation results to specified fields in this operation; no string templates or arbitrary code.
queryobjectいいえUnsV2TransactionQuery. スキーマの章で参照先のスキーマを確認してください。
lockTokenstringいいえOpenAPI に記載なし
releasebooleanいいえOpenAPI に記載なし
lockTokensobjectいいえOpenAPI に記載なし
conditionsarray<object>いいえConditions for record.check/update/modify; mutually exclusive with filter.

UnsV2RecordFilter

フィールド型必須説明
fieldstringはいOpenAPI に記載なし
opstringはいOpenAPI に記載なし
valueobjectはいOpenAPI に記載なし

UnsV2ReferenceTarget

フィールド型必須説明
kindstringはいOpenAPI に記載なし
idstringはいObject ID as a string, obtained through discovery or read endpoints; do not use a name as an ID.

UnsV2ResultBinding

フィールド型必須説明
pathstringはいdata.field DTO paths, operations.N.value, or JSON Pointers beginning with filter/ such as filter/available/$gte and filter/_id/$eq. Filter pointers may replace only existing scalar/null placeholders, not predicate structure. id may bind a record identity from a query result in the same collection.
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.

UnsV2TransactionQuery

フィールド型必須説明
filterobjectいいえUnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。
sortarray<array<object>>いいえUnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。
limitintegerいいえReturned row limit; omitted or 0 means 20. Count assertions apply before this limit.
expectCountobjectいいえUnsV2QueryCountExpectation. スキーマの章で参照先のスキーマを確認してください。

WMSMapping

フィールド型必須説明
fieldsarray<string>はいOpenAPI に記載なし
keyColumnstringはいOpenAPI に記載なし
tablestringはいOpenAPI に記載なし
updatedAtstringいいえOpenAPI に記載なし