Create an agent

Use this endpoint to create a new agent.

Body Params
string
required

Name of the new agent. Validation: It may contain any alphanumeric character, spaces, and the following special characters, -, _, +, ., /.

string

Description of the new agent. It may contain any alphanumeric character, spaces, line breaks, and the following special characters, -, _, +, ., /.

string
enum
required

Type of the new agent. The valid types are file-log, empower, unicorn, labx, chromeleon or user-defined.

Allowed:
string

Source Type of a user-defined agent. For a user-defined agent, it may contain any lower-case alphanumeric character, spaces, and the following special characters, -, _, +, ., /. However, a space can't be the first character. For other agent types it must be empty, null or not present

string
enum
required

New agent's integration type. The valid types are api or datahub.

Allowed:
uuid
required

Id of the connector to be used by the new agent, in GUID format

uuid

Id of the Data Hub the new agent is using, in GUID format. It is required for integrations of type 'datahub'. It must be set to null, empty, or not present for integrations of type 'api'.

tags
array of strings

Tags to associate with the agent.

tags
metadata
object

Metadata to associate with the agent.

labels
object

Labels to associate with the agent

Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json