# New Ollama Code Models Workflow

**Use case:** 

Run a repeatable Ollama Library workflow sorted by newest and filtered to code-capable models for market monitoring.

## Input

```json
{
  "searchQuery": "",
  "maxModels": 100,
  "maxPages": 5,
  "sortBy": "newest",
  "filterCapabilities": [
    "code"
  ],
  "maxRequestRetries": 3
}
```

## Output

```json
{
  "name": {
    "label": "Model Name",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "pullCount": {
    "label": "Pulls",
    "format": "text"
  },
  "tagCount": {
    "label": "Tags",
    "format": "number"
  },
  "parameterSizes": {
    "label": "Sizes",
    "format": "text"
  },
  "capabilities": {
    "label": "Capabilities",
    "format": "text"
  },
  "updatedAt": {
    "label": "Updated",
    "format": "text"
  },
  "modelUrl": {
    "label": "URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Ollama Library Scraper](https://apify.com/automation-lab/ollama-library-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/ollama-library-scraper) to learn more, explore other use cases, and run it yourself.