Getting Started
Start with the conceptual model on Workforce Decision Layer, then follow the integration flow below.
The public API base URL is:
https://api.avelinlabs.com1. Create an Account
Section titled “1. Create an Account”Use the Platform API for account and contract management:
POST /api/v1/platform/registerGET /api/v1/platform/verify-email?token=...POST /api/v1/platform/loginPOST /api/v1/platform/api-keys/create
Create a Runtime API Key for product endpoints and keep it secure.
2. Generate Runtime API Access
Section titled “2. Generate Runtime API Access”Use the management token from login to create runtime keys.
The free beta contract allows at most two active, unexpired Runtime API Keys.
3. Call Your First API
Section titled “3. Call Your First API”Start with these Runtime endpoints for workforce decision support:
POST /api/v1/occupation/candidatesfor a non-authoritative O*NET 30.3 candidate shortlist. It defaults to five candidates, never selects a mapping, and is separate from job classification.POST /api/v1/job/classifyfor a single top occupation output.POST /api/v1/job/analyzefor ranked candidates, skill evidence, and review-relevant output fields.
Use runtime bearer token headers for product endpoints and keep credentials out of browser/client-side builds. See the occupation candidate examples for an executable request.
Shell conventions
Section titled “Shell conventions”The same Runtime API Key is used across shells, but environment-variable syntax is not interchangeable.
Bash (macOS/Linux)
Section titled “Bash (macOS/Linux)”export BASE_URL="https://api.avelinlabs.com"export AVELIN_API_KEY="replace-with-your-runtime-api-key"python3 python/job_classify.pyWindows PowerShell
Section titled “Windows PowerShell”$env:BASE_URL = "https://api.avelinlabs.com"$env:AVELIN_API_KEY = "replace-with-your-runtime-api-key"py -3 python/job_classify.pyUse Invoke-RestMethod for native PowerShell examples. When copying a cURL command into PowerShell, call curl.exe explicitly so the command does not depend on PowerShell alias behavior.
Windows Command Prompt
Section titled “Windows Command Prompt”set "BASE_URL=https://api.avelinlabs.com"set "AVELIN_API_KEY=replace-with-your-runtime-api-key"py -3 python\job_classify.pyFor the account lifecycle, use the executable platform onboarding example. It keeps the management token distinct from the Runtime API Key and reminds users that the raw Runtime API Key is returned only once.
4. Add Customer Grounding (Optional)
Section titled “4. Add Customer Grounding (Optional)”Customer Grounding is included under current free-tier contracts when available.
A practical sequence is:
- check grounding capabilities,
- register source,
- ingest text/Markdown or supported file types,
- generate grounded role intelligence,
- inspect report confidence, uncertainty, and traces.
5. Integrate and route by policy
Section titled “5. Integrate and route by policy”Build application behavior around decision-support outputs:
- evaluate confidence and uncertainty,
- preserve request identifiers,
- route low-confidence outcomes to human review,
- keep unsupported outputs out of irreversible automation.
6. MCP integration
Section titled “6. MCP integration”The current MCP model is a customer-operated stdio adapter over authenticated Runtime API capabilities.
Configure MCP with runtime API key and base URL, then treat returned outputs as governed decision-support signals.