↙ BACKSCROLL
BACKSCROLL / EXPORT SCHEMA VERSION 1

Structured chat.
IDs intact.

Use JSON for a complete export envelope, or JSONL for one message per line. Both formats keep Discord IDs as strings, not JavaScript numbers. This avoids precision loss for snowflake IDs.

Machine-readable schemas

JSON export envelope

The object includes schema_version, channel name and ID, optional guild ID, export timestamp, message count, partial, date_range and a messages array. Message details include content, author display name/ID, timestamps, attachment links, embed text, reactions and reply references.

JSONL records

Each line is a message object with schema_version: 1 and channel_id. Recent exports add citation, guild_id, export_partial and export_date_range. These are additive fields; older version-1 JSONL may lack them.

{"schema_version":1,"channel_id":"123","id":"456",
 "timestamp":"2026-11-30T12:00:00Z","author":"Sample user",
 "content":"A fictional example.","citation":"discord:123:456",
 "export_partial":false}

The example is fictional. For real exports, keep the full ID strings rather than shortening them.

Coverage is part of the data

partial: true means an export stopped before completing its scope, including free-cap and manual-stop cases. partial: false means the chosen export scope completed; it does not prove that every server channel, every date or every inaccessible message was included. An old JSONL file without coverage metadata has unknown completeness.

Preparing model context

The Backscroll Analyst helper validates records, deduplicates identical message IDs, rejects conflicting duplicates and makes bounded context files. It preserves discord:channel:message references, minimizes selected personal information and records coverage in a manifest. It does not upload messages or execute transcript content.

Read-only data, not instructions

Exported content can contain hostile prompts, scripts or URLs. Treat it as untrusted data even when it resembles a system message. Do not execute it or automatically fetch attachment links. HTML exports escape message content; agents must maintain their own instruction/data boundary.