Ollama · REST API
Chat with message history
Send a list of messages, including earlier turns.
curl http://localhost:11434/api/chat -d '{"model": "llama3.2", "messages": [{"role": "user", "content": "Hello"}], "stream": false}'
Ollama · REST API
Send a list of messages, including earlier turns.
curl http://localhost:11434/api/chat -d '{"model": "llama3.2", "messages": [{"role": "user", "content": "Hello"}], "stream": false}'
Was this page helpful?