v3

latestOpenAPI 3.1.02026-08-01101194245.5 KB
imports

Create Import History Endpoint

Create import history record to store generic tabular dataframe data.

This endpoint is called after bulk upload completion to store the complete import record with the original parsed data (BibTeX, CSV, etc.) in a standardized dataframe format.

Args: import_history_create: Import history creation data db: Database session current_user: Authenticated user

Returns: ImportHistoryResponse with created record information

Raises: HTTPException: If workspace doesn't exist or creation fails

post/imports/history

Request body

workspace_idstring uuid required

Target workspace ID

filenamestring required

Import filename (.bib, .csv, etc.)

dataobject required

Tabular dataframe data converted from BibTeX file

metadataobject nullable

Import metadata including ImportStatus and associated files for each reference

Response

Successful Response

idstring uuid required

Import history record ID

workspace_idstring uuid required

Workspace ID

filenamestring required

Import filename

created_atstring date-time required

Creation timestamp