---
title: "Create or update AWS SageMaker integration"
method: PUT
path: "/v2/integrations/aws_sagemaker"
tags: ["integrations"]
---

# Create or update AWS SageMaker integration

`PUT /v2/integrations/aws_sagemaker`

Create or update an AWS integration for this user from Galileo.

## Request body

- AwsSageMakerIntegrationCreate
  - `multi_modal_config` MultiModalModelIntegrationConfig — Configuration for multi-modal capabilities (file uploads).
    - `max_files` integer, nullable — Maximum number of files allowed per request. None means no limit.
    - `max_file_size_bytes` integer, nullable — Maximum file size in bytes per file. None means no limit.
  - `models` Model[]
    - `name` string, required
    - `alias` string, required
    - `integration` 'anthropic' | 'aws_bedrock' | 'aws_sagemaker' | 'azure' | 'custom' | 'databricks' | 'mistral' | 'nvidia' | 'openai' | 'vegas_gateway' | 'vertex_ai' | 'writer'
    - `user_role` string, nullable
    - `assistant_role` string, nullable
    - `system_supported` boolean
    - `input_modalities` ContentModality[] — Input modalities that the model can accept.
    - `alternative_names` string[] — Alternative names for the model, used for matching with various current, versioned or legacy names.
    - `input_token_limit` integer, nullable
    - `output_token_limit` integer, nullable
    - `token_limit` integer, nullable
    - `cost_by` 'tokens' | 'characters'
    - `is_chat` boolean
    - `provides_log_probs` boolean
    - `formatting_tokens` integer
    - `response_prefix_tokens` integer
    - `api_version` string, nullable
    - `legacy_mistral_prompt_format` boolean
    - `requires_max_tokens` boolean
    - `max_top_p` number, nullable
    - `params_map` RunParamsMap — Maps the internal settings parameters (left) to the serialized parameters (right) we want to send in the API requests.
      - `model` string, nullable
      - `temperature` string, nullable
      - `max_tokens` string, nullable
      - `stop_sequences` string, nullable
      - `top_p` string, nullable
      - `top_k` string, nullable
      - `frequency_penalty` string, nullable
      - `presence_penalty` string, nullable
      - `echo` string, nullable
      - `logprobs` string, nullable
      - `top_logprobs` string, nullable
      - `n` string, nullable
      - `api_version` string, nullable
      - `tools` string, nullable
      - `tool_choice` string, nullable
      - `response_format` string, nullable
      - `reasoning_effort` string, nullable
      - `verbosity` string, nullable
      - `deployment_name` string, nullable
    - `output_map` OutputMap
      - `response` string, required
      - `token_count` string, nullable
      - `input_token_count` string, nullable
      - `output_token_count` string, nullable
      - `completion_reason` string, nullable
    - `input_map` InputMap
      - `prompt` string, required
      - `prefix` string
      - `suffix` string
  - `credential_type` 'assumed_role' | 'key_secret'
  - `region` string
  - `inference_profiles` object — Mapping from model name (Foundation model ID) to inference profile ARN or ID
  - `token` object, required

## Response `200`

Successful Response

- IntegrationDB
  - `id` string, uuid4, required
  - `permissions` Permission[]
    - `action` union, required
      - 'update' | 'delete' | 'read_api_keys' | 'change_role_to_admin' | 'change_role_to_manager' | 'change_role_to_user' | 'change_role_to_read_only'
      - 'update' | 'list_members' | 'join' | 'request_to_join'
      - 'update_role' | 'delete'
      - 'update' | 'delete' | 'rename' | 'share' | 'create_run' | 'delete_run' | 'rename_run' | 'move_run' | 'export_data' | 'configure_human_feedback' | 'record_human_feedback' | 'log_data' | 'toggle_metric' | 'edit_alert' | 'create_stage' | 'edit_stage' | 'configure_crown_logic' | 'delete_data' | 'set_metric' | 'edit_run_tags' | 'dismiss_alert' | 'edit_slice' | 'edit_edit' | 'update_control_bindings' | 'use_control_runtime'
      - 'update' | 'delete' | 'share' | 'export' | 'autotune_apply'
      - 'update' | 'delete'
      - 'update' | 'delete'
      - 'update' | 'delete'
      - 'update' | 'delete'
      - 'update' | 'delete' | 'share' | 'export' | 'rename'
      - 'update' | 'delete' | 'share' | 'read_secrets'
      - 'rename' | 'delete' | 'delete_log_data' | 'read_settings' | 'update_settings' | 'read_cost_settings' | 'read_ai_usage'
      - 'update' | 'delete' | 'share' | 'record_annotation'
      - 'create' | 'read' | 'update' | 'delete' — Actions on Agent Control's org-scoped ``control`` resource.
    - `allowed` boolean, required
    - `message` string, nullable
  - `name` string, required
  - `provider` 'anthropic' | 'aws_bedrock' | 'aws_sagemaker' | 'azure' | 'custom' | 'databricks' | 'mistral' | 'nvidia' | 'openai' | 'vegas_gateway' | 'vertex_ai' | 'writer', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `created_by` string, uuid4, required
  - `is_selected` boolean
  - `is_disabled` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/galileo/apis/fastapi.md) · [All operations](https://skmtc.net/galileo/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/galileo/fastapi/versions/441b96da8c30/schema)
