test
POST
/telemetry/pipelines/test
const url = 'https://api.siteqwality.com/telemetry/pipelines/test';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"pipeline":{"signal":"logs","name":"example","enabled":true,"position":1,"filter":"example","processors":["example"]},"samples":["example"],"recent":{"from":"example","to":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siteqwality.com/telemetry/pipelines/test \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "pipeline": { "signal": "logs", "name": "example", "enabled": true, "position": 1, "filter": "example", "processors": [ "example" ] }, "samples": [ "example" ], "recent": { "from": "example", "to": "example" } }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
pipeline
required
object
signal
required
A telemetry signal, as the authorizer scopes and meters it.
string
name
required
string
enabled
required
boolean
position
required
integer format: int32
filter
required
string
processors
required
Typed processor objects; unknown kinds and fields are rejected on save.
Array
samples
At most 100 bounded records, with signal, id, timestamp_ns, body, fields, attributes, resource.
Array
Responses
Section titled “ Responses ”OK
Media type application/json
object
results
required
Array
Example generated
{ "results": [ "example" ]}Invalid pipeline or samples
Admin required