Create an agent
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-Disable-Hooks
Query parameters
environmentId
Environment ID
Request
This endpoint expects an object.
topics
The topics the agent should listen for
compiler
The compiler of the agent
Allowed values:
source
The source of the agent
sourceMap
The source map of the agent
slug
The slug of the agent
options
Options for the agent
isSystem
Whether the agent is a system agent. This should be false for all agents created by users.
Response
This endpoint returns an object.
data