maestro api work