cURL
curl --request POST \ --url https://api.bedrock.orinlabs.org/api/products/products/{id}/assign_default_adapters/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "system_prompt": "<string>", "default_model": "<string>", "tool_call_secret": "<string>", "openai_api_key": "<string>", "anthropic_api_key": "<string>", "adapters": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "has_openai_api_key": true, "has_anthropic_api_key": true, "openai_api_key_preview": "<string>", "anthropic_api_key_preview": "<string>", "system_prompt": "<string>", "default_model": "<string>", "tool_call_secret": "<string>", "adapters": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] }
Assign all default adapters to the specified product.
Token-based authentication with required prefix "Token"
A UUID string identifying this product.
1 - 255
255
Return masked version of OpenAI API key.
Return masked version of Anthropic API key.