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

# Create Asset

> Creates a new asset.

:param asset: The asset to create. Asset name can be max. 255 characters long
              and must only contain letters (A-z), digits (0-9), '.', '_', or '-'.



## OpenAPI

````yaml docs/avxcelerate/assets-manager-rest-api/scenario-manager.aws-preprod-api-asset-manager-v1.json POST /assets
openapi: 3.1.0
info:
  title: Assets Manager
  summary: Service to manage assets for the simulations
  version: 0.1.0
servers:
  - url: https://{host}/api/assets-manager/v1
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security: []
paths:
  /assets:
    post:
      tags:
        - assets
      summary: Create Asset
      description: >-
        Creates a new asset.


        :param asset: The asset to create. Asset name can be max. 255 characters
        long
                      and must only contain letters (A-z), digits (0-9), '.', '_', or '-'.
      operationId: assets-create_asset
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssetCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Asset'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    AssetCreate:
      properties:
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        asset_type:
          type: string
          title: Asset Type
        file_format:
          type: string
          title: File Format
        attributes:
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
          type: object
          title: Attributes
          default: {}
      type: object
      required:
        - name
        - description
        - asset_type
        - file_format
      title: AssetCreate
      description: Create class for asset definition.
    Asset:
      properties:
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        asset_type:
          type: string
          title: Asset Type
        file_format:
          type: string
          title: File Format
        attributes:
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
          type: object
          title: Attributes
          default: {}
        id:
          type: string
          title: Id
        user:
          type: string
          title: User
        latest_version:
          type: integer
          title: Latest Version
          default: 0
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - name
        - description
        - asset_type
        - file_format
        - id
        - user
      title: Asset
      description: Database class for asset definition.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    JsonValue: {}
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````