Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
docs: fix openapi.yaml warnings, rename api.md to api-reference.md (#12904)
Jeffrey Morgan2d5e066c8cb2
diff --git a/docs/api.md b/docs/api-reference.mdsimilarity index 100%rename from docs/api.mdrename to docs/api-reference.mddiff --git a/docs/openapi.yaml b/docs/openapi.yamlindex 6448bd9c8..61f2a6fa3 100644--- a/docs/openapi.yaml+++ b/docs/openapi.yaml@@ -2,12 +2,15 @@ openapi: 3.1.0info:title: Ollama APIversion: 0.1.0+ license:+ name: MIT+ url: https://opensource.org/licenses/MITdescription: |OpenAPI specification for the Ollama HTTP API-servers:- url: http://localhost:11434- description: Local Ollama instance+ description: Ollama+security: []components:securitySchemes:bearerAuth:@@ -93,8 +96,11 @@ components:type: booleandefault: truethink:- type: boolean- description: When true, returns separate thinking output in addition to content+ oneOf:+ - type: boolean+ - type: string+ enum: [high, medium, low]+ description: When true, returns separate thinking output in addition to content. Can be a boolean (true/false) or a string ("high", "medium", "low") for supported models.raw:type: booleandescription: When true, returns the raw response from the model without any prompt templating@@ -271,8 +277,11 @@ components:type: booleandefault: truethink:- type: boolean- description: When true, returns separate thinking output in addition to content+ oneOf:+ - type: boolean+ - type: string+ enum: [high, medium, low]+ description: When true, returns separate thinking output in addition to content. Can be a boolean (true/false) or a string ("high", "medium", "low") for supported models.keep_alive:oneOf:- type: string@@ -310,7 +319,6 @@ components:type: arrayitems:type: string- nullable: truedescription: Optional base64-encoded images in the responsedone:type: boolean@@ -367,7 +375,6 @@ components:type: arrayitems:type: string- nullable: truedescription: Partial base64-encoded images, when presentdone:type: boolean@@ -543,6 +550,9 @@ components:license:type: stringdescription: The license of the model+ modified_at:+ type: string+ description: Last modified timestamp in ISO 8601 formatdetails:type: objectdescription: High-level model details@@ -622,6 +632,9 @@ components:size_vram:type: integerdescription: VRAM usage in bytes+ context_length:+ type: integer+ description: Context length for the running modelPsResponse:type: objectproperties: