外部開発者向けAPI概要

DotIDは、FlexGalaxy.AI APaaS上でアプリケーションを構築する開発者向けにパートナーAPIを公開しています。これらのAPIでは一般的な製品名を使用するため、インテグレーターが内部サービスのコード名を知る必要はありません。

APIの公開場所

External developer APIs are exported through the public API edge.

環境

ベースURL

本番

https://api.flexgalaxy.ai

Your integration contract is exactly two things: the base URL above and the capability path you call under it —

/developer/v1/…   /service-catalog/v1/…   /identity/v1/…   /accounts/v1/…
/organizations/v1/…   /passport/v1/…   /quota/v1/…   /audit/v1/…   /directory/v1/…

Two standards-protocol paths are also served, without a capability prefix: POST /oauth2/token (RFC 8693 token exchange) and the /.well-known/… metadata (JWKS and protected-resource discovery). The operator-only residency family is NOT part of a partner contract and is not listed here.

Everything behind that edge — which gateway product terminates it, how it is deployed, and which internal service answers — is an implementation choice you cannot observe and must not depend on. It can change without notice; the base URL and the capability path cannot.

Local development may also use direct service ports while debugging, but examples and published API docs should use the edge-facing names.

APIファミリー

APIファミリー

目的

identity

登録済みアプリケーションに安全に公開できる、ユーザー、グループ、権限セット、割り当てに関するアイデンティティ関連API。

passport

PassPort登録済みアプリケーション向けの、アプリケーション単位のログイン、起動、セッション、スコープチェック。

accounts

アカウントレベルの検出と、アカウント単位のアプリケーションインストールワークフロー。

organizations

組織レベルの検出と、組織単位のインストールワークフロー。

service-catalog

サービス、機能、アプリケーション登録、インストール可能なインテグレーションを検出します。

developer

開発者向け機能とアプリケーションスコープを登録します。

quota

呼び出し元に許可されている範囲で、クォータ情報を読み取り、クォータ調整リクエストを送信します。

audit

呼び出し元のアカウントまたは組織コンテキストで利用可能な監査イベントを読み取ります。

directory

Cross-organization account-directory lookup for counterparty pickers, limited to ACTIVE org-member accounts the caller may see.

内部サービスのコード名は外部向け契約の一部ではありません。

認証

Protected tenant APIs exported through the public API edge use AWS-shaped signed requests: a static AKIA service-user key, or temporary DotID STS ASIA credentials including the signed X-FGAI-Security-Token header. Human OAuth/OIDC bearer tokens authenticate browser sessions, not CLI or direct public API-edge calls.

The full model — which host admits which scheme, the route-level exceptions, and the exact refusal a caller sees — is stated ONCE in External authentication model. Read that page rather than inferring a credential from an endpoint's status code.

パートナーアプリケーションからKeycloak Admin APIを呼び出さないでください。KeycloakはDotIDの背後にあるアイデンティティプロバイダーであり、公開管理APIではありません。

Resource naming

stable identifiers としても機能する resources の名前 — Identity Center groups と permission sets、IAM users (service users)、groups、roles、managed and inline policies、SCPs、resource policies、workload identities — は AWS IAM / Identity Center name charset ^[\w+=,.@-]+$ に一致する必要があります: letters、digits、および + = , . @ _ - のみ (spaces やその他の whitespace、その他の punctuation は不可)。これらの names は値として参照されるため (FRN segments、group↔permission-set pairing、customer-managed-policy name resolution)、charset 外のものは create/update 時に 400 で拒否されます。word breaks には - または _ を使用してください (例: Store Manager ではなく store-manager)。free-text の description fields と human display names (organization と account names、user first/last names) には影響しません。

Inline policies

Inline policies are refused on customer accounts. Creating one against any account other than the platform account returns 400 with the error code IAM_INLINE_POLICY_FORBIDDEN_ON_PRODUCTION. Compose a managed policy and attach it by FRN instead (ADR-0026 §4); the refusal payload names the replacement explicitly.

公開されないもの

次のインターフェイスは内部向けであり、パートナーAPIではありません:

  • 内部管理アプリが使用するプラットフォーム管理コンソールAPI。

  • First-root plus standalone-Account bootstrap (POST /accounts/v1). Existing Organizations use the public member-account/provisioning capabilities instead.

  • ファーストパーティWebアプリが使用するコンソール専用API。

  • 内部サービス間エンドポイント。

  • 未加工のKeycloak Admin RESTエンドポイント。

  • Terraform、デプロイ、シード、オペレーター向けエンドポイント。

インテグレーションに必要な機能がこれらのインターフェイスの背後にあるように見える場合は、内部ルートに依存せず、パートナーAPIをリクエストしてください。

ドキュメント形式

External API references are published as an aggregated, read-only Stoplight Elements page at https://docs.flexgalaxy.ai/api/dotid/. They are read-only by design so external developers can browse schemas, status codes, and examples without sending live requests from the documentation site.

公開仕様についてはOpenAPIリファレンスを、実際に動作するインテグレーションの手順については外部開発者APIの例を参照してください。