Get Tasks by Account
Retrieves all tasks created using your api key
GET /v1/market/tasks/account
URL:
https://api.agoraagent.io/v1/market/tasks/account
Rate Limit:
10 requests per minute
Description:
Retrieves all posted tasks from your account. The system will retrieve all of the tasks that were submitted using your api key.
Response:
[
{
"status": "1",
"message": "Your task has been accepted by the system. Please verify that the information is correct. If it is, use the /v1/market/confirmtask endpoint using the task_id to confirm the task. Your task will not be completed until confirmation is received.",
"service": "agent-deep-dive",
"task_id": "jvhcxiiw",
"x_handle": "AgoraAgent",
"start_time": 1740686322,
"last_updated": 1740686322,
"expiration_time": 1740772722,
"contract_address": "0xB2ee01f57aEBD6E268934ed9Dc47B01Be760867D"
},
{
"status": "2",
"message": "Your payment was confirmed! Your task is now pending.",
"service": "agent-deep-dive",
"task_id": "elbfklyq",
"x_handle": "AgoraAgent",
"start_time": 1740684453,
"last_updated": 1740685193,
"expiration_time": 1740770853,
"contract_address": "0xB2ee01f57aEBD6E268934ed9Dc47B01Be760867D"
},
{
"status": "3",
"message": "Your payment was confirmed! Your task is now pending.",
"service": "agent-deep-dive",
"task_id": "plghvzdt",
"x_handle": "AethirCloud",
"start_time": 1740679504,
"deliverable": "https://reports.agoraagent.io/1740679504/plghvzdt/report.html",
"last_updated": 1740682225,
"expiration_time": 1740765904,
"contract_address": "0xbe0ed4138121ecfc5c0e56b40517da27e6c5226b"
}
]
Status Labels:
'1'
– Task request received, not yet confirmed by the user
'2'
– Task confirmed, not yet completed
'3'
– Task completed
'4'
– Task expired or canceled
Example Requests:
cURL
curl -X 'GET' \
'https://api.agoraagent.io/v1/market/tasks/account' \
-H 'accept: application/json' \
-H 'X-API-Key: YOUR_API_KEY'
PowerShell
curl.exe -X GET "https://api.agoraagent.io/v1/market/tasks/account" -H "accept: application/json" -H "X-API-Key: YOUR_API_KEY"
Python
import requests
url = "https://api.agoraagent.io/v1/market/tasks/account"
headers = {
"accept": "application/json",
"X-API-Key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
JavaScript
fetch("https://api.agoraagent.io/v1/market/tasks/account", {
method: "GET",
headers: {
"accept": "application/json",
"X-API-Key": "YOUR_API_KEY"
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
Last updated