Référence de l'APITemplates
List project templates
GET
Ready-made projects for common uses: the endpoint, the mapping its example file fits, a suggested schedule and alerts. Only templates whose endpoint can run are listed.
ApiKeyAuthheader
X-Api-Key<token>Templates, in gallery order
application/json- response
items*array<>curl -X GET 'https://dataflow.piloterr.com/v1/templates'Example Response
{
"items": [
{
"id": "amazon-price-tracking",
"name": "Track Amazon prices and stock",
"description": "Price, stock and coupon of each product (ASIN) every day, with an alert when one changes.",
"category": "monitoring",
"endpoint": {
"id": "cm0p7x3da000a08l4gs5e2n1c",
"name": "Amazon Product",
"path": "/v2/amazon/product",
"credit_cost": 1,
"billing_mode": "per_call"
},
"mapping": {
"query": {
"column": "asin"
},
"domain": {
"column": "marketplace"
}
},
"sample_columns": [
"asin",
"marketplace"
],
"sample_rows": [
{
"asin": "B0CSF8ZGB4",
"marketplace": "com"
},
{
"asin": "B08N5WRWNW",
"marketplace": "com"
},
{
"asin": "B07PGL2ZSL",
"marketplace": "fr"
}
],
"schedule": {
"interval": "daily",
"cron": null,
"timezone": "UTC"
},
"alert_events": [
"run.failed",
"run.paused",
"run.error_rate_exceeded",
"credits.insufficient",
"project.auto_disabled",
"source.unreachable",
"run.changes_detected"
],
"tracked_fields": [
"price",
"stock",
"coupon"
],
"output_formats": [
"json"
],
"rate_percent": 30
}
]
}