Create a Text Completion
Anthropic completion request payload.
Model identifier or alias.
Legacy completion prompt in Human/Assistant format.
Maximum number of tokens to sample.
CompletionMetadata schema.
Stop generation if any sequence is encountered.
Whether to stream the response.
Sampling temperature between 0 and 1.
Top-k sampling parameter.
Top-p sampling parameter.
Successful Response
Anthropic completion response payload.
Completion identifier
Object type. Always "completion".
Generated completion text.
Reason the generation stopped.
Resolved model identifier.