claude-instant-1.2

POST {{baseUrl}}/complete

Request Body

{"model"=>"claude-instant-1.2", "max_tokens_to_sample"=>1024, "prompt"=>"\n\nHuman: Hello, Claude\n\nAssistant: "}

HEADERS

KeyDatatypeRequiredDescription
anthropic-versionstring

RESPONSES

status: OK

{"type":"completion","id":"compl_018sNkNZEJUW35NVReds342D","completion":" Hi there!","stop_reason":"stop_sequence","model":"claude-instant-1.2","stop":"\n\nHuman:","log_id":"compl_018sNkNZEJUW35NVReds342D"}