Quick Start Guide
Deploy your first serverless function in under 5 minutes. No servers, no configuration — just code.
Sign Up
Create your portal account — your namespace and API key are issued instantly.
# Sign up at the portal — no CLI needed. # You receive: # namespace : your-ns # API key : sent as X-API-Key header # Set up your environment $ export NS="your-ns" $ export KEY="your-api-key" $ export API="https://fnc4.evrtng.cloud/provisioning"
Create the Function
Create it via the API — a single file in the code field. Archives via URL + builder or OCI images are covered on the Languages page.
# Create a function (python) $ curl -X POST $API/v1/namespaces/$NS/functions \ -H "X-API-Key: $KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "hello", "environment": "python", "code": "def main(): return {'status': 200, 'body': 'Hello!'}" }' 201 Created
Add a Trigger
A trigger gives the function a URL. Cron triggers run it on a schedule.
# HTTP trigger — a URL for the function $ curl -X POST $API/v1/namespaces/$NS/triggers \ -H "X-API-Key: $KEY" \ -H "Content-Type: application/json" \ -d '{"name": "hello-http", "function": "hello", "type": "http", "url": "/hello", "method": "GET"}' 201 Created
Invoke It
Your production URL — every tenant gets its own subdomain with TLS.
# Call it — your own URL, TLS included $ curl https://$NS.fnc4.evrtng.cloud/hello \ -H "X-API-Key: $KEY" {"body": "Hello, World!", "status": 200} # Cron trigger? Runs on a schedule: # {"type": "cron", "cron": "@every 1m"}
Monitor
Invocation history and your account event trail — scaling is automatic, idle costs nothing.
# Invocation history $ curl "$API/v1/namespaces/$NS/activations?limit=5" \ -H "X-API-Key: $KEY" # Account events (audit trail) $ curl "$API/v1/namespaces/$NS/events" \ -H "X-API-Key: $KEY"
Cheat Sheet
# Functions $ curl $API/v1/namespaces/$NS/functions \ -H "X-API-Key: $KEY" # list $ curl -X PUT $API/v1/namespaces/$NS/functions/hello \ -d '{"code": "..."}' # update $ curl -X DELETE $API/v1/namespaces/$NS/functions/hello \ -H "X-API-Key: $KEY" # Triggers (http + cron) $ curl $API/v1/namespaces/$NS/triggers \ -d '{"type": "cron", "cron": "@every 1m"}' # Invoke (via management API) $ curl -X POST $API/v1/namespaces/$NS/functions/hello \ -H "X-API-Key: $KEY" # History + events $ curl $API/v1/namespaces/$NS/activations?limit=5 \ -H "X-API-Key: $KEY" $ curl $API/v1/namespaces/$NS/events \ -H "X-API-Key: $KEY"
