Mathpix
mathpixMathpix extracts text, mathematics, tables, and other structured content from images and documents and converts results into editable formats.
Acciones disponibles (29)
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.
Convert Mathpix MarkdownMATHPIX_CONVERT_MATHPIX_MARKDOWNAcciónSubmit Mathpix Markdown, wait for one requested format to finish, then return the conversion ID and downloadable output file. The remote conversion remains if waiting fails or times out.
MATHPIX_CONVERT_MATHPIX_MARKDOWNAcciónSubmit Mathpix Markdown, wait for one requested format to finish, then return the conversion ID and downloadable output file. The remote conversion remains if waiting fails or times out.
Parámetros de entrada
metadataobjectOptional JSON metadata stored with the conversion for correlation.
output_formatstringenumSingle output format to request, wait for, and download.
mddocxtex.ziphtmlpdflatex.pdfpptxxlsxmmd.zipmd.ziphtml.ziptimeout_secondsnumberMaximum total time to wait before failing with the conversion ID (10-900 seconds).
mathpix_markdownstringObligatorioMathpix Markdown source to convert; the complete JSON request must remain under 10 MB.
poll_interval_secondsnumberSeconds between conversion status checks (1-30).
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
Create App TokenMATHPIX_CREATE_APP_TOKENAcciónMint a short-lived client OCR credential, optionally with a live ink strokes session. Requires explicit acknowledgement because the response exposes the new secret exactly once to the caller.
MATHPIX_CREATE_APP_TOKENAcciónMint a short-lived client OCR credential, optionally with a live ink strokes session. Requires explicit acknowledgement because the response exposes the new secret exactly once to the caller.
Parámetros de entrada
user_idstringOptional caller-owned user identifier associated with the token.
expires_secondsintegerToken lifetime in seconds, from 30 seconds through 12 hours.
include_strokes_sessionbooleanAlso create a strokes session ID for client-side live ink recognition. This limits expires_seconds to at most 300 seconds.
acknowledge_secret_outputbooleanObligatorioMust be true to acknowledge that the response contains a live credential that must not be logged, persisted insecurely, or shared with an untrusted client.
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
Delete ConversionMATHPIX_DELETE_CONVERSIONAcciónPermanently delete one Mathpix Markdown conversion's hosted output data after explicit confirmation. The response preserves the status immediately before deletion; Mathpix may continue to report that status after the output data has been deleted.
MATHPIX_DELETE_CONVERSIONAcciónPermanently delete one Mathpix Markdown conversion's hosted output data after explicit confirmation. The response preserves the status immediately before deletion; Mathpix may continue to report that status after the output data has been deleted.
Parámetros de entrada
conversion_idstringObligatorioConversion ID whose hosted outputs will be permanently deleted.
confirm_deletebooleanObligatorioMust be true to confirm permanent deletion of the conversion's hosted outputs.
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
Delete DocumentMATHPIX_DELETE_DOCUMENTAcciónPermanently delete one Mathpix document source and its hosted outputs after explicit confirmation. The response reports the status immediately before deletion, not a deleted status marker, and cached downloads may remain reachable for up to 10 minutes.
MATHPIX_DELETE_DOCUMENTAcciónPermanently delete one Mathpix document source and its hosted outputs after explicit confirmation. The response reports the status immediately before deletion, not a deleted status marker, and cached downloads may remain reachable for up to 10 minutes.
Parámetros de entrada
pdf_idstringObligatorioDocument job ID whose Mathpix-hosted source and outputs will be permanently deleted.
confirm_deletebooleanObligatorioMust be true to confirm permanent deletion of the document source and hosted outputs.
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
Delete FileMATHPIX_DELETE_FILEAcciónPermanently delete one terminal Files API file and its Mathpix-hosted results. This does not remove customer-owned destination objects, reverse billing, or delete a file that is still processing.
MATHPIX_DELETE_FILEAcciónPermanently delete one terminal Files API file and its Mathpix-hosted results. This does not remove customer-owned destination objects, reverse billing, or delete a file that is still processing.
Parámetros de entrada
file_idstringObligatorioTerminal Files API file ID to permanently delete.
confirm_deletebooleanObligatorioMust be true to confirm permanent deletion of Mathpix-hosted file data.
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
Finalize File JobMATHPIX_FINALIZE_FILE_JOBAcciónPermanently close one Files API job to new file additions and arm its completion webhook. Already accepted files may continue processing. Requires explicit confirmation; repeating the same finalization is provider-idempotent.
MATHPIX_FINALIZE_FILE_JOBAcciónPermanently close one Files API job to new file additions and arm its completion webhook. Already accepted files may continue processing. Requires explicit confirmation; repeating the same finalization is provider-idempotent.
Parámetros de entrada
job_idstringObligatorioFiles API job to close permanently to new file additions.
confirm_finalizebooleanObligatorioMust be true to confirm that no more files can be added to this job.
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 App TokenMATHPIX_GET_APP_TOKENAcciónGet expiry and ownership metadata for a specific short-lived Mathpix app token. The secret token is used only in the request path and is omitted from the returned object and provider-error diagnostics.
MATHPIX_GET_APP_TOKENAcciónGet expiry and ownership metadata for a specific short-lived Mathpix app token. The secret token is used only in the request path and is omitted from the returned object and provider-error diagnostics.
Parámetros de entrada
app_tokenstringObligatoriopasswordSecret app token whose expiry and ownership metadata to inspect. Use only a token obtained from a trusted source.
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 Conversion ResultMATHPIX_GET_CONVERSION_RESULTAcciónWait for an existing Mathpix Markdown conversion and requested format to finish, then return its status and downloadable output file without creating a conversion.
MATHPIX_GET_CONVERSION_RESULTAcciónWait for an existing Mathpix Markdown conversion and requested format to finish, then return its status and downloadable output file without creating a conversion.
Parámetros de entrada
conversion_idstringObligatorioConversion ID returned by Convert Mathpix Markdown or Mathpix.
output_formatstringenumPreviously requested output format to wait for and download.
mddocxtex.ziphtmlpdflatex.pdfpptxxlsxmmd.zipmd.ziphtml.ziptimeout_secondsnumberMaximum total time to wait before failing without deleting the conversion.
poll_interval_secondsnumberSeconds between conversion status checks.
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 Document ResultMATHPIX_GET_DOCUMENT_RESULTAcciónWait for an existing Mathpix document job and requested format to finish, then return its status and downloadable output file without creating a new job.
MATHPIX_GET_DOCUMENT_RESULTAcciónWait for an existing Mathpix document job and requested format to finish, then return its status and downloadable output file without creating a new job.
Parámetros de entrada
pdf_idstringObligatorioDocument job ID returned by OCR Document or Mathpix.
output_formatstringenumPreviously requested output format to wait for and download.
mmdmddocxtex.ziphtmlpdflatex.pdfpptxxlsxmmd.zipmd.ziphtml.zip+2timeout_secondsnumberMaximum total time to wait before failing without deleting the job.
poll_interval_secondsnumberSeconds between status checks while waiting for the 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
Get File JobMATHPIX_GET_FILE_JOBAcciónGet aggregate status, file and page counters, and timestamps for one Files API job. A completed job can still contain errored files; inspect files_errored and has_file_errors.
MATHPIX_GET_FILE_JOBAcciónGet aggregate status, file and page counters, and timestamps for one Files API job. A completed job can still contain errored files; inspect files_errored and has_file_errors.
Parámetros de entrada
job_idstringObligatorioFiles API job ID to inspect.
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 File ResultMATHPIX_GET_FILE_RESULTAcciónWait for an existing Files API file and selected format to finish, then return its status and downloadable output without creating a file.
MATHPIX_GET_FILE_RESULTAcciónWait for an existing Files API file and selected format to finish, then return its status and downloadable output without creating a file.
Parámetros de entrada
file_idstringObligatorioFiles API file ID to retrieve.
output_formatstringenumPreviously requested output format to wait for and download.
mmdmddocxtex.ziphtmlpdflatex.pdfpptxxlsxmmd.zipmd.ziphtml.zip+2timeout_secondsnumberMaximum wait before failing without deleting the file.
poll_interval_secondsnumberSeconds between file status checks.
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 Job File by Custom IDMATHPIX_GET_JOB_FILE_BY_CUSTOM_IDAcciónGet the complete Files API processing status for one job member using the exact caller-defined custom ID assigned at submission.
MATHPIX_GET_JOB_FILE_BY_CUSTOM_IDAcciónGet the complete Files API processing status for one job member using the exact caller-defined custom ID assigned at submission.
Parámetros de entrada
job_idstringObligatorioFiles API job containing the member file.
custom_idstringObligatorioExact case-sensitive caller-defined ID assigned when this job member was submitted.
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 OCR UsageMATHPIX_GET_OCR_USAGEAcciónReturn one page of aggregated Mathpix OCR usage for a date range, optionally grouped by usage type, request configuration, or application.
MATHPIX_GET_OCR_USAGEAcciónReturn one page of aggregated Mathpix OCR usage for a date range, optionally grouped by usage type, request configuration, or application.
Parámetros de entrada
to_datestringExclusive end date/time for the usage query in Mathpix's accepted format.
group_bystring[]Dimensions used to aggregate usage rows. Multiple values are sent as repeated group_by query parameters.
timespanstringMathpix-supported time bucket for aggregating usage, such as month.
from_datestringInclusive start date/time for the usage query in Mathpix's accepted format.
page_sizeintegerMaximum usage rows to request in this page; Mathpix does not document a maximum.
usage_typestringFilter to a Mathpix usage category such as image or document processing.
next_cursorstringContinuation cursor returned by a previous call; omit for the first page.
request_args_hashstringFilter to the hash of one OCR request configuration.
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 Storage Onboarding IdentitiesMATHPIX_GET_STORAGE_ONBOARDING_IDENTITIESAcciónGet the Mathpix AWS, Azure, and GCP identities needed to grant cloud-storage access. Requires explicit acknowledgement because the first call may lazily create the account's immutable external ID.
MATHPIX_GET_STORAGE_ONBOARDING_IDENTITIESAcciónGet the Mathpix AWS, Azure, and GCP identities needed to grant cloud-storage access. Requires explicit acknowledgement because the first call may lazily create the account's immutable external ID.
Parámetros de entrada
confirm_create_external_idbooleanObligatorioMust be true to acknowledge that the first call may permanently create the Mathpix account's immutable external ID.
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 ConversionsMATHPIX_LIST_CONVERSIONSAcciónList one page of retained Mathpix Markdown conversion records, optionally filtered by date, and return IDs usable by conversion result or deletion tools.
MATHPIX_LIST_CONVERSIONSAcciónList one page of retained Mathpix Markdown conversion records, optionally filtered by date, and return IDs usable by conversion result or deletion tools.
Parámetros de entrada
to_datestringExclusive end date/time filter in the format accepted by Mathpix.
from_datestringInclusive start date/time filter in the format accepted by Mathpix.
page_sizeintegerMaximum retained conversion records to request in this page. Mathpix does not publish a verified maximum.
next_cursorstringContinuation cursor returned by a previous call; omit 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 Data SourcesMATHPIX_LIST_DATA_SOURCESAcciónList cloud-storage data sources registered with Mathpix, returning only allowlisted non-secret metadata.
MATHPIX_LIST_DATA_SOURCESAcciónList cloud-storage data sources registered with Mathpix, returning only allowlisted non-secret metadata.
Parámetros de entrada
Sin parámetros.
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 DocumentsMATHPIX_LIST_DOCUMENTSAcciónList retained document OCR jobs for the connected account, optionally filtered by date or document ID, and return one page.
MATHPIX_LIST_DOCUMENTSAcciónList retained document OCR jobs for the connected account, optionally filtered by date or document ID, and return one page.
Parámetros de entrada
pdf_idstringFilter to one document job ID.
to_datestringExclusive end date/time filter in the format accepted by Mathpix.
from_datestringInclusive start date/time filter in the format accepted by Mathpix.
page_sizeintegerMaximum document records to request in this page. Mathpix does not publish a maximum.
next_cursorstringContinuation cursor returned by a previous call; omit 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 File Job FilesMATHPIX_LIST_FILE_JOB_FILESAcciónList one cursor-paginated page of files in a Mathpix Files API job, optionally filtered by terminal status.
MATHPIX_LIST_FILE_JOB_FILESAcciónList one cursor-paginated page of files in a Mathpix Files API job, optionally filtered by terminal status.
Parámetros de entrada
job_idstringObligatorioFiles API job whose member files to list.
statusstringenumOptional member status filter: pending, split, completed, or error.
pendingsplitcompletederrorpage_sizeintegerMaximum job files to return in this page (1-1000).
next_cursorstringOpaque continuation cursor from a previous page; omit 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 File JobsMATHPIX_LIST_FILE_JOBSAcciónList one cursor-paginated page of Files API jobs newest first, optionally bounded by inclusive UTC dates.
MATHPIX_LIST_FILE_JOBSAcciónList one cursor-paginated page of Files API jobs newest first, optionally bounded by inclusive UTC dates.
Parámetros de entrada
end_datestringInclusive UTC end date in yyyy-MM-dd format.
page_sizeintegerMaximum jobs to return in this page (1-1000).
start_datestringInclusive UTC start date in yyyy-MM-dd format.
next_cursorstringOpaque continuation cursor returned by a previous call; omit 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
OCR DocumentMATHPIX_OCR_DOCUMENTAcciónSubmit a PDF, office document, or ebook URL, wait for OCR and the requested conversion to finish, then return its Mathpix job ID and downloadable output file. Mathpix retains the remote job after success; call Delete Document when the hosted source and outputs are no longer needed.
MATHPIX_OCR_DOCUMENTAcciónSubmit a PDF, office document, or ebook URL, wait for OCR and the requested conversion to finish, then return its Mathpix job ID and downloadable output file. Mathpix retains the remote job after success; call Delete Document when the hosted source and outputs are no longer needed.
Parámetros de entrada
metadataobjectOptional JSON metadata stored with the document job for correlation.
source_urlstringObligatoriouriPublic URL of the PDF, office document, or ebook to process.
output_formatstringenumSingle output format to request, wait for, and download.
mmdmddocxtex.ziphtmlpdflatex.pdfpptxxlsxmmd.zipmd.ziphtml.zip+2timeout_secondsnumberMaximum total time to wait for OCR and conversion before failing.
poll_interval_secondsnumberSeconds between status checks while waiting for the 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
OCR ImageMATHPIX_OCR_IMAGEAcciónExtract text, math, tables, diagrams, or chemistry from one image URL or base64 data URI and return the requested OCR representations. Mathpix may retain the submitted image and result, and provides no image deletion endpoint.
MATHPIX_OCR_IMAGEAcciónExtract text, math, tables, diagrams, or chemistry from one image URL or base64 data URI and return the requested OCR representations. Mathpix may retain the submitted image and result, and provides no image deletion endpoint.
Parámetros de entrada
tagsstring[]Optional labels stored with the OCR request for later history searches.
formatsstring[]OCR representations to return; choose one or more of text, structured data, HTML, or styled LaTeX.
metadataobjectOptional JSON metadata stored with the OCR request for correlation.
image_sourcestringObligatorioPublic image URL or base64 data URI to recognize.
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 Equation (Deprecated)MATHPIX_PROCESS_EQUATION_DEPRECATEDAcciónCompatibility-only access to Mathpix's deprecated equation-image OCR endpoint. Use MATHPIX_OCR_IMAGE for all new image OCR work. This paid operation may retain the submitted image and result in Mathpix history.
MATHPIX_PROCESS_EQUATION_DEPRECATEDAcciónCompatibility-only access to Mathpix's deprecated equation-image OCR endpoint. Use MATHPIX_OCR_IMAGE for all new image OCR work. This paid operation may retain the submitted image and result in Mathpix history.
Parámetros de entrada
formatsstring[]ObligatorioOne or more legacy equation output representations to return.
optionsobjectOptional documented legacy OCR settings, such as tags, async, ocr, format_options, skip_recrop, confidence_threshold, beam_size, n_best, region, callback, metadata, include_detected_alphabets, auto_rotate_confidence_threshold, or enable_blue_hsv_filter. The reserved src and formats fields must be supplied through image_source and formats.
image_sourcestringObligatorioPublic equation-image URL or base64 data URI.
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 File URIMATHPIX_PROCESS_FILE_URIAcciónSubmit one public or registered-cloud document URI to the paid Files API, wait for OCR and one requested output, and return the retained file ID and downloadable result. Supply an idempotency key for safely retryable standalone submissions. External storage writes or callback delivery require explicit authorization.
MATHPIX_PROCESS_FILE_URIAcciónSubmit one public or registered-cloud document URI to the paid Files API, wait for OCR and one requested output, and return the retained file ID and downloadable result. Supply an idempotency key for safely retryable standalone submissions. External storage writes or callback delivery require explicit authorization.
Parámetros de entrada
job_idstringOptional existing unfinalized Files job to receive this file.
filenamestringOptional source filename shown in file status and output names.
custom_idstringCaller-defined per-job file ID. Requires job_id; reusing the same job_id and custom_id safely deduplicates a retry.
source_uristringObligatorioPublic HTTPS URL, s3 URI, gs URI, or Azure Blob HTTPS URL for a document. Cloud locations must have a registered Mathpix data source.
output_formatstringenumSingle output format to request, wait for, and download.
mmdmdmd.zipmmd.zipdocxpptxxlsxhtmlhtml.ziptex.ziplatex.pdfpdf+2destination_uristringOptional registered s3, gs, or Azure Blob destination. Mathpix writes the requested output outside Mathpix when this is set.
idempotency_keystringStable key for safely retrying the identical standalone submission. Use job_id plus custom_id instead for a job-associated file.
timeout_secondsnumberMaximum total time to wait for OCR and the selected output.
processing_optionsobjectOptional documented PDF OCR, conversion, callback, destination-basename, and image-output settings. Dedicated tool fields cannot be overridden.
poll_interval_secondsnumberSeconds between file-status checks while waiting for the output.
confirm_external_effectsbooleanSet true when destination_uri is supplied or processing_options includes callback_url, confirming authorization for external storage writes or callback delivery.
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 Image BatchMATHPIX_PROCESS_IMAGE_BATCHAcciónSubmit a paid asynchronous batch of 1-100 named public image URLs, wait until every key has a semantically successful OCR result, and return the retained batch ID and results. Explicit confirmation is required because Mathpix provides no batch deletion route and may deliver an external callback.
MATHPIX_PROCESS_IMAGE_BATCHAcciónSubmit a paid asynchronous batch of 1-100 named public image URLs, wait until every key has a semantically successful OCR result, and return the retained batch ID and results. Explicit confirmation is required because Mathpix provides no batch deletion route and may deliver an external callback.
Parámetros de entrada
imagesobjectObligatorioMap of 1-100 stable caller-chosen keys to public image URLs or per-image option objects containing a url. This tool cap bounds paid OCR usage per call.
metadataobjectOptional correlation metadata retained with the batch.
callback_urlstringuriOptional public HTTPS callback for progressive results. Mathpix receives it in callback.post, and this tool still polls as the required fallback.
ocr_behaviorstringenumOCR behavior applied across the batch: text or legacy equation LaTeX.
latextexttimeout_secondsnumberMaximum total time to wait for every submitted key (10-1800 seconds).
poll_interval_secondsnumberSeconds between batch reads (1-30).
confirm_batch_submissionbooleanObligatorioMust be true to confirm paid processing of every image, permanent batch retention, and authorization for callback delivery when callback_url is set.
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
Recognize StrokesMATHPIX_RECOGNIZE_STROKESAcciónRecognize handwritten math or text from aligned x/y digital-ink stroke arrays and return OCR representations. This paid call may retain the result.
MATHPIX_RECOGNIZE_STROKESAcciónRecognize handwritten math or text from aligned x/y digital-ink stroke arrays and return OCR representations. This paid call may retain the result.
Parámetros de entrada
formatsstring[]OCR representations to return.
metadataobjectOptional correlation metadata stored with the OCR result.
x_coordinatesarray[]ObligatorioX coordinates grouped by stroke; outer and inner lengths must exactly match y_coordinates.
y_coordinatesarray[]ObligatorioY coordinates grouped by stroke; outer and inner lengths must exactly match x_coordinates.
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
Revoke App TokenMATHPIX_REVOKE_APP_TOKENAcciónIrreversibly revoke one short-lived app token immediately. Existing clients using the credential will stop authenticating. Requires explicit confirmation.
MATHPIX_REVOKE_APP_TOKENAcciónIrreversibly revoke one short-lived app token immediately. Existing clients using the credential will stop authenticating. Requires explicit confirmation.
Parámetros de entrada
app_tokenstringObligatoriopasswordSecret app token to revoke permanently; never use a token from an untrusted source.
confirm_revokebooleanObligatorioMust be true to confirm immediate, irreversible credential revocation.
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
Search OCR ResultsMATHPIX_SEARCH_OCR_RESULTSAcciónSearch retained image and stroke OCR history by date, identifiers, content, tags, or detected content and return one page of results.
MATHPIX_SEARCH_OCR_RESULTSAcciónSearch retained image and stroke OCR history by date, identifiers, content, tags, or detected content and return one page of results.
Parámetros de entrada
tagsstring[]Filter to OCR requests carrying these tags.
textstringFilter by recognized text content.
latexstringFilter by recognized styled LaTeX content.
pdf_idstringFilter OCR records associated with this document job ID.
to_datestringExclusive end date/time filter in the format accepted by Mathpix.
from_datestringInclusive start date/time filter in the format accepted by Mathpix.
page_sizeintegerMaximum OCR records to request in this page; Mathpix does not document a maximum.
request_idstringReturn the OCR record with this request ID.
next_cursorstringContinuation cursor returned by a previous call; omit for the first page.
content_typesstring[]Require selected detected content types. Each selection maps to its corresponding Mathpix detection filter.
include_null_resultsbooleanInclude retained requests that have no OCR result.
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
Submit File JobMATHPIX_SUBMIT_FILE_JOBAcciónSubmit 1 to 200,000 remote documents as one paid asynchronous Mathpix Files job. This creates retained processing state and may read or write external storage or deliver callbacks. Acceptance defers per-file validation, so use job status and member listing tools to determine actual outcomes.
MATHPIX_SUBMIT_FILE_JOBAcciónSubmit 1 to 200,000 remote documents as one paid asynchronous Mathpix Files job. This creates retained processing state and may read or write external storage or deliver callbacks. Acceptance defers per-file validation, so use job status and member listing tools to determine actual outcomes.
Parámetros de entrada
filesobject[]ObligatorioOne to 200,000 typed remote-file entries. Acceptance is asynchronous; invalid individual entries can become per-file errors after this call returns.
job_idstringOptional caller-chosen job ID. Required when any file has custom_id and useful for deterministic follow-up and per-file idempotency.
job_optionsobjectOptional documented job-wide PDF OCR, callback, and image-output options. It cannot override files, job_id, conversion_formats, or idempotency controls.
idempotency_keystringStable whole-batch retry key used only when job_id is omitted. Reuse it only with the exact same files and options.
conversion_formatsobjectOptional output formats applied to every file in the job.
confirm_bulk_submissionbooleanObligatorioMust be true to confirm the submitted file count, paid processing, deferred item errors, retained state, possible external reads or writes, and authorization for any configured callback delivery.
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 and Process FileMATHPIX_UPLOAD_AND_PROCESS_FILEAcciónUpload one local document to the paid Mathpix Files API, wait until OCR and one requested output are ready, then return the retained Mathpix file ID and a downloadable result. The operation can consume page quota and does not delete the remote file; use Delete File when it is no longer needed. External storage writes or callback delivery require explicit authorization.
MATHPIX_UPLOAD_AND_PROCESS_FILEAcciónUpload one local document to the paid Mathpix Files API, wait until OCR and one requested output are ready, then return the retained Mathpix file ID and a downloadable result. The operation can consume page quota and does not delete the remote file; use Delete File when it is no longer needed. External storage writes or callback delivery require explicit authorization.
Parámetros de entrada
fileobjectObligatorioLocal document to upload to Mathpix for asynchronous processing.
job_idstringExisting unfinalized Files job to which Mathpix should add this file.
filenamestringOptional display filename sent as a separate multipart form field.
custom_idstringCaller-defined job member ID. Requires job_id.
output_formatstringenumSingle output format to request, wait for, and download.
mmdmdmd.zipmmd.zipdocxpptxxlsxhtmlhtml.ziptex.ziplatex.pdfpdf+2idempotency_keystringStable key for safely retrying a standalone upload. Do not combine it with job_id; job members use the job_id and custom_id pair instead.
timeout_secondsnumberMaximum total time to wait for OCR and the selected output.
processing_optionsobjectOptional documented Files/PDF OCR, conversion, destination, and callback options. Do not include file, job, filename, idempotency, source, or conversion_formats controls; use this tool's dedicated fields instead.
poll_interval_secondsnumberSeconds between status checks while waiting for processing.
confirm_external_effectsbooleanSet true when processing_options includes destination_uri or callback_url, confirming authorization for external storage writes or callback delivery.
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