> ## 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 Model Metadata From Config

> Build model metadata directly from a config dict (no saved model needed).

Used during model creation to show parameters before the model is persisted.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json post /metadata/model-from-config
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /metadata/model-from-config:
    post:
      tags:
        - metadata
      summary: Get Model Metadata From Config
      description: >-
        Build model metadata directly from a config dict (no saved model
        needed).


        Used during model creation to show parameters before the model is
        persisted.
      operationId: get_model_metadata_from_config_metadata_model_from_config_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelConfigBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ModelConfigBody:
      properties:
        config:
          additionalProperties: true
          type: object
          title: Config
      type: object
      required:
        - config
      title: ModelConfigBody
      description: Request body for config-based metadata.
    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

````