List User AI Tasks
GraphQL endpoint: /user
Lists the calling user's AI tasks. documentCount is how many documents each task covers, which is what running it will run against. inFlightCount is how many of its runs are still queued or running.
Query
query {
aiTasks {
records { id name documentCount inFlightCount }
paginationInfo { nextCursor }
}
}
Variables
{}Response
{
"data": {
"aiTasks": {
"paginationInfo": {
"nextCursor": null
},
"records": [
{
"documentCount": 2,
"id": "00000000-0000-4000-8000-000000000001",
"inFlightCount": 0,
"name": "task-2"
}
]
}
}
}Last updated