Create an agent

POST

Query parameters

environmentIdstringRequired
Environment ID

Request

This endpoint expects an object.
topicslist of enumsOptional
The topics the agent should listen for
compiler"js"Optional
Allowed values: js
The compiler of the agent
sourcestringOptional
The source of the agent
sourceMapstringOptional
The source map of the agent
slugstringOptional
The slug of the agent

Response

This endpoint returns an object
dataobjectOptional

Errors