ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
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
}Create or update an AWS integration for this user from Galileo.
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
}Show child attributes
anthropic, aws_bedrock, aws_sagemaker, azure, custom, databricks, mistral, nvidia, openai, vegas_gateway, vertex_ai, writer Alternative names for the model, used for matching with various current, versioned or legacy names.
tokens, characters Maps the internal settings parameters (left) to the serialized parameters (right) we want to send in the API requests.
Show child attributes
assumed_role, key_secret Successful Response
anthropic, aws_bedrock, aws_sagemaker, azure, custom, databricks, labelstudio, mistral, nvidia, openai, vegas_gateway, vertex_ai, writer Was this page helpful?