Skip to main content
PUT
/
v2
/
integrations
/
aws_sagemaker
Create Or Update Integration
curl --request PUT \
  --url https://api.galileo.ai/v2/integrations/aws_sagemaker \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '
{
  "token": {},
  "models": [
    {
      "name": "<string>",
      "alias": "<string>",
      "integration": "openai",
      "user_role": "<string>",
      "assistant_role": "<string>",
      "system_supported": false,
      "alternative_names": [
        "<string>"
      ],
      "input_token_limit": 123,
      "output_token_limit": 123,
      "token_limit": 123,
      "output_price": 0,
      "input_price": 0,
      "cost_by": "tokens",
      "is_chat": false,
      "provides_log_probs": false,
      "formatting_tokens": 0,
      "response_prefix_tokens": 0,
      "api_version": "<string>",
      "params_map": {
        "model": "<string>",
        "temperature": "<string>",
        "max_tokens": "<string>",
        "stop_sequences": "<string>",
        "top_p": "<string>",
        "top_k": "<string>",
        "frequency_penalty": "<string>",
        "presence_penalty": "<string>",
        "echo": "<string>",
        "logprobs": "<string>",
        "top_logprobs": "<string>",
        "n": "<string>",
        "api_version": "<string>",
        "tools": "<string>",
        "tool_choice": "<string>",
        "response_format": "<string>",
        "reasoning_effort": "<string>",
        "verbosity": "<string>",
        "deployment_name": "<string>"
      },
      "output_map": {
        "response": "<string>",
        "token_count": "<string>",
        "input_token_count": "<string>",
        "output_token_count": "<string>",
        "completion_reason": "<string>"
      },
      "input_map": {
        "prompt": "<string>",
        "prefix": "",
        "suffix": ""
      }
    }
  ],
  "credential_type": "key_secret",
  "region": "us-west-2"
}
'
{
  "id": "<string>",
  "name": "anthropic",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "permissions": [],
  "is_selected": false
}

Authorizations

Galileo-API-Key
string
header
required

Body

application/json
token
Token · object
required
models
Model · object[]
credential_type
enum<string>
default:key_secret
Available options:
assumed_role,
key_secret
region
string
default:us-west-2

Response

Successful Response

id
string<uuid4>
required
name
enum<string>
required
Available options:
anthropic,
aws_bedrock,
aws_sagemaker,
azure,
custom,
databricks,
labelstudio,
mistral,
nvidia,
openai,
vegas_gateway,
vertex_ai,
writer
created_at
string<date-time>
required
updated_at
string<date-time>
required
created_by
string<uuid4>
required
permissions
Permission · object[]
is_selected
boolean
default:false