# Export all conversations for an agentcurl --location --request GET 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export' \--header 'Authorization: Bearer <API_KEY>'
# Export conversations from specific date range and channelcurl --location --request GET 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export?from=2026-01-01T00:00:00Z&to=2026-06-16T23:59:59Z&channel=whatsapp&status=RESOLVED' \--header 'Authorization: Bearer <API_KEY>'
conversation_id,message_from,message_text,message_created_at"conv_123abc","human","Hola, necesito ayuda","2026-06-16T10:30:00.000Z""conv_123abc","agent","Claro, ¿en qué puedo ayudarte?","2026-06-16T10:31:00.000Z""conv_123abc","human","Tengo una pregunta sobre mi pedido","2026-06-16T10:32:00.000Z""conv_456def","human","Hola","2026-06-16T15:00:00.000Z""conv_456def","agent","Bienvenido, ¿cómo estás?","2026-06-16T15:01:00.000Z"
Agentes
Agent - Export Conversations
Export conversation history for an agent as a CSV file with filtering options
GET
/
api
/
agents
/
{id}
/
conversations-export
# Export all conversations for an agentcurl --location --request GET 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export' \--header 'Authorization: Bearer <API_KEY>'
# Export conversations from specific date range and channelcurl --location --request GET 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export?from=2026-01-01T00:00:00Z&to=2026-06-16T23:59:59Z&channel=whatsapp&status=RESOLVED' \--header 'Authorization: Bearer <API_KEY>'
conversation_id,message_from,message_text,message_created_at"conv_123abc","human","Hola, necesito ayuda","2026-06-16T10:30:00.000Z""conv_123abc","agent","Claro, ¿en qué puedo ayudarte?","2026-06-16T10:31:00.000Z""conv_123abc","human","Tengo una pregunta sobre mi pedido","2026-06-16T10:32:00.000Z""conv_456def","human","Hola","2026-06-16T15:00:00.000Z""conv_456def","agent","Bienvenido, ¿cómo estás?","2026-06-16T15:01:00.000Z"
Export conversation history and message data from an agent in CSV format. Supports filtering by date range, channel, status, and search terms. Use this endpoint to:
Extract conversation history for analysis or compliance
Export specific conversations by ID
Filter messages by channel, status, or date range
Search for messages by text content
Path
string
required
The agent ID to export conversations from
Query
Optional
string
Start date in ISO 8601 format (e.g., 2026-01-01T00:00:00Z)
string
End date in ISO 8601 format (e.g., 2026-06-16T23:59:59Z)
string
Comma-separated conversation IDs to export (e.g., id1,id2,id3)
enum
default:"all"
Filter by message sender type: all, human, or agent
enum
default:"all"
Filter by conversation status: all, RESOLVED, UNRESOLVED, or HUMAN_REQUESTED
enum
default:"all"
Filter by channel: all, website, whatsapp, telegram, slack, dashboard, meta, mercadolibre, chatwoot, or crmchatsappai
number
default:"5000"
Maximum number of messages to export (1-100000). Default is 5000.
boolean
When true, limits results to 100 messages for preview purposes
enum
default:"asc"
Sort messages by creation date: asc (ascending) or desc (descending)
string
Search messages by text content (case-insensitive). Maximum 500 characters.
Response
The response is a CSV file with the following columns:
string
Unique identifier of the conversation
string
Sender of the message: human or agent
string
The message content text
string
ISO 8601 timestamp of when the message was created
Error Responses
Status Code
Type
Description
400
Bad Request
Invalid query parameters (e.g., invalid date format, search query too long)
401
UNAUTHORIZED
Missing or invalid authentication token
404
NOT_FOUND
Agent does not exist or does not belong to your organization
500
Internal Server Error
Server error during export processing
Notes
The response is a CSV file attachment, not JSON. Set Accept: text/csv header to explicitly request CSV format.
If no conversations are found, the response will be an empty CSV with headers only: conversation_id,message_from,message_text,message_created_at
Special characters in CSV fields are automatically escaped to prevent CSV injection attacks. Text values are quoted and internal quotes are doubled.
# Export all conversations for an agentcurl --location --request GET 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export' \--header 'Authorization: Bearer <API_KEY>'
# Export conversations from specific date range and channelcurl --location --request GET 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export?from=2026-01-01T00:00:00Z&to=2026-06-16T23:59:59Z&channel=whatsapp&status=RESOLVED' \--header 'Authorization: Bearer <API_KEY>'
conversation_id,message_from,message_text,message_created_at"conv_123abc","human","Hola, necesito ayuda","2026-06-16T10:30:00.000Z""conv_123abc","agent","Claro, ¿en qué puedo ayudarte?","2026-06-16T10:31:00.000Z""conv_123abc","human","Tengo una pregunta sobre mi pedido","2026-06-16T10:32:00.000Z""conv_456def","human","Hola","2026-06-16T15:00:00.000Z""conv_456def","agent","Bienvenido, ¿cómo estás?","2026-06-16T15:01:00.000Z"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Laburen Documentacion","colors":{"primary":"#2DFD8E","light":"#177F47","dark":"#2DFD8E"},"logo":{"light":"https://mintcdn.com/chatsappaicom/X5lst3Tqt1FgRzc5/logo/light.png?fit=max\u0026auto=format\u0026n=X5lst3Tqt1FgRzc5\u0026q=85\u0026s=36f7a5dd80146c505715bd5f7132b1bf","dark":"https://mintcdn.com/chatsappaicom/X5lst3Tqt1FgRzc5/logo/dark.png?fit=max\u0026auto=format\u0026n=X5lst3Tqt1FgRzc5\u0026q=85\u0026s=8d61eaddbeb3e5716a96d68ed804489f"},"favicon":"https://mintcdn.com/chatsappaicom/X5lst3Tqt1FgRzc5/favicon.png?fit=max\u0026auto=format\u0026n=X5lst3Tqt1FgRzc5\u0026q=85\u0026s=f49884435529f5e7248021e2eacee209","navbar":{"primary":{"type":"button","label":"Inicia ahora","href":"https://Laburen.com/"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chatsappaicom","hasAudioNarration":false,"actualSubdomain":"chatsappaicom","customDomains":["docs.laburen.com"],"gitSource":{"type":"github","owner":"laburen","repo":"laburen-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6b075b184821cf710f8ace14","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Agentes","count":32},{"language":"default","tag":"API","count":18},{"language":"default","tag":"Endpoints","count":17},{"language":"default","tag":"Integraciones","count":10},{"language":"default","tag":"Annotations","count":8},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Herramientas","count":6},{"language":"default","tag":"Privacidad","count":5},{"language":"default","tag":"🚀 Instalalo en","count":4},{"language":"default","tag":"Vision General","count":3}]},"assistantConfig":{},"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":[]}
{"page":{"pagePath":"api-reference/endpoint/agents/conversations-export","slug":"/api-reference/endpoint/agents/conversations-export","pageMetadata":{"title":"Agent - Export Conversations","api":"GET https://dashboard.laburen.com/api/agents/{id}/conversations-export","description":"Export conversation history for an agent as a CSV file with filtering options","authMethod":"bearer","href":"/api-reference/endpoint/agents/conversations-export"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Export conversation history for an agent as a CSV file with filtering options\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,ParamField,ResponseField,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Export conversation history and message data from an agent in CSV format. Supports filtering by date range, channel, status, and search terms. Use this endpoint to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Extract conversation history for analysis or compliance`}),`\n`,_jsx(_components.li,{children:`Export specific conversations by ID`}),`\n`,_jsx(_components.li,{children:`Filter messages by channel, status, or date range`}),`\n`,_jsx(_components.li,{children:`Search for messages by text content`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`path`,children:`Path`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The agent ID to export conversations from`})}),`\n`,_jsx(Heading,{level:`3`,id:`query`,children:`Query`}),`\n`,_jsx(Heading,{level:`4`,id:`optional`,children:`Optional`}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Start date in ISO 8601 format (e.g., `,_jsx(_components.code,{children:`2026-01-01T00:00:00Z`}),`)`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`End date in ISO 8601 format (e.g., `,_jsx(_components.code,{children:`2026-06-16T23:59:59Z`}),`)`]})}),`\n`,_jsx(ParamField,{query:`conversationId`,type:`string`,id:`param-conversation-id`,children:_jsxs(_components.p,{children:[`Comma-separated conversation IDs to export (e.g., `,_jsx(_components.code,{children:`id1,id2,id3`}),`)`]})}),`\n`,_jsx(ParamField,{query:`include`,type:`enum`,default:`all`,id:`param-include`,children:_jsxs(_components.p,{children:[`Filter by message sender type: `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`human`}),`, or `,_jsx(_components.code,{children:`agent`})]})}),`\n`,_jsx(ParamField,{query:`status`,type:`enum`,default:`all`,id:`param-status`,children:_jsxs(_components.p,{children:[`Filter by conversation status: `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`RESOLVED`}),`, `,_jsx(_components.code,{children:`UNRESOLVED`}),`, or `,_jsx(_components.code,{children:`HUMAN_REQUESTED`})]})}),`\n`,_jsx(ParamField,{query:`channel`,type:`enum`,default:`all`,id:`param-channel`,children:_jsxs(_components.p,{children:[`Filter by channel: `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`website`}),`, `,_jsx(_components.code,{children:`whatsapp`}),`, `,_jsx(_components.code,{children:`telegram`}),`, `,_jsx(_components.code,{children:`slack`}),`, `,_jsx(_components.code,{children:`dashboard`}),`, `,_jsx(_components.code,{children:`meta`}),`, `,_jsx(_components.code,{children:`mercadolibre`}),`, `,_jsx(_components.code,{children:`chatwoot`}),`, or `,_jsx(_components.code,{children:`crmchatsappai`})]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`number`,default:`5000`,id:`param-limit`,children:_jsx(_components.p,{children:`Maximum number of messages to export (1-100000). Default is 5000.`})}),`\n`,_jsx(ParamField,{query:`preview`,type:`boolean`,id:`param-preview`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, limits results to 100 messages for preview purposes`]})}),`\n`,_jsx(ParamField,{query:`orderBy`,type:`enum`,default:`asc`,id:`param-order-by`,children:_jsxs(_components.p,{children:[`Sort messages by creation date: `,_jsx(_components.code,{children:`asc`}),` (ascending) or `,_jsx(_components.code,{children:`desc`}),` (descending)`]})}),`\n`,_jsx(ParamField,{query:`search`,type:`string`,id:`param-search`,children:_jsx(_components.p,{children:`Search messages by text content (case-insensitive). Maximum 500 characters.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`The response is a CSV file with the following columns:`}),`\n`,_jsx(ResponseField,{name:`conversation_id`,type:`string`,id:`param-conversation-id-1`,children:_jsx(_components.p,{children:`Unique identifier of the conversation`})}),`\n`,_jsx(ResponseField,{name:`message_from`,type:`string`,id:`param-message-from`,children:_jsxs(_components.p,{children:[`Sender of the message: `,_jsx(_components.code,{children:`human`}),` or `,_jsx(_components.code,{children:`agent`})]})}),`\n`,_jsx(ResponseField,{name:`message_text`,type:`string`,id:`param-message-text`,children:_jsx(_components.p,{children:`The message content text`})}),`\n`,_jsx(ResponseField,{name:`message_created_at`,type:`string`,id:`param-message-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of when the message was created`})}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status Code`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Bad Request`}),_jsx(_components.td,{children:`Invalid query parameters (e.g., invalid date format, search query too long)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`UNAUTHORIZED`}),_jsx(_components.td,{children:`Missing or invalid authentication token`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`NOT_FOUND`}),_jsx(_components.td,{children:`Agent does not exist or does not belong to your organization`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Internal Server Error`}),_jsx(_components.td,{children:`Server error during export processing`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`notes`,children:`Notes`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The response is a CSV file attachment, not JSON. Set `,_jsx(_components.code,{children:`Accept: text/csv`}),` header to explicitly request CSV format.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`If no conversations are found, the response will be an empty CSV with headers only: `,_jsx(_components.code,{children:`conversation_id,message_from,message_text,message_created_at`})]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Special characters in CSV fields are automatically escaped to prevent CSV injection attacks. Text values are quoted and internal quotes are doubled.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent - Export Conversations","api":"GET https://dashboard.laburen.com/api/agents/{id}/conversations-export","description":"Export conversation history for an agent as a CSV file with filtering options","authMethod":"bearer","href":"/api-reference/endpoint/agents/conversations-export"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Export conversation history and message data from an agent in CSV format. Supports filtering by date range, channel, status, and search terms. Use this endpoint to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Extract conversation history for analysis or compliance`}),`\n`,_jsx(_components.li,{children:`Export specific conversations by ID`}),`\n`,_jsx(_components.li,{children:`Filter messages by channel, status, or date range`}),`\n`,_jsx(_components.li,{children:`Search for messages by text content`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`path`,children:`Path`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The agent ID to export conversations from`})}),`\n`,_jsx(Heading,{level:`3`,id:`query`,children:`Query`}),`\n`,_jsx(Heading,{level:`4`,id:`optional`,children:`Optional`}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Start date in ISO 8601 format (e.g., `,_jsx(_components.code,{children:`2026-01-01T00:00:00Z`}),`)`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`End date in ISO 8601 format (e.g., `,_jsx(_components.code,{children:`2026-06-16T23:59:59Z`}),`)`]})}),`\n`,_jsx(ParamField,{query:`conversationId`,type:`string`,id:`param-conversation-id`,children:_jsxs(_components.p,{children:[`Comma-separated conversation IDs to export (e.g., `,_jsx(_components.code,{children:`id1,id2,id3`}),`)`]})}),`\n`,_jsx(ParamField,{query:`include`,type:`enum`,default:`all`,id:`param-include`,children:_jsxs(_components.p,{children:[`Filter by message sender type: `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`human`}),`, or `,_jsx(_components.code,{children:`agent`})]})}),`\n`,_jsx(ParamField,{query:`status`,type:`enum`,default:`all`,id:`param-status`,children:_jsxs(_components.p,{children:[`Filter by conversation status: `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`RESOLVED`}),`, `,_jsx(_components.code,{children:`UNRESOLVED`}),`, or `,_jsx(_components.code,{children:`HUMAN_REQUESTED`})]})}),`\n`,_jsx(ParamField,{query:`channel`,type:`enum`,default:`all`,id:`param-channel`,children:_jsxs(_components.p,{children:[`Filter by channel: `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`website`}),`, `,_jsx(_components.code,{children:`whatsapp`}),`, `,_jsx(_components.code,{children:`telegram`}),`, `,_jsx(_components.code,{children:`slack`}),`, `,_jsx(_components.code,{children:`dashboard`}),`, `,_jsx(_components.code,{children:`meta`}),`, `,_jsx(_components.code,{children:`mercadolibre`}),`, `,_jsx(_components.code,{children:`chatwoot`}),`, or `,_jsx(_components.code,{children:`crmchatsappai`})]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`number`,default:`5000`,id:`param-limit`,children:_jsx(_components.p,{children:`Maximum number of messages to export (1-100000). Default is 5000.`})}),`\n`,_jsx(ParamField,{query:`preview`,type:`boolean`,id:`param-preview`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, limits results to 100 messages for preview purposes`]})}),`\n`,_jsx(ParamField,{query:`orderBy`,type:`enum`,default:`asc`,id:`param-order-by`,children:_jsxs(_components.p,{children:[`Sort messages by creation date: `,_jsx(_components.code,{children:`asc`}),` (ascending) or `,_jsx(_components.code,{children:`desc`}),` (descending)`]})}),`\n`,_jsx(ParamField,{query:`search`,type:`string`,id:`param-search`,children:_jsx(_components.p,{children:`Search messages by text content (case-insensitive). Maximum 500 characters.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`The response is a CSV file with the following columns:`}),`\n`,_jsx(ResponseField,{name:`conversation_id`,type:`string`,id:`param-conversation-id-1`,children:_jsx(_components.p,{children:`Unique identifier of the conversation`})}),`\n`,_jsx(ResponseField,{name:`message_from`,type:`string`,id:`param-message-from`,children:_jsxs(_components.p,{children:[`Sender of the message: `,_jsx(_components.code,{children:`human`}),` or `,_jsx(_components.code,{children:`agent`})]})}),`\n`,_jsx(ResponseField,{name:`message_text`,type:`string`,id:`param-message-text`,children:_jsx(_components.p,{children:`The message content text`})}),`\n`,_jsx(ResponseField,{name:`message_created_at`,type:`string`,id:`param-message-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of when the message was created`})}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status Code`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Bad Request`}),_jsx(_components.td,{children:`Invalid query parameters (e.g., invalid date format, search query too long)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`UNAUTHORIZED`}),_jsx(_components.td,{children:`Missing or invalid authentication token`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`NOT_FOUND`}),_jsx(_components.td,{children:`Agent does not exist or does not belong to your organization`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Internal Server Error`}),_jsx(_components.td,{children:`Server error during export processing`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`notes`,children:`Notes`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The response is a CSV file attachment, not JSON. Set `,_jsx(_components.code,{children:`Accept: text/csv`}),` header to explicitly request CSV format.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`If no conversations are found, the response will be an empty CSV with headers only: `,_jsx(_components.code,{children:`conversation_id,message_from,message_text,message_created_at`})]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Special characters in CSV fields are automatically escaped to prevent CSV injection attacks. Text values are quoted and internal quotes are doubled.`})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Export all conversations for an agent`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer \u003cAPI_KEY>'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL with Filters`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Export conversations from specific date range and channel`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export?from=2026-01-01T00:00:00Z\u0026to=2026-06-16T23:59:59Z\u0026channel=whatsapp\u0026status=RESOLVED'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer \u003cAPI_KEY>'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`13`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` apiUrl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://dashboard.laburen.com/api'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` apiKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003cAPI_KEY>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` agentId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'clt7x2a0r0000lb08d9z3f5k1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apiUrl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/agents/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`agentId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"/conversations-export?from=2026-01-01T00:00:00Z\u0026to=2026-06-16T23:59:59Z`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'GET'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` csv`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`csv`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api_url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://dashboard.laburen.com/api\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api_key `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cAPI_KEY>\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`agent_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"clt7x2a0r0000lb08d9z3f5k1\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/agents/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`agent_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/conversations-export\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-16T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"whatsapp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`csv_data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.text`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(csv_data)`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`6`,language:`csv`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csv`,children:_jsxs(_components.code,{language:`csv`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversation_id,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`message_from,`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`message_text,`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`message_created_at`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\"conv_123abc\",`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\"human\",`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`\"Hola, necesito ayuda\",`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\"2026-06-16T10:30:00.000Z\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\"conv_123abc\",`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\"agent\",`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`\"Claro, ¿en qué puedo ayudarte?\",`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\"2026-06-16T10:31:00.000Z\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\"conv_123abc\",`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\"human\",`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`\"Tengo una pregunta sobre mi pedido\",`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\"2026-06-16T10:32:00.000Z\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\"conv_456def\",`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\"human\",`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`\"Hola\",`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\"2026-06-16T15:00:00.000Z\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\"conv_456def\",`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\"agent\",`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`\"Bienvenido, ¿cómo estás?\",`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\"2026-06-16T15:01:00.000Z\"`})]}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent - Export Conversations","api":"GET https://dashboard.laburen.com/api/agents/{id}/conversations-export","description":"Export conversation history for an agent as a CSV file with filtering options","authMethod":"bearer","href":"/api-reference/endpoint/agents/conversations-export"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path","slug":"path","depth":3,"children":[]},{"title":"Query","slug":"query","depth":3,"children":[]},{"title":"Optional","slug":"optional","depth":4,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]},{"title":"Notes","slug":"notes","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># Export all conversations for an agent\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --location\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Bearer \u0026#x3C;API_KEY>'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL with Filters","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># Export conversations from specific date range and channel\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --location\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://dashboard.laburen.com/api/agents/clt7x2a0r0000lb08d9z3f5k1/conversations-export?from=2026-01-01T00:00:00Z\u0026#x26;to=2026-06-16T23:59:59Z\u0026#x26;channel=whatsapp\u0026#x26;status=RESOLVED'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Bearer \u0026#x3C;API_KEY>'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> apiUrl\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://dashboard.laburen.com/api'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> apiKey\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '\u0026#x3C;API_KEY>'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> agentId\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'clt7x2a0r0000lb08d9z3f5k1'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">apiUrl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/agents/\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">agentId\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/conversations-export?from=2026-01-01T00:00:00Z\u0026#x26;to=2026-06-16T23:59:59Z`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'GET'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `Bearer \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">apiKey\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> csv\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">text\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">csv\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">api_url \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://dashboard.laburen.com/api\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">api_key \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\u0026#x3C;API_KEY>\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">agent_id \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"clt7x2a0r0000lb08d9z3f5k1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.get(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">api_url\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/agents/\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">agent_id\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/conversations-export\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">api_key\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> params\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-16T23:59:59Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"channel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"whatsapp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">csv_data \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> response.text\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(csv_data)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"csv\">\u003ccode language=\"csv\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">conversation_id,\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">message_from,\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">message_text,\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">message_created_at\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">\"conv_123abc\",\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">\"human\",\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">\"Hola, necesito ayuda\",\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">\"2026-06-16T10:30:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">\"conv_123abc\",\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">\"agent\",\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">\"Claro, ¿en qué puedo ayudarte?\",\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">\"2026-06-16T10:31:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">\"conv_123abc\",\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">\"human\",\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">\"Tengo una pregunta sobre mi pedido\",\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">\"2026-06-16T10:32:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">\"conv_456def\",\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">\"human\",\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">\"Hola\",\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">\"2026-06-16T15:00:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">\"conv_456def\",\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">\"agent\",\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">\"Bienvenido, ¿cómo estás?\",\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">\"2026-06-16T15:01:00.000Z\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Agent - Export Conversations","path":"/api/agents/{id}/conversations-export","servers":[{"url":"https://dashboard.laburen.com"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"from":{"schema":[{"type":"string","description":"Start date in ISO 8601 format (e.g., `2026-01-01T00:00:00Z` )"}]},"to":{"schema":[{"type":"string","description":"End date in ISO 8601 format (e.g., `2026-06-16T23:59:59Z` )"}]},"conversationId":{"schema":[{"type":"string","description":"Comma-separated conversation IDs to export (e.g., `id1,id2,id3` )"}]},"include":{"schema":[{"type":"object","properties":{},"description":"Filter by message sender type: `all` , `human` , or `agent`"}]},"status":{"schema":[{"type":"object","properties":{},"description":"Filter by conversation status: `all` , `RESOLVED` , `UNRESOLVED` , or `HUMAN_REQUESTED`"}]},"channel":{"schema":[{"type":"object","properties":{},"description":"Filter by channel: `all` , `website` , `whatsapp` , `telegram` , `slack` , `dashboard` , `meta` , `mercadolibre` , `chatwoot` , or `crmchatsappai`"}]},"limit":{"schema":[{"type":"number","description":"Maximum number of messages to export (1-100000). Default is 5000."}]},"preview":{"schema":[{"type":"boolean","description":"When `true` , limits results to 100 messages for preview purposes"}]},"orderBy":{"schema":[{"type":"object","properties":{},"description":"Sort messages by creation date: `asc` (ascending) or `desc` (descending)"}]},"search":{"schema":[{"type":"string","description":"Search messages by text content (case-insensitive). Maximum 500 characters."}]}},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The agent ID to export conversations from","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"conversation_id":[{"type":"string","description":"Unique identifier of the conversation"}],"message_from":[{"type":"string","description":"Sender of the message: `human` or `agent`"}],"message_text":[{"type":"string","description":"The message content text"}],"message_created_at":[{"type":"string","description":"ISO 8601 timestamp of when the message was created"}]}}],"examples":{"example":{"value":{"conversation_id":"\u003cstring>","message_from":"\u003cstring>","message_text":"\u003cstring>","message_created_at":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"chatsappaicom","siteName":"Laburen Documentacion","title":"Agent - Export Conversations - Laburen Documentacion","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-14T21:47:44.042Z","originalFileLocation":"api-reference/endpoint/agents/conversations-export.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=\"Export conversation history for an agent as a CSV file with filtering options\">\u003cmeta data-mint-head name=\"application-name\" content=\"Laburen Documentacion\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chatsappaicom/aOs9D1gzrnhM7pD5/_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/chatsappaicom/aOs9D1gzrnhM7pD5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chatsappaicom/aOs9D1gzrnhM7pD5/_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/chatsappaicom/aOs9D1gzrnhM7pD5/_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/chatsappaicom/aOs9D1gzrnhM7pD5/_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/chatsappaicom/aOs9D1gzrnhM7pD5/_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/chatsappaicom/aOs9D1gzrnhM7pD5/_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/chatsappaicom/aOs9D1gzrnhM7pD5/_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/chatsappaicom/aOs9D1gzrnhM7pD5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent - Export Conversations - Laburen Documentacion\">\u003cmeta data-mint-head property=\"og:description\" content=\"Export conversation history for an agent as a CSV file with filtering options\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Laburen Documentacion\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chatsappaicom.mintlify.site/_mintlify/api/og/v2?division=Agentes\u0026amp;title=Agent+-+Export+Conversations\u0026amp;description=Export+conversation+history+for+an+agent+as+a+CSV+file+with+filtering+options\u0026amp;theme=9f73d9e571fc5e52d199e59f\u0026amp;signature=fb9f4509d7793fc651a3acecc5e00a601056b3201317ad847de2d89cf1d4fb53\">\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=\"Agent - Export Conversations - Laburen Documentacion\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Export conversation history for an agent as a CSV file with filtering options\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chatsappaicom.mintlify.site/_mintlify/api/og/v2?division=Agentes\u0026amp;title=Agent+-+Export+Conversations\u0026amp;description=Export+conversation+history+for+an+agent+as+a+CSV+file+with+filtering+options\u0026amp;theme=9f73d9e571fc5e52d199e59f\u0026amp;signature=fb9f4509d7793fc651a3acecc5e00a601056b3201317ad847de2d89cf1d4fb53\">\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/chatsappaicom/aOs9D1gzrnhM7pD5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Laburen Documentacion\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2DFD8E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/agents/conversations-export.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.laburen.com/#organization\",\"name\":\"Laburen Documentacion\",\"url\":\"https://docs.laburen.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chatsappaicom/X5lst3Tqt1FgRzc5/logo/light.png?fit=max\u0026auto=format\u0026n=X5lst3Tqt1FgRzc5\u0026q=85\u0026s=36f7a5dd80146c505715bd5f7132b1bf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.laburen.com#website\",\"name\":\"Laburen Documentacion\",\"url\":\"https://docs.laburen.com\",\"publisher\":{\"@id\":\"https://docs.laburen.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export#webpage\",\"url\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export\",\"name\":\"Agent - Export Conversations\",\"description\":\"Export conversation history for an agent as a CSV file with filtering options\",\"dateModified\":\"2026-07-14T21:47:44.042Z\",\"isPartOf\":{\"@id\":\"https://docs.laburen.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.laburen.com/api-reference/endpoint/agents/query\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agentes\",\"item\":\"https://docs.laburen.com/api-reference/endpoint/agents/query\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Agent - Export Conversations\",\"item\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export#apireference\",\"headline\":\"Agent - Export Conversations\",\"name\":\"Agent - Export Conversations\",\"description\":\"Export conversation history for an agent as a CSV file with filtering options\",\"url\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export\",\"mainEntityOfPage\":{\"@id\":\"https://docs.laburen.com/api-reference/endpoint/agents/conversations-export#webpage\"},\"dateModified\":\"2026-07-14T21:47:44.042Z\",\"publisher\":{\"@id\":\"https://docs.laburen.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.laburen.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Laburen Documentacion\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Laburen Documentacion\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/agents/conversations-export.md","siteName":"Laburen Documentacion","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"anchor":"Agentes","icon":"hat-wizard","pages":[{"title":"Agentes","href":"/agent/inicio-rapido"}]},{"anchor":"Datastore","icon":"brain","pages":[{"title":"Datastore","href":"/datastore/inicio-rapido"}]},{"anchor":"Integraciones","icon":"puzzle-piece","pages":[{"title":"Integraciones","href":"/integrations/google-drive"}]},{"anchor":"API","icon":"rectangle-terminal","groups":[{"group":"laburen API","pages":[{"title":"Autenticación","href":"/api-reference/authentication"}]},{"group":"Endpoints","pages":[{"group":"Agentes","pages":[{"title":"Agent - Query","api":"POST https://dashboard.laburen.com/api/agents/{agentId}/query","href":"/api-reference/endpoint/agents/query"},{"title":"Agent - Follow-up Query","api":"POST https://dashboard.laburen.com/api/agents/{agentId}/follow-up/query","href":"/api-reference/endpoint/agents/follow-up-query"},{"title":"Agent - Query Agent","api":"POST https://dashboard.laburen.com/api/agents/{id}/query-agent","description":"Add agent messages to conversation history. Designed for integrating with external systems like WhatsApp, Chatwoot, and CRM platforms to sync agent messages into the conversation thread.","href":"/api-reference/endpoint/agents/query-agent"},{"title":"Agent - Export Conversations","api":"GET https://dashboard.laburen.com/api/agents/{id}/conversations-export","href":"/api-reference/endpoint/agents/conversations-export"}]},{"group":"Annotations","pages":[{"title":"Annotation - List","api":"GET https://dashboard.laburen.com/api/annotations","description":"List annotations with filters. Optimized for list view with minimal includes for performance.","href":"/api-reference/endpoint/annotations/list"},{"title":"Annotation - Create or Update","api":"POST https://dashboard.laburen.com/api/annotations","href":"/api-reference/endpoint/annotations/create"},{"title":"Annotation - Get","api":"GET https://dashboard.laburen.com/api/annotations/{id}","href":"/api-reference/endpoint/annotations/get"},{"title":"Annotation - Update","api":"PATCH https://dashboard.laburen.com/api/annotations/{id}","href":"/api-reference/endpoint/annotations/update"},{"title":"Annotation - Delete","api":"DELETE https://dashboard.laburen.com/api/annotations/{id}","href":"/api-reference/endpoint/annotations/delete"},{"title":"Annotation Tags - List","api":"GET https://dashboard.laburen.com/api/annotations/tags","href":"/api-reference/endpoint/annotations/tags/list"},{"title":"Annotation Tags - Create","api":"POST https://dashboard.laburen.com/api/annotations/tags","href":"/api-reference/endpoint/annotations/tags/create"},{"title":"Annotation Tags - Delete","api":"DELETE https://dashboard.laburen.com/api/annotations/tags/{id}","href":"/api-reference/endpoint/annotations/tags/delete"}]},{"group":"Consumption Events","pages":[{"title":"Consumption Events - List","api":"GET https://dashboard.laburen.com/api/consumption-events","href":"/api-reference/endpoint/consumption-events/list"},{"title":"Consumption Events - Summary","api":"GET https://dashboard.laburen.com/api/consumption-events/summary","href":"/api-reference/endpoint/consumption-events/summary"}]},{"group":"Credits","pages":[{"title":"Credits - Balance","api":"GET https://dashboard.laburen.com/api/credits/balance","href":"/api-reference/endpoint/credits/balance"}]},{"group":"Usage","pages":[{"title":"Usage - Increment Agent Queries","api":"POST https://dashboard.laburen.com/api/usage/increment-agent-queries","href":"/api-reference/endpoint/usage/increment-agent-queries"}]},{"title":"Transcribe Audio","api":"POST https://dashboard.laburen.com/api/transcribe-audio","href":"/api-reference/endpoint/transcribe-audio"}]}]},{"anchor":"support@laburen.com","icon":"comment-question","href":"mailto:support@laburen.com"}]},"basePath":"","title":"Agent - Export Conversations - Laburen Documentacion","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js"]}