{"openapi":"3.0.0","info":{"title":"OVHcloud API specification","description":"Specification for OVHcloud API","version":"1.0","contact":{"name":"OVH","email":"api@ml.ovh.net"}},"servers":[{"url":"https://api.eu.ovhcloud.com/v2"}],"components":{"schemas":{"any":{"description":"Can be anything (text, int, bool, json, html, etc.)","example":"This is a content of any type !"},"common.CurrentTask":{"type":"object","description":"Asynchronous operation currently running","properties":{"errors":{"type":"array","description":"Errors that occurred on the task","nullable":true,"items":{"$ref":"#/components/schemas/common.TaskError"},"readOnly":true},"id":{"type":"string","description":"Identifier of the current task","format":"uuid","readOnly":true},"link":{"type":"string","description":"Link to the task details","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/common.CurrentTaskStatusEnum"}],"description":"Current global status of the current task","nullable":true,"readOnly":true},"type":{"type":"string","description":"Type of the current task","readOnly":true}}},"common.CurrentTaskStatusEnum":{"type":"string","description":"Current status of a task. A task in ERROR cannot be retried without your inputs. PENDING tasks will be executed as soon as possible. A RUNNING task is currently executing your original request. SCHEDULED is used for tasks that will be executed in the future.","enum":["ERROR","PENDING","RUNNING","SCHEDULED","WAITING_USER_INPUT"]},"common.Event":{"type":"object","description":"Represents an event for an async envelope","properties":{"createdAt":{"type":"string","description":"Creation date of the event","format":"date-time","readOnly":true},"kind":{"type":"string","description":"Nature of the event","readOnly":true},"link":{"type":"string","description":"Link to the event related resource","nullable":true,"readOnly":true},"message":{"type":"string","description":"Description of what happened on the event","readOnly":true},"type":{"allOf":[{"$ref":"#/components/schemas/common.EventTypeEnum"}],"description":"Type of the event","readOnly":true}}},"common.EventTypeEnum":{"type":"string","description":"Nature of an event","enum":["TARGET_SPEC_UPDATE","TASK_ERROR","TASK_START","TASK_SUCCESS"]},"common.ResourceStatusEnum":{"type":"string","description":"Current status of a resource","enum":["CREATING","CREATION_PLANNED","DELETING","ERROR","OUT_OF_SYNC","READY","SUSPENDED","UNKNOWN","UPDATING"]},"common.Task":{"type":"object","description":"Asynchronous operation","properties":{"createdAt":{"type":"string","description":"Creation date of the task","format":"date-time","readOnly":true},"errors":{"type":"array","description":"Errors that occurred on the task","nullable":true,"items":{"$ref":"#/components/schemas/common.TaskError"},"readOnly":true},"finishedAt":{"type":"string","description":"Ending date of the task","nullable":true,"format":"date-time","readOnly":true},"id":{"type":"string","description":"Unique identifier of the task","format":"uuid","readOnly":true},"link":{"type":"string","description":"Link to the related resource","readOnly":true},"message":{"type":"string","description":"Description of the task","readOnly":true},"progress":{"type":"array","description":"Progress steps of the asynchronous operation","items":{"$ref":"#/components/schemas/common.TaskProgress"},"readOnly":true},"startedAt":{"type":"string","description":"Starting date of the task","nullable":true,"format":"date-time","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/common.TaskStatusEnum"}],"description":"Current global status of the task","readOnly":true},"type":{"type":"string","description":"Type of the task","readOnly":true},"updatedAt":{"type":"string","description":"Last update of the task","format":"date-time","readOnly":true}}},"common.TaskError":{"type":"object","description":"Errors that occurred on the task","properties":{"message":{"type":"string","description":"Error description","readOnly":true}}},"common.TaskProgress":{"type":"object","description":"Detailed information about an asynchronous operation progress steps","properties":{"name":{"type":"string","description":"Progress step name","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/common.TaskStatusEnum"}],"description":"Current status of the progress step","readOnly":true}}},"common.TaskStatusEnum":{"type":"string","description":"Current status of a task","enum":["DONE","ERROR","PENDING","RUNNING","SCHEDULED","WAITING_USER_INPUT"]},"duration":{"type":"string","description":"Duration (e.g., P1Y2M3DT4H6M9S)","example":"P1Y2M3DT4H6M9S"},"email":{"type":"string","description":"Email address (e.g., api@ml.ovh.net)","format":"email","example":"api@ml.ovh.net"},"internationalPhoneNumber":{"type":"string","description":"International phone number","format":"phone-number"},"ip":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipBlock":{"type":"string","description":"IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24)","format":"ip-block","example":"192.0.2.0/24"},"ipInterface":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4":{"type":"string","description":"IPv4 address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4Block":{"type":"string","description":"IPv4 CIDR notation (e.g., 192.0.2.0/24)","format":"ipv4-block","example":"192.0.2.0/24"},"ipv6":{"type":"string","description":"IPv6 address (e.g., 2001:41d0:1:1994::1)","format":"ipv6","example":"2001:41d0:1:1994::1"},"ipv6Block":{"type":"string","description":"IPv6 CIDR notation (e.g., 2001:41d0::/128)","format":"ipv6-block","example":"2001:41d0::/128"},"macAddress":{"type":"string","description":"MAC address (e.g., 00:00:5e:00:53:01)","format":"mac-address","example":"00:00:5e:00:53:01"},"phoneNumber":{"type":"string","description":"Phone number","format":"phone-number"},"publicCloud.lakehouse.ComputePool":{"type":"object","description":"A Compute Pool of a lakehouse: the SQL compute that runs your queries, either on the shared regional engine or on a DEDICATED engine reserved for the lakehouse","properties":{"checksum":{"type":"string","description":"Hash of the target specification of the Compute Pool. Send it back on update to make sure nobody changed the Compute Pool in between.","readOnly":true},"createdAt":{"type":"string","description":"Date the Compute Pool was created","format":"date-time","readOnly":true},"currentState":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolCurrentState"}],"description":"Current state of the Compute Pool, computed by the service","readOnly":true},"currentTasks":{"type":"array","description":"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.","items":{"$ref":"#/components/schemas/common.CurrentTask"},"readOnly":true},"id":{"type":"string","description":"Unique identifier of the Compute Pool","format":"uuid","readOnly":true},"resourceStatus":{"allOf":[{"$ref":"#/components/schemas/common.ResourceStatusEnum"}],"description":"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.","readOnly":true},"targetSpec":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolTargetSpec"}],"description":"Last requested specification of the Compute Pool","readOnly":true},"updatedAt":{"type":"string","description":"Date of the last change to the Compute Pool","format":"date-time","readOnly":true}}},"publicCloud.lakehouse.ComputePoolCreation":{"type":"object","description":"Creation of a Compute Pool","properties":{"targetSpec":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolTargetSpec"}],"description":"Specification of the Compute Pool to create"}},"required":["targetSpec"]},"publicCloud.lakehouse.ComputePoolCurrentState":{"type":"object","description":"Current state of a Compute Pool, computed by the service","properties":{"computeUnits":{"type":"integer","description":"Compute units of the shape last applied. Null for a SHARED pool, and until a DEDICATED pool first serves.","nullable":true,"readOnly":true},"description":{"type":"string","description":"Description of the Compute Pool. Null when it has none.","nullable":true,"readOnly":true},"name":{"type":"string","description":"Name of the Compute Pool","readOnly":true},"sqlEndpoint":{"type":"string","description":"SQL endpoint of the Compute Pool. Null until it is first READY.","nullable":true,"readOnly":true},"state":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolStateEnum"}],"description":"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.","nullable":true,"readOnly":true},"statusReason":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.StatusReason"}],"description":"Why the Compute Pool is in ERROR. Null in any other status.","nullable":true,"readOnly":true},"tier":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolTierEnum"}],"description":"Tier of the Compute Pool","readOnly":true}}},"publicCloud.lakehouse.ComputePoolSizeEnum":{"type":"string","description":"Compute profile of a DEDICATED Compute Pool worker","enum":["L","M","S","XS"]},"publicCloud.lakehouse.ComputePoolStateEnum":{"type":"string","description":"Run state of a DEDICATED Compute Pool","enum":["RUNNING","STARTING","SUSPENDED"]},"publicCloud.lakehouse.ComputePoolTargetSpec":{"type":"object","description":"Specification of a Compute Pool, as you requested it","properties":{"description":{"type":"string","description":"Description of the Compute Pool. At most 255 characters.","nullable":true},"idleSuspendMinutes":{"type":"integer","description":"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.","nullable":true},"maxWorkers":{"type":"integer","description":"DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers.","nullable":true},"minWorkers":{"type":"integer","description":"DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1.","nullable":true},"name":{"type":"string","description":"Name of the Compute Pool, unique in the lakehouse. Same rules as the lakehouse name. Immutable after creation. Not part of an update."},"size":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolSizeEnum"}],"description":"DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS.","nullable":true},"tier":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolTierEnum"}],"description":"SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool."}},"required":["name","tier"]},"publicCloud.lakehouse.ComputePoolTierEnum":{"type":"string","description":"Tier of a Compute Pool","enum":["DEDICATED","SHARED"]},"publicCloud.lakehouse.ComputePoolUpdate":{"type":"object","description":"Update of a Compute Pool","properties":{"checksum":{"type":"string","description":"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.","nullable":true},"targetSpec":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolUpdateTargetSpec"}],"description":"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."}},"required":["targetSpec"]},"publicCloud.lakehouse.ComputePoolUpdateTargetSpec":{"type":"object","description":"Specification of a Compute Pool that you can change after creation","properties":{"description":{"type":"string","description":"Description of the Compute Pool. At most 255 characters.","nullable":true},"idleSuspendMinutes":{"type":"integer","description":"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.","nullable":true},"maxWorkers":{"type":"integer","description":"DEDICATED only: maximum number of workers, 1 to 50, at least minWorkers. Null for a SHARED pool. Defaults to minWorkers.","nullable":true},"minWorkers":{"type":"integer","description":"DEDICATED only: minimum number of workers. Null for a SHARED pool. From 1 to 50. Defaults to 1.","nullable":true},"size":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolSizeEnum"}],"description":"DEDICATED only: compute profile of every worker. Null for a SHARED pool. Defaults to XS.","nullable":true},"tier":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolTierEnum"}],"description":"SHARED compute on the regional engine, or DEDICATED compute reserved for the lakehouse. A lakehouse has at most one DEDICATED pool."}},"required":["tier"]},"publicCloud.lakehouse.StatusReason":{"type":"object","description":"Why a resource is in ERROR","properties":{"code":{"allOf":[{"$ref":"#/components/schemas/publicCloud.lakehouse.StatusReasonCodeEnum"}],"description":"Stable code of the reason, for programs","readOnly":true},"message":{"type":"string","description":"Explanation of the reason, for people. It may change. Do not parse it.","readOnly":true}}},"publicCloud.lakehouse.StatusReasonCodeEnum":{"type":"string","description":"Stable code of the reason why a resource is in ERROR. CATALOG_NOT_EMPTY, LAKEHOUSE_NOT_EMPTY and SCHEMA_NOT_EMPTY: a deletion was refused because data remains. Delete again with force. DEDICATED_COMPUTE_POOL_EXISTS, DEDICATED_UNAVAILABLE, INVALID_SHAPE and QUOTA_EXCEEDED: the region refused the Compute Pool shape. `RECONCILE_FAILED`: a DEDICATED engine stopped serving. `CANCELED`: OVHcloud support canceled the change. `TIMED_OUT`: the change did not complete in time. `REGION_UNAVAILABLE`: the region could not take the change. `OPERATION_FAILED`: any other failure.","enum":["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"]},"time":{"type":"string","description":"Time (e.g., 15:04:05)","format":"time","example":"15:04:05"}},"securitySchemes":{"oAuth2AuthCode":{"type":"oauth2","description":"Oauth2","x-client-id":"1bb9c7df371741c0","x-client-secret":"a5b4de870aca620d10fbf63cd18d205b","flows":{"authorizationCode":{"authorizationUrl":"https://auth.eu.ovhcloud.com/oauth2/authorize","tokenUrl":"https://auth.eu.ovhcloud.com/oauth2/token","scopes":{"account/all":"Manage your account","all":"Manage your whole account and all your services","services/all":"Manage your services lifecycle and billing"}}}}}},"paths":{"/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool":{"get":{"operationId":"getAllLakehouseComputePools","summary":"List the Compute Pools of your lakehouse","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePool"}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@10"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/get","required":true}],"x-response-identifier":"id","x-expanded-response":"PublicCloudLakehouseComputePool"},"post":{"operationId":"createLakehouseComputePool","summary":"Create a Compute Pool in your lakehouse","description":"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.\n\nA 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.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolCreation"},"examples":{"Create a Compute Pool":{"value":{"targetSpec":{"description":"Reporting engine","idleSuspendMinutes":30,"maxWorkers":4,"minWorkers":2,"name":"reporting","size":"M","tier":"DEDICATED"}},"summary":"Create a Compute Pool."}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePool"},"examples":{"Compute Pool being created":{"value":{"checksum":"9f66ab9a7db53d62f96df1b40aa74ee7","createdAt":"2026-10-01T09:08:00Z","currentState":{"computeUnits":null,"description":"Reporting engine","name":"reporting","sqlEndpoint":null,"state":null,"statusReason":null,"tier":"DEDICATED"},"currentTasks":[{"errors":[],"id":"e1a6c3f9-8d52-4a17-b9e4-3c5f7a2d0b86","link":"/v2/publicCloud/project/5f1c2b3a4d5e6f708192a3b4c5d6e7f8/managedAnalytics/lakehouse/8b0f6d2e-3c4a-4e1b-9f7d-2a6c5e8b1d30/computePool/f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62/task/e1a6c3f9-8d52-4a17-b9e4-3c5f7a2d0b86","status":"PENDING","type":"LAKEHOUSE_COMPUTE_POOL_CREATE"}],"id":"f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62","resourceStatus":"CREATING","targetSpec":{"description":"Reporting engine","idleSuspendMinutes":30,"maxWorkers":4,"minWorkers":2,"name":"reporting","size":"M","tier":"DEDICATED"},"updatedAt":"2026-10-01T09:08:00Z"},"summary":"The Compute Pool in CREATING, with its creation task."}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::ComputePoolTierNotAvailable":{"value":{"class":"Client::BadRequest::ComputePoolTierNotAvailable","message":"This Compute Pool tier is not available in the region of the lakehouse"}},"Client::BadRequest::InvalidComputePoolShape":{"value":{"class":"Client::BadRequest::InvalidComputePoolShape","message":"Invalid Compute Pool shape"}},"Client::BadRequest::InvalidName":{"value":{"class":"Client::BadRequest::InvalidName","message":"Invalid name: use 3 to 63 lowercase letters, digits or underscores, starting with a letter"}},"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}},"409":{"description":"Error 409 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Conflict::DedicatedComputePoolExists":{"value":{"class":"Client::Conflict::DedicatedComputePoolExists","message":"This lakehouse already has a DEDICATED Compute Pool"}},"Client::Conflict::NameAlreadyInUse":{"value":{"class":"Client::Conflict::NameAlreadyInUse","message":"This name is already in use"}},"Client::Conflict::QuotaExceeded":{"value":{"class":"Client::Conflict::QuotaExceeded","message":"This lakehouse has reached its quota"}},"Client::Conflict::ResourceInInvalidState":{"value":{"class":"Client::Conflict::ResourceInInvalidState","message":"Resource cannot be modified in its current state"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@30"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: publicCloud.lakehouse.ComputePoolCreation\nresult = client.post(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool\",\n\ttargetSpec = None, # Specification of the Compute Pool to create (type: publicCloud.lakehouse.ComputePoolTargetSpec)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: publicCloud.lakehouse.ComputePoolCreation\n$result = $ovh->post(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool\", array(\n\ttargetSpec => null, // Specification of the Compute Pool to create (type: publicCloud.lakehouse.ComputePoolTargetSpec)\n));\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/create","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}":{"delete":{"operationId":"deleteLakehouseComputePool","summary":"Delete a Compute Pool of your lakehouse","description":"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.\n\nA 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.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePool"}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}},"409":{"description":"Error 409 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Conflict::ResourceAlreadyBeingDeleted":{"value":{"class":"Client::Conflict::ResourceAlreadyBeingDeleted","message":"Resource is already being deleted"}},"Client::Conflict::ResourceInInvalidState":{"value":{"class":"Client::Conflict::ResourceInInvalidState","message":"Resource cannot be modified in its current state"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@40"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.delete(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->delete(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/delete","required":true}]},"get":{"operationId":"getLakehouseComputePool","summary":"Get a Compute Pool of your lakehouse","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePool"},"examples":{"Compute Pool":{"value":{"checksum":"9f66ab9a7db53d62f96df1b40aa74ee7","createdAt":"2026-10-01T09:08:00Z","currentState":{"computeUnits":16,"description":"Reporting engine","name":"reporting","sqlEndpoint":"https://sql.eu-west-par.lakehouse.ovhcloud.example/f3a9c5e7","state":"RUNNING","statusReason":null,"tier":"DEDICATED"},"currentTasks":[],"id":"f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62","resourceStatus":"READY","targetSpec":{"description":"Reporting engine","idleSuspendMinutes":30,"maxWorkers":4,"minWorkers":2,"name":"reporting","size":"M","tier":"DEDICATED"},"updatedAt":"2026-10-01T10:02:00Z"},"summary":"A READY Compute Pool."}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@20"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/get","required":true}],"x-response-identifier":"id"},"put":{"operationId":"editLakehouseComputePool","summary":"Update a Compute Pool of your lakehouse","description":"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.\n\nThe 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.\n\nWhen 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.\n\nThe 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).","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePoolUpdate"},"examples":{"Move a Compute Pool to DEDICATED":{"value":{"checksum":"a9079aecc14b0884029cd7a2bbf58702","targetSpec":{"description":"Reporting engine","idleSuspendMinutes":30,"maxWorkers":4,"minWorkers":2,"size":"M","tier":"DEDICATED"}},"summary":"Move a SHARED pool to a DEDICATED engine. The body is the complete target specification that you can change."}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePool"},"examples":{"Compute Pool updated":{"value":{"checksum":"9f66ab9a7db53d62f96df1b40aa74ee7","createdAt":"2026-10-01T09:08:00Z","currentState":{"computeUnits":null,"description":"Reporting engine","name":"reporting","sqlEndpoint":"https://sql.eu-west-par.lakehouse.ovhcloud.example","state":null,"statusReason":null,"tier":"SHARED"},"currentTasks":[{"errors":[],"id":"410d2346-3b06-461e-965f-ae868633ff18","link":"/v2/publicCloud/project/5f1c2b3a4d5e6f708192a3b4c5d6e7f8/managedAnalytics/lakehouse/8b0f6d2e-3c4a-4e1b-9f7d-2a6c5e8b1d30/computePool/f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62/task/410d2346-3b06-461e-965f-ae868633ff18","status":"PENDING","type":"LAKEHOUSE_COMPUTE_POOL_UPDATE"}],"id":"f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62","resourceStatus":"UPDATING","targetSpec":{"description":"Reporting engine","idleSuspendMinutes":30,"maxWorkers":4,"minWorkers":2,"name":"reporting","size":"M","tier":"DEDICATED"},"updatedAt":"2026-10-01T10:00:00Z"},"summary":"The Compute Pool in UPDATING: the tier change is applied by a task."}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::ComputePoolTierNotAvailable":{"value":{"class":"Client::BadRequest::ComputePoolTierNotAvailable","message":"This Compute Pool tier is not available in the region of the lakehouse"}},"Client::BadRequest::InvalidComputePoolShape":{"value":{"class":"Client::BadRequest::InvalidComputePoolShape","message":"Invalid Compute Pool shape"}},"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}},"409":{"description":"Error 409 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Conflict::ChecksumMismatch":{"value":{"class":"Client::Conflict::ChecksumMismatch","message":"Checksum mismatch — a concurrent update was detected. Refresh the resource and retry"}},"Client::Conflict::DedicatedComputePoolExists":{"value":{"class":"Client::Conflict::DedicatedComputePoolExists","message":"This lakehouse already has a DEDICATED Compute Pool"}},"Client::Conflict::ResourceInInvalidState":{"value":{"class":"Client::Conflict::ResourceInInvalidState","message":"Resource cannot be modified in its current state"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@50"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: publicCloud.lakehouse.ComputePoolUpdate\nresult = client.put(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}\",\n\tchecksum = 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)\n\ttargetSpec = 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)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: publicCloud.lakehouse.ComputePoolUpdate\n$result = $ovh->put(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}\", array(\n\tchecksum => 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)\n\ttargetSpec => 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)\n));\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/edit","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event":{"get":{"operationId":"getLakehouseComputePoolEvents","summary":"List the events of a Compute Pool of your lakehouse","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}},{"in":"query","name":"taskId","description":"Return only the events of this task","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/common.Event"}},"examples":{"Creation history":{"value":[{"createdAt":"2026-10-01T09:08:40Z","kind":"LAKEHOUSE_COMPUTE_POOL_CREATE","link":"/v2/publicCloud/project/5f1c2b3a4d5e6f708192a3b4c5d6e7f8/managedAnalytics/lakehouse/8b0f6d2e-3c4a-4e1b-9f7d-2a6c5e8b1d30/computePool/f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62/task/e1a6c3f9-8d52-4a17-b9e4-3c5f7a2d0b86","message":"Task completed","type":"TASK_SUCCESS"},{"createdAt":"2026-10-01T09:08:05Z","kind":"LAKEHOUSE_COMPUTE_POOL_CREATE","link":"/v2/publicCloud/project/5f1c2b3a4d5e6f708192a3b4c5d6e7f8/managedAnalytics/lakehouse/8b0f6d2e-3c4a-4e1b-9f7d-2a6c5e8b1d30/computePool/f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62/task/e1a6c3f9-8d52-4a17-b9e4-3c5f7a2d0b86","message":"Task started","type":"TASK_START"},{"createdAt":"2026-10-01T09:08:00Z","kind":"LAKEHOUSE_COMPUTE_POOL_CREATE","link":null,"message":"Target specification updated","type":"TARGET_SPEC_UPDATE"}],"summary":"The events of a creation that completed."}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@60"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/event\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/event/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume":{"post":{"operationId":"resumeLakehouseComputePool","summary":"Resume a DEDICATED Compute Pool of your lakehouse","description":"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.\n\nThe 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.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePool"},"examples":{"Compute Pool resuming":{"value":{"checksum":"9f66ab9a7db53d62f96df1b40aa74ee7","createdAt":"2026-10-01T09:08:00Z","currentState":{"computeUnits":16,"description":"Reporting engine","name":"reporting","sqlEndpoint":"https://sql.eu-west-par.lakehouse.ovhcloud.example/f3a9c5e7","state":"STARTING","statusReason":null,"tier":"DEDICATED"},"currentTasks":[],"id":"f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62","resourceStatus":"READY","targetSpec":{"description":"Reporting engine","idleSuspendMinutes":30,"maxWorkers":4,"minWorkers":2,"name":"reporting","size":"M","tier":"DEDICATED"},"updatedAt":"2026-10-01T10:02:00Z"},"summary":"The pool with its run state STARTING."}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::ComputePoolNotDedicated":{"value":{"class":"Client::BadRequest::ComputePoolNotDedicated","message":"Only a DEDICATED Compute Pool can be suspended or resumed"}},"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}},"409":{"description":"Error 409 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Conflict::ComputePoolNotRunning":{"value":{"class":"Client::Conflict::ComputePoolNotRunning","message":"The Compute Pool is not in a state that allows this action"}},"Client::Conflict::ResourceInInvalidState":{"value":{"class":"Client::Conflict::ResourceInInvalidState","message":"Resource cannot be modified in its current state"}}}}}},"500":{"description":"Error 500 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Server::InternalServerError::RegionUnavailable":{"value":{"class":"Server::InternalServerError::RegionUnavailable","message":"The lakehouse service of this region is temporarily unavailable. Retry later"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@90"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/resume\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/resume","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend":{"post":{"operationId":"suspendLakehouseComputePool","summary":"Suspend a DEDICATED Compute Pool of your lakehouse","description":"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.\n\nThe 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.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/publicCloud.lakehouse.ComputePool"},"examples":{"Compute Pool suspended":{"value":{"checksum":"9f66ab9a7db53d62f96df1b40aa74ee7","createdAt":"2026-10-01T09:08:00Z","currentState":{"computeUnits":16,"description":"Reporting engine","name":"reporting","sqlEndpoint":"https://sql.eu-west-par.lakehouse.ovhcloud.example/f3a9c5e7","state":"SUSPENDED","statusReason":null,"tier":"DEDICATED"},"currentTasks":[],"id":"f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62","resourceStatus":"READY","targetSpec":{"description":"Reporting engine","idleSuspendMinutes":30,"maxWorkers":4,"minWorkers":2,"name":"reporting","size":"M","tier":"DEDICATED"},"updatedAt":"2026-10-01T10:02:00Z"},"summary":"The pool with its run state SUSPENDED."}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::ComputePoolNotDedicated":{"value":{"class":"Client::BadRequest::ComputePoolNotDedicated","message":"Only a DEDICATED Compute Pool can be suspended or resumed"}},"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}},"409":{"description":"Error 409 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Conflict::ComputePoolNotRunning":{"value":{"class":"Client::Conflict::ComputePoolNotRunning","message":"The Compute Pool is not in a state that allows this action"}},"Client::Conflict::ResourceInInvalidState":{"value":{"class":"Client::Conflict::ResourceInInvalidState","message":"Resource cannot be modified in its current state"}}}}}},"500":{"description":"Error 500 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Server::InternalServerError::RegionUnavailable":{"value":{"class":"Server::InternalServerError::RegionUnavailable","message":"The lakehouse service of this region is temporarily unavailable. Retry later"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@100"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/suspend\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/suspend","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task":{"get":{"operationId":"getAllLakehouseComputePoolTasks","summary":"List the tasks of a Compute Pool of your lakehouse","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/common.Task"}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@70"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/task/get","required":true}],"x-response-identifier":"id","x-expanded-response":"CommonTask"}},"/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}":{"get":{"operationId":"getLakehouseComputePoolTask","summary":"Get a task of a Compute Pool of your lakehouse","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"computePoolId","description":"Compute pool ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"lakehouseId","description":"Lakehouse ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}},{"in":"path","name":"taskId","description":"Task ID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/common.Task"},"examples":{"Completed task":{"value":{"createdAt":"2026-10-01T09:08:00Z","errors":[],"finishedAt":"2026-10-01T09:08:40Z","id":"e1a6c3f9-8d52-4a17-b9e4-3c5f7a2d0b86","link":"/v2/publicCloud/project/5f1c2b3a4d5e6f708192a3b4c5d6e7f8/managedAnalytics/lakehouse/8b0f6d2e-3c4a-4e1b-9f7d-2a6c5e8b1d30/computePool/f3a9c5e7-1b6d-4f82-9c04-5e7b3a1d9f62/task/e1a6c3f9-8d52-4a17-b9e4-3c5f7a2d0b86","message":"Change applied","progress":[{"name":"Provision the resource","status":"DONE"}],"startedAt":"2026-10-01T09:08:05Z","status":"DONE","type":"LAKEHOUSE_COMPUTE_POOL_CREATE","updatedAt":"2026-10-01T09:08:40Z"},"summary":"A creation task that completed."}}}}},"400":{"description":"Error 400 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::BadRequest::InvalidParameter":{"value":{"class":"Client::BadRequest::InvalidParameter","message":"Invalid parameter in the request"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ComputePoolDoesNotExist":{"value":{"class":"Client::NotFound::ComputePoolDoesNotExist","message":"Compute Pool not found"}},"Client::NotFound::LakehouseDoesNotExist":{"value":{"class":"Client::NotFound::LakehouseDoesNotExist","message":"Lakehouse not found"}},"Client::NotFound::TaskDoesNotExist":{"value":{"class":"Client::NotFound::TaskDoesNotExist","message":"Task not found"}}}}}}},"tags":["Managed Analytics","Lakehouse"],"x-developer-hub-navigation":[["Public Cloud","Analytics","Lakehouse","Compute Pools@@@80"]],"x-badges":[{"color":"blue","label":"Alpha version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/lakehouse/{lakehouseId}/computePool/{computePoolId}/task/{taskId}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/lakehouse/computePool/task/get","required":true}],"x-response-identifier":"id"}}},"tags":[{"name":"Managed Analytics","x-tag-expanded":false,"description":"Missing description"},{"name":"Lakehouse","x-tag-expanded":false,"description":"Missing description"}]}
