---
title: "Get By Dataset Id"
method: GET
path: "/slack/channels/datasets"
tags: ["Slack App"]
---

# Get By Dataset Id

`GET /slack/channels/datasets`

## Request

- Base URL: `https://api.akkio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.akkio.com/slack/channels/datasets`
- Auth: none declared

Returns a dataset mapping for the given dataset id.

## Query parameters

- `owner_id` string, required
- `dataset_id` string, required

## Response `200`

Successful Response

- PayloadResponseGetDatasetMapping
  - `exists` boolean, required
  - `mapping` SlackChannelMapping
    - `id` string, required
    - `dataset_id` string, required
    - `slack_channel_id` string, required
    - `slack_channel_name` string, required
    - `flow_id` string, nullable

## Other responses

- `422`: Validation Error

---

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