Skip to main content
POST
Add an A2A agent

Authorizations

Authorization
string
header
required

A ForceAI virtual key or the master key, sent as Authorization: Bearer <key>.

Body

application/json
agent_name
string
required
agent_card_params
object
required
forceai_params
object
required

Provider or backend configuration. forceai_params is the customer-facing name; litellm_params is accepted as a back-compat alias.

Response

The created agent

agent_id
string
agent_name
string
state
string
Example:

"pending"

forceai_params
object
litellm_params
object

Back-compat mirror of forceai_params.