---
title: "Get task"
method: GET
path: "/cloud/v1/tasks/{task_id}"
tags: ["Tasks"]
---

# Get task

`GET /cloud/v1/tasks/{task_id}`

## Path parameters

- `task_id` string, required — Task ID

## Response `200`

OK

- TaskSerializer
  - `acknowledged_at` string, nullable — If task was acknowledged, this field stores acknowledge timestamp
  - `acknowledged_by` integer, nullable — If task was acknowledged, this field stores `user_id` of the person
  - `client_id` integer, nullable — The client ID
  - `created_on` string, nullable, required — Created timestamp
  - `created_resources` CreatedResources
    - `ai_clusters` string[] — Deprecated, use 'clusters' instead. IDs of created GPU clusters
    - `api_keys` string[] — IDs of created API keys
    - `caas_containers` string[] — IDs of created CaaS containers
    - `clusters` string[] — IDs of created GPU clusters
    - `ddos_profiles` integer[] — IDs of created ddos protection profiles
    - `faas_functions` string[] — IDs of created FaaS functions
    - `faas_namespaces` string[] — IDs of created FaaS namespaces
    - `file_shares` string[] — IDs of created file shares
    - `floatingips` string[] — IDs of created floating IPs
    - `healthmonitors` string[] — IDs of created health monitors
    - `images` string[] — IDs of created images
    - `inference_instances` string[] — IDs of created inference instances
    - `instances` string[] — IDs of created instances
    - `k8s_clusters` string[] — IDs of created Kubernetes clusters
    - `k8s_pools` string[] — IDs of created Kubernetes pools
    - `l7polices` string[] — IDs of created L7 policies
    - `l7rules` string[] — IDs of created L7 rules
    - `laas_topic` string[] — IDs of created LaaS topics
    - `listeners` string[] — IDs of created load balancer listeners
    - `loadbalancers` string[] — IDs of created load balancers
    - `members` string[] — IDs of created pool members
    - `networks` string[] — IDs of created networks
    - `pools` string[] — IDs of created load balancer pools
    - `ports` string[] — IDs of created ports
    - `postgresql_clusters` string[] — IDs of created postgres clusters
    - `projects` integer[] — IDs of created projects
    - `registry_registries` string[] — IDs of created registry registries
    - `registry_users` string[] — IDs of created registry users
    - `routers` string[] — IDs of created routers
    - `secrets` string[] — IDs of created secrets
    - `security_group_rules` string[] — IDs of created security group rules
    - `security_groups` string[] — IDs of created security groups
    - `servergroups` string[] — IDs of created server groups
    - `snapshots` string[] — IDs of created volume snapshots
    - `subnets` string[] — IDs of created subnets
    - `volumes` string[] — IDs of created volumes
  - `data` unknown
  - `detailed_state` 'CLUSTER_CLEAN_UP' | 'CLUSTER_REBUILD' | 'CLUSTER_RESIZE' | 'CLUSTER_RESUME' | 'CLUSTER_SERVER_REBUILD' | 'CLUSTER_SUSPEND' | 'ERROR' | 'FINISHED' | 'IPU_SERVERS' | 'NETWORK' | 'POPLAR_SERVERS' | 'POST_DEPLOY_SETUP' | 'VIPU_CONTROLLER'
  - `error` string, nullable — The error value
  - `finished_on` string, nullable — Finished timestamp
  - `id` string, required — The task ID
  - `job_id` string, nullable — Job ID
  - `lifecycle_policy_id` integer, nullable — Lifecycle policy ID
  - `project_id` integer, nullable — The project ID
  - `region_id` integer, nullable — The region ID
  - `request_id` string, nullable — The request ID
  - `schedule_id` string, nullable — Schedule ID
  - `state` 'ERROR' | 'FINISHED' | 'NEW' | 'RUNNING', required
  - `task_type` string, required — The task type
  - `updated_on` string, nullable — Last updated timestamp
  - `user_client_id` integer, nullable — Client, specified in user's JWT
  - `user_id` integer, required — The user ID that initiated the task

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
