Everything you need to integrate LXGIC Vault with your AI agents, scripts, and applications.
LXGIC Vault provides a REST API for programmatic access to your encrypted credentials. All vault data is encrypted client-side with AES-256-GCM before being stored - the server never sees your plaintext data.
https://lxgic-vault.vercel.app/api/v1All API requests require an API key passed in the Authorization header:
curl -H "Authorization: Bearer lxv_your_api_key" \
https://lxgic-vault.vercel.app/api/v1/vault| Scope | Description |
|---|---|
| read | Read AI-approved credentials |
| write | Add new credentials (go to pending queue) |
| delete | Delete credentials (rarely granted) |
| * | Full access |
/api/v1/vaultGet the encrypted vault data and AI key salt.
{
"data": {
"ai_encrypted_data": "base64_encrypted_string",
"ai_key_salt": "hex_string",
"type": "personal|team",
"read_access": true
}
}/api/v1/vaultAdd a new credential to the pending queue.
Request Body:
{
"encrypted_credential": "base64_encrypted_credential",
"credential_type": "password|api_key|secret|ssh_key|crypto_key|payment|other",
"credential_name": "My Credential Name"
}Response:
{
"data": {
"queued": true,
"message": "Credential saved. It will appear in the vault when the user unlocks it."
}
}/api/v1/expensesList all AI-added expenses.
{
"data": {
"expenses": [
{
"id": "uuid",
"description": "Supabase Pro",
"amount": 25.00,
"category": "Infrastructure",
"date": "2026-01-30",
"recurring": true,
"recurringInterval": "monthly"
}
]
}
}/api/v1/expensesAdd a new expense.
{
"description": "Vercel Pro",
"amount": 20.00,
"category": "Infrastructure",
"date": "2026-01-30",
"recurring": true,
"recurringInterval": "monthly"
}/api/v1/keysList all API keys for the authenticated user.
/api/v1/keysCreate a new API key.
/api/v1/keysRevoke an API key.
/api/v1/auditGet audit log entries.
{
"error": "Error message here"
}| Status | Meaning |
|---|---|
| 400 | Bad request - missing or invalid parameters |
| 401 | Unauthorized - invalid or missing API key |
| 403 | Forbidden - API key lacks required scope |
| 429 | Rate limit exceeded (100 req/min) |