---
title: "Get All Bot Data"
method: GET
path: "/v1/business/bot-data/all"
tags: ["Botsonic Business Bot data"]
---

# Get All Bot Data

`GET /v1/business/bot-data/all`

Get all Bot Data in a paginated format

## Query parameters

- `search_query` string — Search for data matching particluar query
- `sort_by` 'id' | 'bot_id' | 'url' | 'title' | 'file_type' | 'is_private' | 'error_reason' | 'status' | 'sitemap_id' | 'characters' | 'last_trained_at' | 'resync_job_id' | 'integration_id' | 'third_party_id' | 'container_id' | 'storage_account_id' | 'is_paused' | 'is_added_via_ability' | 'is_deleted' | 'is_in_waiting_room' | 'migration_status' | 'created_at' | 'updated_at' — Select attribute to sort by
- `sort_order` 'asc' | 'desc' — An enumeration.
- `page` integer
- `size` integer

## Response `200`

Successful Response

- CustomPageBotDataOutput
  - `items` BotDataOutput[], required
    - `id` string, uuid, required
    - `bot_id` string, uuid, required
    - `url` string
    - `title` string, required
    - `file_type` 'web_url' | 'google_drive' | 'docx' | 'pptx' | 'xlsx_v2' | 'csv' | 'cs' | 'pdf' | 'txt' | 'py' | 'doc' | 'text' | 'xls' | 'csv_v2' | 'ppt' | 'log' | 'rtf' | 'xlsx' | 'html' | 'md' | 'xls_v2' — An enumeration.
    - `is_private` boolean, required
    - `error_reason` string
    - `status` 'accepted' | 'rejected' | 'processing' | 'processed' | 'deleting' | 'timed_out' | 'resyncing' | 'resync_failed', required — An enumeration.
    - `sitemap_id` string, uuid
    - `characters` integer, required
    - `is_paused` boolean
    - `resync_job_id` string, uuid
    - `last_trained_at` string, date-time
    - `integration_id` string
    - `third_party_id` string
    - `container_id` string
    - `storage_account_id` string
    - `is_deleted` boolean, required
    - `migration_status` 'not_started' | 'in_progress' | 'completed' | 'error' — An enumeration.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `num_timed_out` integer
  - `total` integer
  - `page` integer
  - `size` integer
  - `pages` integer
  - `sort_by` string
  - `sort_order` string
  - `search_value` string
  - `num_timed_out` integer
  - `filter_by` string[]
  - `sitemap_root_url` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/botsonic/apis/botsonic-api-docs.md) · [All operations](https://skmtc.dev/botsonic/apis/botsonic-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botsonic/botsonic-api-docs/revisions/8719fe19681e/schema)
