HiMarketHttpRoute

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

object

description

string

路由描述

Agent route

match

object

路由匹配规则

methods

array

HTTP 方法列表

string

HTTP 方法列表

["POST"]

path

object

路径匹配规则

value

string

路径值

/v1/agents/invoke

type

string

匹配类型

Prefix

caseSensitive

boolean

是否大小写敏感

false

headers

array

Header 匹配规则列表

object

Header 匹配规则列表

name

string

参数名

X-Agent-Type

type

string

匹配类型

Exact

value

string

匹配值

dashscope

caseSensitive

boolean

是否大小写敏感

true

queryParams

array

Query 参数匹配规则列表

object

Query 参数匹配规则列表

name

string

参数名

X-Agent-Type

type

string

匹配类型

Exact

value

string

匹配值

dashscope

caseSensitive

boolean

是否大小写敏感

true

modelMatches

array

模型匹配规则列表(Agent API 专用)

object

模型匹配规则列表(Agent API 专用)

name

string

参数名

X-Agent-Type

type

string

匹配类型

Exact

value

string

匹配值

dashscope

caseSensitive

boolean

是否大小写敏感

true

builtin

boolean

是否为内置路由

false

domains

array

绑定域名列表

HiMarketDomain

绑定域名列表