Skip to content

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.com

Use the Platform API for account and contract management:

  • POST /api/v1/platform/register
  • GET /api/v1/platform/verify-email?token=...
  • POST /api/v1/platform/login
  • POST /api/v1/platform/api-keys/create

Create a Runtime API Key for product endpoints and keep it secure.

Use the management token from login to create runtime keys.

The free beta contract allows at most two active, unexpired Runtime API Keys.

Start with these Runtime endpoints for workforce decision support:

  • POST /api/v1/occupation/candidates for 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/classify for a single top occupation output.
  • POST /api/v1/job/analyze for 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.

The same Runtime API Key is used across shells, but environment-variable syntax is not interchangeable.

Terminal window
export BASE_URL="https://api.avelinlabs.com"
export AVELIN_API_KEY="replace-with-your-runtime-api-key"
python3 python/job_classify.py
Terminal window
$env:BASE_URL = "https://api.avelinlabs.com"
$env:AVELIN_API_KEY = "replace-with-your-runtime-api-key"
py -3 python/job_classify.py

Use 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.

Terminal window
set "BASE_URL=https://api.avelinlabs.com"
set "AVELIN_API_KEY=replace-with-your-runtime-api-key"
py -3 python\job_classify.py

For 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.

Customer Grounding is included under current free-tier contracts when available.

A practical sequence is:

  1. check grounding capabilities,
  2. register source,
  3. ingest text/Markdown or supported file types,
  4. generate grounded role intelligence,
  5. inspect report confidence, uncertainty, and traces.

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.

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.