LogoLogo
Support PortalCalyptia CoreContact Us
Calyptia Core API
Calyptia Core API
  • Specification
  • About
  • API reference
    • Verification email
    • Projects
      • Tokens
      • Members
      • Invite
      • Agents
      • Aggregators
      • Core instances
      • Aggregator pipelines
      • Pipelines
      • Environments
      • Metrics
      • Config sections
      • Fleets
        • Status
      • Aws contracts
      • Processing rule templates
      • Saml mappings
    • Project tokens
    • Members
    • Join project
    • Agents
      • Config history
      • Metrics
      • Metrics by plugin
      • Metrics over time
      • Metrics over time by plugin
      • Errors
    • Aggregators
      • Ping
      • Resource profiles
      • Pipelines
      • Pipelines metrics
    • Core instance files
    • Core instance secrets
    • Resource profiles
    • Aggregator pipelines
      • Config history
      • Status history
      • Files
      • Secrets
      • Ports
    • Pipeline files
    • Pipeline logs
    • Pipeline checks
    • Core instance checks
    • Ingest checks
    • Pipeline secrets
    • Pipeline ports
    • Config validate
    • Config validate v2
    • Environments
    • Pipeline metrics
    • Aggregator metrics
    • Cluster objects
    • Trace sessions
      • Records
    • Config sections
    • Processing rules
    • Preview processing rule
    • Fleets
      • Status
      • Config
      • Files
      • Agent errors
    • Fleet files
    • Search
    • Aws customer redirect
    • Cluster object regexes
    • Processing rule templates
    • Validate fluentbit config
    • Saml mappings
    • Core instances
      • Files
      • Secrets
      • Pipelines
      • Ingest checks
      • Checks
      • Cluster objects
      • Metrics
      • Metrics by plugin
      • Metrics over time
      • Metrics over time by plugin
    • Pipelines
      • Logs
      • Checks
      • Cluster objects
      • Metadata
      • Trace sessions
      • Trace session
        • Records
      • Config section set
      • Processing rules
      • Metrics
      • Metrics by plugin
      • Metrics over time
      • Metrics over time by plugin
      • Cluster object regexes
    • Agent errors
      • Dismiss
  • Specification
Powered by GitBook
On this page
  1. API reference
  2. Aggregators

Pipelines

PreviousResource profilesNextPipelines metrics

Delete Pipelines

delete

Delete pipelines from a core instance.

Authorizations
Path parameters
aggregatorIDstring · uuidRequired
Query parameters
pipeline_idstring · uuid[]Optional

List of pipeline IDs to delete.

Responses
204
Deleted
delete
DELETE /v1/aggregators/{aggregatorID}/pipelines HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

Deleted

No content

  • GETPipelines (deprecated)
  • POSTCreate pipeline
  • DELETEDelete Pipelines
Deprecated

Pipelines (deprecated)

get

Pipelines from a core instance (deprecated).

Authorizations
Path parameters
aggregatorIDstring · uuidRequired
Query parameters
lastintegerOptional

Last pipelines.

beforestringOptional

Pipelines before the given cursor.

namestringOptional

Name matching pipelines.

tags_querystringOptional

Tag query.

Example: tagone AND tagtwo
config_formatstring · enumOptional

Desired output config format.

Possible values:
includestring · enumOptional

Include all ports, secrets and files objects in the pipeline.

Possible values:
exclude_internalbooleanOptional

Exclude internal pipelines (health-check).

