Manage Agent0 Automations

Update or create an automation by origin or ID

Updates an existing automation or creates a new one if it doesn't exist. Useful for Infrastructure-as-Code workflows.

put/api/agentic-workflows/{originOrId}

Request

  • Base URL: https://api.eu-west-1.aws.dash0.com
  • URL: https://api.eu-west-1.aws.dash0.com/api/agentic-workflows/{originOrId}
  • Auth: none declared

Path parameters

originOrIdstring required

Automation origin or UUID

Query parameters

datasetstring

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Request body

kind'Dash0AgenticWorkflow' required

Example request

{
  "spec": {
    "triggers": [
      {
        "spec": {
          "labelFilters": [
            {
              "key": "service.name",
              "operator": "is",
              "value": "foo"
            }
          ],
          "annotationFilters": [
            {
              "key": "service.name",
              "operator": "is",
              "value": "foo"
            }
          ]
        }
      }
    ]
  }
}

Response

The updated or created automation

kind'Dash0AgenticWorkflow' required

Example response

{
  "spec": {
    "triggers": [
      {
        "spec": {
          "labelFilters": [
            {
              "key": "service.name",
              "operator": "is",
              "value": "foo"
            }
          ],
          "annotationFilters": [
            {
              "key": "service.name",
              "operator": "is",
              "value": "foo"
            }
          ]
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.