Cradl AI
cradl_aiCradl AI is an API-first platform for building and operating AI-powered document extraction workflows.
Acciones disponibles (11)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Download FileCRADL_AI_DOWNLOAD_FILEAcciónDownload document, OCR, annotation, prediction, or run-variable content from a Cradl AI file URL returned by another Cradl AI tool.
CRADL_AI_DOWNLOAD_FILEAcciónDownload document, OCR, annotation, prediction, or run-variable content from a Cradl AI file URL returned by another Cradl AI tool.
Parámetros de entrada
file_urlstringObligatorioExact https://files.api.cradl.ai URL returned by a Cradl AI resource.
output_namestringOptional filename for the downloaded file.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Agent RunCRADL_AI_GET_AGENT_RUNAcciónGet the current state and outputs of one Cradl AI agent run. Poll this read-only tool until the run reaches a terminal status; it does not itself consume page quota.
CRADL_AI_GET_AGENT_RUNAcciónGet the current state and outputs of one Cradl AI agent run. Poll this read-only tool until the run reaches a terminal status; it does not itself consume page quota.
Parámetros de entrada
run_idstringObligatorioBare run identifier returned by Start Agent Run or List Agent Runs, such as cradl:run:... .
agent_idstringObligatorioAgent identifier that owns the run.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DocumentCRADL_AI_GET_DOCUMENTAcciónGet metadata, processing links, and annotations for one Cradl AI document by ID. This read does not consume page quota.
CRADL_AI_GET_DOCUMENTAcciónGet metadata, processing links, and annotations for one Cradl AI document by ID. This read does not consume page quota.
Parámetros de entrada
document_idstringObligatorioDocument identifier returned by List Documents or document creation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PredictionCRADL_AI_GET_PREDICTIONAcciónGet one extracted prediction, including its status, fields, errors, and downloadable output references. This read does not consume page quota.
CRADL_AI_GET_PREDICTIONAcciónGet one extracted prediction, including its status, fields, errors, and downloadable output references. This read does not consume page quota.
Parámetros de entrada
prediction_idstringObligatorioPrediction identifier returned by List Predictions or a run output.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Agent RunsCRADL_AI_LIST_AGENT_RUNSAcciónList processing runs for an agent, optionally filtered by status or creation/update time. Use this to discover recent extraction jobs and their run IDs.
CRADL_AI_LIST_AGENT_RUNSAcciónList processing runs for an agent, optionally filtered by status or creation/update time. Use this to discover recent extraction jobs and their run IDs.
Parámetros de entrada
statusstringenumReturn only runs in the selected provider-defined status.
archivedexportedpending-exportpending-predictionsready-for-reviewreview-completedsucceeded-predictionserrorrunningcompletedreview-in-progressagent_idstringObligatorioAgent identifier whose runs should be listed.
max_resultsintegerMaximum runs to return in this page; Cradl does not document an upper bound.
next_cursorstringOpaque continuation token returned by a previous call. Omit for the first page and pass it back without modification.
updated_time_afterstringReturn only runs with updatedTime after this ISO 8601 timestamp.
created_time_beforestringReturn only runs with createdTime before this ISO 8601 timestamp.
updated_time_beforestringReturn only runs with updatedTime before this ISO 8601 timestamp.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AgentsCRADL_AI_LIST_AGENTSAcciónList document-processing agents available to the connected Cradl AI workspace. Use an agent ID from this result to start an extraction run.
CRADL_AI_LIST_AGENTSAcciónList document-processing agents available to the connected Cradl AI workspace. Use an agent ID from this result to start an extraction run.
Parámetros de entrada
max_resultsintegerMaximum agents to return in this page; Cradl does not document an upper bound.
next_cursorstringOpaque continuation token returned by a previous call. Pass it back unchanged, or omit it for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DocumentsCRADL_AI_LIST_DOCUMENTSAcciónList documents in the connected Cradl AI workspace and discover document IDs and content/output file URLs.
CRADL_AI_LIST_DOCUMENTSAcciónList documents in the connected Cradl AI workspace and discover document IDs and content/output file URLs.
Parámetros de entrada
orderstringenumSort documents in ascending or descending order.
ascendingdescendingsort_bystringSort documents by their creation timestamp.
consent_idstringOptional consent-ID filter.
dataset_idstringOptional dataset-ID filter.
document_idstringOptional exact document-ID filter.
max_resultsintegerMaximum documents to return in this page; Cradl does not document an upper bound.
next_cursorstringOpaque continuation token returned by a previous call. Pass it back unchanged, or omit it for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PredictionsCRADL_AI_LIST_PREDICTIONSAcciónList extracted predictions, optionally filtered by model, and discover prediction IDs and output file URLs.
CRADL_AI_LIST_PREDICTIONSAcciónList extracted predictions, optionally filtered by model, and discover prediction IDs and output file URLs.
Parámetros de entrada
orderstringenumSort predictions in ascending or descending order.
ascendingdescendingsort_bystringSort predictions by their creation timestamp.
model_idstringOptional model identifier to filter predictions.
max_resultsintegerMaximum predictions to return in this page; Cradl does not document an upper bound.
next_cursorstringOpaque continuation token returned by a previous call. Omit it for the first page and pass it back unchanged to continue.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Process DocumentCRADL_AI_PROCESS_DOCUMENTAcciónCreate a persistent Cradl agent run and document, then upload one document for asynchronous extraction in a single call. This consumes processed-page quota. It returns immediately after upload and does not poll extraction; use the composite agent_run_id only for document attachment. Poll the run with the original agent_id and returned bare run_id. Do not retry an ambiguous upload outcome automatically.
CRADL_AI_PROCESS_DOCUMENTAcciónCreate a persistent Cradl agent run and document, then upload one document for asynchronous extraction in a single call. This consumes processed-page quota. It returns immediately after upload and does not poll extraction; use the composite agent_run_id only for document attachment. Poll the run with the original agent_id and returned bare run_id. Do not retry an ambiguous upload outcome automatically.
Parámetros de entrada
fileobjectObligatorioOne PDF, image, or email file to process.
namestringOptional persistent document name.
agent_idstringObligatorioExact Cradl agent ID that should process the document.
metadataobjectOptional caller metadata to persist on the document.
variablesobjectOptional variables made available to the new agent run.
descriptionstringOptional persistent document description.
content_typestringObligatorioenumMIME type to record for the uploaded document.
application/pdfimage/jpegimage/pngimage/tiffimage/webpmessage/rfc822retention_in_daysintegerOptional document retention period from 1 through 1825 days.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start Agent RunCRADL_AI_START_AGENT_RUNAcciónCreate a processing run for an existing Cradl AI agent. This creates persistent run state; attaching and processing document content against the run consumes the workspace's monthly processed-page quota.
CRADL_AI_START_AGENT_RUNAcciónCreate a processing run for an existing Cradl AI agent. This creates persistent run state; attaching and processing document content against the run consumes the workspace's monthly processed-page quota.
Parámetros de entrada
agent_idstringObligatorioAgent identifier from List Agents.
variablesobjectOptional variables made available to the agent run.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload Document to RunCRADL_AI_UPLOAD_DOCUMENT_TO_RUNAcciónCreate a document attached to a Cradl AI agent run and upload its PDF, image, or email bytes. The upload starts asynchronous processing and consumes the workspace's monthly processed-page quota.
CRADL_AI_UPLOAD_DOCUMENT_TO_RUNAcciónCreate a document attached to a Cradl AI agent run and upload its PDF, image, or email bytes. The upload starts asynchronous processing and consumes the workspace's monthly processed-page quota.
Parámetros de entrada
fileobjectObligatorioPDF, image, or email file to upload.
namestringOptional human-readable document name.
metadataobjectOptional caller metadata to store on the document.
descriptionstringOptional document description.
agent_run_idstringObligatorioComposite agent run ID from Start Agent Run's id field, containing the agent and run IDs and optionally an organization prefix.
content_typestringObligatorioenumMIME type of the document file.
application/pdfimage/jpegimage/pngimage/tiffimage/webpmessage/rfc822retention_in_daysintegerOptional retention period in days, from 1 through 1825.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not