Lilypad API Reference
The Lilypad API reference is under active development during the beta period.
For now, please use the Lilypad FastAPI Docs for the most up-to-date reference of what's available.
You can use the Lilypad
(or AsyncLilypad
) client to interace with the Lilypad API in code:
import os
from lilypad import Lilypad
client = Lilypad(
api_key=os.environ["LILYPAD_API_KEY"], # can be ommitted if set in env
)
traces = client.projects.traces.list(
project_uuid=os.environ["LILYPAD_PROJECT_ID"],
)
print(traces["items"][0])
# > {'span_id': '...', ...}