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

# Create container profile

> Creates a new container profile. Admin only. API-created profiles always have is_platform=false.



## OpenAPI

````yaml /ai-app/openapi.yaml post /container-profiles
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /container-profiles:
    post:
      summary: Create container profile
      description: >-
        Creates a new container profile. Admin only. API-created profiles always
        have is_platform=false.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContainerProfileCreate'
      responses:
        '201':
          description: Container profile created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContainerProfile'
        '400':
          description: Missing required fields (name or docker_image)
        '401':
          description: Not authenticated
        '403':
          description: Requires admin role
        '409':
          description: Duplicate profile name
      security:
        - bearerAuth: []
components:
  schemas:
    ContainerProfileCreate:
      type: object
      required:
        - name
        - docker_image
      properties:
        name:
          type: string
          description: Unique profile name
        description:
          type: string
        docker_image:
          type: string
          description: Docker image for agent containers
        default_cpus:
          type: string
        default_mem_limit:
          type: string
        default_pids_limit:
          type: integer
        metadata:
          type: object
          description: Profile-specific container configuration
    ContainerProfile:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          description: Unique profile name (e.g. "standard", "gpu")
        description:
          type: string
        docker_image:
          type: string
          description: Docker image used when starting agent containers with this profile
        default_cpus:
          type: string
        default_mem_limit:
          type: string
        default_pids_limit:
          type: integer
        is_platform:
          type: boolean
          description: >-
            Platform profiles are managed by admins and cannot be deleted by
            users.
        metadata:
          type: object
          description: Profile-specific container configuration (extra_env, shm_size)
          properties:
            extra_env:
              type: array
              items:
                type: string
              description: Additional environment variables injected into the container
            shm_size:
              type: string
              description: Shared memory size for the container (e.g. "256m")
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````