---
title: "Sync Models From Azure"
method: POST
path: "/admin/models/sync"
tags: ["admin"]
---

# Sync Models From Azure

`POST /admin/models/sync`

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/admin/models/sync`
- Auth: HTTP bearer

Connects to Azure using SAS URL, lists all .gguf blobs,
and updates the database with new models.

## Response `200`

Successful Response

- ModelListResponse
  - `data` ModelResponse[], required
    - `name` string, nullable
    - `original_filename` string, required
    - `storage_path` string, required
    - `size_bytes` integer, required
    - `model_type` 'chat' | 'embedding', required
    - `format` 'gguf' | 'safetensors', required
    - `context_length` integer, nullable
    - `id` string, required
    - `user_id` string, required
    - `status` 'uploaded' | 'validating' | 'ready' | 'error', required
    - `error_message` string, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `page` integer, required
  - `page_size` integer, required
  - `total` integer, required

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
