Exports
List all exports for a project with optional filters.
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
GET /api/v1/projects/{project_id}/exports HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"export_id": 1,
"project_id": 1,
"conversation_id": 1,
"message_id": 1,
"requested_by": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"export_format": "text",
"source_description": "text",
"status": "text",
"error_message": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"download_count": 1
}
]Get metadata for a specific export.
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
GET /api/v1/projects/{project_id}/exports/{export_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"export_id": 1,
"project_id": 1,
"conversation_id": 1,
"message_id": 1,
"requested_by": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"export_format": "text",
"source_description": "text",
"status": "text",
"error_message": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"download_count": 1
}Delete an exported file (file + DB record).
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
DELETE /api/v1/projects/{project_id}/exports/{export_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Download an exported file.
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
No content
Validation Error
GET /api/v1/projects/{project_id}/exports/{export_id}/download HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Get a preview of the first few rows of an exported file.
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
GET /api/v1/projects/{project_id}/exports/{export_id}/preview HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"filename": "text",
"export_format": "text",
"thumbnail_base64": "text",
"columns": [
"text"
],
"rows": [
[]
],
"total_rows": 1,
"total_columns": 1,
"truncated_columns": true
}List all exports generated within a specific conversation.
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
GET /api/v1/conversations/{conversation_id}/exports HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"export_id": 1,
"project_id": 1,
"conversation_id": 1,
"message_id": 1,
"requested_by": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"export_format": "text",
"source_description": "text",
"status": "text",
"error_message": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"download_count": 1
}
]Get metadata for a specific export (no project scope).
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
GET /api/v1/exports/{export_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"export_id": 1,
"project_id": 1,
"conversation_id": 1,
"message_id": 1,
"requested_by": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"export_format": "text",
"source_description": "text",
"status": "text",
"error_message": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"download_count": 1
}Download an exported file by export_id (for exports without a project scope).
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
No content
Validation Error
GET /api/v1/exports/{export_id}/download HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Get a preview of the first few rows of an exported file (no project scope).
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
GET /api/v1/exports/{export_id}/preview HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"filename": "text",
"export_format": "text",
"thumbnail_base64": "text",
"columns": [
"text"
],
"rows": [
[]
],
"total_rows": 1,
"total_columns": 1,
"truncated_columns": true
}Last updated