Responses
200
OK
application/json
get
GET /v1/aggregators/{aggregatorID}/pipelines HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "my-pipeline",
    "kind": "deployment",
    "config": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "rawConfig": "text",
      "configFormat": "classic",
      "createdAt": "2025-05-11T10:54:48.759Z"
    },
    "configSections": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "projectID": "123e4567-e89b-12d3-a456-426614174000",
        "processingRuleID": "123e4567-e89b-12d3-a456-426614174000",
        "kind": "input",
        "properties": [
          {
            "key": "name",
            "value": "dummy"
          }
        ],
        "createdAt": "2025-05-11T10:54:48.759Z",
        "updatedAt": "2025-05-11T10:54:48.759Z"
      }
    ],
    "status": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "config": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "rawConfig": "text",
        "createdAt": "2025-05-11T10:54:48.759Z"
      },
      "status": "NEW",
      "events": [
        {
          "source": "k8s:deployment",
          "reason": "text",
          "message": "text",
          "loggedAt": "2025-05-11T10:54:48.759Z"
        }
      ],
      "createdAt": "2025-05-11T10:54:48.759Z"
    },
    "resourceProfile": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "my-resource-profile",
      "storageMaxChunksUp": 1,
      "storageSyncFull": true,
      "storageBacklogMemLimit": "1Mi",
      "storageVolumeSize": "2Mi",
      "storageMaxChunksPause": true,
      "cpuBufferWorkers": 1,
      "cpuLimit": "3Mi",
      "cpuRequest": "4Mi",
      "memoryLimit": "5Mi",
      "memoryRequest": "6Mi",
      "createdAt": "2025-05-11T10:54:48.759Z",
      "updatedAt": "2025-05-11T10:54:48.759Z"
    },
    "deploymentStrategy": "rollingupdate",
    "tracingEnabled": true,
    "waitForChecksBeforeDeploying": true,
    "image": "ghcr.io/calyptia/core/calyptia-fluent-bit:23.1.2",
    "replicasCount": 1,
    "replicasCountPrev": 1,
    "checksTotal": 1,
    "checksOK": 1,
    "checksRunning": 1,
    "tags": [
      "text"
    ],
    "metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "secrets": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "key": "mysecret",
        "value": "Ynl0ZXM=",
        "createdAt": "2025-05-11T10:54:48.759Z",
        "updatedAt": "2025-05-11T10:54:48.759Z"
      }
    ],
    "files": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "processingRuleID": "123e4567-e89b-12d3-a456-426614174000",
        "name": "myfile",
        "contents": "Ynl0ZXM=",
        "encrypted": true,
        "createdAt": "2025-05-11T10:54:48.759Z",
        "updatedAt": "2025-05-11T10:54:48.759Z"
      }
    ],
    "ports": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "protocol": "tcp",
        "kind": "LoadBalancer",
        "frontendPort": 1,
        "backendPort": 1,
        "endpoint": "text",
        "pluginID": "forward.0",
        "pluginName": "forward",
        "pluginAlias": "myforwardinput",
        "createdAt": "2025-05-11T10:54:48.759Z",
        "updatedAt": "2025-05-11T10:54:48.759Z"
      }
    ],
    "minReplicas": 1,
    "maxReplicas": 1,
    "scaleUpType": "Unknown",
    "scaleUpValue": 1,
    "scaleUpPeriodSeconds": 1,
    "scaleDownType": "Unknown",
    "scaleDownValue": 1,
    "scaleDownPeriodSeconds": 1,
    "utilizationCPUAverage": 1,
    "utilizationMemoryAverage": 1,
    "portKind": "LoadBalancer",
    "labels": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "createdAt": "2025-05-11T10:54:48.759Z",
    "updatedAt": "2025-05-11T10:54:48.759Z"
  }
]

Create pipeline

post

Create pipeline within a core instance. The pipeline name must be unique within the core instance. The resource profile must exist already. If you don't provide one, it will default to "best-effort-low-resource". Use them to easily deploy configured agents to the core instance.

Authorizations
Path parameters
aggregatorIDstring · uuidRequired
Body

Create pipeline request body.

namestringRequired

DNS label format as of defined on RFC1123

Example: new-pipeline
kindstring · enumOptionalDefault: deploymentPossible values:
replicasCountintegerRequired
rawConfigstringRequired
configFormatstring · enumOptionalDefault: classicExample: yamlPossible values:
imagestring | nullableRequiredDefault: nullExample: ghcr.io/calyptia/core/calyptia-fluent-bit:23.1.2
resourceProfilestringRequiredExample: my-resource-profile
noAutoCreateChecksFromConfigbooleanOptional

If true, no Pipeline checks will be auto-generated from the configuration.

Default: false
autoCreateChecksFromConfigbooleanOptionalDeprecated

If true, this will automatically create a set of Pipeline checks to validate that the configured output services are reachable.

Default: false
waitForChecksBeforeDeployingbooleanOptional

If set to true:

If all checks associated with the pipeline run successfully, the status of the pipeline will be switched to CHECKS_OK and the deployment will be executed.

If any of the checks associated with the pipeline fails, the status of the pipeline will be switched to CHECKS_FAILED and the deployment of the pipeline will be blocked.

If set to false (default):

If all checks associated with the pipeline run successfully, the status of the pipeline will be switched to CHECKS_OK and the deployment will be executed.

If any of the checks associated with the pipeline fails, the status of the pipeline will be switched to CHECKS_FAILED and the deployment of the pipeline will be executed.

Default: false
noAutoCreateEndpointsFromConfigbooleanOptional

if true, no ports will be automatically generated from the configuration.

Default: false
autoCreatePortsFromConfigbooleanOptionalDeprecatedDefault: false
skipConfigValidationbooleanRequired
portKindstring · enumRequired

The kind/type of the service associated to this port.

Default: LoadBalancerPossible values:
minReplicasintegerRequiredDefault: 0
maxReplicasintegerRequiredDefault: 0
scaleUpTypestring · enumRequiredDefault: UnknownPossible values:
scaleUpValueintegerRequiredDefault: 0
scaleUpPeriodSecondsintegerRequiredDefault: 0
scaleDownTypestring · enumRequiredDefault: UnknownPossible values:
scaleDownValueintegerRequiredDefault: 0
scaleDownPeriodSecondsintegerRequiredDefault: 0
utilizationCPUAverageintegerRequiredDefault: 0
utilizationMemoryAverageintegerRequiredDefault: 0
terminationGracePeriodSecondsinteger · int64 | nullableOptional
Responses
201
Created
application/json
post
POST /v1/aggregators/{aggregatorID}/pipelines HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1612

