API docs for mspec