Creates a custom export schema with user-defined column mappings.
Each column extracts data from system metadata (meta) or from
per-exchange JSON extraction rules (data).
Unique key for idempotent requests. If you retry a request with the same key,
you'll receive the original response without the operation being performed again.
Must be a valid UUID (any version — v4 recommended for uniqueness), up to 128 characters.
Maximum string length: 128
Body
application/json
name
string
required
Schema name. Unique per (account, stream_category) — you can reuse the same name across different categories. Conflicts with built-in schema names for the same category are also rejected.
Example:
"my_trades"
stream_category
enum<string>
required
Stream category this schema applies to. Must match the category of the datastreams it will be used with.
Available options:
trade,
orderbook,
book_update,
quote,
kline,
ticker,
liquidation
Example:
"trade"
columns
object[]
required
Column definitions, in output order. Must contain at least one column. Capped at 100 columns by default; contact support to request a higher limit for your account. Exceeding the limit returns 400 invalid_argument.
Minimum array length: 1
Show child attributes
unfold
object
Per-exchange unfold rules. When an exchange packs multiple events into
one JSON array, unfold expands each element into its own row.
Keys are exchange codes, values specify the JSON path to the array.
Show child attributes
derive
object
Per-exchange derived-field rules. Each exchange maps to a list of synthetic fields computed from the raw message before column extraction. Use this when you need to merge multiple arrays into one (e.g., combine bids and asks into a single tagged array that unfold can then expand into one row per price level). Keys are exchange codes.
Show child attributes
Response
Schema created
Export schema with the content of its latest published version. Returned by create and get-by-id. Exports that reference the schema by name or ID snapshot the latest published version at the time the export is created.
id
string
required
Export schema ID
Pattern: ^sch_[a-f0-9]{32}$
Example:
"sch_0194a1b2c3d4e5f6a7b8c9d0e1f2a3b4"
name
string
required
Schema name
Example:
"normalized"
stream_category
enum<string>
required
Stream category this schema applies to
Available options:
trade,
orderbook,
book_update,
quote,
kline,
ticker,
liquidation
Example:
"trade"
is_built_in
boolean
required
true for schemas provided by Ticksupply (e.g., normalized, book_5, book_20). Built-ins are read-only and cannot be deleted. false for schemas you created.
Example:
false
created_at
string<date-time>
required
Creation timestamp
version
integer
required
Published version number reflected in this response. 1 for a newly created schema.
Example:
1
has_draft
boolean
required
Whether an unpublished draft version exists for this schema.
Example:
false
columns
object[]
required
Column definitions from the latest published version, in output order.
Show child attributes
unfold
object
Per-exchange unfold rules. When an exchange packs multiple events into
one JSON array, unfold expands each element into its own row.
Keys are exchange codes, values specify the JSON path to the array.
Omitted when no unfold rules are configured.
Show child attributes
derive
object
Per-exchange derived-field rules. Each exchange maps to a list of synthetic fields computed before column extraction. Omitted when no derive rules are configured.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Ticksupply API","colors":{"primary":"#8B6914","light":"#D4A860","dark":"#7A5C10"},"logo":{"light":"https://mintcdn.com/ticksupply/Bkil7qbFWdT5lV8p/logo/light.svg?fit=max\u0026auto=format\u0026n=Bkil7qbFWdT5lV8p\u0026q=85\u0026s=59126027f429fca3af1642f619312b73","dark":"https://mintcdn.com/ticksupply/Bkil7qbFWdT5lV8p/logo/dark.svg?fit=max\u0026auto=format\u0026n=Bkil7qbFWdT5lV8p\u0026q=85\u0026s=9c1f1f7a8bdd8e9cac9aef144e5fae6c"},"favicon":"https://mintcdn.com/ticksupply/Bkil7qbFWdT5lV8p/icon/icon.svg?fit=max\u0026auto=format\u0026n=Bkil7qbFWdT5lV8p\u0026q=85\u0026s=bbcde0befc3c5a195a3e27363eaa43aa","api":{"openapi":["openapi.yaml"],"mdx":{"auth":{"method":"key","name":"X-Api-Key"},"server":"https://api.ticksupply.com"}},"navbar":{"links":[{"href":"https://ticksupply.com","label":"Home"},{"href":"mailto:support@ticksupply.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.ticksupply.com"}},"footer":{"socials":{"x":"https://x.com/ticksupply","github":"https://github.com/ticksupply"}},"seo":{"metatags":{"canonical":"https://docs.ticksupply.com"}},"fonts":{"family":"Instrument Sans"},"styling":{"codeblocks":"system","latex":false},"integrations":{},"contextual":{"options":["copy","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ticksupply","hasAudioNarration":false,"actualSubdomain":"ticksupply","customDomains":["docs.ticksupply.com"],"gitSource":{"type":"github","owner":"mityai","repo":"tickstore-docs-public-api","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae943d47696601c884bb230:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API Reference","count":60},{"language":"default","tag":"Documentation","count":16},{"language":"default","tag":"Export Schemas","count":10},{"language":"default","tag":"Subscriptions","count":7},{"language":"default","tag":"Exports","count":6},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Catalog","count":4},{"language":"default","tag":"Examples","count":4},{"language":"default","tag":"SDKs","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"html:not(.dark) body{background-color:#FAFAF7!important}html:not(.dark) #sidebar{background-color:#F8F6F1!important}@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500\u0026display=swap');code:not(pre code){font-family:'JetBrains Mono', ui-monospace, monospace!important;font-size:0.875em}pre code{font-family:'JetBrains Mono', ui-monospace, monospace!important}#content-area{max-width:48rem!important}::selection{background-color:rgba(212, 168, 96, 0.25)}.dark ::selection{background-color:rgba(212, 168, 96, 0.35)}"}]}
{"page":{"pagePath":"api-reference/export-schemas/create-export-schema","slug":"/api-reference/export-schemas/create-export-schema","pageMetadata":{"openapi":"post /v1/export-schemas","title":"Create export schema","description":"Creates a custom export schema with user-defined column mappings.\nEach column extracts data from system metadata (`meta`) or from\nper-exchange JSON extraction rules (`data`).\n","href":"/api-reference/export-schemas/create-export-schema"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a custom export schema with user-defined column mappings.\\nEach column extracts data from system metadata (\", _jsx(_components.code, {\n children: \"meta\"\n }), \") or from\\nper-exchange JSON extraction rules (\", _jsx(_components.code, {\n children: \"data\"\n }), \").\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"openapi":"post /v1/export-schemas","title":"Create export schema","description":"Creates a custom export schema with user-defined column mappings.\nEach column extracts data from system metadata (`meta`) or from\nper-exchange JSON extraction rules (`data`).\n","href":"/api-reference/export-schemas/create-export-schema"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ticksupply/cbdfb87529c26718/posthog.js"],"openApiReferenceData":{"operation":{"operationId":"createExportSchema","summary":"Create export schema","description":"Creates a custom export schema with user-defined column mappings.\nEach column extracts data from system metadata (`meta`) or from\nper-exchange JSON extraction rules (`data`).\n","tags":["Export Schemas"],"x-codeSamples":[{"lang":"python","label":"Python (ticksupply library)","source":"# pip install ticksupply\nfrom ticksupply import Client\n\nclient = Client(api_key=\"\u003capi-key>\")\nschema = client.export_schemas.create(\n name=\"my_trades\",\n stream_category=\"trade\",\n unfold={\"bybit_linear\": {\"path\": \"data\"}},\n columns=[\n {\"output_column\": \"timestamp_ns\",\n \"meta\": {\"value\": \"collection_timestamp_ns\", \"format\": \"ns\"}},\n {\"output_column\": \"price\",\n \"data\": {\"binance\": {\"json\": {\"path\": \"data.p\",\n \"type\": \"decimal(18)\"}}}},\n ],\n)\nprint(schema)\n"},{"lang":"rust","label":"Rust (ticksupply crate)","source":"// cargo add ticksupply\n// cargo add tokio --features full\nuse ticksupply::resources::export_schemas::{\n DataType, ExchangeExtractor, MetaExtraction, MetaValue, SchemaColumn,\n SchemaContent, StreamCategory, TimestampFormat, UnfoldConfig,\n};\nuse ticksupply::Client;\n\n#[tokio::main]\nasync fn main() -> ticksupply::Result\u003c()> {\n let client = Client::with_api_key(\"\u003capi-key>\")?;\n let content = SchemaContent::builder()\n .column(SchemaColumn::meta(\n \"timestamp_ns\",\n MetaExtraction::new(MetaValue::CollectionTimestampNs)\n .format(TimestampFormat::Ns),\n ))\n .column(SchemaColumn::data(\"price\").exchange(\n \"binance\",\n ExchangeExtractor::json(\"data.p\", DataType::Decimal(18)),\n ))\n .unfold(\"bybit_linear\", UnfoldConfig::new(\"data\"))\n .build();\n let schema = client.export_schemas()\n .create(\"my_trades\", StreamCategory::Trade, content)\n .send()\n .await?;\n println!(\"{schema:#?}\");\n Ok(())\n}\n"}],"parameters":["cbff4690-4c0e-4d36-b53c-c627266e0aa8"],"requestBody":"e943c54f-68eb-41c1-9642-c6ee8954c403","responses":{"201":"fa079814-cea3-41df-9b60-a54f0e9aef1a","400":"d7465691-a616-43ac-ac6d-cdd07af852a9","401":"3e3a7e6a-5df0-4631-9aca-0629bf78e0ee","408":"798835ee-7aff-4329-819a-6cf40f170da7","409":"a2d13d01-ddf8-4aec-8f30-2ee5f6492bba","429":"c8f648fd-8931-4752-b1cf-70f666dbd016","500":"d3205d25-6738-46c6-9c01-e83714602a9b"},"method":"post","type":"path","servers":["e97810e0-fae7-4566-ba71-e775142a1c62"],"security":["d5e2b222-8932-47ca-bc7b-491d8169f880"],"path":"/v1/export-schemas","baseUrlOptions":["https://api.ticksupply.com"],"title":"Create export schema","codeSamples":[{"label":"Python (ticksupply library)","lang":"python","source":"# pip install ticksupply\nfrom ticksupply import Client\n\nclient = Client(api_key=\"\u003capi-key>\")\nschema = client.export_schemas.create(\n name=\"my_trades\",\n stream_category=\"trade\",\n unfold={\"bybit_linear\": {\"path\": \"data\"}},\n columns=[\n {\"output_column\": \"timestamp_ns\",\n \"meta\": {\"value\": \"collection_timestamp_ns\", \"format\": \"ns\"}},\n {\"output_column\": \"price\",\n \"data\": {\"binance\": {\"json\": {\"path\": \"data.p\",\n \"type\": \"decimal(18)\"}}}},\n ],\n)\nprint(schema)\n"},{"label":"Rust (ticksupply crate)","lang":"rust","source":"// cargo add ticksupply\n// cargo add tokio --features full\nuse ticksupply::resources::export_schemas::{\n DataType, ExchangeExtractor, MetaExtraction, MetaValue, SchemaColumn,\n SchemaContent, StreamCategory, TimestampFormat, UnfoldConfig,\n};\nuse ticksupply::Client;\n\n#[tokio::main]\nasync fn main() -> ticksupply::Result\u003c()> {\n let client = Client::with_api_key(\"\u003capi-key>\")?;\n let content = SchemaContent::builder()\n .column(SchemaColumn::meta(\n \"timestamp_ns\",\n MetaExtraction::new(MetaValue::CollectionTimestampNs)\n .format(TimestampFormat::Ns),\n ))\n .column(SchemaColumn::data(\"price\").exchange(\n \"binance\",\n ExchangeExtractor::json(\"data.p\", DataType::Decimal(18)),\n ))\n .unfold(\"bybit_linear\", UnfoldConfig::new(\"data\"))\n .build();\n let schema = client.export_schemas()\n .create(\"my_trades\", StreamCategory::Trade, content)\n .send()\n .await?;\n println!(\"{schema:#?}\");\n Ok(())\n}\n"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"cbff4690-4c0e-4d36-b53c-c627266e0aa8":{"name":"Idempotency-Key","in":"header","required":false,"description":"Unique key for idempotent requests. If you retry a request with the same key,\nyou'll receive the original response without the operation being performed again.\n\nMust be a valid UUID (any version — v4 recommended for uniqueness), up to 128 characters.\n","schema":{"type":"string","format":"uuid","maxLength":128,"isRequired":false,"description":"Unique key for idempotent requests. If you retry a request with the same key,\nyou'll receive the original response without the operation being performed again.\n\nMust be a valid UUID (any version — v4 recommended for uniqueness), up to 128 characters.\n","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","stream_category","columns"],"properties":{"name":{"type":"string","description":"Schema name. Unique per `(account, stream_category)` — you can reuse the same name across different categories. Conflicts with built-in schema names for the same category are also rejected.\n","example":"my_trades","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"stream_category":{"type":"string","enum":["trade","orderbook","book_update","quote","kline","ticker","liquidation"],"description":"Stream category this schema applies to. Must match the category of the datastreams it will be used with.\n","example":"trade","isRequired":true,"uniqueKey":"stream_category","typeLabel":"enum\u003cstring>"},"columns":{"type":"array","minItems":1,"description":"Column definitions, in output order. Must contain at least one column. Capped at 100 columns by default; contact support to request a higher limit for your account. Exceeding the limit returns `400 invalid_argument`.\n","items":{"type":"object","required":["output_column"],"properties":{"output_column":{"type":"string","description":"Column name in the exported file","example":"price","isRequired":true,"uniqueKey":"columns.items.[INDEX].output_column","typeLabel":"string"},"meta":{"type":"object","required":["value"],"properties":{"value":{"type":"string","enum":["collection_timestamp_ns"],"description":"System metadata value to extract","isRequired":true,"uniqueKey":"columns.items.[INDEX].meta.value","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["ns","us","ms","s","iso8601"],"default":"ns","description":"Timestamp output format","uniqueKey":"columns.items.[INDEX].meta.format","typeLabel":"enum\u003cstring>"}},"uniqueKey":"columns.items.[INDEX].meta","typeLabel":"object"},"data":{"type":"object","additionalProperties":{"type":"object","properties":{"json":{"type":"object","required":["path","type"],"properties":{"path":{"type":"string","description":"Dot-notation path into the JSON data (e.g., \"p\", \"data.price\")","isRequired":true,"uniqueKey":"columns.items.[INDEX].data.additionalProperties.json.path","typeLabel":"string"},"type":{"type":"string","description":"Data type for extraction. Use decimal(N) for financial values (recommended for price/quantity), f64 for percentages, i64 for integers, string for text, bool for booleans.\n","examples":["decimal(18)","f64","i64","string","bool"],"isRequired":true,"uniqueKey":"columns.items.[INDEX].data.additionalProperties.json.type","typeLabel":"string"}},"uniqueKey":"columns.items.[INDEX].data.additionalProperties.json","typeLabel":"object"},"transform":{"type":"string","description":"SQL expression with {v} placeholder applied after extraction","uniqueKey":"columns.items.[INDEX].data.additionalProperties.transform","typeLabel":"string"}},"uniqueKey":"columns.items.[INDEX].data.additionalProperties","typeLabel":"object"},"description":"Per-exchange extraction map (keys are exchange codes)","uniqueKey":"columns.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"columns.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"columns","typeLabel":"object[]"},"unfold":{"type":"object","additionalProperties":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"Dot-notation path to a JSON array within the raw message. Each element of the array becomes its own row in the output.\n","example":"data","isRequired":true,"uniqueKey":"unfold.additionalProperties.path","typeLabel":"string"}},"uniqueKey":"unfold.additionalProperties","typeLabel":"object"},"description":"Per-exchange unfold rules. When an exchange packs multiple events into\none JSON array, unfold expands each element into its own row.\nKeys are exchange codes, values specify the JSON path to the array.\n","uniqueKey":"unfold","typeLabel":"object"},"derive":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","description":"A synthetic field computed from the raw message before column extraction. Derived fields can be referenced by column paths (`data.{field}.{...}`) and targeted by `unfold.path`. The built-in `book_update` / `normalized` schema uses this to merge `bids` and `asks` into one tagged array.\n","required":["field","op","arrays","tag_field","value_field"],"properties":{"field":{"type":"string","description":"Name of the synthetic field added to the message before extraction.","example":"changes","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].field","typeLabel":"string"},"op":{"type":"string","enum":["tagged_concat"],"description":"Derivation operation. `tagged_concat` concatenates each input array and tags its elements with a discriminator.","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"arrays":{"type":"array","items":{"type":"object","required":["path","tag"],"properties":{"path":{"type":"string","description":"Dot-notation path into the raw message pointing at an array.","example":"data.b","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays.items.[INDEX].path","typeLabel":"string"},"tag":{"type":"string","description":"Tag value applied to each element coming from this array.","example":"bid","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays.items.[INDEX].tag","typeLabel":"string"}},"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays","typeLabel":"object[]"},"tag_field":{"type":"string","description":"Name of the field that receives the tag on each derived element.","example":"side","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].tag_field","typeLabel":"string"},"value_field":{"type":"string","description":"Name of the field that receives the original array element on each derived element.","example":"level","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].value_field","typeLabel":"string"}},"uniqueKey":"derive.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"derive.additionalProperties","typeLabel":"object[]"},"description":"Per-exchange derived-field rules. Each exchange maps to a list of synthetic fields computed from the raw message before column extraction. Use this when you need to merge multiple arrays into one (e.g., combine `bids` and `asks` into a single tagged array that `unfold` can then expand into one row per price level). Keys are exchange codes.\n","uniqueKey":"derive","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"my_trades","stream_category":"trade","unfold":{"bybit_linear":{"path":"data"},"bybit_spot":{"path":"data"}},"columns":[{"output_column":"timestamp_ns","meta":{"value":"collection_timestamp_ns","format":"ns"}},{"output_column":"price","data":{"binance":{"json":{"path":"data.p","type":"decimal(18)"}},"bybit_linear":{"json":{"path":"data.p","type":"decimal(18)"}}}},{"output_column":"quantity","data":{"binance":{"json":{"path":"data.q","type":"decimal(18)"}},"bybit_linear":{"json":{"path":"data.v","type":"decimal(18)"}}}},{"output_column":"side","data":{"binance":{"json":{"path":"data.m","type":"bool"},"transform":"CASE WHEN {v} = false THEN 'buy' ELSE 'sell' END"},"bybit_linear":{"json":{"path":"data.S","type":"string"}}}}]},"examples":{"Example":{"title":"Example","value":{"name":"my_trades","stream_category":"trade","unfold":{"bybit_linear":{"path":"data"},"bybit_spot":{"path":"data"}},"columns":[{"output_column":"timestamp_ns","meta":{"value":"collection_timestamp_ns","format":"ns"}},{"output_column":"price","data":{"binance":{"json":{"path":"data.p","type":"decimal(18)"}},"bybit_linear":{"json":{"path":"data.p","type":"decimal(18)"}}}},{"output_column":"quantity","data":{"binance":{"json":{"path":"data.q","type":"decimal(18)"}},"bybit_linear":{"json":{"path":"data.v","type":"decimal(18)"}}}},{"output_column":"side","data":{"binance":{"json":{"path":"data.m","type":"bool"},"transform":"CASE WHEN {v} = false THEN 'buy' ELSE 'sell' END"},"bybit_linear":{"json":{"path":"data.S","type":"string"}}}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"fa079814-cea3-41df-9b60-a54f0e9aef1a":{"description":"Schema created","content":{"application/json":{"schema":{"type":"object","description":"Export schema with the content of its latest published version. Returned by create and get-by-id. Exports that reference the schema by name or ID snapshot the latest published version at the time the export is created.\n","required":["version","has_draft","columns","id","name","stream_category","is_built_in","created_at"],"properties":{"id":{"type":"string","pattern":"^sch_[a-f0-9]{32}$","description":"Export schema ID","example":"sch_0194a1b2c3d4e5f6a7b8c9d0e1f2a3b4","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","description":"Schema name","example":"normalized","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"stream_category":{"type":"string","enum":["trade","orderbook","book_update","quote","kline","ticker","liquidation"],"description":"Stream category this schema applies to","example":"trade","isRequired":true,"uniqueKey":"stream_category","typeLabel":"enum\u003cstring>"},"is_built_in":{"type":"boolean","description":"`true` for schemas provided by Ticksupply (e.g., `normalized`, `book_5`, `book_20`). Built-ins are read-only and cannot be deleted. `false` for schemas you created.\n","example":false,"isRequired":true,"uniqueKey":"is_built_in","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"version":{"type":"integer","description":"Published version number reflected in this response. `1` for a newly created schema.","example":1,"isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"has_draft":{"type":"boolean","description":"Whether an unpublished draft version exists for this schema.","example":false,"isRequired":true,"uniqueKey":"has_draft","typeLabel":"boolean"},"columns":{"type":"array","description":"Column definitions from the latest published version, in output order.","items":{"type":"object","required":["output_column"],"properties":{"output_column":{"type":"string","description":"Column name in the exported file","example":"price","isRequired":true,"uniqueKey":"columns.items.[INDEX].output_column","typeLabel":"string"},"meta":{"type":"object","required":["value"],"properties":{"value":{"type":"string","enum":["collection_timestamp_ns"],"description":"System metadata value to extract","isRequired":true,"uniqueKey":"columns.items.[INDEX].meta.value","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["ns","us","ms","s","iso8601"],"default":"ns","description":"Timestamp output format","uniqueKey":"columns.items.[INDEX].meta.format","typeLabel":"enum\u003cstring>"}},"uniqueKey":"columns.items.[INDEX].meta","typeLabel":"object"},"data":{"type":"object","additionalProperties":{"type":"object","properties":{"json":{"type":"object","required":["path","type"],"properties":{"path":{"type":"string","description":"Dot-notation path into the JSON data (e.g., \"p\", \"data.price\")","isRequired":true,"uniqueKey":"columns.items.[INDEX].data.additionalProperties.json.path","typeLabel":"string"},"type":{"type":"string","description":"Data type for extraction. Use decimal(N) for financial values (recommended for price/quantity), f64 for percentages, i64 for integers, string for text, bool for booleans.\n","examples":["decimal(18)","f64","i64","string","bool"],"isRequired":true,"uniqueKey":"columns.items.[INDEX].data.additionalProperties.json.type","typeLabel":"string"}},"uniqueKey":"columns.items.[INDEX].data.additionalProperties.json","typeLabel":"object"},"transform":{"type":"string","description":"SQL expression with {v} placeholder applied after extraction","uniqueKey":"columns.items.[INDEX].data.additionalProperties.transform","typeLabel":"string"}},"uniqueKey":"columns.items.[INDEX].data.additionalProperties","typeLabel":"object"},"description":"Per-exchange extraction map (keys are exchange codes)","uniqueKey":"columns.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"columns.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"columns","typeLabel":"object[]"},"unfold":{"type":"object","additionalProperties":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"Dot-notation path to a JSON array within the raw message. Each element of the array becomes its own row in the output.\n","example":"data","isRequired":true,"uniqueKey":"unfold.additionalProperties.path","typeLabel":"string"}},"uniqueKey":"unfold.additionalProperties","typeLabel":"object"},"description":"Per-exchange unfold rules. When an exchange packs multiple events into\none JSON array, unfold expands each element into its own row.\nKeys are exchange codes, values specify the JSON path to the array.\nOmitted when no unfold rules are configured.\n","uniqueKey":"unfold","typeLabel":"object"},"derive":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","description":"A synthetic field computed from the raw message before column extraction. Derived fields can be referenced by column paths (`data.{field}.{...}`) and targeted by `unfold.path`. The built-in `book_update` / `normalized` schema uses this to merge `bids` and `asks` into one tagged array.\n","required":["field","op","arrays","tag_field","value_field"],"properties":{"field":{"type":"string","description":"Name of the synthetic field added to the message before extraction.","example":"changes","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].field","typeLabel":"string"},"op":{"type":"string","enum":["tagged_concat"],"description":"Derivation operation. `tagged_concat` concatenates each input array and tags its elements with a discriminator.","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"arrays":{"type":"array","items":{"type":"object","required":["path","tag"],"properties":{"path":{"type":"string","description":"Dot-notation path into the raw message pointing at an array.","example":"data.b","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays.items.[INDEX].path","typeLabel":"string"},"tag":{"type":"string","description":"Tag value applied to each element coming from this array.","example":"bid","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays.items.[INDEX].tag","typeLabel":"string"}},"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].arrays","typeLabel":"object[]"},"tag_field":{"type":"string","description":"Name of the field that receives the tag on each derived element.","example":"side","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].tag_field","typeLabel":"string"},"value_field":{"type":"string","description":"Name of the field that receives the original array element on each derived element.","example":"level","isRequired":true,"uniqueKey":"derive.additionalProperties.items.[INDEX].value_field","typeLabel":"string"}},"uniqueKey":"derive.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"derive.additionalProperties","typeLabel":"object[]"},"description":"Per-exchange derived-field rules. Each exchange maps to a list of synthetic fields computed before column extraction. Omitted when no derive rules are configured.\n","uniqueKey":"derive","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"sch_0194a1b2c3d4e5f6a7b8c9d0e1f2a3b4","name":"normalized","stream_category":"trade","is_built_in":false,"created_at":"2023-11-07T05:31:56Z","version":1,"has_draft":false,"columns":[{"output_column":"price","meta":{"value":"collection_timestamp_ns","format":"ns"},"data":{}}],"unfold":{},"derive":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"d7465691-a616-43ac-ac6d-cdd07af852a9":{"description":"Invalid request parameters","headers":{"X-Request-Id":{"description":"Unique request identifier for support inquiries","schema":{"type":"string","example":"req_abc123def456"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code for programmatic handling","enum":["invalid_argument","unauthenticated","permission_denied","not_found","already_exists","request_timeout","rate_limited","payment_required","internal","unavailable"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details (optional)","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"invalid_argument","message":"Invalid datastream_id: must be a positive integer"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_argument","message":"Invalid datastream_id: must be a positive integer"}}}},"exampleType":"examples"}},"exampleType":"examples"},"3e3a7e6a-5df0-4631-9aca-0629bf78e0ee":{"description":"Missing or invalid API key","headers":{"X-Request-Id":{"description":"Unique request identifier for support inquiries","schema":{"type":"string","example":"req_abc123def456"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code for programmatic handling","enum":["invalid_argument","unauthenticated","permission_denied","not_found","already_exists","request_timeout","rate_limited","payment_required","internal","unavailable"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details (optional)","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"unauthenticated","message":"Invalid or missing API key"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthenticated","message":"Invalid or missing API key"}}}},"exampleType":"examples"}},"exampleType":"examples"},"798835ee-7aff-4329-819a-6cf40f170da7":{"description":"Request did not complete within the 10-second deadline. Retry with\nexponential backoff. If you see this consistently on a particular\nendpoint, contact support.\n","headers":{"X-Request-Id":{"description":"Unique request identifier for support inquiries","schema":{"type":"string","example":"req_abc123def456"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code for programmatic handling","enum":["invalid_argument","unauthenticated","permission_denied","not_found","already_exists","request_timeout","rate_limited","payment_required","internal","unavailable"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details (optional)","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"request_timeout","message":"Request exceeded 10s deadline"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"request_timeout","message":"Request exceeded 10s deadline"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a2d13d01-ddf8-4aec-8f30-2ee5f6492bba":{"description":"Schema name conflict. Returned when either:\n- The name is already used by one of your schemas for this `stream_category`.\n- The name conflicts with a built-in schema (e.g., `normalized`, `book_5`, `book_20`) for this `stream_category`.\n\nReuse the same name under a different `stream_category`, or pick a different name.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code for programmatic handling","enum":["invalid_argument","unauthenticated","permission_denied","not_found","already_exists","request_timeout","rate_limited","payment_required","internal","unavailable"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details (optional)","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_argument","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c8f648fd-8931-4752-b1cf-70f666dbd016":{"description":"Rate limit exceeded","headers":{"X-Request-Id":{"description":"Unique request identifier for support inquiries","schema":{"type":"string","example":"req_abc123def456"}},"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer"}},"X-RateLimit-Limit-Minute":{"description":"Maximum requests allowed per minute","schema":{"type":"integer"}},"X-RateLimit-Remaining-Minute":{"description":"Requests remaining in the current minute window","schema":{"type":"integer"}},"X-RateLimit-Reset-Minute":{"description":"Unix timestamp (seconds) when the minute window next has capacity. Included only when the minute bucket is exhausted.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Maximum requests allowed per hour","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests remaining in the current hour window","schema":{"type":"integer"}},"X-RateLimit-Reset-Hour":{"description":"Unix timestamp (seconds) when the hour window next has capacity. Included only when the hour bucket is exhausted.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code for programmatic handling","enum":["invalid_argument","unauthenticated","permission_denied","not_found","already_exists","request_timeout","rate_limited","payment_required","internal","unavailable"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details (optional)","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"rate_limited","message":"Rate limit exceeded. Retry after 30 seconds."}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limited","message":"Rate limit exceeded. Retry after 30 seconds."}}}},"exampleType":"examples"}},"exampleType":"examples"},"d3205d25-6738-46c6-9c01-e83714602a9b":{"description":"Internal server error","headers":{"X-Request-Id":{"description":"Unique request identifier for support inquiries","schema":{"type":"string","example":"req_abc123def456"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code for programmatic handling","enum":["invalid_argument","unauthenticated","permission_denied","not_found","already_exists","request_timeout","rate_limited","payment_required","internal","unavailable"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details (optional)","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"internal","message":"An internal error occurred"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"internal","message":"An internal error occurred"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"d5e2b222-8932-47ca-bc7b-491d8169f880":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your API key. Get one from the dashboard at https://app.ticksupply.com/api-keys","scopes":[]}}},"servers":{"e97810e0-fae7-4566-ba71-e775142a1c62":{"url":"https://api.ticksupply.com","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your API key. Get one from the dashboard at https://app.ticksupply.com/api-keys","scopes":[]},"schema":{"title":"X-Api-Key","type":"string","description":"Your API key. Get one from the dashboard at https://app.ticksupply.com/api-keys","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-Api-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"ticksupply","siteName":"Ticksupply API","title":"Create export schema - Ticksupply API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-05T21:46:07.135Z","originalFileLocation":"api-reference/export-schemas/create-export-schema.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a custom export schema with user-defined column mappings. Each column extracts data from system metadata (meta) or from per-exchange JSON extraction rules (data).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ticksupply API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create export schema - Ticksupply API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a custom export schema with user-defined column mappings. Each column extracts data from system metadata (meta) or from per-exchange JSON extraction rules (data).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ticksupply API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ticksupply.mintlify.site/_mintlify/api/og/v2?division=Export+Schemas\u0026amp;title=Create+export+schema\u0026amp;description=Creates+a+custom+export+schema+with+user-defined+column+mappings.%0AEach+column+extracts+data+from+system+metadata+%28%60meta%60%29+or+from%0Aper-exchange+JSON+extraction+r\u0026amp;theme=dbdff359664d6b90a80e4fb6\u0026amp;signature=7eb32fade8091591cd2ead65fc901e2fb68d9006393e3d12f3e6cbb346c71682\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create export schema - Ticksupply API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a custom export schema with user-defined column mappings. Each column extracts data from system metadata (meta) or from per-exchange JSON extraction rules (data).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ticksupply.mintlify.site/_mintlify/api/og/v2?division=Export+Schemas\u0026amp;title=Create+export+schema\u0026amp;description=Creates+a+custom+export+schema+with+user-defined+column+mappings.%0AEach+column+extracts+data+from+system+metadata+%28%60meta%60%29+or+from%0Aper-exchange+JSON+extraction+r\u0026amp;theme=dbdff359664d6b90a80e4fb6\u0026amp;signature=7eb32fade8091591cd2ead65fc901e2fb68d9006393e3d12f3e6cbb346c71682\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ticksupply/ATbVu_5EQV1LcYG5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ticksupply API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8B6914\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/export-schemas/create-export-schema.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ticksupply.com/#organization\",\"name\":\"Ticksupply API\",\"url\":\"https://docs.ticksupply.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ticksupply/Bkil7qbFWdT5lV8p/logo/light.svg?fit=max\u0026auto=format\u0026n=Bkil7qbFWdT5lV8p\u0026q=85\u0026s=59126027f429fca3af1642f619312b73\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ticksupply.com#website\",\"name\":\"Ticksupply API\",\"url\":\"https://docs.ticksupply.com\",\"publisher\":{\"@id\":\"https://docs.ticksupply.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema#webpage\",\"url\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema\",\"name\":\"Create export schema\",\"description\":\"Creates a custom export schema with user-defined column mappings. Each column extracts data from system metadata (meta) or from per-exchange JSON extraction rules (data).\",\"dateModified\":\"2026-04-05T21:46:07.135Z\",\"isPartOf\":{\"@id\":\"https://docs.ticksupply.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.ticksupply.com/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Export Schemas\",\"item\":\"https://docs.ticksupply.com/api-reference/export-schemas/list-export-schemas\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create export schema\",\"item\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema#apireference\",\"headline\":\"Create export schema\",\"name\":\"Create export schema\",\"description\":\"Creates a custom export schema with user-defined column mappings. Each column extracts data from system metadata (meta) or from per-exchange JSON extraction rules (data).\",\"url\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ticksupply.com/api-reference/export-schemas/create-export-schema#webpage\"},\"dateModified\":\"2026-04-05T21:46:07.135Z\",\"publisher\":{\"@id\":\"https://docs.ticksupply.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ticksupply.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ticksupply API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ticksupply API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/export-schemas/create-export-schema.md","siteName":"Ticksupply API","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":""}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"API Reference","pages":[{"title":"API Reference Overview","sidebarTitle":"Overview","href":"/api-reference/overview"},{"group":"Catalog","expanded":false,"pages":[{"openapi":"get /v1/exchanges","title":"List exchanges","href":"/api-reference/catalog/list-exchanges"},{"openapi":"get /v1/exchanges/{exchange}/instruments","title":"List instruments","href":"/api-reference/catalog/list-instruments"},{"openapi":"get /v1/exchanges/{exchange}/datastreams","title":"List datastreams for exchange","href":"/api-reference/catalog/list-exchange-datastreams"},{"openapi":"get /v1/exchanges/{exchange}/instruments/{instrument}/datastreams","title":"List datastreams for instrument","href":"/api-reference/catalog/list-instrument-datastreams"}]},{"group":"Subscriptions","expanded":false,"pages":[{"openapi":"get /v1/subscriptions","title":"List subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"openapi":"post /v1/subscriptions","title":"Create subscription","href":"/api-reference/subscriptions/create-subscription"},{"openapi":"get /v1/subscriptions/{id}","title":"Get subscription","href":"/api-reference/subscriptions/get-subscription"},{"openapi":"delete /v1/subscriptions/{id}","title":"Delete subscription","href":"/api-reference/subscriptions/delete-subscription"},{"openapi":"post /v1/subscriptions/{id}/pause","title":"Pause subscription","href":"/api-reference/subscriptions/pause-subscription"},{"openapi":"post /v1/subscriptions/{id}/resume","title":"Resume subscription","href":"/api-reference/subscriptions/resume-subscription"},{"openapi":"get /v1/subscriptions/{id}/spans","title":"Get subscription spans","href":"/api-reference/subscriptions/get-subscription-spans"}]},{"group":"Export Schemas","expanded":false,"pages":[{"openapi":"get /v1/export-schemas","title":"List export schemas","description":"Returns all export schemas available to your account, including built-in\nschemas and any custom schemas you have created.\n","href":"/api-reference/export-schemas/list-export-schemas"},{"openapi":"post /v1/export-schemas","title":"Create export schema","href":"/api-reference/export-schemas/create-export-schema"},{"openapi":"get /v1/export-schemas/{id}","title":"Get export schema","description":"Returns a single export schema with its column definitions.","href":"/api-reference/export-schemas/get-export-schema"},{"openapi":"put /v1/export-schemas/{id}","title":"Update export schema","href":"/api-reference/export-schemas/update-export-schema"},{"openapi":"delete /v1/export-schemas/{id}","title":"Delete export schema","href":"/api-reference/export-schemas/delete-export-schema"},{"openapi":"post /v1/export-schemas/{id}/draft","title":"Create or replace draft","href":"/api-reference/export-schemas/create-draft"},{"openapi":"get /v1/export-schemas/{id}/draft","title":"Get draft","href":"/api-reference/export-schemas/get-draft"},{"openapi":"put /v1/export-schemas/{id}/draft","title":"Update draft","href":"/api-reference/export-schemas/update-draft"},{"openapi":"delete /v1/export-schemas/{id}/draft","title":"Discard draft","href":"/api-reference/export-schemas/discard-draft"},{"openapi":"post /v1/export-schemas/{id}/publish","title":"Publish draft","href":"/api-reference/export-schemas/publish-draft"}]},{"group":"Exports","expanded":false,"pages":[{"openapi":"get /v1/exports","title":"List exports","href":"/api-reference/exports/list-exports"},{"openapi":"post /v1/exports","title":"Create export","href":"/api-reference/exports/create-export"},{"openapi":"get /v1/exports/{id}","title":"Get export","href":"/api-reference/exports/get-export"},{"openapi":"post /v1/exports/{id}/cancel","title":"Cancel export","href":"/api-reference/exports/cancel-export"},{"openapi":"delete /v1/exports/{id}","title":"Delete export","href":"/api-reference/exports/delete-export"},{"openapi":"get /v1/exports/{id}/download","title":"Download export","href":"/api-reference/exports/download-export"}]},{"group":"Availability","expanded":false,"pages":[{"openapi":"get /v1/availability","title":"Get data availability","href":"/api-reference/availability/get-data-availability"}]},{"group":"Billing","expanded":false,"pages":[{"openapi":"get /v1/billing/summary","title":"Get billing summary","href":"/api-reference/billing/get-billing-summary"}]}]}]},{"anchor":"Changelog","icon":"list","href":"https://docs.ticksupply.com/changelog"}]},"basePath":"","title":"Create export schema - Ticksupply API","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","SectionHeading-Cc2r-uqU.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}