# Public Cloud › Analytics › Lakehouse › Compute Pools API

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> The Public Cloud product's sections: https://developers.eu.ovhcloud.com/reference/public-cloud/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

> 10 operations of the OVHcloud API. Calls carry `authorization: Bearer $OVH_TOKEN`; the EU host is shown, Canada and the United States answer on api.ca.ovhcloud.com and api.us.ovhcloud.com.

Page: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/

OpenAPI v1: https://api.eu.ovhcloud.com/v1/__schemas/developer-hub-navigation/public-cloud/analytics/lakehouse/compute-pools.json?format=openapi3
OpenAPI v2: https://api.eu.ovhcloud.com/v2/__schemas/developer-hub-navigation/public-cloud/analytics/lakehouse/compute-pools.json?format=openapi3

## Operations

- `GET /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool` — List the Compute Pools of your lakehouse
- `GET /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}` — Get a Compute Pool of your lakehouse
- `POST /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool` — Create a Compute Pool in your lakehouse
- `DELETE /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}` — Delete a Compute Pool of your lakehouse
- `PUT /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}` — Update a Compute Pool of your lakehouse
- `GET /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event` — List the events of a Compute Pool of your lakehouse
- `GET /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task` — List the tasks of a Compute Pool of your lakehouse
- `GET /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}` — Get a task of a Compute Pool of your lakehouse
- `POST /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume` — Resume a DEDICATED Compute Pool of your lakehouse
- `POST /publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend` — Suspend a DEDICATED Compute Pool of your lakehouse

## List the Compute Pools of your lakehouse

`GET /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#getAllLakehouseComputePools

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/get`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Pagination-Cursor` | header | string |  | Pagination cursor |
| `X-Pagination-Size` | header | integer |  | Pagination size |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.lakehouse.ComputePool[] | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between. |
| `createdAt` | string (date-time) | read-only | Date the Compute Pool was created |
| `currentState` | publicCloud.lakehouse.ComputePoolCurrentState | read-only | Current state of the Compute Pool, computed by the service |
| `currentState.computeUnits` | integer | read-only | Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves. |
| `currentState.description` | string | read-only | Description of the Compute Pool. Null when it has none. |
| `currentState.name` | string | read-only | Name of the Compute Pool |
| `currentState.sqlEndpoint` | string | read-only | SQL endpoint of the Compute Pool. Null until it is first READY. |
| `currentState.state` | publicCloud.lakehouse.ComputePoolStateEnum | read-only | Run state of a DEDICATED pool, read live: RUNNING, SUSPENDED after idleSuspendMinutes without a query (a query resumes it), or STARTING. Null for a SHARED pool, or when it cannot be read. — one of `RUNNING`, `STARTING`, `SUSPENDED` |
| `currentState.statusReason` | publicCloud.lakehouse.StatusReason | read-only | Why the Compute Pool is in ERROR. Null in any other status. |
| `currentState.statusReason.code` | publicCloud.lakehouse.StatusReasonCodeEnum | read-only | Stable code of the reason, for programs — one of `CANCELED`, `CATALOG_NOT_EMPTY`, `DEDICATED_COMPUTE_POOL_EXISTS`, `DEDICATED_UNAVAILABLE`, `INVALID_SHAPE`, `LAKEHOUSE_NOT_EMPTY`, `OPERATION_FAILED`, `QUOTA_EXCEEDED`, `RECONCILE_FAILED`, `REGION_UNAVAILABLE`, `SCHEMA_NOT_EMPTY`, `TIMED_OUT` |
| `currentState.statusReason.message` | string | read-only | Explanation of the reason, for people. It may change. Do not parse it. |
| `currentState.tier` | publicCloud.lakehouse.ComputePoolTierEnum | read-only | Tier of the Compute Pool — one of `DEDICATED`, `SHARED` |
| `currentTasks` | common.CurrentTask[] | read-only | Tasks in progress on the Compute Pool, and its last failed task while the Compute Pool is in ERROR. Always an array. Empty when there is none. |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the Compute Pool |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Readiness status of the Compute Pool. A change is accepted only in READY or ERROR, except after a refused deletion (ERROR with a `*_NOT_EMPTY` status reason code), where only a new deletion is accepted. A deletion is also accepted in CREATING and UPDATING and replaces the change in progress. — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | read-only | Last requested specification of the Compute Pool |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |
| `updatedAt` | string (date-time) | read-only | Date of the last change to the Compute Pool |

```json
[
  {
    "checksum": "string",
    "createdAt": "2024-01-01T12:00:00Z",
    "currentState": {
      "computeUnits": 0,
      "description": "string",
      "name": "string",
      "sqlEndpoint": "string",
      "state": "RUNNING",
      "statusReason": {
        "code": "CANCELED",
        "message": "string"
      },
      "tier": "DEDICATED"
    },
    "currentTasks": [
      {
        "errors": [
          {
            "message": "string"
          }
        ],
        "id": "00000000-0000-0000-0000-000000000000",
        "link": "string",
        "status": "ERROR",
        "type": "string"
      }
    ],
    "id": "00000000-0000-0000-0000-000000000000",
    "resourceStatus": "CREATING",
    "targetSpec": {
      "description": "string",
      "idleSuspendMinutes": 0,
      "maxWorkers": 0,
      "minWorkers": 0,
      "name": "string",
      "size": "L",
      "tier": "DEDICATED"
    },
    "updatedAt": "2024-01-01T12:00:00Z"
  }
]
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool");

