Create A2A agent
Register a new A2A remote agent the SRE agent can delegate tasks to.
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | None — any valid app_key can call this operation |
Usage
- The agent card at
card_urlis fetched and validated; an unreachable card returns InvalidParameter. - Every call is recorded in the account’s audit log.
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call.
Body
Configuration for a new A2A agent.
Display name of the agent.
128URL of the agent's published A2A agent card.
What this agent does and when to delegate to it.
Authentication scheme used when calling the agent.
Authentication parameters keyed by name.
Whether the agent supports streaming responses.
Owning team for the new agent; 0 for account scope.
Credential model; defaults to shared.
JSON schema of the per-user secret; required when auth_mode is per_user_secret.
OAuth metadata JSON; reserved for OAuth-based auth.
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.
Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.
"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
Error payload inside the response envelope. Present only on non-2xx responses.
Identifier of the newly created A2A agent.