Skip to main content
POST
Import History

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

Body

application/json

Date bounds select conversations; selected threads include all available replies.

started selects roots in the window. active also scans older roots and selects threads with a message in the window. Neither is a retention policy. Explicit thread links select entire conversations independently of the date window. All bounds are timezone-aware.

dataset_id
string<uuid>
required
channel_ids
string[]
Maximum array length: 50
Maximum array length: 50
threads
SlackThread · object[]
Maximum array length: 50
days
integer | null
Required range: 1 <= x <= 3650
oldest
string<date-time> | null
latest
string<date-time> | null
thread_mode
enum<string>
default:started
Available options:
started,
active
max_requests
integer
default:1000
Required range: 1 <= x <= 10000
max_messages
integer
default:50000
Required range: 1 <= x <= 500000

Response

Successful Response

dataset_id
string<uuid>
required
conversations
integer
default:0
messages
integer
default:0
added
integer
default:0
updated
integer
default:0
unchanged
integer
default:0
deleted
integer
default:0
status
string
default:completed
Allowed value: "completed"