print_r($result);
?>
```

## Get a Compute Pool of your lakehouse

`GET /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#getLakehouseComputePool

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/get`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.lakehouse.ComputePool | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between. |
| `createdAt` | string (date-time) | read-only | Date the Compute Pool was created |
| `currentState` | publicCloud.lakehouse.ComputePoolCurrentState | read-only | Current state of the Compute Pool, computed by the service |
| `currentState.computeUnits` | integer | read-only | Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves. |
| `currentState.description` | string | read-only | Description of the Compute Pool. Null when it has none. |
| `currentState.name` | string | read-only | Name of the Compute Pool |
| `currentState.sqlEndpoint` | string | read-only | SQL endpoint of the Compute Pool. Null until it is first READY. |
| `currentState.state` | publicCloud.lakehouse.ComputePoolStateEnum | read-only | Run state of a DEDICATED pool, read live: RUNNING, SUSPENDED after idleSuspendMinutes without a query (a query resumes it), or STARTING. Null for a SHARED pool, or when it cannot be read. — one of `RUNNING`, `STARTING`, `SUSPENDED` |
| `currentState.statusReason` | publicCloud.lakehouse.StatusReason | read-only | Why the Compute Pool is in ERROR. Null in any other status. |
| `currentState.statusReason.code` | publicCloud.lakehouse.StatusReasonCodeEnum | read-only | Stable code of the reason, for programs — one of `CANCELED`, `CATALOG_NOT_EMPTY`, `DEDICATED_COMPUTE_POOL_EXISTS`, `DEDICATED_UNAVAILABLE`, `INVALID_SHAPE`, `LAKEHOUSE_NOT_EMPTY`, `OPERATION_FAILED`, `QUOTA_EXCEEDED`, `RECONCILE_FAILED`, `REGION_UNAVAILABLE`, `SCHEMA_NOT_EMPTY`, `TIMED_OUT` |
| `currentState.statusReason.message` | string | read-only | Explanation of the reason, for people. It may change. Do not parse it. |
| `currentState.tier` | publicCloud.lakehouse.ComputePoolTierEnum | read-only | Tier of the Compute Pool — one of `DEDICATED`, `SHARED` |
| `currentTasks` | common.CurrentTask[] | read-only | Tasks in progress on the Compute Pool, and its last failed task while the Compute Pool is in ERROR. Always an array. Empty when there is none. |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the Compute Pool |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Readiness status of the Compute Pool. A change is accepted only in READY or ERROR, except after a refused deletion (ERROR with a `*_NOT_EMPTY` status reason code), where only a new deletion is accepted. A deletion is also accepted in CREATING and UPDATING and replaces the change in progress. — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | read-only | Last requested specification of the Compute Pool |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |
| `updatedAt` | string (date-time) | read-only | Date of the last change to the Compute Pool |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "computeUnits": 0,
    "description": "string",
    "name": "string",
    "sqlEndpoint": "string",
    "state": "RUNNING",
    "statusReason": {
      "code": "CANCELED",
      "message": "string"
    },
    "tier": "DEDICATED"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "name": "string",
    "size": "L",
    "tier": "DEDICATED"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}");

print_r($result);
?>
```

## Create a Compute Pool in your lakehouse

`POST /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#createLakehouseComputePool

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/create`

Creates the Compute Pool asynchronously. The response is the Compute Pool in CREATING, with the creation task in `currentTasks`: follow it on the task routes of the Compute Pool, or read the Compute Pool until its `resourceStatus` is READY or ERROR.

A SHARED pool runs your queries on the regional engine. A DEDICATED pool runs them on an engine reserved for the lakehouse, sized by `size`, `minWorkers` and `maxWorkers`. A lakehouse has at most one DEDICATED Compute Pool. The creation is refused with a 409 while the lakehouse is being deleted.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Request body (required)

Type: `publicCloud.lakehouse.ComputePoolCreation`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | yes | Specification of the Compute Pool to create |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |

