Hosted API for generating chat messages with Ollama cloud models.

API

What your agent can do

  • Generate the next chat message in a conversation between a user and an assistant.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection
API path
https://ollama.com/api/chat

Authentication
Use the API key in the Authorization: Bearer header.

Documentation & experience

  • 1 connection path
View sources and checks
How documentation is checked