Delete multiple jobs

Use this endpoint to delete multiple jobs at once.

🚧

Searching inputs and outputs

The inputPath, inputMatchType, and inputValue parameters must be used in conjunction in order to search your input JSON data. Likewise, you need to specify responsePath, responseMatchType, and responseValue to search your output data.

Delete jobs by data name

To delete jobs based on values in your input JSON, use inputPath, inputMatchType, and inputValue with the delete_jobs API endpoint.

Example Request


curl --request DELETE '<https://api.super.ai/v1/apps/{APP_UUID}/delete_jobs?inputPath=%7BdocumentUrl%7D&inputValue={INPUT_SUBSTRING}&inputMatchType=CONTAINS'>  
--header 'accept: application/json'  
--header 'API-KEY: {API_KEY}'

Notice %7BdocumentUrl%7 which is the encoded version of {documentUrl}.

Replace:

  • {APP_UUID} with your app’s UUID.
  • {INPUT_SUBSTRING} with the substring you want to match in the document URL.
  • {API_KEY} with your API key.

❗️

Note: inputMatchType=CONTAINS may match multiple jobs if similar substrings exist across different records.

Example JSON Structure

The request searches within this structure if inputPath={documentUrl}:

{  
  "documentUrl": "data://1234/random_folder/random_doc-123456.pdf"  
}

Use IS in inputMatchType to target an exact match if needed.

Language
Credentials
Header
Click Try It! to start a request and see the response here!