Register Build
POST/agents/register-build
Register an agent at build time, before it is deployed, so it can be permissioned and shared prior to deploy. Idempotent by name.
Register Build
curl http://localhost:5003/agents/register-build \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $AGENTEX_SDK_API_KEY" \
-d '{
"description": "description",
"name": "name"
}'{
"id": "id",
"acp_type": "sync",
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"name": "name",
"updated_at": "2019-12-27T18:11:19.117Z",
"agent_input_type": "text",
"production_deployment_id": "production_deployment_id",
"registered_at": "2019-12-27T18:11:19.117Z",
"registration_metadata": {
"foo": "bar"
},
"status": "Ready",
"status_reason": "status_reason"
}Returns Examples
{
"id": "id",
"acp_type": "sync",
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"name": "name",
"updated_at": "2019-12-27T18:11:19.117Z",
"agent_input_type": "text",
"production_deployment_id": "production_deployment_id",
"registered_at": "2019-12-27T18:11:19.117Z",
"registration_metadata": {
"foo": "bar"
},
"status": "Ready",
"status_reason": "status_reason"
}