UBIK Agent will launch soon, join the waitlist to get access!
Python
import requests url = "https://app.ubik-agent.com/api/v1/documents/{document_id}/reprocess" files = { "file.0": ("example-file", open("example-file", "rb")) } payload = { "file": "<string>", "pipeline": "<string>" } headers = {"X-API-KEY": "<api-key>"} response = requests.post(url, data=payload, files=files, headers=headers) print(response.text)
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Reprocess a document using a different pipeline, optionally updating the file content.
Successful Response
Was this page helpful?