For high-volume sends, use application/x-ndjson (one JSON object per line).
Attachments referenced by vendor_url are fetched automatically after the batch is accepted.
Download progress is available on the batch status endpoint.
POST
/
api
/
v1
/
ingest
curl --request POST \ --url https://api.evermuse.com/api/v1/ingest \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '[ { "_type": "conversation", "_schema_version": "1.0.0", "_event_at": "2026-02-24T12:34:56.000Z", "_nature": "evidence", "_vendor_ids": { "conversation_id": "conv-001" }, "_product_id": "prod-abc", "_project_ids": [ "proj-123" ], "data": { "messages": [ { "sender": "agent", "text": "How can I help you today?" }, { "sender": "customer", "text": "I have a question about billing." } ] } }, { "_type": "conversation", "_schema_version": "1.0.0", "_event_at": "2026-02-24T12:40:00.000Z", "_nature": "evidence", "_vendor_ids": { "conversation_id": "conv-002" }, "_product_id": "prod-abc", "_project_ids": [ "proj-123" ], "data": { "messages": [ { "sender": "customer", "text": "Can I upgrade my plan?" } ] } }]'
Your API key, sent as the x-api-key header.
Create one in Settings > API Keys with api:write permission.
Format: em_sk_...
Headers
Idempotency-Key
string
Optional key to prevent duplicate submissions.
If a request with the same key and identical body has already been accepted,
you'll get back the original response without the data being processed again.
Recommended when retrying failed requests.
Maximum string length: 256
Query Parameters
format
enum<string>
Optional hint that describes the primary content format of the records.
This does not affect validation but helps optimize how your data is processed.
Available options:
text,
audio,
video,
file
Body
application/jsonapplication/x-ndjson
object[]
object
_type
enum<string>
required
The type of data you're sending. All records in a single batch must share the same type.
email_thread — A full email conversation chain (multiple messages grouped together).
email — A single email message.
meeting_notes — Notes, summaries, or transcripts captured during or after a meeting.
call — An audio or video call record (recording url will be provided by the caller in the attachment).
call_transcription — A verbatim transcription of a phone or video call.
conversation — A multi-turn conversation from chat platforms (e.g. Slack, Intercom, Drift, support tickets).
message — A single standalone message (e.g. SMS, or in-app feedback).
document — A generic document (e.g. PDF, Word doc, or other written material).
spreadsheet — A spreadsheet or tabular data file (e.g. CSV, Excel).
Available options:
email_thread,
email,
meeting_notes,
call,
call_transcription,
conversation,
message,
document,
spreadsheet
_schema_version
string
required
Schema version. Use "1.0.0".
Example:
"1.0.0"
_event_at
string
required
When the original event occurred, as an ISO-8601 UTC timestamp.
Milliseconds are accepted but truncated to second precision.
One or more IDs from your source system. Must contain at least one entry.
Used to prevent duplicates — records with the same _type, _vendor_ids, and _event_at
are recognized as the same record and won't be processed twice.
Show child attributes
Example:
{ "message_id": "msg-20260224-001" }
_nature
enum<string>
required
Classifies how this record should be treated during analysis.
evidence — actual customer conversations, meeting notes, support tickets, etc.
guidance — internal product team conversations, OKR documents, company goals
context — supplementary material used for context but not as a source of customer evidence
Available options:
evidence,
guidance,
context
_product_id
string
required
The Evermuse product ID to route records to.
Found in Settings > Projects > Actions > Copy in the Evermuse dashboard.
All records in a batch must share the same _product_id.
Maximum string length: 128
_project_ids
string[]
required
One or more Evermuse project IDs to route records to.
Found in Settings > Projects > Actions > Copy in the Evermuse dashboard.
Minimum array length: 1
Maximum string length: 128
data
object
required
Your data. Include all relevant fields from your source system.
This is stored exactly as you send it.
_thread_id
string
Optional ID that groups related records into a thread
(e.g., an email chain, a multi-message chat, or a series of related calls).
Use the thread or conversation ID from your source system.
Maximum string length: 512
_participants
object[]
People involved in the event. Used for attribution and filtering in your Evermuse dashboard.
Maximum array length: 5000
Show child attributes
_attachments
object[]
Files associated with this record (recordings, documents, images, etc.).
Provide a vendor_url for files hosted elsewhere — they will be fetched automatically.
Alternatively, use upload_intent_id to reference a file you've already uploaded.
Maximum array length: 10
Show child attributes
_tags
string[]
Free-form labels for categorization and filtering (e.g., "enterprise", "product-feedback", "q1-2026").
Maximum array length: 200
Maximum string length: 64
_pii
object
Optional metadata about personal information in this record.
Providing this helps Evermuse handle your data with the right privacy safeguards.
Show child attributes
Response
Accepted. Your records have been received and are being processed.
Use the returned batchId with GET /api/v1/ingest/batches/{batchId} to check progress.
batchId
string
required
Unique identifier for this batch. Use it with GET /api/v1/ingest/batches/{batchId} to check status.
Maximum string length: 128
acceptedCount
integer
required
Number of records that passed validation and were accepted.
Required range: x >= 0
rejectedCount
integer
required
Number of records that failed validation and were rejected.
Required range: x >= 0
totalErrorCount
integer
required
Total number of errors across all rejected records.
May be higher than the errors array length since only the first 20 are included.
Required range: x >= 0
errors
object[]
Up to 20 errors. The index field refers to the record's
position in the batch you sent (starting from 0).
Maximum array length: 20
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Evermuse API","colors":{"primary":"#FF4A8E","light":"#FF4A8E","dark":"#FF4A8E"},"logo":{"light":"https://mintcdn.com/evermuse/baIOzoZ8mMwaNqB4/logo/light.svg?fit=max\u0026auto=format\u0026n=baIOzoZ8mMwaNqB4\u0026q=85\u0026s=b21f8c0e5714d46d794d3dba4d3260f5","dark":"https://mintcdn.com/evermuse/baIOzoZ8mMwaNqB4/logo/dark.svg?fit=max\u0026auto=format\u0026n=baIOzoZ8mMwaNqB4\u0026q=85\u0026s=31499ebeabcf2921680c62b5886e4c14"},"favicon":"https://mintcdn.com/evermuse/baIOzoZ8mMwaNqB4/favicon.svg?fit=max\u0026auto=format\u0026n=baIOzoZ8mMwaNqB4\u0026q=85\u0026s=4271cff8257a917c498f9fa54fbe1c98","api":{},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"evermuse","hasAudioNarration":false,"actualSubdomain":"evermuse","customDomains":["docs.evermuse.com"],"gitSource":{"type":"github","owner":"usermuse","repo":"usermuse","deployBranch":"main","contentDirectory":"api-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6abfbc37253d2eb78922c8f8","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"MCP Server","count":9},{"language":"default","tag":"API Reference","count":4},{"language":"default","tag":"Reference","count":4},{"language":"default","tag":"Documentation","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"ingestion","count":3},{"language":"default","tag":"Trust \u0026 Support","count":2},{"language":"default","tag":"Overview","count":1}]},"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".nav-logo{max-height:20px}"}]}
{"page":{"pagePath":"api-reference/ingestion/ingest","slug":"/api-reference/ingestion/ingest","pageMetadata":{"title":"/ingest","description":"Submit records.\n\nThe request body accepts two formats:\n- An array of record objects\n- An object with a `records` key containing an array\n\nFor high-volume sends, use `application/x-ndjson` (one JSON object per line).\n\nAttachments referenced by `vendor_url` are fetched automatically after the batch is accepted.\nDownload progress is available on the batch status endpoint.\n","deprecated":null,"version":null,"sidebarTitle":"Ingest","openapi":"/openapi/ingest-v1.yaml post /api/v1/ingest","href":"/api-reference/ingestion/ingest","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 code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Submit records.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The request body accepts two formats:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"An array of record objects\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"An object with a \", _jsx(_components.code, {\n children: \"records\"\n }), \" key containing an array\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"For high-volume sends, use \", _jsx(_components.code, {\n children: \"application/x-ndjson\"\n }), \" (one JSON object per line).\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Attachments referenced by \", _jsx(_components.code, {\n children: \"vendor_url\"\n }), \" are fetched automatically after the batch is accepted.\\nDownload progress is available on the batch status endpoint.\"]\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","description":"Submit records.\n\nThe request body accepts two formats:\n- An array of record objects\n- An object with a `records` key containing an array\n\nFor high-volume sends, use `application/x-ndjson` (one JSON object per line).\n\nAttachments referenced by `vendor_url` are fetched automatically after the batch is accepted.\nDownload progress is available on the batch status endpoint.\n","deprecated":null,"version":null,"sidebarTitle":"Ingest","openapi":"/openapi/ingest-v1.yaml post /api/v1/ingest","href":"/api-reference/ingestion/ingest","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"ingestRecords","tags":["ingestion"],"summary":"/ingest","x-mint":{"href":"/api-reference/ingestion/ingest"},"description":"Submit records.\n\nThe request body accepts two formats:\n- An array of record objects\n- An object with a `records` key containing an array\n\nFor high-volume sends, use `application/x-ndjson` (one JSON object per line).\n\nAttachments referenced by `vendor_url` are fetched automatically after the batch is accepted.\nDownload progress is available on the batch status endpoint.\n","security":["96710f7c-a248-48fe-9b86-72ac384cef1f"],"parameters":["3963f59a-a57e-464e-9966-1a215623b893","f75d49f8-cdd1-4eae-a4c8-bbd33c84e5bd"],"requestBody":"7b0e412b-c1e0-4b4c-ab4e-4cdc0de01835","responses":{"202":"c5f76ba0-f353-4b74-a0fa-a61774d7d691","400":"beff31bb-5b52-4ff0-95eb-e8654228bc27","401":"99d01e03-0379-4b53-b00c-e34b718c1d49","403":"8ae2fe41-c3fe-42f6-9cfa-629744fc3c9c","413":"366f759d-00cc-4043-9b54-11902436d527","429":"e76d3203-0d47-4d71-8ea9-22e7ef939bd2","500":"2636abe3-97f8-4c70-8568-4e3acae4bd13"},"method":"post","type":"path","servers":["db9dacdc-495b-47ca-9411-b127bd3bbe7d"],"path":"/api/v1/ingest","baseUrlOptions":["https://api.evermuse.com"],"title":"/ingest","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3963f59a-a57e-464e-9966-1a215623b893":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":256,"isRequired":false,"description":"Optional key to prevent duplicate submissions.\nIf a request with the same key and identical body has already been accepted,\nyou'll get back the original response without the data being processed again.\nRecommended when retrying failed requests.\n","uniqueKey":"","typeLabel":"string"},"description":"Optional key to prevent duplicate submissions.\nIf a request with the same key and identical body has already been accepted,\nyou'll get back the original response without the data being processed again.\nRecommended when retrying failed requests.\n"},"f75d49f8-cdd1-4eae-a4c8-bbd33c84e5bd":{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["text","audio","video","file"],"isRequired":false,"description":"Optional hint that describes the primary content format of the records.\nThis does not affect validation but helps optimize how your data is processed.\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Optional hint that describes the primary content format of the records.\nThis does not affect validation but helps optimize how your data is processed.\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"required":["_type","_schema_version","_event_at","_vendor_ids","_product_id","_project_ids","_nature","data"],"properties":{"_type":{"type":"string","enum":["email_thread","email","meeting_notes","call","call_transcription","conversation","message","document","spreadsheet"],"description":"The type of data you're sending. All records in a single batch must share the same type.\n\n- `email_thread` — A full email conversation chain (multiple messages grouped together).\n- `email` — A single email message.\n- `meeting_notes` — Notes, summaries, or transcripts captured during or after a meeting.\n- `call` — An audio or video call record (recording url will be provided by the caller in the attachment).\n- `call_transcription` — A verbatim transcription of a phone or video call.\n- `conversation` — A multi-turn conversation from chat platforms (e.g. Slack, Intercom, Drift, support tickets).\n- `message` — A single standalone message (e.g. SMS, or in-app feedback).\n- `document` — A generic document (e.g. PDF, Word doc, or other written material).\n- `spreadsheet` — A spreadsheet or tabular data file (e.g. CSV, Excel).\n","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._type","typeLabel":"enum\u003cstring>"},"_schema_version":{"type":"string","description":"Schema version. Use `\"1.0.0\"`.\n","example":"1.0.0","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._schema_version","typeLabel":"string"},"_event_at":{"type":"string","description":"When the original event occurred, as an ISO-8601 UTC timestamp.\nMilliseconds are accepted but truncated to second precision.\n","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$","example":"2026-02-24T12:34:56Z","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._event_at","typeLabel":"string"},"_vendor_ids":{"type":"object","description":"One or more IDs from your source system. Must contain at least one entry.\nUsed to prevent duplicates — records with the same `_type`, `_vendor_ids`, and `_event_at`\nare recognized as the same record and won't be processed twice.\n","minProperties":1,"additionalProperties":{"type":"string","uniqueKey":"oneOf.0.items.[INDEX]._vendor_ids.additionalProperties","typeLabel":"string"},"example":{"message_id":"msg-20260224-001"},"isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._vendor_ids","typeLabel":"object"},"_nature":{"type":"string","enum":["evidence","guidance","context"],"description":"Classifies how this record should be treated during analysis.\n- `evidence` — actual customer conversations, meeting notes, support tickets, etc.\n- `guidance` — internal product team conversations, OKR documents, company goals\n- `context` — supplementary material used for context but not as a source of customer evidence\n","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._nature","typeLabel":"enum\u003cstring>"},"_product_id":{"type":"string","description":"The Evermuse product ID to route records to.\nFound in **Settings > Projects > Actions > Copy** in the Evermuse dashboard.\nAll records in a batch must share the same `_product_id`.\n","maxLength":128,"isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._product_id","typeLabel":"string"},"_project_ids":{"type":"array","description":"One or more Evermuse project IDs to route records to.\nFound in **Settings > Projects > Actions > Copy** in the Evermuse dashboard.\n","minItems":1,"items":{"type":"string","maxLength":128,"uniqueKey":"oneOf.0.items.[INDEX]._project_ids.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._project_ids","typeLabel":"string[]"},"data":{"type":"object","description":"Your data. Include all relevant fields from your source system.\nThis is stored exactly as you send it.\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX].data","typeLabel":"object"},"_thread_id":{"type":"string","description":"Optional ID that groups related records into a thread\n(e.g., an email chain, a multi-message chat, or a series of related calls).\nUse the thread or conversation ID from your source system.\n","maxLength":512,"uniqueKey":"oneOf.0.items.[INDEX]._thread_id","typeLabel":"string"},"_participants":{"type":"array","description":"People involved in the event. Used for attribution and filtering in your Evermuse dashboard.\n","maxItems":5000,"items":{"type":"object","additionalProperties":false,"required":["id","role"],"properties":{"id":{"type":"string","description":"A stable identifier for the participant. Use an email address, phone number,\nor their ID from your source system.\n","maxLength":256,"isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._participants.items.[INDEX].id","typeLabel":"string"},"role":{"type":"string","enum":["internal","external","unknown"],"description":"Whether the participant is part of your team or an external contact.\n- `internal` — your team member (employee, agent, rep)\n- `external` — a customer, prospect, or outside party\n- `unknown` — role cannot be determined\n","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._participants.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Display name of the participant.","maxLength":256,"uniqueKey":"oneOf.0.items.[INDEX]._participants.items.[INDEX].name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address of the participant.","maxLength":320,"uniqueKey":"oneOf.0.items.[INDEX]._participants.items.[INDEX].email","typeLabel":"string\u003cemail>"},"type":{"type":"string","enum":["user","contact","workspace_member","bot","system","unknown"],"description":"The kind of participant.\n- `user` — a human user\n- `contact` — a customer or prospect\n- `workspace_member` — a member of your workspace\n- `bot` — an automated agent\n- `system` — a system-generated entry\n- `unknown` — type cannot be determined\n","uniqueKey":"oneOf.0.items.[INDEX]._participants.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.items.[INDEX]._participants.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.items.[INDEX]._participants","typeLabel":"object[]"},"_attachments":{"type":"array","description":"Files associated with this record (recordings, documents, images, etc.).\nProvide a `vendor_url` for files hosted elsewhere — they will be fetched automatically.\nAlternatively, use `upload_intent_id` to reference a file you've already uploaded.\n","maxItems":10,"items":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","enum":["audio","video","file","image","text","unknown"],"description":"The kind of attachment.\n- `audio` — audio recording (e.g., call recording, voice memo)\n- `video` — video recording\n- `file` — generic file (PDF, spreadsheet, etc.)\n- `image` — image file (screenshot, photo, etc.)\n- `text` — plain text content\n- `unknown` — type cannot be determined\n","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"filename":{"type":"string","description":"Original filename of the attachment.","maxLength":512,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].filename","typeLabel":"string"},"size":{"type":"integer","description":"File size in bytes.","minimum":0,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].size","typeLabel":"integer"},"mime_type":{"type":"string","description":"MIME type of the file (e.g., `audio/mpeg`, `application/pdf`).","maxLength":256,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].mime_type","typeLabel":"string"},"sha1":{"type":"string","description":"SHA-1 hash of the file contents (for integrity verification).","maxLength":128,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].sha1","typeLabel":"string"},"md5":{"type":"string","description":"MD5 hash of the file contents (for integrity verification).","maxLength":128,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].md5","typeLabel":"string"},"vendor_url":{"type":"string","format":"uri","description":"URL where the file can be downloaded. Evermuse will fetch it automatically\nafter the batch is accepted. Download progress is available on the batch status endpoint.\n","maxLength":2048,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].vendor_url","typeLabel":"string\u003curi>"},"upload_intent_id":{"type":"string","description":"Reference to a file you've already uploaded.\nUse this to attach a previously uploaded file to this record.\n","maxLength":256,"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX].upload_intent_id","typeLabel":"string"}},"uniqueKey":"oneOf.0.items.[INDEX]._attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.items.[INDEX]._attachments","typeLabel":"object[]"},"_tags":{"type":"array","description":"Free-form labels for categorization and filtering (e.g., `\"enterprise\"`, `\"product-feedback\"`, `\"q1-2026\"`).\n","maxItems":200,"items":{"type":"string","maxLength":64,"uniqueKey":"oneOf.0.items.[INDEX]._tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.items.[INDEX]._tags","typeLabel":"string[]"},"_pii":{"type":"object","additionalProperties":false,"description":"Optional metadata about personal information in this record.\nProviding this helps Evermuse handle your data with the right privacy safeguards.\n","properties":{"contains_email":{"type":"boolean","description":"Whether the record's data contains email addresses.","uniqueKey":"oneOf.0.items.[INDEX]._pii.contains_email","typeLabel":"boolean"},"contains_phone":{"type":"boolean","description":"Whether the record's data contains phone numbers.","uniqueKey":"oneOf.0.items.[INDEX]._pii.contains_phone","typeLabel":"boolean"},"sensitive_score":{"type":"number","minimum":0,"maximum":1,"description":"A score from 0 to 1 indicating the likelihood that the record contains sensitive information.\n0 = no sensitive content, 1 = highly sensitive.\n","uniqueKey":"oneOf.0.items.[INDEX]._pii.sensitive_score","typeLabel":"number"},"detected_entities":{"type":"array","description":"List of personal information types detected in the record.","items":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","description":"The category of personal information detected (e.g., `email`, `phone`, `ssn`, `credit_card`).","maxLength":64,"isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX]._pii.detected_entities.items.[INDEX].type","typeLabel":"string"},"value":{"type":"string","description":"The detected value (omit if you prefer not to include it).","maxLength":1024,"uniqueKey":"oneOf.0.items.[INDEX]._pii.detected_entities.items.[INDEX].value","typeLabel":"string"},"confidence":{"type":"number","minimum":0,"maximum":1,"description":"Confidence score for the detection (0 = low, 1 = high).","uniqueKey":"oneOf.0.items.[INDEX]._pii.detected_entities.items.[INDEX].confidence","typeLabel":"number"}},"uniqueKey":"oneOf.0.items.[INDEX]._pii.detected_entities.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.items.[INDEX]._pii.detected_entities","typeLabel":"object[]"},"redaction_status":{"type":"string","enum":["unredacted","redacted","encrypted"],"description":"Whether personal information in this record has been redacted or encrypted before sending.\n","uniqueKey":"oneOf.0.items.[INDEX]._pii.redaction_status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.items.[INDEX]._pii","typeLabel":"object"}},"uniqueKey":"oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"The request body accepts two shapes:\n- An array of record objects (up to 1,000)\n- An object with a `records` key containing an array\n","maxItems":1000,"minItems":1,"uniqueKey":"oneOf.0","typeLabel":"object[]"},{"type":"object","description":"The request body accepts two shapes:\n- An array of record objects (up to 1,000)\n- An object with a `records` key containing an array\n","required":["records"],"properties":{"records":{"type":"array","minItems":1,"maxItems":1000,"items":{"type":"object","additionalProperties":false,"required":["_type","_schema_version","_event_at","_vendor_ids","_product_id","_project_ids","_nature","data"],"properties":{"_type":{"type":"string","enum":["email_thread","email","meeting_notes","call","call_transcription","conversation","message","document","spreadsheet"],"description":"The type of data you're sending. All records in a single batch must share the same type.\n\n- `email_thread` — A full email conversation chain (multiple messages grouped together).\n- `email` — A single email message.\n- `meeting_notes` — Notes, summaries, or transcripts captured during or after a meeting.\n- `call` — An audio or video call record (recording url will be provided by the caller in the attachment).\n- `call_transcription` — A verbatim transcription of a phone or video call.\n- `conversation` — A multi-turn conversation from chat platforms (e.g. Slack, Intercom, Drift, support tickets).\n- `message` — A single standalone message (e.g. SMS, or in-app feedback).\n- `document` — A generic document (e.g. PDF, Word doc, or other written material).\n- `spreadsheet` — A spreadsheet or tabular data file (e.g. CSV, Excel).\n","isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._type","typeLabel":"enum\u003cstring>"},"_schema_version":{"type":"string","description":"Schema version. Use `\"1.0.0\"`.\n","example":"1.0.0","isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._schema_version","typeLabel":"string"},"_event_at":{"type":"string","description":"When the original event occurred, as an ISO-8601 UTC timestamp.\nMilliseconds are accepted but truncated to second precision.\n","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$","example":"2026-02-24T12:34:56Z","isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._event_at","typeLabel":"string"},"_vendor_ids":{"type":"object","description":"One or more IDs from your source system. Must contain at least one entry.\nUsed to prevent duplicates — records with the same `_type`, `_vendor_ids`, and `_event_at`\nare recognized as the same record and won't be processed twice.\n","minProperties":1,"additionalProperties":{"type":"string","uniqueKey":"oneOf.1.records.items.[INDEX]._vendor_ids.additionalProperties","typeLabel":"string"},"example":{"message_id":"msg-20260224-001"},"isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._vendor_ids","typeLabel":"object"},"_nature":{"type":"string","enum":["evidence","guidance","context"],"description":"Classifies how this record should be treated during analysis.\n- `evidence` — actual customer conversations, meeting notes, support tickets, etc.\n- `guidance` — internal product team conversations, OKR documents, company goals\n- `context` — supplementary material used for context but not as a source of customer evidence\n","isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._nature","typeLabel":"enum\u003cstring>"},"_product_id":{"type":"string","description":"The Evermuse product ID to route records to.\nFound in **Settings > Projects > Actions > Copy** in the Evermuse dashboard.\nAll records in a batch must share the same `_product_id`.\n","maxLength":128,"isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._product_id","typeLabel":"string"},"_project_ids":{"type":"array","description":"One or more Evermuse project IDs to route records to.\nFound in **Settings > Projects > Actions > Copy** in the Evermuse dashboard.\n","minItems":1,"items":{"type":"string","maxLength":128,"uniqueKey":"oneOf.1.records.items.[INDEX]._project_ids.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._project_ids","typeLabel":"string[]"},"data":{"type":"object","description":"Your data. Include all relevant fields from your source system.\nThis is stored exactly as you send it.\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX].data","typeLabel":"object"},"_thread_id":{"type":"string","description":"Optional ID that groups related records into a thread\n(e.g., an email chain, a multi-message chat, or a series of related calls).\nUse the thread or conversation ID from your source system.\n","maxLength":512,"uniqueKey":"oneOf.1.records.items.[INDEX]._thread_id","typeLabel":"string"},"_participants":{"type":"array","description":"People involved in the event. Used for attribution and filtering in your Evermuse dashboard.\n","maxItems":5000,"items":{"type":"object","additionalProperties":false,"required":["id","role"],"properties":{"id":{"type":"string","description":"A stable identifier for the participant. Use an email address, phone number,\nor their ID from your source system.\n","maxLength":256,"isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._participants.items.[INDEX].id","typeLabel":"string"},"role":{"type":"string","enum":["internal","external","unknown"],"description":"Whether the participant is part of your team or an external contact.\n- `internal` — your team member (employee, agent, rep)\n- `external` — a customer, prospect, or outside party\n- `unknown` — role cannot be determined\n","isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._participants.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Display name of the participant.","maxLength":256,"uniqueKey":"oneOf.1.records.items.[INDEX]._participants.items.[INDEX].name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address of the participant.","maxLength":320,"uniqueKey":"oneOf.1.records.items.[INDEX]._participants.items.[INDEX].email","typeLabel":"string\u003cemail>"},"type":{"type":"string","enum":["user","contact","workspace_member","bot","system","unknown"],"description":"The kind of participant.\n- `user` — a human user\n- `contact` — a customer or prospect\n- `workspace_member` — a member of your workspace\n- `bot` — an automated agent\n- `system` — a system-generated entry\n- `unknown` — type cannot be determined\n","uniqueKey":"oneOf.1.records.items.[INDEX]._participants.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.records.items.[INDEX]._participants.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.records.items.[INDEX]._participants","typeLabel":"object[]"},"_attachments":{"type":"array","description":"Files associated with this record (recordings, documents, images, etc.).\nProvide a `vendor_url` for files hosted elsewhere — they will be fetched automatically.\nAlternatively, use `upload_intent_id` to reference a file you've already uploaded.\n","maxItems":10,"items":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","enum":["audio","video","file","image","text","unknown"],"description":"The kind of attachment.\n- `audio` — audio recording (e.g., call recording, voice memo)\n- `video` — video recording\n- `file` — generic file (PDF, spreadsheet, etc.)\n- `image` — image file (screenshot, photo, etc.)\n- `text` — plain text content\n- `unknown` — type cannot be determined\n","isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"filename":{"type":"string","description":"Original filename of the attachment.","maxLength":512,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].filename","typeLabel":"string"},"size":{"type":"integer","description":"File size in bytes.","minimum":0,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].size","typeLabel":"integer"},"mime_type":{"type":"string","description":"MIME type of the file (e.g., `audio/mpeg`, `application/pdf`).","maxLength":256,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].mime_type","typeLabel":"string"},"sha1":{"type":"string","description":"SHA-1 hash of the file contents (for integrity verification).","maxLength":128,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].sha1","typeLabel":"string"},"md5":{"type":"string","description":"MD5 hash of the file contents (for integrity verification).","maxLength":128,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].md5","typeLabel":"string"},"vendor_url":{"type":"string","format":"uri","description":"URL where the file can be downloaded. Evermuse will fetch it automatically\nafter the batch is accepted. Download progress is available on the batch status endpoint.\n","maxLength":2048,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].vendor_url","typeLabel":"string\u003curi>"},"upload_intent_id":{"type":"string","description":"Reference to a file you've already uploaded.\nUse this to attach a previously uploaded file to this record.\n","maxLength":256,"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX].upload_intent_id","typeLabel":"string"}},"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.records.items.[INDEX]._attachments","typeLabel":"object[]"},"_tags":{"type":"array","description":"Free-form labels for categorization and filtering (e.g., `\"enterprise\"`, `\"product-feedback\"`, `\"q1-2026\"`).\n","maxItems":200,"items":{"type":"string","maxLength":64,"uniqueKey":"oneOf.1.records.items.[INDEX]._tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.records.items.[INDEX]._tags","typeLabel":"string[]"},"_pii":{"type":"object","additionalProperties":false,"description":"Optional metadata about personal information in this record.\nProviding this helps Evermuse handle your data with the right privacy safeguards.\n","properties":{"contains_email":{"type":"boolean","description":"Whether the record's data contains email addresses.","uniqueKey":"oneOf.1.records.items.[INDEX]._pii.contains_email","typeLabel":"boolean"},"contains_phone":{"type":"boolean","description":"Whether the record's data contains phone numbers.","uniqueKey":"oneOf.1.records.items.[INDEX]._pii.contains_phone","typeLabel":"boolean"},"sensitive_score":{"type":"number","minimum":0,"maximum":1,"description":"A score from 0 to 1 indicating the likelihood that the record contains sensitive information.\n0 = no sensitive content, 1 = highly sensitive.\n","uniqueKey":"oneOf.1.records.items.[INDEX]._pii.sensitive_score","typeLabel":"number"},"detected_entities":{"type":"array","description":"List of personal information types detected in the record.","items":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","description":"The category of personal information detected (e.g., `email`, `phone`, `ssn`, `credit_card`).","maxLength":64,"isRequired":true,"uniqueKey":"oneOf.1.records.items.[INDEX]._pii.detected_entities.items.[INDEX].type","typeLabel":"string"},"value":{"type":"string","description":"The detected value (omit if you prefer not to include it).","maxLength":1024,"uniqueKey":"oneOf.1.records.items.[INDEX]._pii.detected_entities.items.[INDEX].value","typeLabel":"string"},"confidence":{"type":"number","minimum":0,"maximum":1,"description":"Confidence score for the detection (0 = low, 1 = high).","uniqueKey":"oneOf.1.records.items.[INDEX]._pii.detected_entities.items.[INDEX].confidence","typeLabel":"number"}},"uniqueKey":"oneOf.1.records.items.[INDEX]._pii.detected_entities.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.records.items.[INDEX]._pii.detected_entities","typeLabel":"object[]"},"redaction_status":{"type":"string","enum":["unredacted","redacted","encrypted"],"description":"Whether personal information in this record has been redacted or encrypted before sending.\n","uniqueKey":"oneOf.1.records.items.[INDEX]._pii.redaction_status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.records.items.[INDEX]._pii","typeLabel":"object"}},"uniqueKey":"oneOf.1.records.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.records","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object[] | object"},"examples":{"recordBatch":{"title":"recordBatch","summary":"Batch via JSON array","value":[{"_type":"conversation","_schema_version":"1.0.0","_event_at":"2026-02-24T12:34:56.000Z","_nature":"evidence","_vendor_ids":{"conversation_id":"conv-001"},"_product_id":"prod-abc","_project_ids":["proj-123"],"data":{"messages":[{"sender":"agent","text":"How can I help you today?"},{"sender":"customer","text":"I have a question about billing."}]}},{"_type":"conversation","_schema_version":"1.0.0","_event_at":"2026-02-24T12:40:00.000Z","_nature":"evidence","_vendor_ids":{"conversation_id":"conv-002"},"_product_id":"prod-abc","_project_ids":["proj-123"],"data":{"messages":[{"sender":"customer","text":"Can I upgrade my plan?"}]}}]},"recordsWrapper":{"title":"recordsWrapper","summary":"Batch via records wrapper","value":{"records":[{"_type":"email","_schema_version":"1.0.0","_event_at":"2026-02-24T12:34:56.000Z","_nature":"evidence","_vendor_ids":{"message_id":"msg-20260224-001"},"_thread_id":"thread-acme-inquiry","_participants":[{"id":"alice@acme.com","name":"Alice Johnson","email":"alice@acme.com","role":"external","type":"contact"},{"id":"bob@yourcompany.com","name":"Bob Smith","email":"bob@yourcompany.com","role":"internal","type":"user"}],"_product_id":"prod-abc","_project_ids":["proj-123"],"_tags":["product-feedback","enterprise"],"data":{"subject":"Re: Product feedback","from":"alice@acme.com","to":"bob@yourcompany.com","body":"We'd love to see dark mode support in the next release."}}]}},"recordWithAttachment":{"title":"recordWithAttachment","summary":"Record with a downloadable attachment","value":[{"_type":"meeting_notes","_schema_version":"1.0.0","_event_at":"2026-02-24T15:00:00.000Z","_nature":"evidence","_product_id":"prod-abc","_project_ids":["proj-123"],"_vendor_ids":{"meeting_id":"mtg-456"},"_attachments":[{"type":"audio","filename":"meeting-recording.mp3","mime_type":"audio/mpeg","vendor_url":"https://storage.example.com/recordings/mtg-456.mp3"}],"data":{"title":"Weekly product sync","duration_minutes":45}}]},"guidanceRecord":{"title":"guidanceRecord","summary":"Internal guidance document","value":[{"_type":"meeting_notes","_schema_version":"1.0.0","_event_at":"2026-02-24T10:00:00.000Z","_nature":"guidance","_vendor_ids":{"doc_id":"okr-q2-2026"},"_product_id":"prod-abc","_project_ids":["proj-456"],"data":{"title":"Q2 2026 OKRs","body":"Objective: Improve onboarding conversion by 20%"}}]}},"exampleType":"examples"},"application/x-ndjson":{"schema":{"type":"string","description":"Newline-delimited JSON. Each line is a single record object.\n","uniqueKey":"","typeLabel":"string"},"examples":{"ndjsonExample":{"title":"ndjsonExample","summary":"NDJSON (two records)","value":"{\"_type\":\"email\",\"_schema_version\":\"1.0.0\",\"_event_at\":\"2026-02-24T12:34:56Z\",\"_nature\":\"evidence\",\"_vendor_ids\":{\"message_id\":\"msg-001\"},\"_product_id\":\"prod-abc\",\"_project_ids\":[\"proj-123\"],\"data\":{\"subject\":\"Hello\",\"body\":\"World\"}}\n{\"_type\":\"email\",\"_schema_version\":\"1.0.0\",\"_event_at\":\"2026-02-24T12:40:00Z\",\"_nature\":\"evidence\",\"_vendor_ids\":{\"message_id\":\"msg-002\"},\"_product_id\":\"prod-abc\",\"_project_ids\":[\"proj-123\"],\"data\":{\"subject\":\"Follow-up\",\"body\":\"Thanks\"}}\n"}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"c5f76ba0-f353-4b74-a0fa-a61774d7d691":{"description":"Accepted. Your records have been received and are being processed.\nUse the returned `batchId` with `GET /api/v1/ingest/batches/{batchId}` to check progress.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["batchId","acceptedCount","rejectedCount","totalErrorCount"],"properties":{"batchId":{"type":"string","description":"Unique identifier for this batch. Use it with `GET /api/v1/ingest/batches/{batchId}` to check status.\n","maxLength":128,"isRequired":true,"uniqueKey":"batchId","typeLabel":"string"},"acceptedCount":{"type":"integer","minimum":0,"description":"Number of records that passed validation and were accepted.","isRequired":true,"uniqueKey":"acceptedCount","typeLabel":"integer"},"rejectedCount":{"type":"integer","minimum":0,"description":"Number of records that failed validation and were rejected.","isRequired":true,"uniqueKey":"rejectedCount","typeLabel":"integer"},"totalErrorCount":{"type":"integer","minimum":0,"description":"Total number of errors across all rejected records.\nMay be higher than the `errors` array length since only the first 20 are included.\n","isRequired":true,"uniqueKey":"totalErrorCount","typeLabel":"integer"},"errors":{"type":"array","description":"Up to 20 errors. The `index` field refers to the record's\nposition in the batch you sent (starting from 0).\n","maxItems":20,"items":{"type":"object","additionalProperties":false,"required":["index","code","message"],"properties":{"index":{"type":"integer","minimum":0,"description":"Position of the rejected record in the submitted batch (0-based).","isRequired":true,"uniqueKey":"errors.items.[INDEX].index","typeLabel":"integer"},"code":{"type":"string","maxLength":64,"description":"Machine-readable error code (e.g., `VALIDATION_ERROR`).","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","maxLength":2048,"description":"Human-readable description of what went wrong.","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"batchId":"\u003cstring>","acceptedCount":1,"rejectedCount":1,"totalErrorCount":1,"errors":[{"index":1,"code":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"beff31bb-5b52-4ff0-95eb-e8654228bc27":{"description":"Bad Request. Something was wrong with the data you sent.\nCheck the `errors` array for details on which records were rejected and why.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","message"],"properties":{"error":{"type":"string","maxLength":64,"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","maxLength":2048,"description":"Human-readable error description.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"retryAfter":{"type":"number","description":"Number of seconds to wait before trying again. Included when you've hit the rate limit (429 response).\n","uniqueKey":"retryAfter","typeLabel":"number"},"details":{"description":"Additional machine-readable context about the error.","additionalProperties":true,"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>","retryAfter":123,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"99d01e03-0379-4b53-b00c-e34b718c1d49":{"description":"Unauthorized. The `x-api-key` header is missing or invalid.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"8ae2fe41-c3fe-42f6-9cfa-629744fc3c9c":{"description":"Forbidden. The API key does not have the required `api:write` permission.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"366f759d-00cc-4043-9b54-11902436d527":{"description":"Payload too large. The request body exceeds the maximum allowed size (5 MB).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"e76d3203-0d47-4d71-8ea9-22e7ef939bd2":{"description":"Rate limit exceeded. Retry after the number of seconds indicated in the `retryAfter` field.\n","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"2636abe3-97f8-4c70-8568-4e3acae4bd13":{"description":"Internal server error. Please retry the request.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"96710f7c-a248-48fe-9b86-72ac384cef1f":{"IngestApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your API key, sent as the `x-api-key` header.\nCreate one in **Settings > API Keys** with `api:write` permission.\nFormat: `em_sk_...`\n","scopes":[]}}},"servers":{"db9dacdc-495b-47ca-9411-b127bd3bbe7d":{"url":"https://api.evermuse.com","description":"Evermuse API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your API key, sent as the `x-api-key` header.\nCreate one in **Settings > API Keys** with `api:write` permission.\nFormat: `em_sk_...`\n","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"Your API key, sent as the `x-api-key` header.\nCreate one in **Settings > API Keys** with `api:write` permission.\nFormat: `em_sk_...`\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"IngestApiKey","name":"x-api-key"}],"title":"IngestApiKey"}]},"originalFileLocation":"openapi/ingest-v1.yaml"},"subdomain":"evermuse","siteName":"Evermuse API","title":"/ingest - Evermuse API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-19T20:17:22.085Z","originalFileLocation":"api-reference/ingestion/ingest.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=\"Submit records. The request body accepts two formats: - An array of record objects - An object with a records key containing an array For high-volume sends, use application/x-ndjson (one JSON object per line). Attachments referenced by vendor_url are fetched automatically after the batch is accepted. Download progress is available on the batch status endpoint.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Evermuse API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/evermuse/8jHtaxOYrLgiN31z/_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/evermuse/8jHtaxOYrLgiN31z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/evermuse/8jHtaxOYrLgiN31z/_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/evermuse/8jHtaxOYrLgiN31z/_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/evermuse/8jHtaxOYrLgiN31z/_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/evermuse/8jHtaxOYrLgiN31z/_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/evermuse/8jHtaxOYrLgiN31z/_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/evermuse/8jHtaxOYrLgiN31z/_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/evermuse/8jHtaxOYrLgiN31z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"/ingest - Evermuse API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit records. The request body accepts two formats: - An array of record objects - An object with a records key containing an array For high-volume sends, use application/x-ndjson (one JSON object per line). Attachments referenced by vendor_url are fetched automatically after the batch is accepted. Download progress is available on the batch status endpoint.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Evermuse API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.evermuse.com/api-reference/ingestion/ingest\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://evermuse.mintlify.site/_mintlify/api/og/v2?division=ingestion\u0026amp;title=%2Fingest\u0026amp;description=Submit+records.%0A%0AThe+request+body+accepts+two+formats%3A%0A-+An+array+of+record+objects%0A-+An+object+with+a+%60records%60+key+containing+an+array%0A%0AFor+high-volume+sends%2C\u0026amp;theme=3be30a3f84b811e6dd7f6cf5\u0026amp;signature=f0562156af6fb623b1427b6617bd69d91aed5e5aec4ce6ff7d7446b56c133f33\">\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 - Evermuse API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit records. The request body accepts two formats: - An array of record objects - An object with a records key containing an array For high-volume sends, use application/x-ndjson (one JSON object per line). Attachments referenced by vendor_url are fetched automatically after the batch is accepted. Download progress is available on the batch status endpoint.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://evermuse.mintlify.site/_mintlify/api/og/v2?division=ingestion\u0026amp;title=%2Fingest\u0026amp;description=Submit+records.%0A%0AThe+request+body+accepts+two+formats%3A%0A-+An+array+of+record+objects%0A-+An+object+with+a+%60records%60+key+containing+an+array%0A%0AFor+high-volume+sends%2C\u0026amp;theme=3be30a3f84b811e6dd7f6cf5\u0026amp;signature=f0562156af6fb623b1427b6617bd69d91aed5e5aec4ce6ff7d7446b56c133f33\">\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/evermuse/8jHtaxOYrLgiN31z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Evermuse API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4A8E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.evermuse.com/api-reference/ingestion/ingest\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ingestion/ingest.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.evermuse.com/#organization\",\"name\":\"Evermuse API\",\"url\":\"https://docs.evermuse.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/evermuse/baIOzoZ8mMwaNqB4/logo/light.svg?fit=max\u0026auto=format\u0026n=baIOzoZ8mMwaNqB4\u0026q=85\u0026s=b21f8c0e5714d46d794d3dba4d3260f5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.evermuse.com#website\",\"name\":\"Evermuse API\",\"url\":\"https://docs.evermuse.com\",\"publisher\":{\"@id\":\"https://docs.evermuse.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.evermuse.com/api-reference/ingestion/ingest#webpage\",\"url\":\"https://docs.evermuse.com/api-reference/ingestion/ingest\",\"name\":\"/ingest\",\"description\":\"Submit records. The request body accepts two formats: - An array of record objects - An object with a records key containing an array For high-volume sends, use application/x-ndjson (one JSON object per line). Attachments referenced by vendor_url are fetched automatically after the batch is accepted. Download progress is available on the batch status endpoint.\",\"dateModified\":\"2026-07-19T20:17:22.085Z\",\"isPartOf\":{\"@id\":\"https://docs.evermuse.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.evermuse.com/api-reference/ingestion/ingest#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.evermuse.com/api-reference/ingestion/ingest#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Evermuse API\",\"item\":\"https://docs.evermuse.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"/ingest\",\"item\":\"https://docs.evermuse.com/api-reference/ingestion/ingest\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.evermuse.com/api-reference/ingestion/ingest#apireference\",\"headline\":\"/ingest\",\"name\":\"/ingest\",\"description\":\"Submit records. The request body accepts two formats: - An array of record objects - An object with a records key containing an array For high-volume sends, use application/x-ndjson (one JSON object per line). Attachments referenced by vendor_url are fetched automatically after the batch is accepted. Download progress is available on the batch status endpoint.\",\"url\":\"https://docs.evermuse.com/api-reference/ingestion/ingest\",\"mainEntityOfPage\":{\"@id\":\"https://docs.evermuse.com/api-reference/ingestion/ingest#webpage\"},\"dateModified\":\"2026-07-19T20:17:22.085Z\",\"publisher\":{\"@id\":\"https://docs.evermuse.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.evermuse.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Evermuse API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Evermuse API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/ingestion/ingest.md","siteName":"Evermuse API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","description":"Explore the Evermuse API endpoints for data ingestion and batch management.","href":"/api-reference"}]},{"group":"ingestion","pages":[{"title":"/ingest","deprecated":null,"version":null,"sidebarTitle":"Ingest","openapi":"/openapi/ingest-v1.yaml post /api/v1/ingest","href":"/api-reference/ingestion/ingest"},{"title":"/ingest/batches","description":"Returns a paginated list of batches you've submitted, newest first.\n\nUse the `nextCursor` value from the response as the `cursor` query parameter to fetch the next page.\n","deprecated":null,"version":null,"sidebarTitle":"Get batches","openapi":"/openapi/ingest-v1.yaml get /api/v1/ingest/batches","href":"/api-reference/ingestion/get-batches"},{"title":"/ingest/batches/{batchId}","deprecated":null,"version":null,"sidebarTitle":"Get batch status","openapi":"/openapi/ingest-v1.yaml get /api/v1/ingest/batches/{batchId}","href":"/api-reference/ingestion/get-batch-status"}]}]}]},"basePath":"","title":"/ingest - Evermuse API","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}