Get list of automations
Get list of automations
Request
- Base URL: https://app.mammoth.io/api/v2
- URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/automations
- Auth: one of:
- HTTP bearer
- API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID
Path parameters
Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
Project ID of the workspace
Query parameters
Fields to be returned in a comma-separated format may include id, name, status_info, created_at.
Track multiple automation ids, comma separated
Track multiple automation names, comma separated
Track multiple automation statuses, comma separated
Track multiple automations, which falls under created_at date range
Track multiple automations, which falls under updated_at date range
Max number of result to return
Distance from the beginning of the list of results
Sort the automations based on the fields
Filter automations by task type. When omitted, retention policy automations are excluded by default.
Filter automations whose task details reference this dataset ID. Must be used together with task_type.
Response
List automations
Example response
{
"automations": [
{
"tasks": [
{
"details": [
{
"last_run_result": {
"summary": "Sample last run result",
"value": {
"failure_reason": {
"error_code": "4AUTO14",
"error_message": "schema mismatch"
}
}
},
"recipients": [
{
"summary": "Sample recipients",
"value": [
""
]
}
]
}
],
"conditions": [
{
"details": {
"summary": "Sample task details",
"value": {
"frequency": "monthly",
"interval": 1,
"start_at": "2025-08-16 10:56:20Z",
"until": "2025-09-22 10:56:20Z",
"by_week_day": [
"mo"
],
"by_month_day": [
1,
2
],
"start_now": true
}
}
}
]
}
],
"conditions": [
{
"details": {
"summary": "Sample task details",
"value": {
"frequency": "monthly",
"interval": 1,
"start_at": "2025-08-16 10:56:20Z",
"until": "2025-09-22 10:56:20Z",
"by_week_day": [
"mo"
],
"by_month_day": [
1,
2
],
"start_now": true
}
}
}
]
}
]
}Changes
No recorded changes to this operation across all 3 revisions of this API.