Documentation Index
Fetch the complete documentation index at: https://usefantasma.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Intro
useFantasma is the hosted Fantasma product. It gives
you the Fantasma API and dashboard without running the stack yourself. You can
see it in the live demo.
How To Use It
When setting up your SDK, use the hosted API base URL and the project-scoped
ingest key:
import Foundation
import FantasmaSDK
let serverURL = URL(string: "https://api.usefantasma.com")!
try await Fantasma.configure(
serverURL: serverURL,
writeKey: "<your-usefantasma-ingest-key>"
)