Best Practices

What the head honcho recommends

  1. Polling: After submitting a deck/URL, poll the status endpoint at reasonable intervals (e.g., every 30 seconds) until the workflow is complete.

  2. Error Handling: Check for and handle potential errors at each step, especially workflow errors.

  3. Rate Limiting: Be aware of rate limits and implement appropriate backoff strategies if you encounter 429 status codes.

  4. Data Storage: Securely store the parsed_deck_id as it's required for retrieving data and files.