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

# Create deployment profile

> Change shared compute capacity. CPU and memory choices affect new work; review existing profiles and limits first.

ReferenceApplies to: Unified engine deployments

## Related guidance

[Addresses and access](https://docs.e6data.com/transformation/http/access.md) · [Request identity](https://docs.e6data.com/transformation/http/request-identity.md) · [Errors and recovery](https://docs.e6data.com/transformation/http/errors.md) · [Pagination and results](https://docs.e6data.com/transformation/http/results.md)


## OpenAPI

````yaml openapi/transformation.json POST /api/v1/workers/profiles
openapi: 3.1.0
info:
  description: >-
    HTTP contracts for the Unified engine. Requests use the connected
    deployment's access model and configured owner. Response examples are
    illustrative; inspect your engine response in your client. SQL-managed
    secrets, credentials, streaming pipelines and maintenance run through
    session operations.
  title: Laminar Unified HTTP API
  version: v1
servers:
  - url: https://engine.example.com
    description: >-
      Example engine origin. Replace it with your deployment URL and any API
      mount prefix.
security: []
paths:
  /api/v1/workers/profiles:
    post:
      tags:
        - Compute and workers
      summary: create deployment profile
      description: >-
        Change shared compute capacity. CPU and memory choices affect new work;
        review existing profiles and limits first.
      operationId: create_deployment_profile
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Input_kernel_controller_src_pools_settings_rs_DeploymentProfileCreate
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/kernel_controller_src_pools_settings_rs_DeploymentProfileSettings
          description: Successful response.
        default:
          content:
            application/json:
              example:
                error:
                  code: invalid_request
                  message: Check the request fields
              schema:
                $ref: '#/components/schemas/ApiError'
          description: A rejected or failed request. Inspect error.code before retrying.
components:
  schemas:
    Input_kernel_controller_src_pools_settings_rs_DeploymentProfileCreate:
      additionalProperties: false
      properties:
        name:
          type: string
        provisioner:
          type: string
        resources:
          $ref: >-
            #/components/schemas/Input_shared_common_src_lib_rs_ComputeRequirements
        sizing:
          $ref: >-
            #/components/schemas/Input_shared_common_src_execution_pools_rs_DeploymentPoolSizing
      required:
        - name
        - provisioner
        - sizing
        - resources
      type: object
    kernel_controller_src_pools_settings_rs_DeploymentProfileSettings:
      properties:
        deleted:
          type: boolean
        name:
          type: string
        paused:
          type: boolean
        provisioner:
          anyOf:
            - type: string
            - type: 'null'
        resources:
          $ref: '#/components/schemas/shared_common_src_lib_rs_ComputeRequirements'
        revision:
          minimum: 0
          type: integer
        sizing:
          $ref: >-
            #/components/schemas/shared_common_src_execution_pools_rs_DeploymentPoolSizing
        updated_at:
          $ref: '#/components/schemas/shared_common_src_time_rs_WallClockTimestamp'
      required:
        - name
        - provisioner
        - revision
        - sizing
        - resources
        - updated_at
        - paused
        - deleted
      type: object
    ApiError:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
    Input_shared_common_src_lib_rs_ComputeRequirements:
      properties:
        cpu_millicores:
          minimum: 1
          type: integer
        memory_bytes:
          minimum: 1
          type: integer
        tuning:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_shared_common_src_compute_rs_ComputeTuning
            - type: 'null'
      required:
        - cpu_millicores
        - memory_bytes
      type: object
    Input_shared_common_src_execution_pools_rs_DeploymentPoolSizing:
      oneOf:
        - allOf:
            - properties:
                mode:
                  const: fixed
              required:
                - mode
              type: object
            - properties:
                workers:
                  minimum: 0
                  type: integer
              required:
                - workers
              type: object
        - allOf:
            - properties:
                mode:
                  const: autoscaling
              required:
                - mode
              type: object
            - properties:
                idle_timeout_seconds:
                  minimum: 1
                  type: integer
                max_workers:
                  minimum: 1
                  type: integer
                min_workers:
                  minimum: 0
                  type: integer
              required: []
              type: object
    shared_common_src_lib_rs_ComputeRequirements:
      properties:
        cpu_millicores:
          minimum: 1
          type: integer
        memory_bytes:
          minimum: 1
          type: integer
        tuning:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_compute_rs_ComputeTuning'
            - type: 'null'
      required:
        - cpu_millicores
        - memory_bytes
      type: object
    shared_common_src_execution_pools_rs_DeploymentPoolSizing:
      oneOf:
        - allOf:
            - properties:
                mode:
                  const: fixed
              required:
                - mode
              type: object
            - properties:
                workers:
                  minimum: 0
                  type: integer
              required:
                - workers
              type: object
        - allOf:
            - properties:
                mode:
                  const: autoscaling
              required:
                - mode
              type: object
            - properties:
                idle_timeout_seconds:
                  minimum: 1
                  type: integer
                max_workers:
                  minimum: 1
                  type: integer
                min_workers:
                  minimum: 0
                  type: integer
              required:
                - min_workers
                - max_workers
                - idle_timeout_seconds
              type: object
    shared_common_src_time_rs_WallClockTimestamp:
      properties:
        unix_millis:
          type: integer
      required:
        - unix_millis
      type: object
    Input_shared_common_src_compute_rs_ComputeTuning:
      additionalProperties: false
      properties:
        batch_rows:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        file_read_concurrency:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        input_prefetch_batches:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        native_parquet_scan:
          anyOf:
            - type: boolean
            - type: 'null'
          description: >-
            False always uses connector-produced Arrow batches. Omitted keeps
            the native Parquet capability enabled when the source can supply it
            safely.
        output_buffer_batches:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        query_memory_bytes:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        spill_bytes:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: >-
            Zero disables disk spill. The directory is controlled by the
            deployment.
        threads:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        write_batch_rows:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        write_parallelism:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
      required: []
      type: object
    shared_common_src_compute_rs_ComputeTuning:
      properties:
        batch_rows:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        file_read_concurrency:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        input_prefetch_batches:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        native_parquet_scan:
          anyOf:
            - type: boolean
            - type: 'null'
          description: >-
            False always uses connector-produced Arrow batches. Omitted keeps
            the native Parquet capability enabled when the source can supply it
            safely.
        output_buffer_batches:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        query_memory_bytes:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        spill_bytes:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: >-
            Zero disables disk spill. The directory is controlled by the
            deployment.
        threads:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        write_batch_rows:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        write_parallelism:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
      required:
        - threads
        - query_memory_bytes
        - batch_rows
        - write_batch_rows
        - write_parallelism
        - spill_bytes
        - output_buffer_batches
        - file_read_concurrency
        - input_prefetch_batches
      type: object

````

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