How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Ollama Models API

List, show, create, copy, pull, push, and delete models.

Ollama Models API is one of 14 APIs that Ollama publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Models. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and authentication docs.

This API exposes 9 operations across 9 paths, and defines 17 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, http://localhost:11434.

9 operations 9 paths 17 schemas 1 DELETE3 GET5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
http://localhost:11434/api
License
Terms of Service
Resource Areas
1

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 1 DELETE, 3 GET, 5 POST. Each is listed below with its method, path, parameters, and response codes.

Models 9

List, show, create, copy, pull, push, and delete models.

GET
/api/tags
Ollama List local models
listModels → 200
POST
/api/show
Ollama Show model information
showModelInfo body → 200404
POST
/api/create
Ollama Create a model
createModel body → 200400
POST
/api/copy
Ollama Copy a model
copyModel body → 200404
POST
/api/pull
Ollama Pull a model
pullModel body → 200400
POST
/api/push
Ollama Push a model
pushModel body → 200400401
DELETE
/api/delete
Ollama Delete a model
deleteModel body → 200404
GET
/models
Ollama List models
listModels → 200
GET
/models/{model}
Ollama Retrieve a model
retrieveModel 1 param → 200404

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are CreateRequest (9 properties), ShowResponse (8 properties), ModelSummary (8 properties), ChatMessage (5 properties). Each schema is shown below with its type and property counts.

DeleteRequest
object
Request body for deleting a model from the local server.
1 property 1 required
ShowResponse
object
Detailed information about a model including its configuration, capabilities, and metadata.
8 properties
ChatMessage
object
A message in a chat conversation, containing a role, content, and optional images or tool calls.
5 properties 2 required
StatusEvent
object
A streaming status event returned during model creation, pull, or push operations.
4 properties
ModelSummary
object
Summary information about a locally available model.
8 properties
ListResponse
object
Response containing a list of all locally available models.
1 property
CreateRequest
object
Request body for creating a new model from an existing model with optional customizations.
9 properties 1 required
PushRequest
object
Request body for uploading a model to the registry.
3 properties 1 required
ErrorResponse
object
An error response returned when a request fails.
1 property
StatusResponse
object
A status response returned for non-streaming model operations.
1 property
ModelObject
object
Information about a model in OpenAI-compatible format.
4 properties
ModelListResponse
object
Response containing a list of available models in OpenAI format.
2 properties
PullRequest
object
Request body for downloading a model from the registry.
3 properties 1 required
ShowRequest
object
Request body for retrieving detailed model information.
2 properties 1 required
ToolCall
object
A tool call requested by the model during function calling.
1 property
CopyRequest
object
Request body for copying an existing model to a new name.
2 properties 2 required
ModelDetails
object
Detailed metadata about a model's format and architecture.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ollama-models-api-openapi.yml Raw ↑

Other APIs Ollama publishes across the network.

Ollama OpenAI Compatibility API
Ollama Anthropic Compatibility API
Ollama Cloud API
Ollama Blobs API
Ollama Chat API
Ollama Chat Completions API
Ollama Completions API
Ollama Embeddings API
Ollama Generate API
Ollama Images API
Ollama Responses API
Ollama Running Models API
Where this information came from

This is an independent, third-party profile of Ollama Models API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.