```json
{
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "name": "string",
    "size": "L",
    "tier": "DEDICATED"
  }
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.lakehouse.ComputePool | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |
| 409 | object | Error 409 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between. |
| `createdAt` | string (date-time) | read-only | Date the Compute Pool was created |
| `currentState` | publicCloud.lakehouse.ComputePoolCurrentState | read-only | Current state of the Compute Pool, computed by the service |
| `currentState.computeUnits` | integer | read-only | Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves. |
| `currentState.description` | string | read-only | Description of the Compute Pool. Null when it has none. |
| `currentState.name` | string | read-only | Name of the Compute Pool |
| `currentState.sqlEndpoint` | string | read-only | SQL endpoint of the Compute Pool. Null until it is first READY. |
| `currentState.state` | publicCloud.lakehouse.ComputePoolStateEnum | read-only | Run state of a DEDICATED pool, read live: RUNNING, SUSPENDED after idleSuspendMinutes without a query (a query resumes it), or STARTING. Null for a SHARED pool, or when it cannot be read. — one of `RUNNING`, `STARTING`, `SUSPENDED` |
| `currentState.statusReason` | publicCloud.lakehouse.StatusReason | read-only | Why the Compute Pool is in ERROR. Null in any other status. |
| `currentState.statusReason.code` | publicCloud.lakehouse.StatusReasonCodeEnum | read-only | Stable code of the reason, for programs — one of `CANCELED`, `CATALOG_NOT_EMPTY`, `DEDICATED_COMPUTE_POOL_EXISTS`, `DEDICATED_UNAVAILABLE`, `INVALID_SHAPE`, `LAKEHOUSE_NOT_EMPTY`, `OPERATION_FAILED`, `QUOTA_EXCEEDED`, `RECONCILE_FAILED`, `REGION_UNAVAILABLE`, `SCHEMA_NOT_EMPTY`, `TIMED_OUT` |
| `currentState.statusReason.message` | string | read-only | Explanation of the reason, for people. It may change. Do not parse it. |
| `currentState.tier` | publicCloud.lakehouse.ComputePoolTierEnum | read-only | Tier of the Compute Pool — one of `DEDICATED`, `SHARED` |
| `currentTasks` | common.CurrentTask[] | read-only | Tasks in progress on the Compute Pool, and its last failed task while the Compute Pool is in ERROR. Always an array. Empty when there is none. |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the Compute Pool |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Readiness status of the Compute Pool. A change is accepted only in READY or ERROR, except after a refused deletion (ERROR with a `*_NOT_EMPTY` status reason code), where only a new deletion is accepted. A deletion is also accepted in CREATING and UPDATING and replaces the change in progress. — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | read-only | Last requested specification of the Compute Pool |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |
| `updatedAt` | string (date-time) | read-only | Date of the last change to the Compute Pool |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "computeUnits": 0,
    "description": "string",
    "name": "string",
    "sqlEndpoint": "string",
    "state": "RUNNING",
    "statusReason": {
      "code": "CANCELED",
      "message": "string"
    },
    "tier": "DEDICATED"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "name": "string",
    "size": "L",
    "tier": "DEDICATED"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: publicCloud.lakehouse.ComputePoolCreation
result = client.post("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool",
	targetSpec = None, # Specification of the Compute Pool to create (type: publicCloud.lakehouse.ComputePoolTargetSpec)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: publicCloud.lakehouse.ComputePoolCreation
$result = $ovh->post("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool", array(
	targetSpec => null, // Specification of the Compute Pool to create (type: publicCloud.lakehouse.ComputePoolTargetSpec)
));

print_r($result);
?>
```

## Delete a Compute Pool of your lakehouse

`DELETE /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#deleteLakehouseComputePool

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/delete`

Deletes the Compute Pool asynchronously. The response is the Compute Pool in DELETING, with the deletion task in `currentTasks`. Once the deletion completes, the Compute Pool and every route under it, its tasks included, answer 404.

