Documentation Index
Fetch the complete documentation index at: https://docs.youka.io/llms.txt
Use this file to discover all available pages before exploring further.
Async jobs and polling
अधिकांश write operations asynchronous होते हैं।What returns immediately
ये endpoints काम स्वीकार करते हैं और IDs लौटाते हैं जिन्हें आप poll कर सकते हैं:POST /projectsPOST /projects/{projectId}/tasks/stem-separationPOST /projects/{projectId}/tasks/lyrics-syncPOST /projects/{projectId}/exports
What to poll
- execution status और hydrated task output के लिए
GET /tasks/{taskId}poll करें। - long-lived project state के लिए
GET /projects/{projectId}पढ़ें। - fresh export download URLs के लिए
GET /exports/{exportId}पढ़ें।
Practical polling model
- एक mutation शुरू करें और लौटाए गए IDs स्टोर करें।
GET /tasks/{taskId}को तब तक poll करें जब तक task किसी terminal state तक न पहुँच जाए।- stale cached state पर भरोसा करने के बजाय ID से durable resource को दोबारा पढ़ें।
- downloads के लिए, URL इस्तेमाल करने के लिए तैयार होने पर
GET /exports/{exportId}fetch करें।
Why this matters
- Task status execution timeline है।
- Project state durable source of truth है।
- Export download URLs को permanent की बजाय refreshable मानकर चलना चाहिए।
