REST API क्यों मायने रखती है
नई API reference teams को GanttFather के ऊपर सीधे tools बनाने का रास्ता देती है. Spreadsheet export करने, कहीं और edit करने और फिर import करने के बजाय आपकी scripts वही project data पढ़ और लिख सकती हैं जो आपकी team app में देखती है.
यह operations teams, agencies, founders और internal-tool builders के लिए उपयोगी है. Gantt chart तभी सबसे अच्छा काम करता है जब वह असली काम के पास रहे. API इसे cron jobs, dashboards, customer portals, deployment pipelines और हल्की integrations से संभव बनाती है.
आप क्या automate कर सकते हैं?
पहली public API surface उन project data पर केंद्रित है जिन्हें लोग सबसे ज्यादा automate करना चाहते हैं:
- उन projects को list करना जिन तक आपका token पहुंच सकता है
- tasks को read, create, update, reorder और delete करना
- status और progress को sync रखना
- assignees और task dependencies set करना
- members और resources list करना
- equipment, rooms और budget lines जैसे non-human resources create, update या remove करना
व्यवहार में, आप internal intake form से launch plan बना सकते हैं, deployment खत्म होने पर milestone update कर सकते हैं, या किसी दूसरे tool से चुने हुए काम को GanttFather timeline में mirror कर सकते हैं.
कैसे शुरू करें
GanttFather खोलें, Settings → AI Agents & API पर जाएं, और token बनाएं. फिर:
- authentication guide पढ़ें.
- Project id खोजने के लिए list projects call करें.
- एक छोटी test item के साथ create task try करें.
- Bulk sync jobs चलाने से पहले pagination और rate limits समझ लें.
curl https://api.ganttfather.com/v1/projects \
-H "Authorization: Bearer glt_your_token" \
-H "User-Agent: your-integration-name/1.0"
User-Agent जानबूझकर मांगा जाता है. इससे support असली integrations trace कर सकता है, edge cases debug कर सकता है, और API traffic को anonymous browser traffic से अलग रख सकता है.
API versus MCP
जब आप code लिख रहे हों और stable HTTP endpoints चाहिए हों, तब REST API इस्तेमाल करें. जब आप चाहते हों कि Claude, ChatGPT, Cursor या Windsurf जैसा AI assistant higher-level tools से आपके project पर काम करे, तब MCP server guide इस्तेमाल करें.
दोनों GanttFather के उसी token area का उपयोग करते हैं, और दोनों हर user के लिए शामिल हैं. फर्क interface का है: REST आपके program के लिए है; MCP आपके agent के लिए है.
Pricing और limits
API access हर plan में शामिल है. pricing page वही नियम रखता है: हर feature पहले दिन से उपलब्ध है, और paid upgrades केवल capacity जोड़ते हैं — आपके owned projects ज्यादा या active editors ज्यादा.
Default API limits हैं प्रति token 60 requests per minute और प्रति token per day 5,000 requests. Limit होने पर request 429 और Retry-After लौटाती है; daily quota responses में X-Quota-Remaining शामिल होता है. बड़े syncs के लिए writes batch करें और per-field update loops से बचें. देखें Rate limits & quotas.
Integration pattern
सबसे साफ integrations आमतौर पर यह आकार रखती हैं:
- अपने system id और GanttFather task id के बीच छोटा mapping रखें
- लिखने से पहले current project state पढ़ें
- केवल बदले हुए fields के लिए partial updates भेजें
- retry करते समय create-style operations पर idempotency keys इस्तेमाल करें
- failure होने पर GanttFather trace id log करें
छोटे से शुरू करें: projects list करें, एक task बनाएं, उसे update करें, फिर flow को अपने system से जोड़ें.
Start with a token और reference को अपने editor के पास खुला रखें.