A .csv file with a header row and one row per LLM call, up to 100 MB and 50,000 rows.
Field
Required
Content
Call name
Yes
The call the row belongs to, e.g. draft-reply. You can also type one call name for every row.
Input
Yes
The request, as JSON in the OpenAI Chat Completions format: messages, and the tools, parameters and response_format it set. A list of messages alone works too. A call that makes tool calls needs its tools.
Timestamp
Yes
ISO 8601, e.g. 2026-09-24T14:05:00Z. Read as UTC without a timezone.
Model name
Yes
e.g. gpt-6-luna, or google/gemini-3.8-flash to also give the provider.
Input tokens
Yes, or Usage details
Cached tokens included.
Output tokens
Yes, or Usage details
Reasoning tokens included.
Usage details
No
Both token counts as JSON, as Langfuse exports them: {"input": "17076", "output": "20"}. Rows where it is empty are skipped.
Output
No
The answer, as JSON: an OpenAI assistant message, or a JSON string ("billing" with its quotes).
Provider
No
e.g. openai, anthropic, bedrock, vertex, azure. Prices the call at that provider; read from the model name when empty.
Customer name
No
The customer the call was made for.
Run tags
No
A JSON object of tags to filter on, e.g. {"plan": "pro"}.
Give this prompt to your coding agent with your export: it writes and runs a script that converts the file to the format above.
Show the prompt
# Task: convert my LLM call export into a CSV Weflayr can importWrite a script that reads my export of past LLM calls and writes a CSV file Weflayr imports, then run it on my file. Ask me for the export, or a few rows of it, if you do not have it.## Output file- UTF-8, comma-separated, with a header row naming the columns below, exactly as written.- One row per LLM call. Leave out the rows of my export that are not a model call, such as tracing spans with no model or no token usage.- A cell holding JSON holds it as text, quoted as CSV requires.- Leave the cell of an optional column empty when my export has no value for it.## Columns### call_name (required)The call each row belongs to, such as draft-reply. A benchmark replays the rows of the calls it picks.### input (required)The request the call sent to the model, as JSON, in the OpenAI Chat Completions format: its messages, the tools the model could call, the parameters it set (temperature, max_tokens, top_p, stop, seed, reasoning_effort...) and, for a structured output, its response_format. A benchmark replays the call with them. A call that makes tool calls is refused without its tools. A call setting nothing but its messages can hold just the list of messages.Example cell:```json{ "messages": [ { "role": "system", "content": "..." }, { "role": "user", "content": [ { "type": "text", "text": "..." } ] } ], "tools": [ { "type": "function", "function": { "name": "xxx", "description": "...", "parameters": { "type": "object", "properties": {} } } } ], "temperature": 0.2, "max_tokens": 1000, "response_format": { "type": "json_schema", "json_schema": { "name": "xxx", "schema": { "type": "object", "properties": {} } } }}```Extra fields are accepted, but not used.### output (optional)The answer the model gave, as JSON: an assistant message in the OpenAI Chat Completions format, or a string. Candidates are judged against it.Example cell:```json{ "role": "assistant", "content": "...", "tool_calls": [ { "id": "xx", "type": "function", "function": { "name": "xxx", "arguments": "{}" } } ]}```Extra fields are accepted, but not used.### timestamp (required)When the call was made, in ISO 8601, such as 2026-09-24T14:05:00Z. A time without a timezone is read as UTC.### model_name (required)The model that answered, such as gpt-6-luna, or its provider and model, such as google/gemini-3.8-flash, in which case the Provider column is not read. A benchmark compares candidates with it when it compares them to production.### provider (optional)The provider the call was sent to, such as openai, anthropic, bedrock, vertex or azure. Its cost is computed at that provider's price. Left empty, the provider is read from the model name, at the price of the company that makes the model.### input_tokens (required)The number of tokens the call's input counted, cached ones included. Its cost and a benchmark's price are computed from it.### output_tokens (required)The number of tokens the model's answer counted, reasoning included. Its cost and a benchmark's price are computed from it.### usage_details (optional)The call's input and output tokens in one JSON object, as Langfuse exports them, in place of the Input tokens and Output tokens columns. A row whose usage details are empty, such as a span that called no model, is skipped.Example cell:```json{ "input": "17076", "output": "20" }```Extra fields are accepted, but not used.### customer_name (optional)The customer the call was made for.### run_tags (optional)Tags to filter the calls by, as a JSON object of names and values.Example cell:```json{ "plan": "pro", "region": "eu" }```
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Weflayr Docs","description":"Weflayr: route every LLM call to the cheapest model that keeps your quality, and see your AI cost and margin per customer.","colors":{"primary":"#2E1B11","light":"#C7F04A","dark":"#0F0704"},"logo":{"light":"https://mintcdn.com/weflayr/jf99vD0W4dsGuj5S/images/logo-light-mode.svg?fit=max\u0026auto=format\u0026n=jf99vD0W4dsGuj5S\u0026q=85\u0026s=946f2cb0880dbdf0a0fbeaef912f21cd","dark":"https://mintcdn.com/weflayr/jf99vD0W4dsGuj5S/images/logo-dark-mode.svg?fit=max\u0026auto=format\u0026n=jf99vD0W4dsGuj5S\u0026q=85\u0026s=7b7356cb9bc85d3c21d94701fc3a4170","href":"/"},"favicon":"https://mintcdn.com/weflayr/5F8K-KIhlauIBT6x/images/favicon.svg?fit=max\u0026auto=format\u0026n=5F8K-KIhlauIBT6x\u0026q=85\u0026s=9f295bd67465b8cc7513661a806cb547","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"}}},"background":{"color":{"light":"#F9F5F1","dark":"#100C0A"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"For agents","icon":{"style":"regular","name":"robot"},"href":"https://docs.weflayr.com/for-agents"},{"anchor":"Talk to us","icon":{"style":"regular","name":"calendar"},"href":"https://calendly.com/noe-weflayr/30min"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"weflayr","hasAudioNarration":false,"actualSubdomain":"weflayr","customDomains":["docs.weflayr.com"],"gitSource":{"type":"github","owner":"weflayr","repo":"weflayr","deployBranch":"mintlify-doc","contentDirectory":"docs/mintlify_documentation","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af3631b1f38dc5cafeaf1ff","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API reference","count":49},{"language":"default","tag":"Management","count":43},{"language":"default","tag":"Platform","count":15},{"language":"default","tag":"Get started","count":11},{"language":"default","tag":"Benchmarks","count":9},{"language":"default","tag":"SDKs","count":9},{"language":"default","tag":"Project","count":7},{"language":"default","tag":"Configure","count":7},{"language":"default","tag":"Routing strategies","count":6},{"language":"default","tag":"Evaluators","count":6}],"searchSettings":{"maxResults":10}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--weflayr-font-sans: \"Helvetica Neue\", Helvetica, \"Segoe UI\", Arial, sans-serif;--weflayr-content: #201713;--weflayr-supportive: #68554b;--weflayr-line: #ece6df;--weflayr-surface: #ffffff;--weflayr-hover: rgb(74 61 54 / 0.08);--weflayr-focus: #a5988d;--weflayr-brand: #c7f04a;--weflayr-on-brand: #2e1b11}html.dark{--weflayr-content: #f9f5f1;--weflayr-supportive: #a5988d;--weflayr-line: #4a3d36;--weflayr-surface: #201713;--weflayr-hover: rgb(165 152 141 / 0.12);--weflayr-focus: #68554b}html,body{font-family:var(--weflayr-font-sans)}#content-area{color:var(--weflayr-content)}#content-area h1{font-size:1.875rem;line-height:2.375rem;letter-spacing:-0.02em}#content-area h2:not([data-component-part]){font-size:1.3125rem;line-height:1.75rem}#content-area h3:not([data-component-part]){font-size:1.0625rem;line-height:1.5rem}#sidebar{width:16rem}#sidebar a,#sidebar button{padding-top:0.25rem;padding-bottom:0.25rem}#sidebar a[aria-current=\"page\"],#sidebar button.text-primary{background-color:var(--weflayr-surface);box-shadow:inset 0 0 0 1px var(--weflayr-line);color:var(--weflayr-content)}#sidebar a:not([aria-current=\"page\"]):hover{background-color:var(--weflayr-hover)}.card{background-color:var(--weflayr-surface);border-color:var(--weflayr-line);border-radius:12px}.card:hover{border-color:var(--weflayr-focus)!important}.card [data-component-part=\"card-title\"]{color:var(--weflayr-content)}.card [data-component-part=\"card-content\"]{color:var(--weflayr-supportive)}.card [data-component-part=\"card-icon\"]>svg{background-color:var(--weflayr-on-brand)}html.dark .card [data-component-part=\"card-icon\"]>svg{background-color:var(--weflayr-brand)}#navbar .nav-logo{height:1.25rem}html.dark img[src*=\"/images/icons/\"]{filter:invert(1)}#sidebar svg[class*=\"bg-[color:CanvasText]\"]{background-color:black}html.dark #sidebar svg[class*=\"bg-[color:CanvasText]\"]{background-color:white}#sidebar .nav-anchor>div{box-shadow:none;background:none!important;padding:0;margin-right:0.75rem}"}],"page":{"pagePath":"product/import-past-calls","slug":"/product/import-past-calls","pageMetadata":{"title":"Import past calls","description":"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.","href":"/product/import-past-calls"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Frame,Heading,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Upload a CSV from `,_jsx(_components.a,{href:`/product/model-benchmarks`,children:`Model benchmarks`}),`, or send the calls via API. They are ready to `,_jsx(_components.a,{href:`/product/create-a-benchmark`,children:`benchmark`}),` within a minute.`]}),`\n`,_jsx(Frame,{children:_jsx(`video`,{src:`https://mintcdn.com/weflayr/gQ4NnqAYQo0h7eyp/images/product/import-past-calls.mp4?fit=max\u0026auto=format\u0026n=gQ4NnqAYQo0h7eyp\u0026q=85\u0026s=8902b50f91459b31d78392cb1d8cc177`,poster:`/images/product/import-past-calls-poster.jpg`,\"aria-label\":`Import your past data: upload a CSV, columns mapped automatically, then 300 calls imported`,controls:true,loop:true,muted:true,playsInline:true,preload:`metadata`,className:`mint-w-full mint-rounded-xl`,\"data-path\":`images/product/import-past-calls.mp4`})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Not sure your export has the right shape? Give your file to your coding agent with the `,_jsx(_components.a,{href:`#formatting-prompt`,children:`formatting prompt`}),`: it converts the file to the format below.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`file-format`,children:`File format`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`.csv`}),` file with a header row and one row per LLM call, up to 100 MB and 50,000 rows.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Content`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Call name`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The call the row belongs to, e.g. `,_jsx(_components.code,{children:`draft-reply`}),`. You can also type one call name for every row.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Input`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The request, as JSON in the OpenAI Chat Completions format: `,_jsx(_components.code,{children:`messages`}),`, and the `,_jsx(_components.code,{children:`tools`}),`, parameters and `,_jsx(_components.code,{children:`response_format`}),` it set. A list of messages alone works too. A call that makes tool calls needs its `,_jsx(_components.code,{children:`tools`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Timestamp`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`ISO 8601, e.g. `,_jsx(_components.code,{children:`2026-09-24T14:05:00Z`}),`. Read as UTC without a timezone.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Model name`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`e.g. `,_jsx(_components.code,{children:`gpt-6-luna`}),`, or `,_jsx(_components.code,{children:`google/gemini-3.8-flash`}),` to also give the provider.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Input tokens`}),_jsx(_components.td,{children:`Yes, or Usage details`}),_jsx(_components.td,{children:`Cached tokens included.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Output tokens`}),_jsx(_components.td,{children:`Yes, or Usage details`}),_jsx(_components.td,{children:`Reasoning tokens included.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Usage details`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Both token counts as JSON, as Langfuse exports them: `,_jsx(_components.code,{children:`{\"input\": \"17076\", \"output\": \"20\"}`}),`. Rows where it is empty are skipped.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Output`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The answer, as JSON: an OpenAI assistant message, or a JSON string (`,_jsx(_components.code,{children:`\"billing\"`}),` with its quotes).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Provider`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`e.g. `,_jsx(_components.code,{children:`openai`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`bedrock`}),`, `,_jsx(_components.code,{children:`vertex`}),`, `,_jsx(_components.code,{children:`azure`}),`. Prices the call at that provider; read from the model name when empty.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Customer name`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The customer the call was made for.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Run tags`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`A JSON object of tags to filter on, e.g. `,_jsx(_components.code,{children:`{\"plan\": \"pro\"}`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`formatting-prompt`,children:`Formatting prompt`}),`\n`,_jsx(_components.p,{children:`Give this prompt to your coding agent with your export: it writes and runs a script that converts the file to the format above.`}),`\n`,_jsx(Accordion,{title:`Show the prompt`,id:`show-the-prompt`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`86`,language:`markdown`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`86`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`# Task: convert my LLM call export into a CSV Weflayr can import`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Write a script that reads my export of past LLM calls and writes a CSV file Weflayr imports, then run it on my file. Ask me for the export, or a few rows of it, if you do not have it.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`## Output file`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` UTF-8, comma-separated, with a header row naming the columns below, exactly as written.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` One row per LLM call. Leave out the rows of my export that are not a model call, such as tracing spans with no model or no token usage.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` A cell holding JSON holds it as text, quoted as CSV requires.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Leave the cell of an optional column empty when my export has no value for it.`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`## Columns`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### call_name (required)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The call each row belongs to, such as draft-reply. A benchmark replays the rows of the calls it picks.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### input (required)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The request the call sent to the model, as JSON, in the OpenAI Chat Completions format: its messages, the tools the model could call, the parameters it set (temperature, max_tokens, top_p, stop, seed, reasoning_effort...) and, for a structured output, its response_format. A benchmark replays the call with them. A call that makes tool calls is refused without its tools. A call setting nothing but its messages can hold just the list of messages.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Example cell:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```json\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"system\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ] }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"function\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"xxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parameters\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {} } } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"temperature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"json_schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"json_schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"xxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {} } } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Extra fields are accepted, but not used.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### output (optional)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The answer the model gave, as JSON: an assistant message in the OpenAI Chat Completions format, or a string. Candidates are judged against it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Example cell:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```json\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"xx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"function\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"xxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"arguments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Extra fields are accepted, but not used.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### timestamp (required)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`When the call was made, in ISO 8601, such as 2026-09-24T14:05:00Z. A time without a timezone is read as UTC.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### model_name (required)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The model that answered, such as gpt-6-luna, or its provider and model, such as google/gemini-3.8-flash, in which case the Provider column is not read. A benchmark compares candidates with it when it compares them to production.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### provider (optional)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The provider the call was sent to, such as openai, anthropic, bedrock, vertex or azure. Its cost is computed at that provider's price. Left empty, the provider is read from the model name, at the price of the company that makes the model.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### input_tokens (required)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The number of tokens the call's input counted, cached ones included. Its cost and a benchmark's price are computed from it.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### output_tokens (required)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The number of tokens the model's answer counted, reasoning included. Its cost and a benchmark's price are computed from it.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### usage_details (optional)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The call's input and output tokens in one JSON object, as Langfuse exports them, in place of the Input tokens and Output tokens columns. A row whose usage details are empty, such as a span that called no model, is skipped.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Example cell:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```json\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"17076\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"20\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Extra fields are accepted, but not used.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### customer_name (optional)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The customer the call was made for.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`### run_tags (optional)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Tags to filter the calls by, as a JSON object of names and values.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Example cell:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```json\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"plan\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pro\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"region\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"```\"})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`with-the-api`,children:`With the API`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api/management/import-past-data`,children:`Import past data`}),` does the same, with one JSON object per call holding the `,_jsx(_components.a,{href:`#file-format`,children:`fields`}),` above.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Import past calls","description":"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.","href":"/product/import-past-calls"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"File format","slug":"file-format","depth":2,"children":[]},{"title":"Formatting prompt","slug":"formatting-prompt","depth":2,"children":[]},{"title":"With the API","slug":"with-the-api","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"weflayr","siteName":"Weflayr Docs","title":"Import past calls - Weflayr Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-07T21:07:10.385Z","originalFileLocation":"product/import-past-calls.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=\"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Weflayr Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/weflayr/WfwX99VEbh4c__vK/_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/weflayr/WfwX99VEbh4c__vK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/weflayr/WfwX99VEbh4c__vK/_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/weflayr/WfwX99VEbh4c__vK/_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/weflayr/WfwX99VEbh4c__vK/_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/weflayr/WfwX99VEbh4c__vK/_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/weflayr/WfwX99VEbh4c__vK/_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/weflayr/WfwX99VEbh4c__vK/_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/weflayr/WfwX99VEbh4c__vK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Import past calls - Weflayr Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Weflayr Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.weflayr.com/product/import-past-calls\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://weflayr.mintlify.site/_mintlify/api/og/v2?division=Model+benchmarks\u0026amp;title=Import+past+calls\u0026amp;description=Benchmark+calls+you+logged+before+Weflayr%2C+from+a+CSV+export+of+Langfuse%2C+Braintrust%2C+LangSmith+or+any+other+tool%2C+or+via+API.\u0026amp;theme=4f4324149ad1615461e5eea4\u0026amp;signature=aa8d093cb935d81f468373dda7bd6268dcdbcf2cae81e352ca9d2b6567358f2f\">\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=\"Import past calls - Weflayr Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://weflayr.mintlify.site/_mintlify/api/og/v2?division=Model+benchmarks\u0026amp;title=Import+past+calls\u0026amp;description=Benchmark+calls+you+logged+before+Weflayr%2C+from+a+CSV+export+of+Langfuse%2C+Braintrust%2C+LangSmith+or+any+other+tool%2C+or+via+API.\u0026amp;theme=4f4324149ad1615461e5eea4\u0026amp;signature=aa8d093cb935d81f468373dda7bd6268dcdbcf2cae81e352ca9d2b6567358f2f\">\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/weflayr/WfwX99VEbh4c__vK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Weflayr Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E1B11\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.weflayr.com/product/import-past-calls\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/product/import-past-calls.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.weflayr.com/#organization\",\"name\":\"Weflayr Docs\",\"url\":\"https://docs.weflayr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/weflayr/jf99vD0W4dsGuj5S/images/logo-light-mode.svg?fit=max\u0026auto=format\u0026n=jf99vD0W4dsGuj5S\u0026q=85\u0026s=946f2cb0880dbdf0a0fbeaef912f21cd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.weflayr.com#website\",\"name\":\"Weflayr Docs\",\"url\":\"https://docs.weflayr.com\",\"publisher\":{\"@id\":\"https://docs.weflayr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.weflayr.com/product/import-past-calls#webpage\",\"url\":\"https://docs.weflayr.com/product/import-past-calls\",\"name\":\"Import past calls\",\"description\":\"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.\",\"dateModified\":\"2026-11-07T21:07:10.385Z\",\"isPartOf\":{\"@id\":\"https://docs.weflayr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.weflayr.com/product/import-past-calls#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.weflayr.com/product/import-past-calls#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Model benchmarks\",\"item\":\"https://docs.weflayr.com/product/model-benchmarks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Import past calls\",\"item\":\"https://docs.weflayr.com/product/import-past-calls\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.weflayr.com/product/import-past-calls#article\",\"headline\":\"Import past calls\",\"name\":\"Import past calls\",\"description\":\"Benchmark calls you logged before Weflayr, from a CSV export of Langfuse, Braintrust, LangSmith or any other tool, or via API.\",\"url\":\"https://docs.weflayr.com/product/import-past-calls\",\"mainEntityOfPage\":{\"@id\":\"https://docs.weflayr.com/product/import-past-calls#webpage\"},\"dateModified\":\"2026-11-07T21:07:10.385Z\",\"publisher\":{\"@id\":\"https://docs.weflayr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.weflayr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Weflayr Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Weflayr Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/product/import-past-calls.md","siteName":"Weflayr Docs","nav":{"global":{"anchors":[{"anchor":"For agents","icon":{"style":"regular","name":"robot"},"href":"https://docs.weflayr.com/for-agents"},{"anchor":"Talk to us","icon":{"style":"regular","name":"calendar"},"href":"https://calendly.com/noe-weflayr/30min"}]},"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":""}]},{"tab":"How it works","pages":[{"title":"How it works","href":"/concepts/benchmark-driven-routing"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/python"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api/introduction"}]},{"tab":"Platform","groups":[{"group":"Benchmark","icon":"https://mintlify.s3.us-west-1.amazonaws.com/weflayr/images/icons/table-share.svg","pages":[{"group":"Model benchmarks","root":{"title":"Model benchmarks","description":"Test candidate models on your own past calls, to define and calibrate the best mix of models to route your future calls on.","href":"/product/model-benchmarks"},"pages":[{"title":"Import past calls","href":"/product/import-past-calls"},{"title":"Create a benchmark","description":"Pick a call, the examples to replay, the models to try and how to judge their answers.","href":"/product/create-a-benchmark"},{"title":"Benchmark report","href":"/product/benchmark-report"}]},{"title":"Evaluators","href":"/product/evaluators"}]},{"group":"Route","icon":"https://mintlify.s3.us-west-1.amazonaws.com/weflayr/images/icons/route.svg","pages":[{"title":"Routing strategies","href":"/product/routing-strategies"}]},{"group":"Analyze","icon":"https://mintlify.s3.us-west-1.amazonaws.com/weflayr/images/icons/chart-bar.svg","pages":[{"title":"Overview","href":"/product/overview"},{"title":"AI Cost","href":"/product/ai-cost"},{"title":"AI Margin","href":"/product/ai-margin"}]},{"group":"Configure","icon":"https://mintlify.s3.us-west-1.amazonaws.com/weflayr/images/icons/toggle-right.svg","pages":[{"title":"API keys","href":"/product/api-keys"},{"group":"Cost \u0026 revenue","root":{"title":"Cost \u0026 revenue","mode":"wide","href":"/product/cost-and-revenue"},"pages":[{"title":"Sync revenue","href":"/product/sync-revenue"},{"title":"Customer tags","href":"/product/customer-tags"},{"title":"Free AI credits","href":"/product/free-ai-credits"}]},{"title":"Alerts","href":"/product/alerts"},{"title":"Credits","href":"/product/credits"},{"title":"Organizations \u0026 projects","href":"/product/organizations-and-projects"}]}]}]},"basePath":"","title":"Import past calls - Weflayr Docs","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["07c022d89b"],"chunks":["Frame-BXrZabKK.js","DynamicMarkdown-CtasenyM.js"]}