API Reference
Complete REST API documentation for the VynFi platform
https://api.vynfi.com/v1/Authentication
All API requests require a Bearer token in the Authorization header. API keys use the prefix vf_live_ for production and vf_test_ for sandbox environments.
Authentication Header
Include your API key as a Bearer token in every request. Test keys (vf_test_) operate in sandbox mode with no credit charges. Live keys (vf_live_) access production and consume credits.
curl -X POST https://api.vynfi.com/v1/generate/quick \ -H "Authorization: Bearer vf_live_abc123..." \ -H "Content-Type: application/json" \ -d '{"sector": "banking", "tables": [{"name": "journal_entries", "rows": 100}]}'Generation
Create synthetic financial datasets synchronously or as async jobs.
/v1/generate/quickGenerate synthetic data synchronously
This is a demo playground. No real API calls are made.
Jobs
Monitor and manage asynchronous generation jobs.
Catalog
Browse available data sectors and their table schemas.
/v1/catalogList available sector packs and data types
This is a demo playground. No real API calls are made.
Usage
Track credit consumption and billing history.
Billing
Manage subscriptions and purchase additional credits.
Error Reference
All error responses follow the RFC 7807 Problem Details format with consistent structure across all endpoints.
{ "type": "https://api.vynfi.com/errors/insufficient-credits", "title": "Insufficient Credits", "status": 402, "detail": "This request requires 15,000 credits but only 3,200 remain.", "instance": "/v1/generate/quick", "credits_required": 15000, "credits_available": 3200}HTTP Status Codes
| Status | Title | Description |
|---|---|---|
| 400 | Bad Request | The request body or parameters are invalid |
| 401 | Unauthorized | Missing or invalid API key |
| 403 | Forbidden | API key lacks permission for this action |
| 404 | Not Found | The requested resource does not exist |
| 429 | Too Many Requests | Rate limit exceeded. Check the Retry-After header |
| 500 | Internal Server Error | An unexpected error occurred on our end |
Rate Limits
API requests are rate-limited per tier. When you exceed your limit, the API returns a 429 Too Many Requests response with a Retry-After header indicating how long to wait before retrying.
| Tier | Rate Limit | Concurrent Jobs |
|---|---|---|
| Free | 5/sec | 1 job |
| Developer | 20/sec | 5 jobs |
| Team | 50/sec | 20 jobs |
| Scale | 100/sec | Unlimited |