Sign in

Create text completion

documented

Generate a text completion using Claude models.

POST /v1/completeCompletionsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.anthropic.com/v1/complete" \
  -X POST \
  -H "x-api-key: {{ANTHROPIC_API_KEY}}" \
  -H "anthropic-version: {{$anthropic_version}}" \
  -H "Content-Type: application/json" \
  -d '{"model": "{{$model}}", "prompt": "{{$prompt}}", "max_tokens_to_sample": {{$max_tokens_to_sample}}, "stop_sequences": {{$stop_sequences}}, "stream": {{$stream}}, "temperature": {{$temperature}}, "top_p": {{$top_p}}, "top_k": {{$top_k}}, "metadata": {{$metadata}}, "user_id": "{{$user_id}}" }'
Create text completion · Anthropic · OpenIntegrations