List task history
List source tasks in your account, newest first. You can filter by status or sourceId. If nextCursor is not null, pass it unchanged as cursor to read the next page.
To find a task after a lost creation response, check each page for its uniqueId. There is no uniqueId query filter.
Required permissions: enrichments:tasks:read
Authorizations
AuthorizationstringheaderrequiredUse an account access token as Bearer <token>.
Query parameters
cursorstringlimitinteger1maximum: 100default: 50statusstringThe task is active while queued, running, or stop_asked. Read results after completed, failed, or stopped. Reaching maxCredits can finish with partial results. A stop ends in stopped unless the task also fails.
"queued", "running", "stop_asked", "completed", "failed", "stopped"sourceIdstringResponse
Task page
200 · application/json
tasksobject[]requiredShow child attributes
@idstringrequired@typestringrequired"SourceTask"uniqueIdstringrequired"^[A-Za-z0-9_-]+$"minLength: 1maxLength: 128statusstringrequiredThe task is active while queued, running, or stop_asked. Read results after completed, failed, or stopped. Reaching maxCredits can finish with partial results. A stop ends in stopped unless the task also fails.
"queued", "running", "stop_asked", "completed", "failed", "stopped"createdAtstringrequired"date-time"startedAtstring | nullrequired"date-time"finishedAtstring | nullrequired"date-time"progressobjectrequiredNumber of generated objects recorded so far.
Show child attributes
resultsintegerrequired0creditsobjectrequiredShow child attributes
usedstringrequired"^[0-9]+(\\.[0-9]+)?$"maxstring | nullrequiredNull when the caller omitted maxCredits (no limit).
"^[0-9]+(\\.[0-9]+)?$"linksobjectrequiredShow child attributes
objectAdditional properties are supported.
kindstringrequired"source"sourceIdstringrequirederrorobject | nullrequiredNull while the task is active or successfully completed. On failure, includes error details and a traceId when available. A stopped task can keep an error that occurred before it stopped.
Show child attributes
reasonstringrequiredStable reason for a failed task.
"dispatch_failed", "deadline_exceeded", "worker_failed", "enrichment_failed", "credits_error"codestringrequiredmessagestringrequiredtraceIdstring | nullrequirednextCursorstring | nullrequired