Skip to main content
POST
/
safari
/
a2a-agent
/
update
Update A2A agent
curl --request POST \
  --url 'https://api.flashcat.cloud/safari/a2a-agent/update?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "a2a_6mWqZ2pK9nLcR3tY8uVb4D",
  "description": "Inspects deployment pipelines and proposes rollbacks."
}
'
{
  "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
  "data": null
}

Restrictions

AspectValue
Rate limits1,000 requests/minute; 50 requests/second per account
PermissionsAgent Manage (ai-sre)

Usage

  • Every call is recorded in the account audit log.

Authorizations

app_key
string
query
required

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

application/json

Partial update of an A2A agent. A null/omitted field is left unchanged.

agent_id
string
required

Target agent ID.

agent_name
string | null

New display name. Omit to leave unchanged.

Maximum string length: 128
description
string | null

New description. Omit to leave unchanged.

Maximum string length: 2000
card_url
string | null

New card URL. Omit to leave unchanged.

auth_type
string | null

New auth type. Omit to leave unchanged.

auth_config
object

Replace the auth config. Omit to leave unchanged.

streaming
boolean | null

Toggle streaming support. Omit to leave unchanged.

team_id
integer<int64> | null

Reassign team scope. Omit to leave unchanged.

auth_mode
string | null

New auth mode: shared, per_user_secret, or per_user_oauth.

secret_schema
string | null

New JSON secret schema.

oauth_metadata
string | null

New JSON OAuth metadata.

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
null

Always null on success.