Skip to main content
GET
/
api
/
v1
/
tasks
/
{task_id}
Get Task Status
curl --request GET \
  --url https://webhooks.nest.vet/api/v1/tasks/{task_id}
{
  "task_id": "<string>",
  "dispatch_count": 123,
  "response_count": 123,
  "create_time": "2023-11-07T05:31:56Z",
  "schedule_time": "2023-11-07T05:31:56Z",
  "dispatch_deadline_seconds": 123,
  "first_attempt": {
    "schedule_time": "2023-11-07T05:31:56Z",
    "dispatch_time": "2023-11-07T05:31:56Z",
    "response_status_code": 123,
    "response_status_message": "<string>"
  },
  "last_attempt": {
    "schedule_time": "2023-11-07T05:31:56Z",
    "dispatch_time": "2023-11-07T05:31:56Z",
    "response_status_code": 123,
    "response_status_message": "<string>"
  }
}

Path Parameters

task_id
string
required

Response

Successful Response

task_id
string
required

Cloud Tasks identifier (short task ID used in API paths).

dispatch_count
integer
required

Total number of times the task has been dispatched.

response_count
integer
required

Total number of handler responses observed for this task.

create_time
string<date-time> | null

UTC time when the task was created.

schedule_time
string<date-time> | null

UTC time when the task is scheduled to run.

dispatch_deadline_seconds
integer | null

Per-dispatch timeout in seconds before Cloud Tasks considers the attempt failed.

first_attempt
TaskAttemptInfo · object

Metadata for the first delivery attempt (if any).

last_attempt
TaskAttemptInfo · object

Metadata for the most recent delivery attempt (if any).