List mutations
Lists your organization’s Mutations, newest first.
One page at a time: limit rows at most, 100 by default. When the answer holds nextCursor, more rows exist: send it back as cursor to get the next page. When it is absent, you have the last page. The cursor is opaque: send it back with no change, and do not build one.
A row that is still running is checked against the change itself as the page is read, so a Mutation that finished after its row was written shows its true outcome here.
This is the history read, and it needs mutation:read. Starting a Mutation and polling the one you started need mutation:write.
/mutationsAuthorizationBearer token · headerrequiredSend Authorization: Bearer <credential>.
Use an API key (acr_…), from the AdCrunch console under Settings → API keys.
The credential names the organization, and no operation takes an organization parameter.
See https://docs.adcrunch.dev/api/authentication.
cursorstringlimitintegerrequiredOne page of Mutations, newest first. This one is the last page, so it carries no nextCursor.
dataobject[]requiredShow propertiesHide properties
objectactionanyrequiredWhat was asked for, in the shape POST /mutations accepts.
advertiserIdstringrequiredThe advertiser that was changed.
completedAtnumber | nullrequiredWhen it finished, as a Unix timestamp in milliseconds. Null while it runs.
createdAtnumberrequiredWhen it started, as a Unix timestamp in milliseconds.
organizationIdstringrequiredThe organization it belongs to.
providerstringrequiredThe ad platform the advertiser belongs to. It is meta today.
resultany | nullrequiredHow the change ended, in the shape GET /mutations/{id} answers. Null while the Mutation runs.
statusstringrequiredHow it ended, or that it has not.
runningcompleteerroredtoolstringrequiredWhich action was asked for, for example meta_set_status. It is the kind of the action above.
userIdstringrequiredWho asked for it.
workflowIdstringrequiredThe Mutation id. The same id POST /mutations returned.
nextCursorstringSend this value as cursor to get the next page. It is absent on the last page.
The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. error is invalid_request, and issues names each field. Nothing was changed. Or AdCrunch cannot use the cursor: it cannot read it, or the cursor belongs to a different query. Then error is invalid_cursor. Send the nextCursor of the previous page with no change, or omit cursor to get the first page.
issuesobject[]requiredOne entry for each field that does not match.
Show propertiesHide properties
objectinstringrequiredThe part of the request that holds the field.
bodycookieheadersparamsquerymessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
pathstringrequiredA JSON Pointer into that part of the request, such as /filename. An empty string is the whole part.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
invalid_requestmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
invalid_cursormessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
No API key, or one that does not resolve. See the security scheme. error is unauthorized.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
unauthorizedmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
The caller does not hold mutation:read. error is forbidden.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
forbiddenmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.