API specification