List all redaction jobs ​
Returns a list of redaction jobs.
Returns ​
Returns a list of RedactionJob objects.
Parameters ​
ending_before(string, optional) A cursor for use in pagination.ending_beforeis an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withobj_bar, your subsequent call can includeending_before=obj_barin order to fetch the previous page of the list.limit(integer, optional) A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.starting_after(string, optional) A cursor for use in pagination.starting_afteris an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withobj_foo, your subsequent call can includestarting_after=obj_fooin order to fetch the next page of the list.status(enum, optional) If provided, only RedactionJob objects with the given status will be returned. Possible enum values:canceledThe job is canceled. No objects are redacted.cancelingThe job is canceling and no objects will be redacted.createdThis job is newly created and will begin validating shortly.failedThe job failed to validate. View the job’s validation errors for more information.readyThe job is ready to run or cancel.redactingThe job is running. It is redacting the job’s specified objects.succeededThe job is complete. The job’s objects are redacted.validatingThe job is checking if the objects are eligible for redaction.
curl
curl https://api.stripe.com/v1/privacy/redaction_jobs \
-u "<<YOUR_SECRET_KEY>>"Response ​
json
{
"object": "list",
"url": "/v1/privacy/redaction_jobs",
"has_more": false,
"data": [
{
"id": "prj_123",
"object": "privacy.redaction_job",
"created": 1234567890,
"livemode": true,
"status": "validating",
"validation_behavior": "error"
},
{
"id": "prj_456",
"object": "privacy.redaction_job",
"created": 1234567890,
"livemode": true,
"status": "success",
"validation_behavior": "fix"
}
]
}