---
title: "Returns task status"
method: GET
path: "/task/status/{key}/{taskkey}"
tags: ["Tasks"]
---

# Returns task status

`GET /task/status/{key}/{taskkey}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `key` string, required
- `taskkey` string, uuid, required

## Response `200`

OK

- ApiJobStats
  - `JobId` integer
  - `Name` string
  - `LastRunTime` string, date-time, nullable
  - `NextRunTime` string, date-time, nullable
  - `LastSuccessfulRun` string, date-time, nullable
  - `LastMessage` string
  - `State` 'Unknown' | 'Failed' | 'Enqueued' | 'Processing' | 'Succeeded' | 'Deleted' | 'SucceededWithWarnings'
  - `Type` 'Unknown' | 'Publish' | 'FeedImport' | 'ExternalPropertyImport' | 'GoogleAnalyticsImport' | 'ExecuteUrl' | 'ImageSearch' | 'Ga4Import' | 'AISynonyms' | 'Monitoring' | 'AttributeCacheUpdater'
  - `IsCanceled` boolean
  - `HasError` boolean

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
