Skip to main content
POST
List A2A agents

Restrictions

Usage

  • Pagination uses offset/limit (not p/limit); limit of 0 or less falls back to 20. Results are ordered by creation time, newest first.
  • Visibility follows real team membership for every caller, owner and admins included: account-scoped rows plus rows of teams the caller belongs to; team_ids entries outside that set are ignored.
  • scope=account returns only account-scoped rows; scope=team returns only team rows; all (default) returns team rows plus account-scoped rows unless include_account=false.
  • query performs a case-insensitive substring search across agent name, instructions, card URL, agent ID, and card name.
  • can_edit on each row tells whether the caller may update, enable, disable, or delete that agent.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Pagination, scope, and search filter for listing A2A agents.

offset
integer
default:0

Pagination offset — number of rows to skip, starting from 0.

limit
integer
default:20

Page size; 0 or less falls back to 20. No upper bound is enforced.

scope
enum<string>
default:all

Visibility scope: all (account-scope plus the caller's visible teams), account (account-scope only), or team (team-scoped rows across the caller's visible teams).

Available options:
all,
account,
team
query
string

Case-insensitive substring search across agent name, instructions, card URL, agent ID, and the resolved card name.

Maximum string length: 128
team_ids
integer<int64>[]

Restrict to these team IDs. IDs of teams the caller does not belong to are ignored; empty means all of the caller's teams.

include_account
boolean | null

Include account-scoped (team_id=0) rows. Defaults to true; ignored when scope is account (always included) or team (never included).

Response

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
object

Paginated A2A agent list.