Bedrock integration

Invoke model (Bedrock format)

POST/bedrock/model/{modelId}/invoke

Invokes a model using AWS Bedrock InvokeModel API format. Accepts raw model-specific request body.

Path Parameters

modelId*string

Model ID (e.g., anthropic.claude-3-sonnet-20240229-v1:0)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:8080/bedrock/model/string/invoke" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "message": "string",
  "type": "string"
}
{
  "message": "string",
  "type": "string"
}