工具市場
搜尋
呼叫測試Search the developer index
Search the developer index
- 價格
- 0.010000 USDT / 請求
- 狀態
- 可呼叫
- 官方參考價
- 0.010000 USDT / 請求
- 呼叫方式
- REST · MCP
呼叫測試
點擊執行後才會提交呼叫,請先檢查參數和費用上限。
執行後,在這裡查看狀態、費用和回傳內容。
API 文件
非同步建立成功僅表示取得任務回執。需將回執 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