Mega icon

Mega

Work with Mega API

Team → Get Agents

AI-generated

Summary

Retrieve the list of agents associated with a specific team by providing the team's ID.

Inputs

  • Team ID (required) — The numeric ID of the team for which to fetch all agents.

Output shape

a list of agent records associated with the specified team

The response will contain multiple agent details tied to the given team ID. Ensure the team ID is valid; otherwise, the operation may return an empty list or an error.

Examples

Example 1: Get all agents for team with ID 12345

Set the Team ID parameter to 12345 and run the node to receive the list of agents for that team.

Links

Discussion