<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>API · LocalAI</title><link>https://localai.io/docs/api/index.html</link><description>The HTTP API and the pages that describe it.</description><generator>Hugo</generator><language>en-GB</language><atom:link href="https://localai.io/docs/api/index.xml" rel="self" type="application/rss+xml"/><item><title>OpenAI Functions and Tools</title><link>https://localai.io/docs/api/openai-functions/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/api/openai-functions/index.html</guid><description>Use the OpenAI functions and tools API with LocalAI models on any backend.</description></item><item><title>Realtime API</title><link>https://localai.io/docs/api/openai-realtime/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/api/openai-realtime/index.html</guid><description>Hold low-latency voice and text conversations over WebSocket with the Realtime API.</description></item><item><title>API Discovery &amp; Instructions</title><link>https://localai.io/docs/api/api-discovery/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/api/api-discovery/index.html</guid><description>Programmatic API discovery for agents, tools, and automation</description></item><item><title>Decisions API</title><link>https://localai.io/docs/api/decisions/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/api/decisions/index.html</guid><description>The Decisions API is a fast, typed decision layer. You send a piece of text (the state) and a set of named questions. A decision model answers each question with a value and a confidence, in one pass. The model does not generate text, so there is nothing to parse and no free-form output to validate.&#10;LocalAI serves it on the /v1/systemone routes. The request and response shapes follow the kev project, and the field names and question types are the same ones Ollama serves on its /v1/systemone endpoint (Ollama 0.35 and later). The wire contract is called SystemOne; the capability a model declares is called decisions. See Compatibility with Ollama for what differs.</description></item><item><title>Stores</title><link>https://localai.io/docs/api/stores/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/api/stores/index.html</guid><description>Stores are an experimental feature to help with querying data using similarity search. It is a low level API that consists of only get, set, delete and find.&#10;Tip Face recognition uses this store. The 1:N face identification flow (/v1/face/register, /v1/face/identify, /v1/face/forget) is built on top of the generic store - see Face Recognition for the face-oriented API.&#10;For example if you have an embedding of some text and want to find text with similar embeddings. You can create embeddings for chunks of all your text then compare them against the embedding of the text you are searching on.</description></item><item><title>API Error Reference</title><link>https://localai.io/docs/api/api-errors/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/api/api-errors/index.html</guid><description>This page documents the error responses returned by the LocalAI API. LocalAI supports multiple API formats (OpenAI, Anthropic, Open Responses), each with its own error structure.&#10;Note For backend and runtime failure messages (a model that will not load, could not load model, grpc service not ready, SIGILL, VRAM out of memory, the model-load cooldown 503), rather than API-envelope errors, see /docs/reference/runtime-errors/.&#10;Error Response Formats OpenAI-Compatible Format Most endpoints return errors using the OpenAI-compatible format:</description></item><item><title>Integrations</title><link>https://localai.io/docs/api/integrations/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/api/integrations/index.html</guid><description>Projects and tools that work with LocalAI.</description></item></channel></rss>