Skip to main content
POST
/
api
/
v2
/
agents
/
{agentId}
/
deploy
Deploy an agent to a gateway
curl --request POST \
  --url https://forge.gloo.ai/api/v2/agents/{agentId}/deploy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "gatewayId": "<string>",
  "overrides": {}
}
'

Authorizations

Authorization
string
header
required

API key from /api/v1/keys. Pass as Authorization: Bearer <key>.

Path Parameters

agentId
string
required

Body

application/json
gatewayId
string
required
overrides
object

Response

201

Deploy initiated