Browse AI
  1. robots
Browse AI
  • system
    • Endpoint for checking the status of Browse AI infrastructure
      GET
  • internal
    • Retrieve list of teams under user account
      GET
  • robots
    • Retrieve list of robots under your account
      GET
    • Retrieve single robot by ID
      GET
    • Update a robot's cookies
      PATCH
  • tasks
    • Get all tasks by a robot
      GET
    • Run a robot
      POST
    • Retrieve a task
      GET
  • monitors
    • Retrieve a robot's monitors
      GET
    • Create a new monitor on a robot
      POST
    • Retrieve a robot's monitor
      GET
    • Update a robot's monitor
      PATCH
    • Delete a robot's monitor
      DELETE
  • bulk runs
    • Bulk run tasks
      POST
    • Retrieve a robot's bulk runs list
      GET
    • Retrieve a robot's bulk run
      GET
  • webhooks
    • Retrieve a robot's webhooks
      GET
    • Create a new webhook on a robot
      POST
    • Delete a robot's webhook
      DELETE
  • 数据模型
    • Schemas
      • getSystemStatus-200
      • Team
      • getUserTeams-200
      • UnauthorizedResponse
      • CommonParameterPart
      • Text Parameter
      • Numeric Parameter
      • URL Parameter
      • SelectParameterOption
      • Select Parameter
      • RobotInputParameters
      • Robot
      • getRobots-200
      • getRobot-200
      • getRobot-400
      • NotFoundResponse
      • InternalServerResponse
      • RobotCookie
      • upsertRobotCookies-200
      • CookieError
      • upsertRobotCookies-400
      • InputParameters
      • CapturedTexts
      • CapturedScreenshots
      • CapturedLists
      • RobotTask
      • getRobotTasks-200
      • getRobotTasks-400
      • NewRobotTaskBodyParams
      • newRobotTask-200
      • newRobotTask-400
      • CreditsLimitReachedResponse
      • RobotUnderMaintenanceResponse
      • getRobotTask-200
      • getRobotTask-400
      • Schedules
      • Schedule
      • Monitor
      • getMonitors-200
      • getMonitors-400
      • CreateNewMonitorRequestBody
      • createNewMonitor-200
      • CreateOrUpdateMonitorBadRequestResponse
      • CreateOrUpdateMonitorForbiddenResponse
      • getMonitor-200
      • getMonitor-400
      • deleteMonitor-200
      • deleteMonitor-400
      • MonitorUpdateBodyParams
      • updateMonitor-200
      • BulkRun
      • BulkRuns
      • getBulkRuns-200
      • getBulkRuns-400
      • ArrayOfUserInputParameters
      • BulkRunBodyParams
      • newBulkRun-200
      • newBulkRun-400
      • newBulkRun-403
      • RobotTasks
      • getBulkRun-200
      • getBulkRun-400
      • Webhook
      • getWebhooks-200
      • getWebhooks-400
      • CreateNewWebhookBodyParams
      • createNewWebhook-200
      • createNewWebhook-400
      • deleteWebhook-200
      • deleteWebhook-400
      • RobotTaskWebhook
  1. robots

Retrieve single robot by ID

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/robots/{robotId}
You can use this endpoint to retrieve a single robot by ID.

请求参数

Path 参数

Header 参数

返回响应

🟢200A JSON containing the total number of robots and an array of robots under this team.
application/json
Body

🟠400A JSON containing an error code and message.
🟠401The request is not authorized
🟠404The resource is not found
🔴500There was an error on the server
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --request GET \
  --url https://api.browse.ai/v2/robots/{robotId} \
  --header 'Authorization: Bearer YOUR_SECRET_API_KEY'
响应示例响应示例
200 - 示例 1
{
    "statusCode": 200,
    "messageCode": "success",
    "robot": {
        "id": "4f5cd7ff-6c98-4cac-8cf0-d7d0cb050b06",
        "name": "Extract data from Realtor.com",
        "createdAt": 1678795867879,
        "inputParameters": [
            {
                "type": "string",
                "name": "originUrl",
                "label": "Origin URL",
                "encrypted": false,
                "defaultValue": "https://www.espressozone.com/espresso-machines/semi-automatic-espresso-machines"
            }
        ]
    }
}
修改于 2024-02-20 02:11:12
上一页
Retrieve list of robots under your account
下一页
Update a robot's cookies
Built with