10. Exploring the API

Alex wants to see every API endpoint available for the LexVault tables.

The API page auto-generates a REST endpoint reference for every table in your project. For each table you get endpoints for listing, creating, reading, updating, and deleting records.

What you'll find

  • Endpoint list — every table gets GET, POST, PATCH, DELETE endpoints
  • Try-it panel — test endpoints directly from the console with a built-in request builder
  • Query parameters — filter with eq, neq, gt, lt, like, order, limit, and offset
  • Code snippets — auto-generated cURL and SDK examples for every endpoint

cURL examples

# List all clients
curl https://lexvault.eurobase.app/api/v1/db/clients \
  -H "Authorization: Bearer $EUROBASE_SECRET_KEY"

# Create a client
curl -X POST https://lexvault.eurobase.app/api/v1/db/clients \
  -H "Authorization: Bearer $EUROBASE_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Acme Legal", "email": "info@acmelegal.eu"}'

# Update a client
curl -X PATCH https://lexvault.eurobase.app/api/v1/db/clients?eq.email=info@acmelegal.eu \
  -H "Authorization: Bearer $EUROBASE_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plan": "pro"}'

# Delete a client
curl -X DELETE https://lexvault.eurobase.app/api/v1/db/clients?eq.id=some-uuid \
  -H "Authorization: Bearer $EUROBASE_SECRET_KEY"