> ## 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.

# Get Parameterized Model Function Curves

> Sample function-valued parameters for plotting, as the PDF report does.

Parameters
----------
parameterized_model_id : str
    ID of the parameterized model whose parameters are sampled.
parameterized_models_repository : ParameterizedModelsRepository
    Repository scoped to the caller's Supabase client.
model_repository : ModelRepository
    Repository scoped to the caller's Supabase client.
names : list[str]
    Parameters to sample, up to 20, each passed as its own ``names`` query
    parameter.

Returns
-------
dict[str, dict[str, Any]]
    For each name, ``{"x_label", "x", "curves": [{"label", "y"}]}`` with ``label``
    null for a single curve or a temperature such as ``"25 °C"``, or
    ``{"not_plotted": reason}`` when it cannot be sampled.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /cells/{cell_spec_id}/parameterized_models/{parameterized_model_id}/function-curves
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /cells/{cell_spec_id}/parameterized_models/{parameterized_model_id}/function-curves:
    get:
      tags:
        - parameterized_models
      summary: Get Parameterized Model Function Curves
      description: |-
        Sample function-valued parameters for plotting, as the PDF report does.

        Parameters
        ----------
        parameterized_model_id : str
            ID of the parameterized model whose parameters are sampled.
        parameterized_models_repository : ParameterizedModelsRepository
            Repository scoped to the caller's Supabase client.
        model_repository : ModelRepository
            Repository scoped to the caller's Supabase client.
        names : list[str]
            Parameters to sample, up to 20, each passed as its own ``names`` query
            parameter.

        Returns
        -------
        dict[str, dict[str, Any]]
            For each name, ``{"x_label", "x", "curves": [{"label", "y"}]}`` with ``label``
            null for a single curve or a temperature such as ``"25 °C"``, or
            ``{"not_plotted": reason}`` when it cannot be sampled.
      operationId: >-
        get_parameterized_model_function_curves_cells__cell_spec_id__parameterized_models__parameterized_model_id__function_curves_get
      parameters:
        - name: parameterized_model_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Parameterized Model Id
        - name: names
          in: query
          required: true
          schema:
            type: array
            items:
              type: string
            minItems: 1
            maxItems: 20
            title: Names
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  additionalProperties: true
                  type: object
                title: >-
                  Response Get Parameterized Model Function Curves Cells  Cell
                  Spec Id  Parameterized Models  Parameterized Model Id 
                  Function Curves Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.