Retrieves the details of a single vault, including all of its credentials, by vault ID.
Request headers
|
Header |
Required |
Description |
|
|
Yes |
Bearer token used to authenticate the request. Format: |
Path parameters
|
Parameter |
Type |
Required |
Description |
|
|
string |
Yes |
The unique identifier of the vault to retrieve. |
Example request
curl -X GET "https://api.qoder.com.cn/api/v1/cloud/vaults/vault_019e3bb940277f0db05ab74291acf6ef" \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
{
"id": "vault_019e3bb940277f0db05ab74291acf6ef",
"type": "vault",
"display_name": "my-mcp-vault",
"status": "active",
"metadata": {},
"credentials": [
{
"id": "vcred_019e3bb940297658a632dbf920057eff",
"vault_id": "vault_019e3bb940277f0db05ab74291acf6ef",
"mcp_server_url": "https://example.com/mcp",
"protocol": "sse",
"type": "static_bearer",
"status": "active",
"created_at": "2026-05-18T15:34:16.876188Z",
"updated_at": "2026-05-18T15:34:16.876188Z"
}
],
"created_at": "2026-05-18T15:34:16.874877Z",
"updated_at": "2026-05-18T15:34:16.874877Z"
}
Response fields
|
Field |
Type |
Description |
|
|
string |
Unique identifier of the vault, prefixed with |
|
|
string |
Object type. Always |
|
|
string |
Human-readable display name for the vault. |
|
|
string |
Current vault state. One of |
|
|
object |
Custom key-value pairs associated with the vault. |
|
|
array |
The credentials currently attached to the vault. The |
|
|
string |
Creation timestamp in ISO 8601 format. |
|
|
string |
Last-updated timestamp in ISO 8601 format. |
Errors
|
HTTP |
Type |
Trigger |
|
401 |
|
The authentication token is missing or invalid. |
|
404 |
|
The specified vault does not exist or has been deleted. |
For the full error envelope, see Errors.