# 신경망 시맨틱 웹 검색을 실행합니다.

**API:** Data API

**Endpoint:** `POST /v1/beta/exa/search`

**Tags:** Exa

키워드가 아닌 의미로 웹을 검색합니다. `query`는 필수이며 `category`, `includeDomains`, `excludeDomains`, `startPublishedDate`, `endPublishedDate`로 좁히고 `numResults`를 설정하세요. `requestId`, `resolvedSearchType`, `searchTime`, `costDollars`와 `id`, `title`, `url`이 포함된 `results[]`를 반환합니다. **`id`는 URL이며**, `post_exa_contents`가 받는 값입니다. ⚠️ 요청하지 않으면 결과에 **페이지 텍스트가 없습니다**. `contents`를 전달하거나 `post_exa_contents`로 후속 요청하세요. 쿼리가 키워드가 아니라 설명일 때 `searchWeb`보다 선택하세요. 같은 호출에서 텍스트를 원하면 Tavily를, 목록이 아닌 서면 답변을 원하면 `post_exa_answer`를 선택하세요.

### 가격 참고

- 과금 기준: 보고된 응답 비용.
- 참고 요청 추정치: USD 0.017.
- 참고 고객 배수: 1.0. 정산된 고객 금액에 다시 적용하지 마세요.

참고용 메타데이터일 뿐이며, 계정 견적이나 보장된 가격 또는 지출 한도가 아닙니다. 리소스 크레딧은 Felo 크레딧이 아닙니다. 최종 청구는 Felo 청구 기록을 따릅니다.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "자연어 검색 쿼리입니다.",
      "example": "latest evaluation frameworks for AI agents"
    },
    "type": {
      "type": "string",
      "enum": [
        "auto",
        "fast",
        "instant",
        "deep-lite",
        "deep",
        "deep-reasoning"
      ],
      "default": "auto",
      "description": "검색 모드입니다. auto를 사용하면 Exa가 선택하며, deep 모드는 더 높은 지연 시간을 대가로 고품질 검색을 제공합니다."
    },
    "numResults": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 10,
      "description": "반환할 결과 수입니다."
    },
    "category": {
      "type": "string",
      "enum": [
        "company",
        "research paper",
        "news",
        "personal site",
        "financial report",
        "people"
      ],
      "description": "우선할 페이지 종류에 대한 선택적 힌트입니다."
    },
    "includeDomains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "이 도메인의 결과만 반환합니다."
    },
    "excludeDomains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "이 도메인의 결과는 제외합니다."
    },
    "startPublishedDate": {
      "type": "string",
      "format": "date-time",
      "description": "이 ISO 8601 날짜 이후에 게시된 결과만 반환합니다."
    },
    "endPublishedDate": {
      "type": "string",
      "format": "date-time",
      "description": "이 ISO 8601 날짜 이전에 게시된 결과만 반환합니다."
    },
    "contents": {
      "type": "object",
      "description": "각 결과와 함께 반환할 콘텐츠 옵션입니다.",
      "properties": {
        "text": {
          "type": "boolean",
          "description": "전체 페이지 텍스트를 반환합니다."
        },
        "highlights": {
          "type": "boolean",
          "description": "관련성 높은 스니펫을 강조 표시하여 반환합니다."
        },
        "summary": {
          "type": "boolean",
          "description": "AI가 생성한 페이지 요약을 반환합니다."
        }
      }
    },
    "outputSchema": {
      "type": "object",
      "description": "결과에서 구조화된 출력을 합성하는 데 사용되는 JSON Schema입니다."
    },
    "systemPrompt": {
      "type": "string",
      "description": "구조화된 출력이 생성되는 방식을 안내하는 지침입니다."
    },
    "stream": {
      "default": false,
      "enum": [
        false
      ],
      "type": "boolean"
    }
  },
  "required": [
    "query"
  ]
}
```

## Responses

### 200 — 검색이 완료되었습니다.

Headers:
- `X-Request-Id` (string) — Felo 지원팀에 문의할 때 포함할 요청 식별자입니다.

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "description": "Exa 요청 식별자입니다."
    },
    "results": {
      "type": "array",
      "description": "순위가 매겨진 검색 결과입니다.",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "publishedDate": {
            "type": "string"
          },
          "author": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        }
      }
    },
    "output": {
      "description": "outputSchema가 제공된 경우에만 존재하는 구조화된 출력입니다."
    },
    "costDollars": {
      "description": "리소스 사용에 대한 공급자 비용 내역입니다. 정보 제공용일 뿐이며, Felo 고객 청구 금액이나 Felo 청구 영수증이 아닙니다."
    }
  }
}
```

### 400 — 요청을 처리할 수 없습니다. 요청 매개변수를 확인하세요.

### 401 — 유효한 Felo API 키가 필요합니다.

### 402 — 청구 요건이 충족되지 않아 요청을 진행할 수 없습니다.

### 403 — 이 계정에는 이 작업을 수행할 권한이 없습니다.

### 429 — 요청 또는 지출 한도에 도달했습니다.

### 502 — 서비스가 요청을 완료할 수 없습니다.

### 503 — API 또는 청구 서비스를 일시적으로 사용할 수 없습니다.

### 504 — 요청을 처리하는 동안 서비스 시간이 초과되었습니다.

### default — 오류 응답. 업스트림 패스스루 응답은 공급자 형식을 사용할 수 있습니다.

**application/json**

Schema:

```json
{}
```
