コンテンツへスキップ

Agent の取得

GET/v1/agents/{agent_id}

Agent を読み取ります。アーカイブ済みの Agent も対象です。

パスパラメーター

stringagent_id必須

Agent ID(agt_ プレフィックス)。

Agent オブジェクト

create、get、update、archive、unarchive、restore、clone で返されます。

stringid必須

agt_ プレフィックス付きの Agent ID。

stringobject必須

常に agent。

integerversion必須

現在のバージョン。実質的な書き込みのたびに新しいバージョンが作成されます。

integerrow_version必須

PATCH、archive、unarchive、restore 用の compare-and-set トークン。

stringstatus必須

active または archived。

stringprojection_status必須

現在のバージョンの実行準備状態。Session には ready が必要です。新しい Agent は一時的に pending を報告することがあります。

stringruntime_profile必須

codex、claude、または mcode。

stringvisibility必須

自分の Agent は private、カタログのエントリは public。

integer · nullcreated_at · updated_at · archived_at必須

Unix 秒。アクティブな間、archived_at は null です。