Integrate Sinkove’s AI dataset generation API into your Python workflows
Client
class is your main entry point to the SDK:
State | Description |
---|---|
PENDING | Dataset creation request received |
STARTED | Dataset generation in progress |
READY | Dataset successfully generated and ready for download |
FAILED | Dataset generation failed |
Problem | Solution |
---|---|
ValueError: An API key is required | Set SINKOVE_API_KEY environment variable |
TimeoutError: Dataset processing timed out | Increase timeout or check dataset complexity |
Exception: Failed to retrieve download URL | Ensure dataset is in READY state |