---
title: "GET /llm-answers/answer"
method: GET
path: "/llm-answers/answer"
tags: ["LlmAnswers"]
---

# GET /llm-answers/answer

`GET /llm-answers/answer`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/llm-answers/answer`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `prompt` string, required
- `q` string, nullable
- `model` string, nullable
- `timezone` string, nullable
- `locale` string, nullable
- `history` object[]
  - `role` 'user' | 'assistant', required
  - `text` string, required

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `422`: Validation error

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
