List tasks with optional filtering
curl --request GET \
--url https://api.cloud.flexprice.io/v1/tasks \
--header 'x-api-key: <api-key>'{
"items": [
{
"completed_at": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"entity_type": "EVENTS",
"environment_id": "<string>",
"error_summary": "<string>",
"failed_at": "<string>",
"failed_records": 123,
"file_name": "<string>",
"file_type": "CSV",
"file_url": "<string>",
"id": "<string>",
"metadata": {},
"processed_records": 123,
"scheduled_task_id": "<string>",
"started_at": "<string>",
"status": "published",
"successful_records": 123,
"task_status": "PENDING",
"task_type": "IMPORT",
"tenant_id": "<string>",
"total_records": 123,
"updated_at": "<string>",
"updated_by": "<string>",
"workflow_id": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}Enter your API key in the format x-api-key <api-key>*
EVENTS, PRICES, CUSTOMERS 1 <= x <= 1000x >= 0asc, desc published, deleted, archived PENDING, PROCESSING, COMPLETED, FAILED IMPORT, EXPORT OK
Show child attributes
EVENTS, PRICES, CUSTOMERS CSV, JSON published, deleted, archived PENDING, PROCESSING, COMPLETED, FAILED IMPORT, EXPORT curl --request GET \
--url https://api.cloud.flexprice.io/v1/tasks \
--header 'x-api-key: <api-key>'{
"items": [
{
"completed_at": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"entity_type": "EVENTS",
"environment_id": "<string>",
"error_summary": "<string>",
"failed_at": "<string>",
"failed_records": 123,
"file_name": "<string>",
"file_type": "CSV",
"file_url": "<string>",
"id": "<string>",
"metadata": {},
"processed_records": 123,
"scheduled_task_id": "<string>",
"started_at": "<string>",
"status": "published",
"successful_records": 123,
"task_status": "PENDING",
"task_type": "IMPORT",
"tenant_id": "<string>",
"total_records": 123,
"updated_at": "<string>",
"updated_by": "<string>",
"workflow_id": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}