Documentation for the Spark API