---
title: "List models from a provider base URL"
method: GET
path: "/providers/models"
tags: ["System"]
---

# List models from a provider base URL

`GET /providers/models`

## Request

- Base URL: `https://foresea.ink` (the document declares no server; this is the origin it was published from)
- URL: `https://foresea.ink/providers/models`
- Auth: none declared

Fetch available models from an OpenAI-compatible or Ollama endpoint.

Pass `base_url` (e.g. `http://localhost:11434`). Returns `{models: [...]}`.
Cloud-metadata hosts are blocked.

## Query parameters

- `base_url` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/foresea/apis/foresea-intelligence-api.md) · [All operations](https://skmtc.dev/foresea/apis/foresea-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foresea/apis/foresea-intelligence-api/revisions/b03e49f4385d?raw)