A deletion is accepted in READY and ERROR, and also in CREATING and UPDATING, where it replaces the change in progress. A new deletion while one is running is refused with a 409.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.lakehouse.ComputePool | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |
| 409 | object | Error 409 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between. |
| `createdAt` | string (date-time) | read-only | Date the Compute Pool was created |
| `currentState` | publicCloud.lakehouse.ComputePoolCurrentState | read-only | Current state of the Compute Pool, computed by the service |
| `currentState.computeUnits` | integer | read-only | Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves. |
| `currentState.description` | string | read-only | Description of the Compute Pool. Null when it has none. |
| `currentState.name` | string | read-only | Name of the Compute Pool |
| `currentState.sqlEndpoint` | string | read-only | SQL endpoint of the Compute Pool. Null until it is first READY. |
| `currentState.state` | publicCloud.lakehouse.ComputePoolStateEnum | read-only | Run state of a DEDICATED pool, read live: RUNNING, SUSPENDED after idleSuspendMinutes without a query (a query resumes it), or STARTING. Null for a SHARED pool, or when it cannot be read. — one of `RUNNING`, `STARTING`, `SUSPENDED` |
| `currentState.statusReason` | publicCloud.lakehouse.StatusReason | read-only | Why the Compute Pool is in ERROR. Null in any other status. |
| `currentState.statusReason.code` | publicCloud.lakehouse.StatusReasonCodeEnum | read-only | Stable code of the reason, for programs — one of `CANCELED`, `CATALOG_NOT_EMPTY`, `DEDICATED_COMPUTE_POOL_EXISTS`, `DEDICATED_UNAVAILABLE`, `INVALID_SHAPE`, `LAKEHOUSE_NOT_EMPTY`, `OPERATION_FAILED`, `QUOTA_EXCEEDED`, `RECONCILE_FAILED`, `REGION_UNAVAILABLE`, `SCHEMA_NOT_EMPTY`, `TIMED_OUT` |
| `currentState.statusReason.message` | string | read-only | Explanation of the reason, for people. It may change. Do not parse it. |
| `currentState.tier` | publicCloud.lakehouse.ComputePoolTierEnum | read-only | Tier of the Compute Pool — one of `DEDICATED`, `SHARED` |
| `currentTasks` | common.CurrentTask[] | read-only | Tasks in progress on the Compute Pool, and its last failed task while the Compute Pool is in ERROR. Always an array. Empty when there is none. |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the Compute Pool |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Readiness status of the Compute Pool. A change is accepted only in READY or ERROR, except after a refused deletion (ERROR with a `*_NOT_EMPTY` status reason code), where only a new deletion is accepted. A deletion is also accepted in CREATING and UPDATING and replaces the change in progress. — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | read-only | Last requested specification of the Compute Pool |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |
| `updatedAt` | string (date-time) | read-only | Date of the last change to the Compute Pool |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "computeUnits": 0,
    "description": "string",
    "name": "string",
    "sqlEndpoint": "string",
    "state": "RUNNING",
    "statusReason": {
      "code": "CANCELED",
      "message": "string"
    },
    "tier": "DEDICATED"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "name": "string",
    "size": "L",
    "tier": "DEDICATED"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X DELETE \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.delete("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->delete("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}");

