About tasks and labels


I have seen the new format to create tasks in gitlab and i have two questions about it:

My first question: Could i use labels into the tasks?
My second question: I use the api to obtain the issues from my project and I would like to differentiate the issues and the tasks. API returns some field indicating that it is an issue or a task?

Thanks in advance