API Best Practices

Error Handling

  • Always check status codes and error messages

  • Use /api/data/compute/log for detailed error diagnostics

Security

  • Rotate access tokens regularly

  • Use environment variables for storing secrets

  • Follow the principle of least privilege for API accounts

Organization

  • Document your API workflows

  • Create reusable API scripts for common operation

Last updated