v1
latestOpenAPI 3.0.22026-07-1713726.7 KBInvoke Model
Endpoint to invoke model on Bedrock with standardized input. Takes model name, prompt, and optional parameters. Please check /model/list_models for supported models and their model names.
Sample Input: { "model_name": "ANTHROPIC_CLAUDE_3_SONNET_V1", "prompt": "Translate the following text to French: 'Hello, how are you?'", "max_tokens": 100, "temperature": 0.7, "top_p": 0.9, "top_k": 50, "stop_sequences": ["\n"] }
post/model/invoke
Request body
Response
Successful Response
{"stackTrail":"paths:/model/invoke:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}