---
title: "Ask AI with structured outputs"
method: POST
path: "/prediction"
---

# Ask AI with structured outputs

`POST /prediction`

The Feedly Ask AI API allows developers to leverage the power of Large Language Models (LLMs) to ask questions and gather insights from a set of articles.

## Request body

- object
  - `entryIds` string[] — An array of article IDs to perform AI actions on
  - `prompt` string — The user-generated prompt to ask questions or gather insights from the articles

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/feedly/apis/streams-api.md) · [All operations](https://skmtc.net/feedly/apis/streams-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/feedly/streams-api/versions/d38216a6d069/schema)
