Chat
Export user prompts as CSV
Streams every question users asked a chat component, as CSV. Scope it with componentId and a date range. Reads the captured prompt projection; run the backfill once to include conversations from before capture shipped.
OpenAPI specificationGET
/api/v1/chat/prompts/exportAuthentication
x-api-key
Request
curl --globoff --request GET \
--url 'https://api.example.com/api/v1/chat/prompts/export' \
--header 'x-api-key: <API_KEY>'Replace credential and <field> placeholders with your own values. URL placeholders appear as %3Cfield%3E. Review the example values before sending your request.
Replace https://api.example.com with the API server URL.
Parameters
componentIdquery · stringRestrict to a single chat component (the identifier stored on the session — the component _id for embed traffic)
sessionIdquery · stringuserIdquery · stringgroupIdquery · stringstartDatequery · stringISO 8601
endDatequery · stringISO 8601
Responses
200CSV export of user prompts
{
"type": "string",
"format": "binary"
}