---
title: "海外平台接入与 Agent 基础设施扫描 · scan"
method: POST
path: "/api/v1/agent-infra/scan"
tags: ["connectors"]
---

# 海外平台接入与 Agent 基础设施扫描 · scan

`POST /api/v1/agent-infra/scan`

## Request

- Base URL: `https://aishield.tools`
- URL: `https://aishield.tools/api/v1/agent-infra/scan`
- Auth: HTTP bearer

本端点由运行时探针自动登记（清单：api/openapi_runtime_paths.json），schema 由真实响应反推，非手工编写。

## Request body

- object
  - `name` string: 目标名称
  - `repo_url` string, uri: 仓库 URL（三选一）
  - `local_path` string: 本地路径（三选一）
  - `files` string[]: 文件列表（三选一）
  - `platform_id` string: 归属平台 ID（可选）
  - `tool_type` string: 工具类型（可选）

## Response `200`

- object
  - `ok` boolean
  - `error` string
  - `error_code` string
  - `error_id` string

---

[API](https://skmtc.dev/aishield/apis/aishield-api.md) · [All operations](https://skmtc.dev/aishield/apis/aishield-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aishield/apis/aishield-api/revisions/9a04f4fb94bd?raw)
