Skip to main content
GET
/
v2
/
tasks
List User Tasks
curl --request GET \
  --url https://api.eden.art/v2/tasks \
  --header 'X-Api-Key: <api-key>'
{
  "docs": [
    {
      "_id": "<string>",
      "user": {
        "_id": "<string>",
        "userId": "<string>",
        "username": "<string>",
        "userImage": "<string>"
      },
      "agent": "<string>",
      "tool": "<string>",
      "cost": 123,
      "output_type": "<string>",
      "args": {},
      "status": "<string>",
      "performance": {},
      "result": [
        {
          "output": [
            {
              "filename": "<string>",
              "url": "<string>",
              "thumbnail": "<string>",
              "creation": {
                "_id": "<string>",
                "user": {
                  "_id": "<string>",
                  "userId": "<string>",
                  "username": "<string>",
                  "userImage": "<string>"
                },
                "task": {
                  "_id": "<string>",
                  "args": {}
                },
                "tool": "<string>",
                "args": {},
                "createdAt": "<string>",
                "updatedAt": "<string>"
              },
              "model": {
                "_id": "<string>",
                "name": "<string>",
                "user": {
                  "_id": "<string>",
                  "userId": "<string>",
                  "username": "<string>",
                  "userImage": "<string>"
                },
                "task": {
                  "_id": "<string>",
                  "args": {}
                },
                "checkpoint": "<string>",
                "public": true,
                "slug": "<string>",
                "thumbnail": "<string>",
                "createdAt": "<string>",
                "updatedAt": "<string>"
              }
            }
          ],
          "intermediate_outputs": {}
        }
      ],
      "model": "<string>",
      "error": "<string>",
      "progress": 123,
      "apiKey": "<string>",
      "updatedAt": "<string>",
      "createdAt": "<string>"
    }
  ],
  "total": 123,
  "limit": 123,
  "pages": 123,
  "page": 123,
  "pagingCounter": 123,
  "hasPrevPage": true,
  "hasNextPage": true,
  "prevPage": 123,
  "nextPage": 123
}

Authorizations

X-Api-Key
string
header
required

Query Parameters

page
number
orderBy
string
direction
number
limit
number
sort
object
status

Filter by task status

taskId

Filter by task ID(s)

type
string

Filter by type

output_type
string

Filter by output type

cost
number

Filter by cost

tool

Filter by tool key(s)

minDate
boolean

Filter tasks from last 24 hours

Response

200 - */*

Default Response

docs
Task · object[]
required
total
number
required
limit
number
required
pages
number
required
page
number
required
pagingCounter
number
required
hasPrevPage
boolean
required
hasNextPage
boolean
required
prevPage
number
nextPage
number
I