print_r($result);
?>
```

## Update a Compute Pool of your lakehouse

`PUT /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#editLakehouseComputePool

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/edit`

Replaces the Compute Pool's target specification as a whole. The body carries the complete desired state of every field `publicCloud.lakehouse.ComputePoolUpdateTargetSpec` exposes — `description`, `idleSuspendMinutes`, `maxWorkers`, `minWorkers`, `size` and `tier` — so read the Compute Pool first and restate every value you want to keep: a field left out of `targetSpec` is cleared, not carried over from the stored specification. For a DEDICATED pool, a shape field left out is reset to its default: `size` XS, `minWorkers` 1, `maxWorkers` equal to `minWorkers`, `idleSuspendMinutes` 15.

The create-only field `name` cannot be changed once the Compute Pool exists. It is deliberately absent from the update model, and sending it is rejected with a 400.

When only `description` changes on a READY pool, the change is applied at once: the response is 200 with the pool READY. When `tier` or the resolved shape changes, or when the pool is in ERROR, the change is applied asynchronously: the response is 202 with the pool UPDATING and the new task in `currentTasks`. The update is refused with a 409 while a task of the pool is in progress or the pool is DELETING. A lakehouse has at most one DEDICATED Compute Pool.

The optional `checksum` guards against a lost update: when supplied it must match the Compute Pool's current checksum or the request is rejected with a 409 checksum mismatch. Omitting it skips the check and forces the write (last-write-wins).

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Request body (required)

Type: `publicCloud.lakehouse.ComputePoolUpdate`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string |  | Checksum of the Compute Pool as you last read it. When set, the update is refused with a 409 checksum-mismatch conflict if the Compute Pool changed since. When omitted or empty, no check is made. |
| `targetSpec` | publicCloud.lakehouse.ComputePoolUpdateTargetSpec | yes | New specification of the Compute Pool. It replaces the whole current specification: an optional field you omit is reset to its default. Send only the fields of this model: a field that can only be set at creation is refused. |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |

```json
{
  "checksum": "string",
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "size": "L",
    "tier": "DEDICATED"
  }
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.lakehouse.ComputePool | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |
| 409 | object | Error 409 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between. |
| `createdAt` | string (date-time) | read-only | Date the Compute Pool was created |
| `currentState` | publicCloud.lakehouse.ComputePoolCurrentState | read-only | Current state of the Compute Pool, computed by the service |
| `currentState.computeUnits` | integer | read-only | Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves. |
| `currentState.description` | string | read-only | Description of the Compute Pool. Null when it has none. |
| `currentState.name` | string | read-only | Name of the Compute Pool |
| `currentState.sqlEndpoint` | string | read-only | SQL endpoint of the Compute Pool. Null until it is first READY. |
| `currentState.state` | publicCloud.lakehouse.ComputePoolStateEnum | read-only | Run state of a DEDICATED pool, read live: RUNNING, SUSPENDED after idleSuspendMinutes without a query (a query resumes it), or STARTING. Null for a SHARED pool, or when it cannot be read. — one of `RUNNING`, `STARTING`, `SUSPENDED` |
| `currentState.statusReason` | publicCloud.lakehouse.StatusReason | read-only | Why the Compute Pool is in ERROR. Null in any other status. |
| `currentState.statusReason.code` | publicCloud.lakehouse.StatusReasonCodeEnum | read-only | Stable code of the reason, for programs — one of `CANCELED`, `CATALOG_NOT_EMPTY`, `DEDICATED_COMPUTE_POOL_EXISTS`, `DEDICATED_UNAVAILABLE`, `INVALID_SHAPE`, `LAKEHOUSE_NOT_EMPTY`, `OPERATION_FAILED`, `QUOTA_EXCEEDED`, `RECONCILE_FAILED`, `REGION_UNAVAILABLE`, `SCHEMA_NOT_EMPTY`, `TIMED_OUT` |
| `currentState.statusReason.message` | string | read-only | Explanation of the reason, for people. It may change. Do not parse it. |
| `currentState.tier` | publicCloud.lakehouse.ComputePoolTierEnum | read-only | Tier of the Compute Pool — one of `DEDICATED`, `SHARED` |
| `currentTasks` | common.CurrentTask[] | read-only | Tasks in progress on the Compute Pool, and its last failed task while the Compute Pool is in ERROR. Always an array. Empty when there is none. |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the Compute Pool |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Readiness status of the Compute Pool. A change is accepted only in READY or ERROR, except after a refused deletion (ERROR with a `*_NOT_EMPTY` status reason code), where only a new deletion is accepted. A deletion is also accepted in CREATING and UPDATING and replaces the change in progress. — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | read-only | Last requested specification of the Compute Pool |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |
| `updatedAt` | string (date-time) | read-only | Date of the last change to the Compute Pool |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "computeUnits": 0,
    "description": "string",
    "name": "string",
    "sqlEndpoint": "string",
    "state": "RUNNING",
    "statusReason": {
      "code": "CANCELED",
      "message": "string"
    },
    "tier": "DEDICATED"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "name": "string",
    "size": "L",
    "tier": "DEDICATED"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X PUT \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: publicCloud.lakehouse.ComputePoolUpdate
