Skip to main content
The Visual Layer API uses standard HTTP status codes. All error responses include a detail field describing what went wrong.

Error Response Format

Every error returns a JSON body with a single detail field:

HTTP Status Codes


Python Error Handling

All code examples in this documentation call raise_for_status(), which raises an exception on any 4xx or 5xx response. Use the following pattern to catch errors and read the detail message:

Authentication

Generate the JWT token required for all API calls.

Retrieve Dataset Status

Check dataset status before running operations.