Documentation Index
Fetch the complete documentation index at: https://docs.lytix.co/llms.txt
Use this file to discover all available pages before exploring further.
This is not reccomended but you can explicilty set the API key in your code.
In Javascript:
import { LytixCreds, MetricCollector } from "@lytix/client";
/**
* First set the API key
*/
LytixCreds.setAPIKey("sk-1234");
/**
* Then you can use Lytix normally
*/
await MetricCollector.increment("testMetric");
In Python:
from lytix_py import MetricCollector, LytixCreds
"""
First set the API key
"""
LytixCreds.setAPIKey("sk-1234")
"""
Then you can use Lytix normally
"""
MetricCollector.increment("testMetric");