{
  "name": "new-pipeline",
  "kind": "deployment",
  "replicasCount": 1,
  "rawConfig": "text",
  "configFormat": "yaml",
  "image": "ghcr.io/calyptia/core/calyptia-fluent-bit:23.1.2",
  "secrets": [
    {
      "key": "newsecret",
      "value": "Ynl0ZXM="
    }
  ],
  "files": [
    {
      "name": "newfile",
      "contents": "Ynl0ZXM=",
      "encrypted": true
    }
  ],
  "resourceProfile": "my-resource-profile",
  "noAutoCreateChecksFromConfig": true,
  "waitForChecksBeforeDeploying": true,
  "noAutoCreateEndpointsFromConfig": true,
  "skipConfigValidation": true,
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "portKind": "LoadBalancer",
  "minReplicas": 1,
  "maxReplicas": 1,
  "scaleUpType": "Unknown",
  "scaleUpValue": 1,
  "scaleUpPeriodSeconds": 1,
  "scaleDownType": "Unknown",
  "scaleDownValue": 1,
  "scaleDownPeriodSeconds": 1,
  "utilizationCPUAverage": 1,
  "utilizationMemoryAverage": 1,
  "labels": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "affinity": {
    "key": "text",
    "operator": "In",
    "values": [
      "text"
    ]
  },
  "topologySpreadConstraints": [
    {
      "maxSkew": 1,
      "topologyKey": "text",
      "whenUnsatisfiable": "DoNotSchedule",
      "labelSelector": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "minDomains": 1
    }
  ],
  "tolerations": [
    {
      "key": "text",
      "operator": "Equal",
      "value": "text",
      "effect": "NoSchedule",
      "tolerationSeconds": 1
    }
  ],
  "terminationGracePeriodSeconds": 1,
  "lifecycle": {
    "preStop": {
      "exec": {
        "command": [
          "text"
        ]
      },
      "httpGet": {
        "path": "text",
        "port": 1,
        "host": "text",
        "scheme": "HTTP",
        "httpHeaders": [
          {
            "name": "text",
            "value": "text"
          }
        ]
      },
      "tcpSocket": {
        "port": 1,
        "host": "text"
      },
      "sleep": {
        "seconds": 1
      }
    },
    "postStart": {
      "exec": {
        "command": [
          "text"
        ]
      },
      "httpGet": {
        "path": "text",
        "port": 1,
        "host": "text",
        "scheme": "HTTP",
        "httpHeaders": [
          {
            "name": "text",
            "value": "text"
          }
        ]
      },
      "tcpSocket": {
        "port": 1,
        "host": "text"
      },
      "sleep": {
        "seconds": 1
      }
    }
  }
}
201

Created

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "my-pipeline",
  "kind": "deployment",
  "config": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "rawConfig": "text",
    "configFormat": "classic",
    "createdAt": "2025-05-11T10:54:48.759Z"
  },
  "status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "config": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "rawConfig": "text",
      "createdAt": "2025-05-11T10:54:48.759Z"
    },
    "status": "NEW",
    "events": [
      {
        "source": "k8s:deployment",
        "reason": "text",
        "message": "text",
        "loggedAt": "2025-05-11T10:54:48.759Z"
      }
    ],
    "createdAt": "2025-05-11T10:54:48.759Z"
  },
  "secrets": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "key": "mysecret",
      "value": "Ynl0ZXM=",
      "createdAt": "2025-05-11T10:54:48.759Z",
      "updatedAt": "2025-05-11T10:54:48.759Z"
    }
  ],
  "files": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "processingRuleID": "123e4567-e89b-12d3-a456-426614174000",
      "name": "myfile",
      "contents": "Ynl0ZXM=",
      "encrypted": true,
      "createdAt": "2025-05-11T10:54:48.759Z",
      "updatedAt": "2025-05-11T10:54:48.759Z"
    }
  ],
  "resourceProfile": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "my-resource-profile",
    "storageMaxChunksUp": 1,
    "storageSyncFull": true,
    "storageBacklogMemLimit": "1Mi",
    "storageVolumeSize": "2Mi",
    "storageMaxChunksPause": true,
    "cpuBufferWorkers": 1,
    "cpuLimit": "3Mi",
    "cpuRequest": "4Mi",
    "memoryLimit": "5Mi",
    "memoryRequest": "6Mi",
    "createdAt": "2025-05-11T10:54:48.759Z",
    "updatedAt": "2025-05-11T10:54:48.759Z"
  },
  "checks": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "protocol": "tcp",
      "status": "new",
      "retries": 1,
      "port": 1,
      "host": "localhost",
      "createdAt": "2025-05-11T10:54:48.759Z",
      "updatedAt": "2025-05-11T10:54:48.759Z"
    }
  ],
  "createdAt": "2025-05-11T10:54:48.759Z"
}