Docparser connects to a Nagent workspace with an API key. Once it is connected, agents can call 4 Docparser actions, such as "Get Multiple Document Results", "Get Parser Models" and "List Parsers". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Docparser, with input parameters and output schema.
DOCPARSER_GET_MULTIPLE_DOCUMENT_RESULTSTool to retrieve parsed data from multiple documents processed by a specific parser. Use when you need to fetch results for multiple documents at once. Returns up to 100 results by default, with a maximum of 10000.
Input parameters
ISO 8601 or Unix timestamp; required when using 'uploaded_after' or 'processed_after' list modes.
Filtering mode - 'last_uploaded', 'uploaded_after', or 'processed_after'.
Maximum number of documents to return. Default is 100, maximum is 10000.
Output format - 'object' for nested JSON or 'flat' for simplified key/value pairs.
Sort by timestamp field. Options: 'parsed_at', 'processed_at', 'uploaded_at', 'first_processed_at', 'imported_at', 'integrated_at', 'dispatched_webhook_at', or 'preprocessed_at'.
Unique identifier for the document parser. Can be obtained via the List Parsers endpoint or found in parser settings under 'Settings > API'.
Returns only documents with matching remote_id.
Sort direction - 'ASC' for ascending or 'DESC' for descending.
Include unprocessed documents when set to true.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
DOCPARSER_GET_PARSER_MODELSTool to retrieve all model layouts for a specific parser. Use when you need to list different layout configurations within a parser that help handle document variations.
Input parameters
The unique identifier of the parser. Can be obtained from the List Parsers endpoint or found in the Document Parser settings under 'Settings > API' within the Docparser app.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
DOCPARSER_LIST_PARSERSTool to retrieve all Document Parsers linked to your account. Use when you need to view available parsers or obtain parser IDs for subsequent operations.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
DOCPARSER_PINGTool to test API authentication and connection health check for Docparser API. Use when you need to verify that API credentials are valid and the connection is working.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 4 Docparser actions on Nagent, including "Get Multiple Document Results", "Get Parser Models" and "List Parsers". Get Multiple Document Results: Retrieve parsed data from multiple documents processed by a specific parser. Each action is listed on this page with its input parameters and its output.
Docparser connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
Get Multiple Document Results takes 1 required input: parser_id. It also takes 8 optional inputs: date, list, limit, format, sort_by, remote_id, sort_order and include_processing_queue. It returns data, error and successful.