Complete reference documentation for the VizAPI.ai REST API
x-api-key
header:
Content-Type
header to application/json
.
with_metadata: true
.
target_language
parameter in the advanced options.
version_number
is specified, the latest version is automatically usedversion_number
to 0
also selects the latest version1
, 2
, 3
) will use that exact versionStatus Code | Description |
---|---|
400 | Bad Request - The request was malformed or missing required parameters |
401 | Unauthorized - Invalid or missing API key |
404 | Not Found - The requested resource was not found |
429 | Too Many Requests - You have exceeded the rate limit for API requests |
500 | Internal Server Error - An unexpected error occurred on our servers |
429 Too Many Requests
status code with a Retry-After
header indicating the number of seconds to wait before making another request.
Endpoint | Method | Description |
---|---|---|
/templates/ | GET | Get a template by ID with optional version parameter |
/templates | GET | Get all private templates belonging to the authenticated user |
Endpoint | Method | Description |
---|---|---|
/agents/suggest-fields | POST | Analyze a document and suggest fields for extraction |
/agents/extract-values | POST | Extract values from a document using a template |
Endpoint | Method | Description |
---|---|---|
/health | GET | Check the health status of the API |
v1
. When we make breaking changes, we’ll release a new version (e.g., v2
) while maintaining support for previous versions.