工具市场
搜索
调用测试Search the developer index
Search the developer index
- 价格
- 0.010000 USDT / 请求
- 状态
- 可调用
- 官方参考价
- 0.010000 USDT / 请求
- 调用方式
- REST · MCP
调用测试
点击运行后才会提交调用,请先检查参数和费用上限。
运行后,在这里查看状态、费用和返回内容。
接口文档
异步创建成功仅表示取得任务回执。需将回执 ID 传给对应平台的状态或结果接口,确认上游任务是否完成。
curl https://gw.asale.ai/v1/tool-runs \
-H 'Authorization: Bearer <ASALE_API_KEY>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: <UNIQUE_REQUEST_ID>' \
-d '{
"tool": "search.developer.2ed4c368",
"input": {
"body": {
"query": "IANA example domains"
}
},
"max_cost_micros": 10000
}'curl https://gw.asale.ai/v1/tool-runs/<RUN_ID> -H 'Authorization: Bearer <ASALE_API_KEY>'| 参数 | 必填 | 类型 |
|---|---|---|
| body | 是 | object |
完整输入规范
{
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"archived": {
"description": "Include or exclude archived repositories. Applies to repository results only; sending it with no `sources` scope returns no `doc` results.",
"type": "boolean"
},
"fork": {
"description": "Include or exclude forks. Applies to repository results only; sending it with no `sources` scope returns no `doc` results.",
"type": "boolean"
},
"k": {
"default": 10,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"language": {
"description": "Repository primary language, such as `Rust`. Applies to repository results only; sending it with no `sources` scope returns no `doc` results. See [how the repository filters scope a search](/api-reference/endpoint/developer-search#how-the-repository-filters-scope-a-search).",
"type": "string"
},
"license": {
"description": "Repository license, such as `MIT`. Applies to repository results only; sending it with no `sources` scope returns no `doc` results.",
"type": "string"
},
"max_stars": {
"description": "Upper bound on repository stars. Applies to repository results only; sending it with no `sources` scope returns no `doc` results.",
"minimum": 0,
"type": "integer"
},
"min_stars": {
"description": "Lower bound on repository stars. Applies to repository results only; sending it with no `sources` scope returns no `doc` results.",
"minimum": 0,
"type": "integer"
},
"passages": {
"default": 1,
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"query": {
"minLength": 1,
"type": "string"
},
"repos": {
"description": "Repository slugs to scope the repository half of the index to. Applies to the `issue`, `pull_request`, and `readme` types only. Sent together with `sources`, the two halves are combined rather than intersected. Returns 400 when no repository type is in `types`, reporting that `repos` cannot match any requested type and that you should add repository types or drop `repos`.",
"items": {
"type": "string"
},
"type": "array"
},
"skills": {
"description": "Set to `only` to limit the search to indexed agent-skill files.",
"enum": [
"only"
],
"type": "string"
},
"sources": {
"description": "Documentation source ids to scope the documentation half to, at most 20. Applies to the `doc` type only. Not a fixed enum: ids reflect the documentation sites in the index and the set grows over time. Returns 400 with `sources cannot match any requested type; add doc or drop sources` when `doc` is not in `types`.",
"items": {
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"topic": {
"description": "Repository topic, such as `async`. Applies to repository results only; sending it with no `sources` scope returns no `doc` results.",
"type": "string"
},
"types": {
"items": {
"enum": [
"doc",
"issue",
"pull_request",
"readme"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"query"
],
"type": "object"
}
},
"required": [
"body"
],
"type": "object"
}价格
0.010000 USDT / 请求
显示起始价格。请先获取当前参数的报价;完成后按实际用量结算并退回差额。
测试会使用账户余额,并受所选密钥预算限制。费用上限仅约束本次 API 调用,不包含后续调用或上游周期任务。
价格版本 5
搜索
Asale 将同一能力的通道按报价撮合,优先选择可用的低价通道。参考价取各通道已核实参考价的最高值。只有明确未执行的拒绝才可换通道;结果不确定时进入对账,避免重复收费。
供给通道: 1