Skip to content

API reference

Open /docs on your running Infinity v3 server for interactive Swagger UI. Its /api-doc/openapi.json describes the endpoints and types in that exact build.

The checked-in OpenAPI schema tracks this documentation's source revision. Use the running server's schema when integrating a deployed version.

Common endpoints include /v1/embeddings, /rerank, /v1/classify and /v1/systemone. Tasks and modalities depend on the loaded checkpoint. See supported models and configuration, decision inputs and embedding response formats.

HTTP responses of at least 48 KiB use zstd level 1 when the client advertises Accept-Encoding: zstd. Set INFINITY_DISABLE_RESPONSE_COMPRESSION=1 before starting the server to opt out. Responses with an unknown size stream as-is.