> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ionworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List analyses for a measurement or project

> List analyses scoped to a single measurement or a whole project.

Exactly one of ``measurement_id`` or ``project_id`` must be supplied.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /analyses
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /analyses:
    get:
      tags:
        - Analyses
      summary: List analyses for a measurement or project
      description: |-
        List analyses scoped to a single measurement or a whole project.

        Exactly one of ``measurement_id`` or ``project_id`` must be supplied.
      operationId: list_analyses_analyses_get
      parameters:
        - name: measurement_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by parent measurement ID
            title: Measurement Id
          description: Filter by parent measurement ID
        - name: project_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by owning project ID
            title: Project Id
          description: Filter by owning project ID
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            title: Offset
            default: 0
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_Analysis_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PaginatedResponse_Analysis_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/Analysis'
          type: array
          title: Items
        count:
          type: integer
          title: Count
        total:
          type: integer
          title: Total
      type: object
      required:
        - items
        - count
        - total
      title: PaginatedResponse[Analysis]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Analysis:
      properties:
        measurement_id:
          type: string
          title: Measurement Id
          description: ID of the parent cell measurement this analysis is derived from.
        name:
          type: string
          title: Name
          description: User-provided analysis name.
        analysis_type:
          type: string
          minLength: 1
          title: Analysis Type
          description: >-
            Kind of analysis, e.g. 'ecm_from_eis'. Free-form; see
            KNOWN_ANALYSIS_TYPES for the advisory set the frontend offers.
        columns:
          items:
            $ref: '#/components/schemas/AnalysisColumnSpec'
          type: array
          title: Columns
          description: Columns present in the analysis parquet, for header preview.
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: >-
            Loose metadata: source RPT/cycle identity, extractor parameters,
            etc.
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
          description: Free-text human description of how the analysis was performed.
        id:
          type: string
          title: Id
          description: Unique identifier.
        organization_id:
          type: string
          title: Organization Id
          description: Organization that owns this analysis.
        project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Project Id
          description: >-
            Project this analysis belongs to, denormalized from the parent
            measurement. Null when the parent measurement has no project
            (org-scoped fallback).
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
          description: User ID of the creator.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Creation timestamp.
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Last update timestamp.
      type: object
      required:
        - measurement_id
        - name
        - analysis_type
        - id
        - organization_id
        - created_at
        - updated_at
      title: Analysis
      description: An analysis record as returned by the API.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    AnalysisColumnSpec:
      properties:
        name:
          type: string
          title: Name
          description: Column name in the parquet.
        unit:
          type: string
          title: Unit
          description: Physical unit; empty string if unitless.
          default: ''
        dtype:
          anyOf:
            - type: string
            - type: 'null'
          title: Dtype
          description: Optional dtype hint, e.g. 'float' or 'int'.
      type: object
      required:
        - name
      title: AnalysisColumnSpec
      description: One column in an analysis parquet, for frontend header preview.

````