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

# Generate Model Profile

> Inspects a model at a storage location, such as a Hugging Face repo, and returns its profile. Nothing is saved.



## OpenAPI

````yaml openapi-specs/playground/platform.json POST /models/model-profiles/
openapi: 3.1.0
info:
  title: Simplismart Platform APIs (Read-only)
  description: >-
    Read-only endpoints for accounts, models, deployments, observability, usage,
    alerting and external catalogues.
  version: 1.0.0
servers:
  - url: https://api.app.simplismart.ai
    description: Simplismart API
security: []
tags:
  - name: Accounts
  - name: Models
  - name: Deployments
  - name: Observability
  - name: Usage
  - name: Alerting
paths:
  /models/model-profiles/:
    post:
      tags:
        - Models
      summary: Generate Model Profile
      description: >-
        Inspects a model at a storage location, such as a Hugging Face repo, and
        returns its profile. Nothing is saved.
      operationId: post_models_model_profiles
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  description: One of `hf`, `s3`, `gs`, `blob`, `local`, `public`.
                path:
                  type: string
                  description: Storage path.
                secret_id:
                  type: string
                  format: uuid
                  description: >-
                    Secret holding credentials. `hf` and `s3` fall back to
                    platform credentials when omitted.
              required:
                - type
                - path
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              example:
                profile: {}
              schema:
                type: object
                properties:
                  profile:
                    type: object
        '401':
          description: 'Unauthorized: Authentication failed'
          content:
            application/json:
              example:
                error: Authentication failed
        '404':
          description: 'Not found: message: Invalid secretId provided'
          content:
            application/json:
              example:
                error: 'message: Invalid secretId provided'
        '500':
          description: Server error
          content:
            application/json:
              example:
                error: 'message: Failed to generate profiles'
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your Simplismart Playground token, from Settings → API Key.

````

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