slate api doc demo