Processing rule templates
List all processing rule templates in descending order with backward pagination.
Authorizations
Path parameters
projectIDstring · uuidRequired
Query parameters
lastintegerOptional
Last processing rule templates.
beforestringOptional
Processing rule templates before the given cursor.
namestring · min: 1 · max: 30Optional
Filter processing rule templates by name.
Responses
200
OK
application/json
get
GET /v1/projects/{projectID}/processing_rule_templates HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
No content
Create a new processing rule template.
Authorizations
Path parameters
projectIDstring · uuidRequired
Body
namestring · min: 1 · max: 30RequiredExample:
My template
pipelineVersionstringOptionalExample:
semver version of core-fluent-bit is running
v1.3.5
inputstring · min: 1 · max: 1048576OptionalExample:
input to use as an example for the processing rule template
{"log":"line 2"}
isRawInputbooleanOptionalDefault:
define if the input parameter is in raw or json format (false)
false
Responses
201
Created
application/json
post
POST /v1/projects/{projectID}/processing_rule_templates HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
201
Created
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-07-02T01:58:09.956Z"
}
List all processing rule templates in descending order with backward pagination.
Authorizations
Path parameters
projectIDstring · uuidRequired
Query parameters
namestring · min: 1 · max: 30Optional
Filter processing rule templates by name.
lastintegerOptional
Last processing rule templates.
beforestringOptional
Processing rule templates before the given cursor.
Responses
200
OK
application/json
get
GET /v2/projects/{projectID}/processing_rule_templates HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"projectID": "123e4567-e89b-12d3-a456-426614174000",
"name": "My Processing Rule Template",
"pipelineVersion": "v24.5.0",
"definition": {},
"createdAt": "2025-07-02T01:58:09.956Z",
"updatedAt": "2025-07-02T01:58:09.956Z"
}
],
"endCursor": "123e4567-e89b-12d3-a456-426614174000",
"count": 1
}
Authorizations
Path parameters
projectIDstring · uuidRequired
Body
namestringRequiredExample:
My Processing Rule Template
pipelineVersionstring | nullableRequiredDefault:
null
Example: v24.5.0
Responses
201
Created
application/json
post
POST /v2/projects/{projectID}/processing_rule_templates HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"name": "My Processing Rule Template",
"pipelineVersion": "v24.5.0",
"definition": {}
}
201
Created
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-07-02T01:58:09.956Z"
}