---
title: "AI-assisted search"
method: POST
path: "/v1/ai"
tags: ["API"]
---

# AI-assisted search

`POST /v1/ai`

## Request

- Base URL: `https://api.fastaf.co`
- URL: `https://api.fastaf.co/v1/ai`
- Auth: HTTP bearer

## Request body

- object
  - `query` string, required: FastAF query parameter.
  - `country` string: FastAF country parameter.
  - `language` string: FastAF language parameter.
  - `uule` string: FastAF uule parameter.
  - `location` string: FastAF location parameter.
  - `safe` string: FastAF safe parameter.
  - `html` boolean: FastAF html parameter.

## Response `200`

Provider response.

## Other responses

- `400`: Invalid request or parameters.
- `401`: A valid bearer API key is required.
- `402`: The account has insufficient credits.
- `403`: The account is suspended.
- `429`: A rate or concurrency limit was reached.
- `502`: The upstream request failed.
- `503`: The service is temporarily unavailable.
- `504`: The upstream request timed out.

---

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