Skip to main content
Upload an analysis for a measurement

Body

multipart/form-data
file
string
required
measurement_id
string
required
name
string
required

User-provided analysis name

analysis_type
string
required

Kind of analysis, e.g. 'ecm_from_eis' (free-form)

columns
string
default:[]

JSON array of column specs: [{"name": "R0", "unit": "Ohm"}, ...]

metadata
string
default:{}

JSON object of loose metadata for the analysis

notes
string | null

Free-text description of how the analysis was performed

Response

Successful Response

An analysis record as returned by the API.

measurement_id
string
required

ID of the parent cell measurement this analysis is derived from.

name
string
required

User-provided analysis name.

analysis_type
string
required

Kind of analysis, e.g. 'ecm_from_eis'. Free-form; see KNOWN_ANALYSIS_TYPES for the advisory set the frontend offers.

Minimum string length: 1
id
string
required

Unique identifier.

organization_id
string
required

Organization that owns this analysis.

created_at
string<date-time>
required

Creation timestamp.

updated_at
string<date-time>
required

Last update timestamp.

columns
AnalysisColumnSpec · object[]

Columns present in the analysis parquet, for header preview.

metadata
Metadata · object

Loose metadata: source RPT/cycle identity, extractor parameters, etc.

notes
string | null

Free-text human description of how the analysis was performed.

project_id
string | null

Project this analysis belongs to, denormalized from the parent measurement. Null when the parent measurement has no project (org-scoped fallback).

created_by
string | null

User ID of the creator.