Get All Tasks
curl --request GET \
--url https://api.promptloop.com/v0.1/tasks \
--header 'x-api-key: <api-key>'import requests
url = "https://api.promptloop.com/v0.1/tasks"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.promptloop.com/v0.1/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "<string>",
"live_version": 123,
"max_version": 123,
"run_count": 123
}
],
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}Tasks
Get All Tasks
Retrieves a list of the high-level metadata for all tasks.
GET
/
v0.1
/
tasks
Get All Tasks
curl --request GET \
--url https://api.promptloop.com/v0.1/tasks \
--header 'x-api-key: <api-key>'import requests
url = "https://api.promptloop.com/v0.1/tasks"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.promptloop.com/v0.1/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "<string>",
"live_version": 123,
"max_version": 123,
"run_count": 123
}
],
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}⌘I
