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 |
クエリパラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|
limit | integer | いいえ | 1 ページあたりの返却件数上限 |
after | string | いいえ | カーソルページネーション:この ID 以降のレコードを返す |
status | string | いいえ | 状態でフィルタ、値:active、archived |
リクエスト例
# すべての 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
}
レスポンスフィールド
| フィールド | 型 | 説明 |
|---|
data | array | Vault オブジェクト配列 |
first_id | string | null | 現在ページ先頭レコード ID |
last_id | string | null | 現在ページ末尾レコード ID(カーソルページネーション用) |
has_more | boolean | さらにレコードがあるかどうか |
エラーレスポンス
| HTTP | type | 説明 |
|---|
| 401 | TOKEN_INVALID | 認証トークンが欠落または無効 |