Volver al catálogo

Cradl AI

cradl_ai

Cradl AI is an API-first platform for building and operating AI-powered document extraction workflows.

Acciones
11
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Download 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_urlstringObligatorio

    Exact https://files.api.cradl.ai URL returned by a Cradl AI resource.

  • output_namestring

    Optional filename for the downloaded file.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Agent RunCRADL_AI_GET_AGENT_RUNAcción

Get 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_idstringObligatorio

    Bare run identifier returned by Start Agent Run or List Agent Runs, such as cradl:run:... .

  • agent_idstringObligatorio

    Agent identifier that owns the run.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DocumentCRADL_AI_GET_DOCUMENTAcción

Get metadata, processing links, and annotations for one Cradl AI document by ID. This read does not consume page quota.

Parámetros de entrada

  • document_idstringObligatorio

    Document identifier returned by List Documents or document creation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PredictionCRADL_AI_GET_PREDICTIONAcción

Get one extracted prediction, including its status, fields, errors, and downloadable output references. This read does not consume page quota.

Parámetros de entrada

  • prediction_idstringObligatorio

    Prediction identifier returned by List Predictions or a run output.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Agent RunsCRADL_AI_LIST_AGENT_RUNSAcción

List 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

  • statusstringenum

    Return only runs in the selected provider-defined status.

    archivedexportedpending-exportpending-predictionsready-for-reviewreview-completedsucceeded-predictionserrorrunningcompletedreview-in-progress
  • agent_idstringObligatorio

    Agent identifier whose runs should be listed.

  • max_resultsinteger

    Maximum runs to return in this page; Cradl does not document an upper bound.

  • next_cursorstring

    Opaque continuation token returned by a previous call. Omit for the first page and pass it back without modification.

  • updated_time_afterstring

    Return only runs with updatedTime after this ISO 8601 timestamp.

  • created_time_beforestring

    Return only runs with createdTime before this ISO 8601 timestamp.

  • updated_time_beforestring

    Return only runs with updatedTime before this ISO 8601 timestamp.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List AgentsCRADL_AI_LIST_AGENTSAcción

List 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_resultsinteger

    Maximum agents to return in this page; Cradl does not document an upper bound.

  • next_cursorstring

    Opaque continuation token returned by a previous call. Pass it back unchanged, or omit it for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DocumentsCRADL_AI_LIST_DOCUMENTSAcción

List documents in the connected Cradl AI workspace and discover document IDs and content/output file URLs.

Parámetros de entrada

  • orderstringenum

    Sort documents in ascending or descending order.

    ascendingdescending
  • sort_bystring

    Sort documents by their creation timestamp.

  • consent_idstring

    Optional consent-ID filter.

  • dataset_idstring

    Optional dataset-ID filter.

  • document_idstring

    Optional exact document-ID filter.

  • max_resultsinteger

    Maximum documents to return in this page; Cradl does not document an upper bound.

  • next_cursorstring

    Opaque continuation token returned by a previous call. Pass it back unchanged, or omit it for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PredictionsCRADL_AI_LIST_PREDICTIONSAcción

List extracted predictions, optionally filtered by model, and discover prediction IDs and output file URLs.

Parámetros de entrada

  • orderstringenum

    Sort predictions in ascending or descending order.

    ascendingdescending
  • sort_bystring

    Sort predictions by their creation timestamp.

  • model_idstring

    Optional model identifier to filter predictions.

  • max_resultsinteger

    Maximum predictions to return in this page; Cradl does not document an upper bound.

  • next_cursorstring

    Opaque continuation token returned by a previous call. Omit it for the first page and pass it back unchanged to continue.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Process DocumentCRADL_AI_PROCESS_DOCUMENTAcción

Create 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

  • fileobjectObligatorio

    One PDF, image, or email file to process.

  • namestring

    Optional persistent document name.

  • agent_idstringObligatorio

    Exact Cradl agent ID that should process the document.

  • metadataobject

    Optional caller metadata to persist on the document.

  • variablesobject

    Optional variables made available to the new agent run.

  • descriptionstring

    Optional persistent document description.

  • content_typestringObligatorioenum

    MIME type to record for the uploaded document.

    application/pdfimage/jpegimage/pngimage/tiffimage/webpmessage/rfc822
  • retention_in_daysinteger

    Optional document retention period from 1 through 1825 days.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Agent RunCRADL_AI_START_AGENT_RUNAcción

Create 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_idstringObligatorio

    Agent identifier from List Agents.

  • variablesobject

    Optional variables made available to the agent run.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Document to RunCRADL_AI_UPLOAD_DOCUMENT_TO_RUNAcción

Create 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

  • fileobjectObligatorio

    PDF, image, or email file to upload.

  • namestring

    Optional human-readable document name.

  • metadataobject

    Optional caller metadata to store on the document.

  • descriptionstring

    Optional document description.

  • agent_run_idstringObligatorio

    Composite agent run ID from Start Agent Run's id field, containing the agent and run IDs and optionally an organization prefix.

  • content_typestringObligatorioenum

    MIME type of the document file.

    application/pdfimage/jpegimage/pngimage/tiffimage/webpmessage/rfc822
  • retention_in_daysinteger

    Optional retention period in days, from 1 through 1825.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not