The API structure