post https://api.tetrascience.com/v1/agents
Use this endpoint to create a new agent.
Log in to see full request history
Responses
Use this endpoint to create a new agent.
xxxxxxxxxx
10curl --request POST \
--url https://api.tetrascience.com/v1/agents \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"type": "file-log",
"integrationType": "api"
}
'
xxxxxxxxxx
62}
{
"id": "9b9f275c-a60d-454f-8c6c-1ea094e3fd38",
"name": "File-Log Agent",
"description": "description",
"sourceType": "string",
"type": "file-log",
"integrationType": "api",
"integrationId": "6f166302-df8a-4044-ab4b-7ddd3eefb50b",
"datahubId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sourceId": "9201d7a7-2282-4ef2-b295-a1d1d1927b9a",
"isEnabled": true,
"tags": [
"tag1"
],
"metadata": null,
"config": {
"services_enabled": [
"fileWatcher"
],
"services_configuration": {
"fileWatcher": {
"use_path_configuration": true,
"paths": [
{
"path": "C:\\FLA\\test1",