result = client.put("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}",
	checksum = None, # Checksum of the Compute Pool as you last read it. When set, the update is refused with a 409 checksum-mismatch conflict if the Compute Pool changed since. When omitted or empty, no check is made. (type: string, nullable)
	targetSpec = None, # New specification of the Compute Pool. It replaces the whole current specification: an optional field you omit is reset to its default. Send only the fields of this model: a field that can only be set at creation is refused. (type: publicCloud.lakehouse.ComputePoolUpdateTargetSpec)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: publicCloud.lakehouse.ComputePoolUpdate
$result = $ovh->put("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}", array(
	checksum => null, // Checksum of the Compute Pool as you last read it. When set, the update is refused with a 409 checksum-mismatch conflict if the Compute Pool changed since. When omitted or empty, no check is made. (type: string, nullable)
	targetSpec => null, // New specification of the Compute Pool. It replaces the whole current specification: an optional field you omit is reset to its default. Send only the fields of this model: a field that can only be set at creation is refused. (type: publicCloud.lakehouse.ComputePoolUpdateTargetSpec)
));

print_r($result);
?>
```

## List the events of a Compute Pool of your lakehouse

`GET /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#getLakehouseComputePoolEvents

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/event/get`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Pagination-Cursor` | header | string |  | Pagination cursor |
| `X-Pagination-Size` | header | integer |  | Pagination size |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |
| `taskId` | query | string (uuid) |  | Return only the events of this task |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | common.Event[] | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `createdAt` | string (date-time) | read-only | Creation date of the event |
| `kind` | string | read-only | Nature of the event |
| `link` | string | read-only | Link to the event related resource |
| `message` | string | read-only | Description of what happened on the event |
| `type` | common.EventTypeEnum | read-only | Type of the event — one of `TARGET_SPEC_UPDATE`, `TASK_ERROR`, `TASK_START`, `TASK_SUCCESS` |

```json
[
  {
    "createdAt": "2024-01-01T12:00:00Z",
    "kind": "string",
    "link": "string",
    "message": "string",
    "type": "TARGET_SPEC_UPDATE"
  }
]
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event");

print_r($result);
?>
```

## List the tasks of a Compute Pool of your lakehouse

`GET /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#getAllLakehouseComputePoolTasks

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/task/get`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Pagination-Cursor` | header | string |  | Pagination cursor |
| `X-Pagination-Size` | header | integer |  | Pagination size |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | common.Task[] | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `createdAt` | string (date-time) | read-only | Creation date of the task |
| `errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `errors[].message` | string | read-only | Error description |
| `finishedAt` | string (date-time) | read-only | Ending date of the task |
| `id` | string (uuid) | read-only | Unique identifier of the task |
| `link` | string | read-only | Link to the related resource |
| `message` | string | read-only | Description of the task |
| `progress` | common.TaskProgress[] | read-only | Progress steps of the asynchronous operation |
| `progress[].name` | string | read-only | Progress step name |
| `progress[].status` | common.TaskStatusEnum | read-only | Current status of the progress step — one of `DONE`, `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `startedAt` | string (date-time) | read-only | Starting date of the task |
| `status` | common.TaskStatusEnum | read-only | Current global status of the task — one of `DONE`, `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `type` | string | read-only | Type of the task |
| `updatedAt` | string (date-time) | read-only | Last update of the task |

```json
[
  {
    "createdAt": "2024-01-01T12:00:00Z",
    "errors": [
      {
        "message": "string"
      }
    ],
    "finishedAt": "2024-01-01T12:00:00Z",
    "id": "00000000-0000-0000-0000-000000000000",
    "link": "string",
    "message": "string",
    "progress": [
      {
        "name": "string",
        "status": "DONE"
      }
    ],
    "startedAt": "2024-01-01T12:00:00Z",
    "status": "DONE",
    "type": "string",
    "updatedAt": "2024-01-01T12:00:00Z"
  }
]
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task");

print_r($result);
?>
```

## Get a task of a Compute Pool of your lakehouse

`GET /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#getLakehouseComputePoolTask

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/task/get`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |
| `taskId` | path | string (uuid) | yes | Task ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | common.Task | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `createdAt` | string (date-time) | read-only | Creation date of the task |
| `errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `errors[].message` | string | read-only | Error description |
| `finishedAt` | string (date-time) | read-only | Ending date of the task |
| `id` | string (uuid) | read-only | Unique identifier of the task |
| `link` | string | read-only | Link to the related resource |
| `message` | string | read-only | Description of the task |
| `progress` | common.TaskProgress[] | read-only | Progress steps of the asynchronous operation |
| `progress[].name` | string | read-only | Progress step name |
| `progress[].status` | common.TaskStatusEnum | read-only | Current status of the progress step — one of `DONE`, `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `startedAt` | string (date-time) | read-only | Starting date of the task |
| `status` | common.TaskStatusEnum | read-only | Current global status of the task — one of `DONE`, `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `type` | string | read-only | Type of the task |
| `updatedAt` | string (date-time) | read-only | Last update of the task |

```json
{
  "createdAt": "2024-01-01T12:00:00Z",
  "errors": [
    {
      "message": "string"
    }
  ],
  "finishedAt": "2024-01-01T12:00:00Z",
  "id": "00000000-0000-0000-0000-000000000000",
  "link": "string",
  "message": "string",
  "progress": [
    {
      "name": "string",
      "status": "DONE"
    }
  ],
  "startedAt": "2024-01-01T12:00:00Z",
  "status": "DONE",
  "type": "string",
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}");

print_r($result);
?>
```

## Resume a DEDICATED Compute Pool of your lakehouse

`POST /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#resumeLakehouseComputePool

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/resume`

Resumes a suspended DEDICATED Compute Pool at once, without a task: the response is the pool with its new `currentState.state`, STARTING until its engine serves again.

The pool must be DEDICATED, READY and in a run state that allows the action: the action is refused with a 400 on a SHARED pool and with a 409 otherwise. It changes neither the target specification, nor the checksum, nor the status of the pool, and records no task.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.lakehouse.ComputePool | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |
| 409 | object | Error 409 response |
| 500 | object | Error 500 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between. |
| `createdAt` | string (date-time) | read-only | Date the Compute Pool was created |
| `currentState` | publicCloud.lakehouse.ComputePoolCurrentState | read-only | Current state of the Compute Pool, computed by the service |
| `currentState.computeUnits` | integer | read-only | Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves. |
| `currentState.description` | string | read-only | Description of the Compute Pool. Null when it has none. |
| `currentState.name` | string | read-only | Name of the Compute Pool |
| `currentState.sqlEndpoint` | string | read-only | SQL endpoint of the Compute Pool. Null until it is first READY. |
| `currentState.state` | publicCloud.lakehouse.ComputePoolStateEnum | read-only | Run state of a DEDICATED pool, read live: RUNNING, SUSPENDED after idleSuspendMinutes without a query (a query resumes it), or STARTING. Null for a SHARED pool, or when it cannot be read. — one of `RUNNING`, `STARTING`, `SUSPENDED` |
| `currentState.statusReason` | publicCloud.lakehouse.StatusReason | read-only | Why the Compute Pool is in ERROR. Null in any other status. |
| `currentState.statusReason.code` | publicCloud.lakehouse.StatusReasonCodeEnum | read-only | Stable code of the reason, for programs — one of `CANCELED`, `CATALOG_NOT_EMPTY`, `DEDICATED_COMPUTE_POOL_EXISTS`, `DEDICATED_UNAVAILABLE`, `INVALID_SHAPE`, `LAKEHOUSE_NOT_EMPTY`, `OPERATION_FAILED`, `QUOTA_EXCEEDED`, `RECONCILE_FAILED`, `REGION_UNAVAILABLE`, `SCHEMA_NOT_EMPTY`, `TIMED_OUT` |
| `currentState.statusReason.message` | string | read-only | Explanation of the reason, for people. It may change. Do not parse it. |
| `currentState.tier` | publicCloud.lakehouse.ComputePoolTierEnum | read-only | Tier of the Compute Pool — one of `DEDICATED`, `SHARED` |
| `currentTasks` | common.CurrentTask[] | read-only | Tasks in progress on the Compute Pool, and its last failed task while the Compute Pool is in ERROR. Always an array. Empty when there is none. |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the Compute Pool |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Readiness status of the Compute Pool. A change is accepted only in READY or ERROR, except after a refused deletion (ERROR with a `*_NOT_EMPTY` status reason code), where only a new deletion is accepted. A deletion is also accepted in CREATING and UPDATING and replaces the change in progress. — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | read-only | Last requested specification of the Compute Pool |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |
| `updatedAt` | string (date-time) | read-only | Date of the last change to the Compute Pool |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "computeUnits": 0,
    "description": "string",
    "name": "string",
    "sqlEndpoint": "string",
    "state": "RUNNING",
    "statusReason": {
      "code": "CANCELED",
      "message": "string"
    },
    "tier": "DEDICATED"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "name": "string",
    "size": "L",
    "tier": "DEDICATED"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.post("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->post("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume");

print_r($result);
?>
```

## Suspend a DEDICATED Compute Pool of your lakehouse

`POST /v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend`

Link: https://developers.eu.ovhcloud.com/reference/public-cloud/analytics/lakehouse/compute-pools/#suspendLakehouseComputePool

**Status:** Alpha version  
**IAM actions:** `publicCloudProject:apiovh:analytics/lakehouse/computePool/suspend`

Suspends a DEDICATED Compute Pool at once, without a task: the response is the pool with `currentState.state` SUSPENDED. A suspended pool stays READY and usable: the next query resumes it.

The pool must be DEDICATED, READY and in a run state that allows the action: the action is refused with a 400 on a SHARED pool and with a 409 otherwise. It changes neither the target specification, nor the checksum, nor the status of the pool, and records no task.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `computePoolId` | path | string (uuid) | yes | Compute pool ID |
| `lakehouseId` | path | string (uuid) | yes | Lakehouse ID |
| `projectId` | path | string | yes | Project ID |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | publicCloud.lakehouse.ComputePool | successful operation |
| 400 | object | Error 400 response |
| 404 | object | Error 404 response |
| 409 | object | Error 409 response |
| 500 | object | Error 500 response |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checksum` | string | read-only | Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between. |
| `createdAt` | string (date-time) | read-only | Date the Compute Pool was created |
| `currentState` | publicCloud.lakehouse.ComputePoolCurrentState | read-only | Current state of the Compute Pool, computed by the service |
| `currentState.computeUnits` | integer | read-only | Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves. |
| `currentState.description` | string | read-only | Description of the Compute Pool. Null when it has none. |
| `currentState.name` | string | read-only | Name of the Compute Pool |
| `currentState.sqlEndpoint` | string | read-only | SQL endpoint of the Compute Pool. Null until it is first READY. |
| `currentState.state` | publicCloud.lakehouse.ComputePoolStateEnum | read-only | Run state of a DEDICATED pool, read live: RUNNING, SUSPENDED after idleSuspendMinutes without a query (a query resumes it), or STARTING. Null for a SHARED pool, or when it cannot be read. — one of `RUNNING`, `STARTING`, `SUSPENDED` |
| `currentState.statusReason` | publicCloud.lakehouse.StatusReason | read-only | Why the Compute Pool is in ERROR. Null in any other status. |
| `currentState.statusReason.code` | publicCloud.lakehouse.StatusReasonCodeEnum | read-only | Stable code of the reason, for programs — one of `CANCELED`, `CATALOG_NOT_EMPTY`, `DEDICATED_COMPUTE_POOL_EXISTS`, `DEDICATED_UNAVAILABLE`, `INVALID_SHAPE`, `LAKEHOUSE_NOT_EMPTY`, `OPERATION_FAILED`, `QUOTA_EXCEEDED`, `RECONCILE_FAILED`, `REGION_UNAVAILABLE`, `SCHEMA_NOT_EMPTY`, `TIMED_OUT` |
| `currentState.statusReason.message` | string | read-only | Explanation of the reason, for people. It may change. Do not parse it. |
| `currentState.tier` | publicCloud.lakehouse.ComputePoolTierEnum | read-only | Tier of the Compute Pool — one of `DEDICATED`, `SHARED` |
| `currentTasks` | common.CurrentTask[] | read-only | Tasks in progress on the Compute Pool, and its last failed task while the Compute Pool is in ERROR. Always an array. Empty when there is none. |
| `currentTasks[].errors` | common.TaskError[] | read-only | Errors that occurred on the task |
| `currentTasks[].errors[].message` | string | read-only | Error description |
| `currentTasks[].id` | string (uuid) | read-only | Identifier of the current task |
| `currentTasks[].link` | string | read-only | Link to the task details |
| `currentTasks[].status` | common.CurrentTaskStatusEnum | read-only | Current global status of the current task — one of `ERROR`, `PENDING`, `RUNNING`, `SCHEDULED`, `WAITING_USER_INPUT` |
| `currentTasks[].type` | string | read-only | Type of the current task |
| `id` | string (uuid) | read-only | Unique identifier of the Compute Pool |
| `resourceStatus` | common.ResourceStatusEnum | read-only | Readiness status of the Compute Pool. A change is accepted only in READY or ERROR, except after a refused deletion (ERROR with a `*_NOT_EMPTY` status reason code), where only a new deletion is accepted. A deletion is also accepted in CREATING and UPDATING and replaces the change in progress. — one of `CREATING`, `CREATION_PLANNED`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `SUSPENDED`, `UNKNOWN`, `UPDATING` |
| `targetSpec` | publicCloud.lakehouse.ComputePoolTargetSpec | read-only | Last requested specification of the Compute Pool |
| `targetSpec.description` | string |  | Description of the Compute Pool. At most 255 characters. |
| `targetSpec.idleSuspendMinutes` | integer |  | DEDICATED only: minutes without a query before the pool suspends. 0 never suspends. Null for a SHARED pool. From 0 to 1440. Defaults to 15. |
| `targetSpec.maxWorkers` | integer |  | DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers. |
| `targetSpec.minWorkers` | integer |  | DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1. |
| `targetSpec.name` | string | yes | Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update. |
| `targetSpec.size` | publicCloud.lakehouse.ComputePoolSizeEnum |  | DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS. — one of `L`, `M`, `S`, `XS` |
| `targetSpec.tier` | publicCloud.lakehouse.ComputePoolTierEnum | yes | SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool. — one of `DEDICATED`, `SHARED` |
| `updatedAt` | string (date-time) | read-only | Date of the last change to the Compute Pool |

```json
{
  "checksum": "string",
  "createdAt": "2024-01-01T12:00:00Z",
  "currentState": {
    "computeUnits": 0,
    "description": "string",
    "name": "string",
    "sqlEndpoint": "string",
    "state": "RUNNING",
    "statusReason": {
      "code": "CANCELED",
      "message": "string"
    },
    "tier": "DEDICATED"
  },
  "currentTasks": [
    {
      "errors": [
        {
          "message": "string"
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "link": "string",
      "status": "ERROR",
      "type": "string"
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "resourceStatus": "CREATING",
  "targetSpec": {
    "description": "string",
    "idleSuspendMinutes": 0,
    "maxWorkers": 0,
    "minWorkers": 0,
    "name": "string",
    "size": "L",
    "tier": "DEDICATED"
  },
  "updatedAt": "2024-01-01T12:00:00Z"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend" \
  -H "accept: application/json" \
  -H "X-Schemas-Version: 2026-06" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.post("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->post("/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend");

print_r($result);
?>
```
