cURL
curl --request GET \ --url https://api.bytez.com/models/v2/list/tasks \ --header 'Authorization: <api-key>'
{ "error": null, "output": [ [ "text-generation", "text-to-image", "text-to-video", "..." ] ] }
Retrieve a list of tasks
Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_KEY_HERE'
Authorization
BYTEZ_KEY
'Authorization: YOUR_KEY_HERE'
A successful response containing the list of tasks.
Null if everything is fine
null
An array of tasks