Valta Docs

Authentication

Valta authenticates programmatic access with API keys sent on every request.

Header

Send the key with x-api-key:

bash
curl https://valta.co/api/v1/agents \
  -H 'x-api-key: vlt_your_key_here'

SDK

ts
import Valta from 'valta-sdk'

const valta = new Valta({ apiKey: process.env.VALTA_API_KEY! })

Key types

  • Live keys (vlt_live_...) operate on production data.
  • Test keys (vlt_test_...) are for development and safer iteration.

Rotate keys from the dashboard. Revoking a key returns 401 on the next call.

Security

Never commit keys to git. Use .env.local locally and your host secrets in production.