π§ SDKs β OverviewΒΆ
OverviewΒΆ
AIForged SDKs provide a typed, developer-friendly way to integrate programmatically with the platform. Use the SDK when you want language-native models, resilient client patterns, and discoverable operations. Use the REST API directly when you need polyglot scripting, ultra-light dependencies, or raw HTTP access.
What this page helps you do
Pick an SDK, understand the typical development flow, and jump into the right quick start or howβto. Includes placeholders for TypeScript and Python SDKs.
In this sectionΒΆ
A quick index of available SDKs and where to find their docs.
| SDK | Status | Docs |
|---|---|---|
| .NET (C#) | Available | dotNET/ |
| TypeScript | Coming Soon | typescript/ |
| Python | Coming Soon | python/ |
Placeholders
TypeScript and Python entries are placeholders for now. We will update links and status as the documentation for those SDKs are published.
Quick start chooserΒΆ
Pick the SDK that matches your stack. Each quick start gets you from authentication to your first results.
- .NET (C#)
- Install (replace with the published package name):
dotnet add package AIForged.SDK - Authenticate, upload a document, trigger processing, retrieve results.
- Explore howβto guides for documents, datasets, HITL, and errors/retries.
- Links:
- Install (replace with the published package name):
- TypeScript
- Install (placeholder; replace with the published package name):
npm install AIForged.SDK - Placeholder for install, auth, and first document flow.
- Links:
- Install (placeholder; replace with the published package name):
- Python
- Install (placeholder; replace with the published package name):
pip install AIForged.SDK - Placeholder for install, auth, and first document flow.
- Links:
- Install (placeholder; replace with the published package name):
Fast path to success
Start with a tiny sample (one or two documents) to validate your flow endβtoβend. Scale only after youβve confirmed outputs and any HITL (HumanβinβtheβLoop) steps.
Typical developer flowΒΆ
A small visual to orient new developers to the common steps youβll implement with any SDK.
flowchart LR
A["Authentication"] --> B["Upload Documents"]
B["Upload Documents"] --> C["Process"]
C["Process"] --> D["Retrieve Results"]
D["Retrieve Results"] --> E["Optional: HITL (Work Items)"]
D --> F["Optional: Custom Datasets"]
E --> G["Export / Integrate"]
F --> G["Export / Integrate"]
A --> H["Errors & Retries"]
B --> H
C --> H
D --> H
E --> H
F --> H
Where to go next
- Learn authentication flow: sdk/dotNET/how-to/authentication
- Learn document flows: sdk/dotNET/how-to/documents
- Retrieve results: sdk/dotNET/how-to/retrieve-results
- HITL work items: sdk/dotNET/how-to/workflow
Integrations and automationΒΆ
AIForged integrates with RPA and lowβcode tools for orchestration at scale.
- UiPath activities: build unattended and attended automations with AIForged steps.
- Power Automate connector: trigger AIForged actions and react to results within flows.
- Webhooks: subscribe your services to document, verification, or workflow events.
When to use integrations
Use SDKs for application code and deeper control. Use UiPath or Power Automate to compose crossβsystem workflows and human approvals without writing much code.
Best practicesΒΆ
- Choose the SDK closest to your runtime and team skills.
- Capture External IDs at ingest for easy reconciliation downstream.
- Prefer serverβside filtering, paging, and sorting for performance and cost.
- Define clear HITL criteria early (confidence thresholds, sensitive fields).
- Implement retries only for transient conditions; avoid retrying on most 4xx responses.
Security essentials
Never commit tokens or secrets. Use environment variables or secret managers. Scope tokens minimally and rotate regularly.
TroubleshootingΒΆ
- Canβt authenticate
- Verify base URL and token configuration; try a minimal βwhoβamβIβ or read call.
- No results after processing
- Check document status transitions and service configuration; loosen filters.
- Unexpected HITL routing
- Confirm assignment method, target group/user, and role flags.
Deeper help
Each SDK section includes targeted troubleshooting for its quick starts and howβtos.
RelatedΒΆ
- Howβto Guides: sdk/dotNET/how-to/
- Client References: sdk/dotNET/client-reference/
- Models & Enums Reference (.NET): sdk/dotNET/models-and-enums