Skip to main content
POST
Reference example
当前未启用。

请求规范

  • 方法与路径: POST /apis/v1/anthropic-websearch/search
  • 可用状态: disabled
此接口已停用,无法调用。历史请求和 schema 仅保留供参考,当前未发布价格。
  • 请求 URL 模板: https://api.aisa.one/apis/v1/anthropic-websearch/search
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

历史归档接口:已停用,不可调用,价格未发布。

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
max_tokens
integer
default:1024
required

Maximum number of tokens to generate in the answer. Required by the upstream Messages API.

Example:

1024

messages
object[]
required

Conversation messages, same format as the Anthropic Messages API. The user turn holds your question.

Example:
system
string

Optional system prompt to steer the answer's tone or format.

Response

A standard Anthropic Messages response. content[] interleaves the searches performed and the cited answer; usage.server_tool_use.web_search_requests is the billed search count.

content
object[]

Ordered blocks: server_tool_use (search queries), web_search_tool_result (sources), and text (the cited answer).

id
string
role
string
Example:

"assistant"

stop_reason
string
Example:

"end_turn"

type
string
Example:

"message"

usage
object