Get started
Quickstart
- Create a key.
In Krans, open your avatar menu → Profile → Developer → Create API key, and confirm it is you. Pick a preset (Read only is fine to start), the ventures it may use and an expiry. Copy the key: it is shown once.
- Check which ventures it can read.
export KRANS_API_KEY="krs_live_…" curl https://api.krans.ai/v1/ventures -H "Authorization: Bearer $KRANS_API_KEY" - List recent calls.
curl "https://api.krans.ai/v1/conversations?venture_id=<venture_id>&limit=5" \ -H "Authorization: Bearer $KRANS_API_KEY" - Make a change (needs a key with
conversations:write).curl -X PATCH "https://api.krans.ai/v1/conversations/<id>/title" \ -H "Authorization: Bearer $KRANS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"title": "Pilot kickoff with Northwind"}'