POST /v1/sourceTemplates

Create source template.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
dryRun Boolean No

Whether this creation request is a dry run. With dryRun set to true, the source template will not be created but the request will be validated.

Default value: false

Request body fields

Name Type Required Description
selector Object No

Agent selector conditions

selector.names[] Array No

names to select custom agents

selector.tags[] Array No

tags filter for agents

selector.fleetIds[] Array No

IDs of the fleets the source template is associated with

schemaRef Object Yes

schema reference for source template.

schemaRef.type String Yes

type of source template.

isEnabled Boolean No

Indicates whether the source template is enabled - Create operation: Defaults to true (the template is enabled when created). - Update operation: If omitted, the existing status is preserved.

inputJson Object Yes

inputJson of source template

inputJson.name String Yes

name of source template.

inputJson.description String No

description of source template

inputJson.receivers Object Yes

receiver information of source template

inputJson.processors Object No

processors for source template

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.