Defined.ai interview question

How would be endpoints, what would they do?