メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://docs.qoder.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /v1/vaults 現在のアカウント配下のすべての Vault 一覧を取得します。ページネーションと状態フィルタをサポートします。

ヘッダー

ヘッダー必須説明
AuthorizationはいBearer $QODER_PAT

クエリパラメータ

パラメータ必須説明
limitintegerいいえ1 ページあたりの返却件数上限
afterstringいいえカーソルページネーション:この ID 以降のレコードを返す
statusstringいいえ状態でフィルタ、値:activearchived

リクエスト例

# すべての Vault を取得
curl -X GET https://openapi.qoder.sh/api/v1/cloud/vaults \
  -H "Authorization: Bearer $QODER_PAT"

# ページネーション
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/vaults?limit=2" \
  -H "Authorization: Bearer $QODER_PAT"

# 状態でフィルタ
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/vaults?status=archived" \
  -H "Authorization: Bearer $QODER_PAT"

レスポンス例

HTTP 200 OK
{
  "data": [
    {
      "id": "vault_019e3bb940277f0db05ab74291acf6ef",
      "type": "vault",
      "display_name": "my-mcp-vault",
      "status": "active",
      "metadata": {},
      "created_at": "2026-05-18T15:34:16.874877Z",
      "updated_at": "2026-05-18T15:34:16.874877Z"
    }
  ],
  "first_id": "vault_019e3bb940277f0db05ab74291acf6ef",
  "last_id": "vault_019e3bb940277f0db05ab74291acf6ef",
  "has_more": false
}

空一覧レスポンス

{
  "data": [],
  "first_id": null,
  "last_id": null,
  "has_more": false
}

レスポンスフィールド

フィールド説明
dataarrayVault オブジェクト配列
first_idstring | null現在ページ先頭レコード ID
last_idstring | null現在ページ末尾レコード ID(カーソルページネーション用)
has_morebooleanさらにレコードがあるかどうか

エラーレスポンス

HTTPtype説明
401TOKEN_INVALID認証トークンが欠落または無効