Skip to main content
POST
Ingest a ChatGPT export

Authorizations

Authorization
string
header
required

Your API key (vsk_…), issued at onboarding. Keep it server-side.

Body

application/json
appId
string
required

Your app id. Must match the API key.

Example:

"app_yourapp"

connectionId
string<uuid>
required

An existing, non-revoked connection of that app.

conversations
object[]
required

Raw conversation objects from ChatGPT's conversations.json.

Response

Import finished.

ok
boolean
required
inserted
integer
required
updated
integer
required
unchanged
integer
required
dropped
integer
required

Conversations the database refused even after cleaning (normally 0). They are not imported.

droppedIds
string[]
required

The provider ids of the dropped conversations.

total
integer
required

Conversations in the request.