Create A2A agent
Register a new A2A remote agent from its agent-card URL.
Restrictions
Usage
instructionsis required; a deprecateddescriptionfield is still accepted for legacy clients and, if both are sent, must exactly matchinstructions.card_urlmust be an absolutehttp/httpsURL with a non-empty host (reachability is enforced by the execution environment, not here);auth_typeaccepts onlynone,api_key, orbearer.environment_kindaccepts only empty (automatic) orbyoc;cloudis rejected.byocrequiresenvironment_id, and the runner must be visible to the caller.- Creating into a team (
team_id > 0) requires the caller to actually belong to that team; only the account owner/admin may create at account scope (team_id=0). - Every call is recorded in the account audit log.
Authorizations
App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Registration parameters for a new A2A agent.
Agent display name.
128Natural-language instructions for the remote agent. Required — a deprecated description field is still accepted for legacy clients and, if both are sent, must exactly match instructions.
2000URL of the remote agent card. Must be an absolute http or https URL with a non-empty host; reachability is enforced by the execution environment, not at creation time.
Authentication type for reaching the remote agent: none, api_key, or bearer.
Authentication config key-values, e.g. the API key or bearer token. Values for sensitive keys (api_key, token, client_secret) are masked back in responses.
Whether the remote agent supports streaming.
Team scope: 0 = account-wide; >0 = team. Creating at account scope requires the owner/admin role; creating into a team requires actual membership in that team.
Execution environment binding. Omit or send empty for automatic routing; byoc pins the agent to a specific runner given by environment_id. cloud is not accepted — configured A2A agents need a persistent runner, not a disposable cloud sandbox.
, byoc BYOC runner ID. Required when environment_kind=byoc; the runner must belong to the account or a team the caller belongs to.
Authentication mode: shared (default) shares one credential across all users; per_user_secret requires secret_schema.header_name; per_user_oauth runs per-user OAuth.
JSON-encoded secret schema, e.g. {"header_name":"X-Api-Key"}; required when auth_mode=per_user_secret.
JSON-encoded OAuth metadata; populated by the OAuth discovery flow for per_user_oauth mode.
Allow non-loopback HTTP OAuth discovery/metadata endpoints for this agent instead of requiring HTTPS. Defaults to false.
Skip TLS certificate verification when connecting to this agent's endpoint (self-signed/private certs). Defaults to false.
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.
Result of registering an A2A agent.