latestOpenAPI 3.1.02026-08-221163801019.2 KB

f0f28319e448

Organization

Create an agent

Create a new agent for the given organization. No default version for the agent will be created, so one must later to create a version for this agent so it can be used in a service.

Permissions

This endpoint requires the following permissions:

  • Organization:CreateAgent for the new agent.
post/v1/{organization}/organization/agent

Path parameters

organizationstring required

Headers

x-mongo-cluster-namestring nullable

The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.

The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.

Sec-WebSocket-Protocolstring[]

Request body

agent_namestring required

Response

Succeeded.

idstring required

The ID of the newly created agent.