Get Agents by Team or User Team
GET
/agent/team/all/{team_id}
Agent APIs
projectTeam_id
is provided, it returns agents for that specific project team. If query
is provided without projectTeam_id
, it searches for agents within the user's teams matching the query. If neither projectTeam_id
nor query
is provided, it returns agents from all user-associated teams.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/agent/team/all/'
Response Response Example
{
"success": true,
"message": "Agent Data fetched successfully.",
"data": [
{
"id": 809,
"name": "Sample Agent",
"specialization": "Provides assistance for JavaScript coding"
}
]
}
Request
Path Params
team_id
string
required
Query Params
projectTeam_id
integer
optional
query
if specified.Example:
12
query
string
optional
Example:
Fitness Coach