---
title: "Get a DBaaS task"
method: GET
path: "/dbaas-task/{service}/{id}"
tags: ["dbaas"]
---

# Get a DBaaS task

`GET /dbaas-task/{service}/{id}`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/dbaas-task/{service}/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/dbaas-task/:service/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a DBaaS task

## Path parameters

- `service` string, required
- `id` string, uuid, required

## Response `200`

200

- DbaasTask
  - `id` string, uuid
  - `create-time` string, date-time
  - `result` string
  - `result-codes` object[]
    - `code` string
    - `dbname` string
  - `success` boolean
  - `task-type` string

## Changes

- **2023-02-03** `6e9809fd1444`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/dbaas-task/:service/:id/get.md)

---

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