This endpoint is for reporting data from platforms not supported by our SDKs.
You can use either your project’s Public or Private Key as the Bearer token in the Authorization header.
The expected body is an array of Event objects.
For model calls, you would first track a start event with the input data.
Once your model call succeeds, you would need to send an end event to the API endpoint with the output data from the model call.
For a full step-by-step guide on sending LLM data to the Lunary API, see the Custom Integration guide.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lunary Documentation","colors":{"primary":"#099DFF","light":"#099DFF","dark":"#099DFF"},"logo":{"light":"https://mintcdn.com/lunary/jh1i7dZRvqbDfvzx/logo/light.svg?fit=max\u0026auto=format\u0026n=jh1i7dZRvqbDfvzx\u0026q=85\u0026s=d6a08adeee6c4e0a7c731580a97d6df0","dark":"https://mintcdn.com/lunary/vczTtzy07XKKcaZn/logo/dark.svg?fit=max\u0026auto=format\u0026n=vczTtzy07XKKcaZn\u0026q=85\u0026s=3921447bb20dbecef5efafe052f6bcf8"},"favicon":"https://mintcdn.com/lunary/vczTtzy07XKKcaZn/favicon.png?fit=max\u0026auto=format\u0026n=vczTtzy07XKKcaZn\u0026q=85\u0026s=b5002548a2fae8564b7071262518e535","api":{"openapi":{"source":"https://api.lunary.ai/v1/openapi","directory":"api"},"playground":{"display":"interactive","proxy":false},"examples":{"languages":["bash"]}},"navbar":{"links":[{"href":"mailto:support@lunary.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.lunary.ai"}},"integrations":{"intercom":{"appId":"pv95fmzm"}},"contextual":{"options":["copy","chatgpt","claude","mcp","add-mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lunary","hasAudioNarration":false,"actualSubdomain":"lunary","customDomains":["docs.lunary.ai"],"gitSource":{"type":"github","owner":"lunary-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aecb506dab9b27b2441ef0a","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":95},{"language":"default","tag":"Documentation","count":49},{"language":"default","tag":"Integrations","count":30},{"language":"default","tag":"Datasets v2","count":20},{"language":"default","tag":"Datasets","count":13},{"language":"default","tag":"Evals","count":12},{"language":"default","tag":"Runs","count":11},{"language":"default","tag":"Features","count":9},{"language":"default","tag":"Javascript","count":9},{"language":"default","tag":"More","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/runs/ingest-run-events","slug":"/api/runs/ingest-run-events","pageMetadata":{"title":"Ingest run events","description":"This endpoint is for reporting data from platforms not supported by our SDKs.\n\nYou can use either your project's Public or Private Key as the Bearer token in the Authorization header.\n\nThe expected body is an array of Event objects.\n\nFor model calls, you would first track a `start` event with the `input` data.\nOnce your model call succeeds, you would need to send an `end` event to the API endpoint with the `output` data from the model call.\n\nFor a full step-by-step guide on sending LLM data to the Lunary API, see the [Custom Integration](/docs/integrations/custom) guide.\n","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/runs/ingest","href":"/api/runs/ingest-run-events","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"This endpoint is for reporting data from platforms not supported by our SDKs.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"You can use either your project’s Public or Private Key as the Bearer token in the Authorization header.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The expected body is an array of Event objects.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"For model calls, you would first track a \", _jsx(_components.code, {\n children: \"start\"\n }), \" event with the \", _jsx(_components.code, {\n children: \"input\"\n }), \" data.\\nOnce your model call succeeds, you would need to send an \", _jsx(_components.code, {\n children: \"end\"\n }), \" event to the API endpoint with the \", _jsx(_components.code, {\n children: \"output\"\n }), \" data from the model call.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"For a full step-by-step guide on sending LLM data to the Lunary API, see the \", _jsx(_components.a, {\n href: \"/docs/integrations/custom\",\n children: \"Custom Integration\"\n }), \" guide.\"]\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":{"config":{},"pageMetadata":{"title":"Ingest run events","description":"This endpoint is for reporting data from platforms not supported by our SDKs.\n\nYou can use either your project's Public or Private Key as the Bearer token in the Authorization header.\n\nThe expected body is an array of Event objects.\n\nFor model calls, you would first track a `start` event with the `input` data.\nOnce your model call succeeds, you would need to send an `end` event to the API endpoint with the `output` data from the model call.\n\nFor a full step-by-step guide on sending LLM data to the Lunary API, see the [Custom Integration](/docs/integrations/custom) guide.\n","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/runs/ingest","href":"/api/runs/ingest-run-events","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Ingest run events","description":"This endpoint is for reporting data from platforms not supported by our SDKs.\n\nYou can use either your project's Public or Private Key as the Bearer token in the Authorization header.\n\nThe expected body is an array of Event objects.\n\nFor model calls, you would first track a `start` event with the `input` data.\nOnce your model call succeeds, you would need to send an `end` event to the API endpoint with the `output` data from the model call.\n\nFor a full step-by-step guide on sending LLM data to the Lunary API, see the [Custom Integration](/docs/integrations/custom) guide.\n","tags":["Runs"],"security":["0ac676a7-d6c1-4b98-9fa5-83677c3c0c5a"],"requestBody":"ee4588f9-7135-4ab2-b97b-1a7c2b983528","responses":{"200":"3ffc9edb-c691-402f-9e61-02283f4f2bfd","401":"61d567a7-7d4f-48e9-9a12-673308da8909","402":"8513687c-2e9a-4b6a-bea0-4bfb64bd931d"},"method":"post","type":"path","servers":["9b60e1de-edac-467c-a636-fd750e30018b"],"path":"/v1/runs/ingest","baseUrlOptions":["https://api.lunary.ai"],"title":"Ingest run events","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"events":{"oneOf":[{"type":"object","description":"Represents an event in the Lunary API for tracking model calls and related operations.","example":{"type":"llm","event":"start","runId":"some-unique-id","name":"gpt-4","timestamp":"2022-01-01T00:00:00Z","input":[{"role":"user","content":"Hello world!"}],"tags":["tag1"],"extra":{"temperature":0.5,"max_tokens":100}},"properties":{"type":{"type":"string","enum":["llm","chain","agent","tool","log","embed","retriever","chat","convo","message","thread"],"description":"The type of event being reported.","uniqueKey":"events.oneOf.0.type","typeLabel":"enum\u003cstring>"},"event":{"type":"string","description":"The specific event name (e.g., \"start\" or \"end\").","uniqueKey":"events.oneOf.0.event","typeLabel":"string"},"level":{"type":"string","description":"The logging level of the event.","uniqueKey":"events.oneOf.0.level","typeLabel":"string"},"runId":{"type":"string","description":"A unique identifier for the run.","uniqueKey":"events.oneOf.0.runId","typeLabel":"string"},"parentRunId":{"type":"string","description":"The ID of the parent run, if applicable.","uniqueKey":"events.oneOf.0.parentRunId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"The time the event occurred.","uniqueKey":"events.oneOf.0.timestamp","typeLabel":"string\u003cdate-time>"},"input":{"type":"object","description":"The input data for the event, typically in OpenAI chat message format.","uniqueKey":"events.oneOf.0.input","typeLabel":"object"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"events.oneOf.0.tags.items.[INDEX]","typeLabel":"string"},"description":"Tags associated with the event.","uniqueKey":"events.oneOf.0.tags","typeLabel":"string[]"},"name":{"type":"string","description":"The name of the event or model.","uniqueKey":"events.oneOf.0.name","typeLabel":"string"},"output":{"type":"object","description":"The output data from the event, typically in OpenAI chat message format.","uniqueKey":"events.oneOf.0.output","typeLabel":"object"},"message":{"oneOf":[{"type":"string","description":"A message associated with the event.","uniqueKey":"events.oneOf.0.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"A message associated with the event.","uniqueKey":"events.oneOf.0.message.oneOf.1","typeLabel":"object"}],"uniqueKey":"events.oneOf.0.message","typeLabel":"string | object"},"extra":{"type":"object","description":"Additional data such as temperature, max_tokens, tools, etc.","uniqueKey":"events.oneOf.0.extra","typeLabel":"object"},"feedback":{"type":"object","description":"Feedback data for the event.","uniqueKey":"events.oneOf.0.feedback","typeLabel":"object"},"templateId":{"type":"string","description":"The ID of the template used, if applicable.","uniqueKey":"events.oneOf.0.templateId","typeLabel":"string"},"templateVersionId":{"type":"string","description":"The version ID of the template used, if applicable.","uniqueKey":"events.oneOf.0.templateVersionId","typeLabel":"string"},"metadata":{"type":"object","description":"Additional metadata for the event.","uniqueKey":"events.oneOf.0.metadata","typeLabel":"object"},"tokensUsage":{"type":"object","properties":{"prompt":{"type":"number","description":"The number of tokens used in the prompt.","uniqueKey":"events.oneOf.0.tokensUsage.prompt","typeLabel":"number"},"completion":{"type":"number","description":"The number of tokens used in the completion.","uniqueKey":"events.oneOf.0.tokensUsage.completion","typeLabel":"number"}},"uniqueKey":"events.oneOf.0.tokensUsage","typeLabel":"object"},"error":{"type":"object","properties":{"message":{"type":"string","description":"The error message, if an error occurred.","uniqueKey":"events.oneOf.0.error.message","typeLabel":"string"},"stack":{"type":"string","description":"The error stack trace, if available.","uniqueKey":"events.oneOf.0.error.stack","typeLabel":"string"}},"uniqueKey":"events.oneOf.0.error","typeLabel":"object"},"appId":{"type":"string","description":"The ID of the application or project.","uniqueKey":"events.oneOf.0.appId","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"events.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"object","description":"Represents an event in the Lunary API for tracking model calls and related operations.","properties":{"type":{"type":"string","enum":["llm","chain","agent","tool","log","embed","retriever","chat","convo","message","thread"],"description":"The type of event being reported.","uniqueKey":"events.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"event":{"type":"string","description":"The specific event name (e.g., \"start\" or \"end\").","uniqueKey":"events.oneOf.1.items.[INDEX].event","typeLabel":"string"},"level":{"type":"string","description":"The logging level of the event.","uniqueKey":"events.oneOf.1.items.[INDEX].level","typeLabel":"string"},"runId":{"type":"string","description":"A unique identifier for the run.","uniqueKey":"events.oneOf.1.items.[INDEX].runId","typeLabel":"string"},"parentRunId":{"type":"string","description":"The ID of the parent run, if applicable.","uniqueKey":"events.oneOf.1.items.[INDEX].parentRunId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"The time the event occurred.","uniqueKey":"events.oneOf.1.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"input":{"type":"object","description":"The input data for the event, typically in OpenAI chat message format.","uniqueKey":"events.oneOf.1.items.[INDEX].input","typeLabel":"object"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"events.oneOf.1.items.[INDEX].tags.items.[INDEX]","typeLabel":"string"},"description":"Tags associated with the event.","uniqueKey":"events.oneOf.1.items.[INDEX].tags","typeLabel":"string[]"},"name":{"type":"string","description":"The name of the event or model.","uniqueKey":"events.oneOf.1.items.[INDEX].name","typeLabel":"string"},"output":{"type":"object","description":"The output data from the event, typically in OpenAI chat message format.","uniqueKey":"events.oneOf.1.items.[INDEX].output","typeLabel":"object"},"message":{"oneOf":[{"type":"string","description":"A message associated with the event.","uniqueKey":"events.oneOf.1.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"object","description":"A message associated with the event.","uniqueKey":"events.oneOf.1.items.[INDEX].message.oneOf.1","typeLabel":"object"}],"uniqueKey":"events.oneOf.1.items.[INDEX].message","typeLabel":"string | object"},"extra":{"type":"object","description":"Additional data such as temperature, max_tokens, tools, etc.","uniqueKey":"events.oneOf.1.items.[INDEX].extra","typeLabel":"object"},"feedback":{"type":"object","description":"Feedback data for the event.","uniqueKey":"events.oneOf.1.items.[INDEX].feedback","typeLabel":"object"},"templateId":{"type":"string","description":"The ID of the template used, if applicable.","uniqueKey":"events.oneOf.1.items.[INDEX].templateId","typeLabel":"string"},"templateVersionId":{"type":"string","description":"The version ID of the template used, if applicable.","uniqueKey":"events.oneOf.1.items.[INDEX].templateVersionId","typeLabel":"string"},"metadata":{"type":"object","description":"Additional metadata for the event.","uniqueKey":"events.oneOf.1.items.[INDEX].metadata","typeLabel":"object"},"tokensUsage":{"type":"object","properties":{"prompt":{"type":"number","description":"The number of tokens used in the prompt.","uniqueKey":"events.oneOf.1.items.[INDEX].tokensUsage.prompt","typeLabel":"number"},"completion":{"type":"number","description":"The number of tokens used in the completion.","uniqueKey":"events.oneOf.1.items.[INDEX].tokensUsage.completion","typeLabel":"number"}},"uniqueKey":"events.oneOf.1.items.[INDEX].tokensUsage","typeLabel":"object"},"error":{"type":"object","properties":{"message":{"type":"string","description":"The error message, if an error occurred.","uniqueKey":"events.oneOf.1.items.[INDEX].error.message","typeLabel":"string"},"stack":{"type":"string","description":"The error stack trace, if available.","uniqueKey":"events.oneOf.1.items.[INDEX].error.stack","typeLabel":"string"}},"uniqueKey":"events.oneOf.1.items.[INDEX].error","typeLabel":"object"},"appId":{"type":"string","description":"The ID of the application or project.","uniqueKey":"events.oneOf.1.items.[INDEX].appId","typeLabel":"string"}},"additionalProperties":true,"example":{"type":"llm","event":"start","runId":"some-unique-id","name":"gpt-4","timestamp":"2022-01-01T00:00:00Z","input":[{"role":"user","content":"Hello world!"}],"tags":["tag1"],"extra":{"temperature":0.5,"max_tokens":100}},"uniqueKey":"events.oneOf.1.items.[INDEX]","typeLabel":"object"},"uniqueKey":"events.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"events","typeLabel":"object | object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"events":[{"type":"llm","event":"start","runId":"some-unique-id","name":"gpt-4","timestamp":"2022-01-01T00:00:00Z","input":[{"role":"user","content":"Hello world!"}],"tags":["tag1"],"extra":{"temperature":0.5,"max_tokens":100}}]},"examples":{"Example":{"title":"Example","value":{"events":[{"type":"llm","event":"start","runId":"some-unique-id","name":"gpt-4","timestamp":"2022-01-01T00:00:00Z","input":[{"role":"user","content":"Hello world!"}],"tags":["tag1"],"extra":{"temperature":0.5,"max_tokens":100}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3ffc9edb-c691-402f-9e61-02283f4f2bfd":{"description":"Successful ingestion","content":{"application/json":{"schema":{"type":"object","description":"The response from the ingestion API.","properties":{"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the ingested event.","uniqueKey":"results.items.[INDEX].id","typeLabel":"string"},"success":{"type":"boolean","description":"Indicates if the ingestion was successful.","uniqueKey":"results.items.[INDEX].success","typeLabel":"boolean"},"error":{"type":"string","description":"Error message if the ingestion failed.","uniqueKey":"results.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object[]"}},"example":{"results":[{"id":"some-unique-id","success":true}]},"uniqueKey":"","typeLabel":"object"},"example":{"results":[{"id":"some-unique-id","success":true}]},"examples":{"Example":{"title":"Example","value":{"results":[{"id":"some-unique-id","success":true}]}}},"exampleType":"examples"}},"exampleType":"examples"},"61d567a7-7d4f-48e9-9a12-673308da8909":{"description":"Project does not exist","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"8513687c-2e9a-4b6a-bea0-4bfb64bd931d":{"description":"Incorrect project id format","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"0ac676a7-d6c1-4b98-9fa5-83677c3c0c5a":{"ProjectPublicApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"UUID","description":"Use a project public API key via `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"ProjectPublicApiKeyAuth"}}},"servers":{"9b60e1de-edac-467c-a636-fd750e30018b":{"url":"https://api.lunary.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"UUID","description":"Use a project public API key via `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"ProjectPublicApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Use a project public API key via `Authorization: Bearer \u003ckey>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ProjectPublicApiKeyAuth","name":"Authorization"}],"title":"ProjectPublicApiKeyAuth"}]},"originalFileLocation":"https://api.lunary.ai/v1/openapi"},"subdomain":"lunary","siteName":"Lunary Documentation","title":"Ingest run events - Lunary Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T15:37:05.562Z","originalFileLocation":"api/runs/ingest-run-events.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=\"This endpoint is for reporting data from platforms not supported by our SDKs. You can use either your project\u0026#x27;s Public or Private Key as the Bearer token in the Authorization header. The expected body is an array of Event objects. For model calls, you would first track a start event with the input data. Once your model call succeeds, you would need to send an end event to the API endpoint with the output data from the model call. For a full step-by-step guide on sending LLM data to the Lunary API, see the Custom Integration guide.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lunary Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lunary/jbNpZOyPceF1vtc9/_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/lunary/jbNpZOyPceF1vtc9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lunary/jbNpZOyPceF1vtc9/_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/lunary/jbNpZOyPceF1vtc9/_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/lunary/jbNpZOyPceF1vtc9/_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/lunary/jbNpZOyPceF1vtc9/_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/lunary/jbNpZOyPceF1vtc9/_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/lunary/jbNpZOyPceF1vtc9/_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/lunary/jbNpZOyPceF1vtc9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ingest run events - Lunary Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint is for reporting data from platforms not supported by our SDKs. You can use either your project\u0026#x27;s Public or Private Key as the Bearer token in the Authorization header. The expected body is an array of Event objects. For model calls, you would first track a start event with the input data. Once your model call succeeds, you would need to send an end event to the API endpoint with the output data from the model call. For a full step-by-step guide on sending LLM data to the Lunary API, see the Custom Integration guide.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lunary Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lunary.ai/api/runs/ingest-run-events\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lunary.mintlify.site/_mintlify/api/og/v2?division=Runs\u0026amp;title=Ingest+run+events\u0026amp;description=This+endpoint+is+for+reporting+data+from+platforms+not+supported+by+our+SDKs.%0A%0AYou+can+use+either+your+project%27s+Public+or+Private+Key+as+the+Bearer+token+in+th\u0026amp;theme=19884c910dee32aefdf3bbb8\u0026amp;signature=fcb43dbc99476a5bf64e1a9d94330b5b0f4b6c971a21b67c88527cb9966af708\">\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=\"Ingest run events - Lunary Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint is for reporting data from platforms not supported by our SDKs. You can use either your project\u0026#x27;s Public or Private Key as the Bearer token in the Authorization header. The expected body is an array of Event objects. For model calls, you would first track a start event with the input data. Once your model call succeeds, you would need to send an end event to the API endpoint with the output data from the model call. For a full step-by-step guide on sending LLM data to the Lunary API, see the Custom Integration guide.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lunary.mintlify.site/_mintlify/api/og/v2?division=Runs\u0026amp;title=Ingest+run+events\u0026amp;description=This+endpoint+is+for+reporting+data+from+platforms+not+supported+by+our+SDKs.%0A%0AYou+can+use+either+your+project%27s+Public+or+Private+Key+as+the+Bearer+token+in+th\u0026amp;theme=19884c910dee32aefdf3bbb8\u0026amp;signature=fcb43dbc99476a5bf64e1a9d94330b5b0f4b6c971a21b67c88527cb9966af708\">\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/lunary/jbNpZOyPceF1vtc9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lunary Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#099DFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lunary.ai/api/runs/ingest-run-events\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/runs/ingest-run-events.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lunary.ai/#organization\",\"name\":\"Lunary Documentation\",\"url\":\"https://docs.lunary.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lunary/jh1i7dZRvqbDfvzx/logo/light.svg?fit=max\u0026auto=format\u0026n=jh1i7dZRvqbDfvzx\u0026q=85\u0026s=d6a08adeee6c4e0a7c731580a97d6df0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lunary.ai#website\",\"name\":\"Lunary Documentation\",\"url\":\"https://docs.lunary.ai\",\"publisher\":{\"@id\":\"https://docs.lunary.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lunary.ai/api/runs/ingest-run-events#webpage\",\"url\":\"https://docs.lunary.ai/api/runs/ingest-run-events\",\"name\":\"Ingest run events\",\"description\":\"This endpoint is for reporting data from platforms not supported by our SDKs. You can use either your project's Public or Private Key as the Bearer token in the Authorization header. The expected body is an array of Event objects. For model calls, you would first track a start event with the input data. Once your model call succeeds, you would need to send an end event to the API endpoint with the output data from the model call. For a full step-by-step guide on sending LLM data to the Lunary API, see the Custom Integration guide.\",\"dateModified\":\"2026-11-05T15:37:05.562Z\",\"isPartOf\":{\"@id\":\"https://docs.lunary.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lunary.ai/api/runs/ingest-run-events#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lunary.ai/api/runs/ingest-run-events#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Runs\",\"item\":\"https://docs.lunary.ai/api/runs/get-runs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ingest run events\",\"item\":\"https://docs.lunary.ai/api/runs/ingest-run-events\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.lunary.ai/api/runs/ingest-run-events#apireference\",\"headline\":\"Ingest run events\",\"name\":\"Ingest run events\",\"description\":\"This endpoint is for reporting data from platforms not supported by our SDKs. You can use either your project's Public or Private Key as the Bearer token in the Authorization header. The expected body is an array of Event objects. For model calls, you would first track a start event with the input data. Once your model call succeeds, you would need to send an end event to the API endpoint with the output data from the model call. For a full step-by-step guide on sending LLM data to the Lunary API, see the Custom Integration guide.\",\"url\":\"https://docs.lunary.ai/api/runs/ingest-run-events\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lunary.ai/api/runs/ingest-run-events#webpage\"},\"dateModified\":\"2026-11-05T15:37:05.562Z\",\"publisher\":{\"@id\":\"https://docs.lunary.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lunary.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lunary Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lunary Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/runs/ingest-run-events.md","siteName":"Lunary Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/get-started"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api/introduction"}]},{"group":"Analytics","pages":[{"title":"List top models across an organization","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/analytics/org/models/top","href":"/api/analytics/list-top-models-across-an-organization"}]},{"group":"Announcements","pages":[{"title":"List the signed-in account's available product updates","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/announcements","href":"/api/announcements/list-the-signed-in-accounts-available-product-updates"},{"title":"Acknowledge a displayed digest's pending backlog for this account","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/announcements/acknowledge","href":"/api/announcements/acknowledge-a-displayed-digests-pending-backlog-for-this-account"},{"title":"Mark visible announcement cards seen and acknowledged for this account","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/announcements/seen","href":"/api/announcements/mark-visible-announcement-cards-seen-and-acknowledged-for-this-account"}]},{"group":"Audit Logs","pages":[{"title":"Retrieve audit logs","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/audit-logs","href":"/api/audit-logs/retrieve-audit-logs"}]},{"group":"Checklists","pages":[{"title":"List all checklists","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/checklists","href":"/api/checklists/list-all-checklists"},{"title":"Create a new checklist","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/checklists","href":"/api/checklists/create-a-new-checklist"},{"title":"Get a specific checklist","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/checklists/{id}","href":"/api/checklists/get-a-specific-checklist"},{"title":"Delete a checklist","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/checklists/{id}","href":"/api/checklists/delete-a-checklist"},{"title":"Update a checklist","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/checklists/{id}","href":"/api/checklists/update-a-checklist"}]},{"group":"Datasets v2","pages":[{"title":"List datasets v2","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets-v2","href":"/api/datasets-v2/list-datasets-v2"},{"title":"Create dataset v2","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2","href":"/api/datasets-v2/create-dataset-v2"},{"title":"Get dataset v2","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets-v2/{datasetId}","href":"/api/datasets-v2/get-dataset-v2"},{"title":"Delete dataset v2","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/datasets-v2/{datasetId}","href":"/api/datasets-v2/delete-dataset-v2"},{"title":"Update dataset v2","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/datasets-v2/{datasetId}","href":"/api/datasets-v2/update-dataset-v2"},{"title":"Attach an evaluator to a dataset","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/evaluators","href":"/api/datasets-v2/attach-an-evaluator-to-a-dataset"},{"title":"Detach an evaluator from a dataset","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/datasets-v2/{datasetId}/evaluators/{slot}","href":"/api/datasets-v2/detach-an-evaluator-from-a-dataset"},{"title":"Run all evaluators attached to a dataset on every item","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/evaluators/run","href":"/api/datasets-v2/run-all-evaluators-attached-to-a-dataset-on-every-item"},{"title":"Import dataset items from CSV or JSONL","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/import","href":"/api/datasets-v2/import-dataset-items-from-csv-or-jsonl"},{"title":"Duplicate dataset v2","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/duplicate","href":"/api/datasets-v2/duplicate-dataset-v2"},{"title":"List dataset versions","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets-v2/{datasetId}/versions","href":"/api/datasets-v2/list-dataset-versions"},{"title":"Create dataset version snapshot","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/versions","href":"/api/datasets-v2/create-dataset-version-snapshot"},{"title":"Get dataset version","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets-v2/{datasetId}/versions/{versionId}","href":"/api/datasets-v2/get-dataset-version"},{"title":"Restore dataset to a previous version","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/versions/{versionId}/restore","href":"/api/datasets-v2/restore-dataset-to-a-previous-version"},{"title":"Generate dataset item output","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/items/{itemId}/generate","href":"/api/datasets-v2/generate-dataset-item-output"},{"title":"List dataset v2 items","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets-v2/{datasetId}/items","href":"/api/datasets-v2/list-dataset-v2-items"},{"title":"Create dataset v2 item","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets-v2/{datasetId}/items","href":"/api/datasets-v2/create-dataset-v2-item"},{"title":"Get dataset v2 item","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets-v2/{datasetId}/items/{itemId}","href":"/api/datasets-v2/get-dataset-v2-item"},{"title":"Delete dataset v2 item","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/datasets-v2/{datasetId}/items/{itemId}","href":"/api/datasets-v2/delete-dataset-v2-item"},{"title":"Update dataset v2 item","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/datasets-v2/{datasetId}/items/{itemId}","href":"/api/datasets-v2/update-dataset-v2-item"}]},{"group":"Datasets","pages":[{"title":"List datasets","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets","href":"/api/datasets/list-datasets"},{"title":"Create a new dataset","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets","href":"/api/datasets/create-a-new-dataset"},{"title":"Get dataset by ID or slug","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets/{identifier}","href":"/api/datasets/get-dataset-by-id-or-slug"},{"title":"Delete a dataset","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/datasets/{id}","href":"/api/datasets/delete-a-dataset"},{"title":"Update a dataset","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/datasets/{id}","href":"/api/datasets/update-a-dataset"},{"title":"Create a new prompt","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets/prompts","href":"/api/datasets/create-a-new-prompt"},{"title":"Get prompt by ID","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets/prompts/{id}","href":"/api/datasets/get-prompt-by-id"},{"title":"Delete a prompt","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/datasets/prompts/{id}","href":"/api/datasets/delete-a-prompt"},{"title":"Update a prompt","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/datasets/prompts/{id}","href":"/api/datasets/update-a-prompt"},{"title":"Get prompt variation by ID","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/datasets/variations/{id}","href":"/api/datasets/get-prompt-variation-by-id"},{"title":"Delete a prompt variation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/datasets/variations/{id}","href":"/api/datasets/delete-a-prompt-variation"},{"title":"Update a prompt variation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/datasets/variations/{variationId}","href":"/api/datasets/update-a-prompt-variation"},{"title":"Create a new prompt variation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/datasets/variations","href":"/api/datasets/create-a-new-prompt-variation"}]},{"group":"Evals","pages":[{"title":"List evaluations","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/evals","href":"/api/evals/list-evaluations"},{"title":"Create a new evaluation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/evals","href":"/api/evals/create-a-new-evaluation"},{"title":"Get evaluation by ID","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/evals/{id}","href":"/api/evals/get-evaluation-by-id"},{"title":"Delete an evaluation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/evals/{id}","href":"/api/evals/delete-an-evaluation"},{"title":"Update an evaluation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/evals/{id}","href":"/api/evals/update-an-evaluation"},{"title":"Run the evaluation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/evals/{id}/run","href":"/api/evals/run-the-evaluation"},{"title":"Create a criterion","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/evals/criteria","href":"/api/evals/create-a-criterion"},{"title":"Get criterion by ID","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/evals/criteria/{id}","href":"/api/evals/get-criterion-by-id"},{"title":"Delete a criterion","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/evals/criteria/{id}","href":"/api/evals/delete-a-criterion"},{"title":"Update a criterion","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/evals/criteria/{id}","href":"/api/evals/update-a-criterion"},{"title":"List results for an evaluation","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/evals/{evalId}/results","href":"/api/evals/list-results-for-an-evaluation"},{"title":"Get a single result","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/evals/results/{id}","href":"/api/evals/get-a-single-result"}]},{"group":"Users","pages":[{"title":"List project users","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/external-users","href":"/api/users/list-project-users"},{"title":"Get a specific user","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/external-users/{id}","href":"/api/users/get-a-specific-user"},{"title":"Delete a specific user","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/external-users/{id}","href":"/api/users/delete-a-specific-user"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/models","href":"/api/models/list-models"},{"title":"Create a new model","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/models","href":"/api/models/create-a-new-model"},{"title":"Delete a model","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/models/{id}","href":"/api/models/delete-a-model"},{"title":"Update a model","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/models/{id}","href":"/api/models/update-a-model"}]},{"group":"Playground Endpoints","pages":[{"title":"List all playground endpoints","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/playground-endpoints","href":"/api/playground-endpoints/list-all-playground-endpoints"},{"title":"Create a playground endpoint","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/playground-endpoints","href":"/api/playground-endpoints/create-a-playground-endpoint"},{"title":"Get a playground endpoint","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/playground-endpoints/{id}","href":"/api/playground-endpoints/get-a-playground-endpoint"},{"title":"Update a playground endpoint","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi put /v1/playground-endpoints/{id}","href":"/api/playground-endpoints/update-a-playground-endpoint"},{"title":"Delete a playground endpoint","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/playground-endpoints/{id}","href":"/api/playground-endpoints/delete-a-playground-endpoint"}]},{"group":"Projects","pages":[{"title":"Pin or unpin a project for the signed-in account","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/projects/{projectId}/pin","href":"/api/projects/pin-or-unpin-a-project-for-the-signed-in-account"}]},{"group":"Runs","pages":[{"title":"Get runs","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/runs","href":"/api/runs/get-runs"},{"title":"Get run usage statistics","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/runs/usage","href":"/api/runs/get-run-usage-statistics"},{"title":"Export runs data","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/runs/export","href":"/api/runs/export-runs-data"},{"title":"Get a specific run","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/runs/{id}","href":"/api/runs/get-a-specific-run"},{"title":"Delete a run","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/runs/{id}","href":"/api/runs/delete-a-run"},{"title":"Update run visibility","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/runs/{id}/visibility","href":"/api/runs/update-run-visibility"},{"title":"Update run tags","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/runs/{id}/tags","href":"/api/runs/update-run-tags"},{"title":"Feedback Tracking","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/runs/{id}/feedback","href":"/api/runs/feedback-tracking"},{"title":"Update run score","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/runs/{id}/score","href":"/api/runs/update-run-score"},{"title":"Get related runs","description":null,"deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/runs/{id}/related","href":"/api/runs/get-related-runs"},{"title":"Ingest run events","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/runs/ingest","href":"/api/runs/ingest-run-events"}]},{"group":"Templates","pages":[{"title":"Get the latest version","description":"This is the most common endpoint you'll use when working with prompt templates.\n\nThis route is used by the Lunary SDKs to fetch the latest version of a template before making an LLM call.\n\nThis route differs from all the next ones in that:\n- it requires only the `slug` parameter to reference a template\n- it doesn't require using a Private Key to authenticate the request (Public Key is enough)\n","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/template-versions/latest","href":"/api/templates/get-the-latest-version"},{"title":"Update a template version","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/template-versions/{id}","href":"/api/templates/update-a-template-version"},{"title":"List all templates","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/templates","href":"/api/templates/list-all-templates"},{"title":"Create a new template","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/templates","href":"/api/templates/create-a-new-template"},{"title":"Get a specific template","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/templates/{id}","href":"/api/templates/get-a-specific-template"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/templates/{id}","href":"/api/templates/delete-a-template"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/templates/{id}","href":"/api/templates/update-a-template"},{"title":"Create a new version","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/templates/{id}/versions","href":"/api/templates/create-a-new-version"}]},{"group":"Test","pages":[{"title":"Test endpoint for playground API testing","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/test-endpoint","href":"/api/test/test-endpoint-for-playground-api-testing"},{"title":"Test endpoint with authentication check","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/test-endpoint/auth","href":"/api/test/test-endpoint-with-authentication-check"}]},{"group":"Views","pages":[{"title":"List all views","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/views","href":"/api/views/list-all-views"},{"title":"Create a new view","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi post /v1/views","href":"/api/views/create-a-new-view"},{"title":"Get a specific view","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi get /v1/views/{id}","href":"/api/views/get-a-specific-view"},{"title":"Delete a view","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi delete /v1/views/{id}","href":"/api/views/delete-a-view"},{"title":"Update a view","deprecated":null,"version":null,"openapi":"https://api.lunary.ai/v1/openapi patch /v1/views/{id}","href":"/api/views/update-a-view"}]}]}]},"basePath":"","title":"Ingest run events - Lunary Documentation","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}