Skip to main content

Error Response Format

All each::labs APIs return errors in a clean, consistent JSON format:

HTTP Status Codes

Common Errors

400: Bad Request

Causes:
  • Missing required parameters
  • Invalid parameter types or values
  • Malformed JSON body
  • Input validation failure

401: Unauthorized

Causes:
  • X-API-Key header not included
  • API key is invalid or expired

403: Forbidden

Causes:
  • Attempting to modify a locked workflow or version
  • Insufficient permissions for the requested operation

404: Not Found

Causes:
  • Invalid model slug
  • Non-existent prediction ID, workflow ID, or execution ID
  • Resource was deleted

429: Rate Limited

Handling:
  • Implement exponential backoff
  • Check the Retry-After header when available
  • Consider reducing request frequency

500: Internal Server Error

Handling:
  • Retry with exponential backoff
  • If persistent, contact support

Product-Specific Errors

each::api: Prediction Errors

each::workflows: Execution Errors

each::sense: Agent Errors

Retry Strategy

We recommend exponential backoff for transient errors (429, 500). Here’s how to set that up:
Last modified on March 6, 2026