Browse AI
  1. internal
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
  1. internal

Retrieve list of teams under user account

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/teams
internal
this endpoint be used on Browse AI integrations to fetch all of the teams by auth0 access token
请求示例请求示例
Go
Java
Objective-C
Shell
curl --location --request GET 'http://dev-cn.your-api-server.com/teams' \
--header 'authorization: Bearer YOUR_SECRET_API_KEY'
响应示例响应示例
200 - 示例 1
{
    "statusCode": 200,
    "messageCode": "success",
    "teams": {
        "totalCount": 20,
        "items": [
            {
                "id": "b04eaafa-00c2-41a2-9c6a-7f7d32805a91",
                "name": "Browse AI team",
                "api": true,
                "createdAt": 1678795867879
            }
        ]
    }
}

请求参数

Header 参数
authorization
string 
必需
You can generate a new API key on your dashboard if you do not have one.
示例值:
Bearer YOUR_SECRET_API_KEY

返回响应

🟢200A JSON containing the total number of the user.
application/json
Body
statusCode
enum<number> 
必需
枚举值:
200
messageCode
enum<string> 
必需
枚举值:
success
teams
object 
必需
totalCount
integer 
必需
Total number of Team this user has.
示例值:
20
items
array[object (Team) {4}] 
必需
🟠401The request is not authorized
修改于 2024-02-20 02:11:12
上一页
Endpoint for checking the status of Browse AI infrastructure
下一页
Retrieve list of robots under your account
Built with