Skip to main content
POST
Create an import source
Required scopes: metrics:write.

Authorizations

x-chatobserver-key
string
header
required

A workspace API key. Data endpoints require a service-account key with the specified scopes.

Headers

Idempotency-Key
string
required

Unique key for one logical command. Reuse it only when retrying the same request and payload.

Required string length: 16 - 160
Pattern: ^[A-Za-z0-9:_-]+$

Body

application/json
format
enum<string>
required
Available options:
csv,
parquet,
tsv,
xlsx,
jsonl
originalFileName
string
required
Required string length: 1 - 255
contentType
string
required
Required string length: 1 - 160
byteCount
integer
required
Required range: x <= 10737418240
retentionDays
integer
default:7
Required range: 1 <= x <= 365

Response

Successful response.

data
object
required
replayed
required