Invoke Model With Raw Input

Invoke model on bedrock with raw input. Takes model ID and raw input. Please check Bedrock documentation for model-specific input format and model ID.

Sample Input: { "model_id": "anthropic.claude-3-sonnet-20240229-v1:0", "raw_input": { "anthropic_version": "bedrock-2023-05-31", "max_tokens": 1024, "messages": [ { "role": "user", "content": [

            {
                "type": "text",
                "text": "Hello"
            }
        ]
    }
]

} }

post/model/invoke_with_raw_input

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

model_idstring required
raw_inputobject required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.