Tasks
List tasks
Customers
Invoices
Wallets
Entitlements
Environments
Events
Features
Payments
Integrations
Subscriptions
Tenants
Users
Tasks
List tasks
List tasks with optional filtering
GET
/
tasks
curl --request GET \
--url https://api.cloud.flexprice.io/v1/tasks
{
"items": [
{
"completed_at": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"entity_type": "EVENTS",
"error_summary": "<string>",
"failed_at": "<string>",
"failed_records": 123,
"file_name": "<string>",
"file_type": "CSV",
"file_url": "<string>",
"id": "<string>",
"metadata": {},
"processed_records": 123,
"started_at": "<string>",
"status": "<string>",
"successful_records": 123,
"task_status": "PENDING",
"task_type": "IMPORT",
"tenant_id": "<string>",
"total_records": 123,
"updated_at": "<string>",
"updated_by": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Query Parameters
Available options:
EVENTS
, PRICES
, CUSTOMERS
Required range:
1 <= x <= 1000
Required range:
x >= 0
Available options:
asc
, desc
Available options:
published
, deleted
, archived
Available options:
PENDING
, PROCESSING
, COMPLETED
, FAILED
Available options:
IMPORT
, EXPORT
Response
200
application/json
OK
Available options:
EVENTS
, PRICES
, CUSTOMERS
Available options:
CSV
, JSON
Available options:
PENDING
, PROCESSING
, COMPLETED
, FAILED
Available options:
IMPORT
, EXPORT
curl --request GET \
--url https://api.cloud.flexprice.io/v1/tasks
{
"items": [
{
"completed_at": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"entity_type": "EVENTS",
"error_summary": "<string>",
"failed_at": "<string>",
"failed_records": 123,
"file_name": "<string>",
"file_type": "CSV",
"file_url": "<string>",
"id": "<string>",
"metadata": {},
"processed_records": 123,
"started_at": "<string>",
"status": "<string>",
"successful_records": 123,
"task_status": "PENDING",
"task_type": "IMPORT",
"tenant_id": "<string>",
"total_records": 123,
"updated_at": "<string>",
"updated_by": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}