A Product is the top-level container in Bedrock. It represents a single AI-powered application and holds all the configuration needed for your agents to run.
curl -X POST https://api.bedrock.orinlabs.org/api/products/products/ \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Customer Support Bot", "system_prompt": "You are a helpful customer support agent for Acme Corp.", "default_model": "claude-sonnet-4", "anthropic_api_key": "sk-ant-..." }'
Response:
Copy
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Customer Support Bot", "system_prompt": "You are a helpful customer support agent for Acme Corp.", "default_model": "claude-sonnet-4", "tool_call_secret": "", "created_at": "2024-01-15T10:30:00Z"}
LLM provider keys (openai_api_key, anthropic_api_key) are write-only for
security. They cannot be read back via the API.
The product’s system_prompt is inherited by all agents in the product. It defines the baseline behavior and personality.
Copy
{ "system_prompt": "You are an AI assistant for Acme Corp.\n\nKey responsibilities:\n- Answer customer questions about our products\n- Help troubleshoot common issues\n- Escalate complex problems to human support\n\nTone: Professional but friendly. Never make up information."}
Agents can override this with their own system_prompt for specialized behavior.