> ## Documentation Index
> Fetch the complete documentation index at: https://hub.hcompany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> H Platform has three products: the Agents API (managed computer-use agents, base URL https://agp.eu.hcompany.ai/api/v2 or https://agp.hcompany.ai/api/v2 for the US), the Models API (OpenAI-compatible Holo vision-language models at https://api.hcompany.ai/v1), and HoloTab (a free no-code Chrome extension that runs Holo in the user's browser, with recordable routines and schedules). The `holo` CLI (`pip install "hai-agents[cli]"`) runs Agents API agents from a terminal, drives the user's own desktop with `-a h/holo-desktop`, and serves coding agents through `holo mcp`.
> Authenticate with a bearer API key from the HAI_API_KEY environment variable. SDKs: `pip install hai-agents` (Python, `from hai_agents import Client`) and `npm install hai-agents` (TypeScript, `import { HaiAgentsClient } from "hai-agents"`). CLI: `holo`.
> Agents do work in a browser or on a desktop; describe the task as an imperative instruction. To run a task quickly, prefer the pre-built agent `h/web-surfer-flash`. Read results from the session's `latest_answer` after it reaches a terminal status.
> Sessions are the unit of work; wait for a terminal status (completed, failed, timed_out, interrupted) before reading the answer. Use webhooks or the `changes` long-poll endpoint to follow progress.

# Retrieve a vault

> Retrieve a vault config by ID, without its write-only token.

## Path parameters

**vault\_id** `string` *required*

The vault config's `id` (UUID).

## Response

`200` with the vault object, also returned by create, list, and update.

**id** `string`

Unique vault config identifier (UUID).

**org\_id** `string`

Organization that owns the config (UUID).

**created\_by** `string | null`

User who created the config (UUID). `null` for vaults created before this field existed.

**name** `string`

Human-readable label.

**provider\_config** `object`

Provider settings.

**provider** `string`

Secrets provider: `onepassword`, or `internal` for an H-hosted vault.

**op\_vault\_id** `string`

Identifier of the 1Password vault credentials are read from. `onepassword` only.

**created\_at** `string`

ISO 8601 creation timestamp.

**updated\_at** `string`

ISO 8601 timestamp of the last change.

```python Python theme={"system"}
from hai_agents import Client

client = Client()

vault = client.vaults.get_vault(vault_id=vault_id)
print(vault.name, vault.provider_config.provider)
```

```typescript TypeScript theme={"system"}
import { HaiAgentsClient } from "hai-agents";

const client = new HaiAgentsClient();

const vault = await client.vaults.getVault({ vaultId });
console.log(vault.name, vault.providerConfig.provider);
```

```bash cURL theme={"system"}
curl "https://agp.eu.hcompany.ai/api/v2/vaults/$VAULT_ID" \
  -H "Authorization: Bearer $HAI_API_KEY"
```

```json 200 theme={"system"}
{
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "org_id": "1c9a2f6e-4b3d-4a8c-9e5f-7d6b8a0c1e2f",
  "created_by": "8d3e5a71-2c4b-4f6e-9a0d-1b2c3d4e5f60",
  "name": "prod-1password",
  "provider_config": {"provider": "onepassword", "op_vault_id": "abcd1234efgh5678"},
  "created_at": "2026-05-07T14:30:00Z",
  "updated_at": "2026-05-07T14:30:00Z"
}
```

## Errors

| Status | Cause |
| - | - |
| `404` | Not found, or not in your organization. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.