error.code and error.message and recover.
Engines
list_engines
List engines. Lists the Revilico computational engines you can run (slug, name, family, description). Start here. Read-only · Scope:engines:read
No arguments.
get_engine
Describe an engine. Describes one engine: its parameters as JSON Schema (with defaults), the input files it takes, limits, outputs and example requests. Read this before create_run. Input files can be uploads (file_…) or Drive files (dfile_…, sdfile_… from list_drive). Read-only · Scope:engines:read
validate_parameters
Validate run parameters. Checks parameters against the engine schema without running anything, and returns them with defaults filled in. Read-only · Scope:engines:read
Files
upload_file_content
Upload a small text file. Uploads a text input file (e.g. SDF, MOL, XYZ or CSV of SMILES, up to 1 MB) and returns its file id for create_run. The name must end with the format extension, e.g. “ligands.sdf”. Makes changes · Scope:files:write
create_upload
Start a large file upload. For files you can send over HTTP yourself: returns a file id and a pre-signed URL. PUT the bytes there with the returned headers within 15 minutes, then use the file id in create_run. Makes changes · Scope:files:write
get_file
Check an uploaded file. Shows an uploaded file. Not found means the upload has not finished. Read-only · Scope:files:write
Runs
create_run
Start an engine run. Starts a run and returns it with status “queued”. Runs take minutes to hours and spend credits; check progress with get_run.parameters must match the engine schema from get_engine; inputs maps each input key to a file id, or to a list of file ids for inputs that take several (maxFiles in get_engine): an upload (file_…) or a Drive file (dfile_…, sdfile_… from list_drive; needs data:read). Pass projectId to add the run to a project.
Makes changes · Scope: runs:write
get_run
Check a run. Status (queued, running, succeeded, failed, cancelled), progress, timestamps, credits used, any error, and the app’s pipelinerequestType (e.g. BOLTZ). Runs that simulate each input separately also have children counts; see list_run_children.
Read-only · Scope: runs:read
get_run_inputs
Show what a run was given. The parameters and input files a run was submitted with. Only for runs you started. Read-only · Scope:runs:read
list_runs
List runs. Runs, newest first: by default yours; ownership=shared for runs others shared with you, project for other members’ runs in your projects, all for everything you can see. Filter by engine and status; pass nextCursor back for more. Read-only · Scope:runs:read
list_run_children
List the children of a run. For engines that run one job per input structure or molecule (get_run showschildren): each child in order, with its status, error and input. Child N’s outputs and files start with child_N/; get_child_results reads its results. Empty for other engines.
Read-only · Scope: runs:read
cancel_run
Cancel a run. Stops a queued or running run, including all its children. This cannot be undone. Makes changes · Scope:runs:write
Results and outputs
get_results
Read run results. Headline results of a succeeded run as JSON rows (one per molecule or chain), plus run-level facts. Checkquality first: a succeeded run can still be partial or all_failed when the engine failed on some or all molecules (qualityReason says how many). Per-atom data (charges, indices, sites) and structures are not in these rows: use get_result_detail with a row’s index, exactly as shown; indexRange gives the first and last index on the page (some engines count from 0, others from 1). Pass nextCursor back for more rows. A run with children returns one block per child instead; page through one child with get_child_results.
Read-only · Scope: data:read
get_child_results
Read one child’s results. Results of one child of a run with children (see list_run_children), once that child has succeeded, even if others are still running or failed. Pass nextCursor back for more rows. Read-only · Scope:data:read
get_result_detail
Read one result in full. Everything the engine produced for one row of get_results (the row’sindex): its full result document (e.g. atomic charges, spin densities, gradients), per-atom or per-site tables parsed from CSV, and the row’s file paths for read_run_file.
Read-only · Scope: data:read
list_run_files
List all files of a run. Every file the engine wrote for a run (reports, structures, per-molecule results…), with sizes and whether read_run_file can return the content inline. Narrow with prefix, e.g. “molecules/00001_”. Paths of a run with children start with child_<index>/. Read-only · Scope:data:read
read_run_file
Read a run file. One file of a run by its path from list_run_files: the content of text files up to 256 KB (JSON, CSV, TXT, XYZ, SDF, PDB…). Larger and binary files have no content here: copy them into Drive with save_to_drive. Read-only · Scope:data:read
list_outputs
List output files. The files a run produces and the formats each is available in. For a run with children, one entry per child and output, with ids like child_0/<output>. Read-only · Scope:data:read
get_output
Get a download link. A pre-signed download URL for one output file, valid for 15 minutes. For a program that downloads the file: the URL carries temporary credentials, so pass it to a download step and do not repeat it in a reply. Read-only · Scope:data:read
Projects
list_projects
List projects. Projects (named groups of runs, also used as campaigns) you own or are a member of, with your role and run count. Read-only · Scope:runs:read
get_project
Show a project. One project: name, description, your role, owner and run count. Read-only · Scope:runs:read
list_project_runs
List runs in a project. Runs in a project, newest first, including other members’ runs. Filter by engine and status. Read-only · Scope:runs:read
create_project
Create a project. Creates a project you own, to group related runs (a campaign). Pass its id as projectId to create_run, or use add_run_to_project. Makes changes · Scope:runs:write
update_project
Update a project. Renames a project and/or changes its description. Needs editor or owner. Makes changes · Scope:runs:write
add_run_to_project
Add a run to a project. Adds one of your runs to a project where you are an editor or owner. Makes changes · Scope:runs:write
remove_run_from_project
Remove a run from a project. Removes a run from a project (the run itself is kept). Needs editor or owner. Makes changes · Scope:runs:write
Planning
get_planning_board
Show the planning board. A project’s planning board (the web app’s Planning tab): its columns in order, each with its cards in order, without descriptions. Cards areplanned work (with linked runs) or track one run; they have an engine, planned dates and an assignee. Read a card’s description with get_planning_card.
Read-only · Scope: runs:read
get_planning_card
Read a planning card. One planning card with its description, as markdown by default. Use format=html to get it as stored, formatting included, when you are going to rewrite it with update_planning_card. Read-only · Scope:runs:read
create_planning_card
Create a planning card. Adds a card to the end of a column of a project’s planning board (column ids from get_planning_board). Aplanned card (default) is work to do; a run card tracks one of the project’s runs. Optional: a markdown description, engine slug, planned dates (YYYY-MM-DD) and an assignee (user_… id or email of someone on the project). Needs editor or owner.
Makes changes · Scope: runs:write
update_planning_card
Update or move a planning card. Changes a card’s title, description, engine, planned dates or assignee, and/or moves it to another column or position (columnId, position). Fields left out are kept; null clears one. Replacing a formatted description with markdown drops its colours and alignment: read it with format=html and write HTML back instead. Needs editor or owner. Makes changes · Scope:runs:write
delete_planning_card
Delete a planning card. Deletes a card from the planning board for good; its runs are kept. Needs editor or owner. Makes changes · Scope:runs:write
link_run_to_card
Link a run to a planning card. Links one of the project’s runs to a planned card, e.g. the run that carried out the planned work. The run must be in the project (add_run_to_project). Needs editor or owner. Makes changes · Scope:runs:write
unlink_run_from_card
Unlink a run from a planning card. Removes a run from a planned card; the run itself is kept. Needs editor or owner. Makes changes · Scope:runs:write
create_planning_column
Add a planning column. Adds a column at the end of a project’s planning board, e.g. ‘To Do’. A board with no columns needs one before it can hold cards. Needs editor or owner. Makes changes · Scope:runs:write
update_planning_column
Update a planning column. Renames a planning column or changes its colour. Needs editor or owner. Makes changes · Scope:runs:write
reorder_planning_columns
Reorder the planning columns. Puts the columns of a planning board in a new order. List every column id once, in the order you want. Needs editor or owner. Makes changes · Scope:runs:write
Sharing
share_run
Share a run. Gives people in the run owner’s organization read access to a run (status, results, outputs, files; not inputs). Give each person as an email or a user_… id from list_org_members. Confirm who with the user first. Nobody is notified, so tell the user to let them know. Makes changes · Scope:runs:write
list_run_shares
List who a run is shared with. Who a run is shared with, who shared it and when. The owner sees every share; others see the ones they made or received. The share ids go to unshare_run. Read-only · Scope:runs:read
unshare_run
Stop sharing a run. Removes a share (share_… id from list_run_shares). Everyone that person shared the run with loses access too; the result lists them all. Makes changes · Scope:runs:write
list_org_members
List people you can share with. Active members of your organization (name, email, user id), to pick who to share a run with. Filter with q. Read-only · Scope:runs:write
Notes
list_notes
List notes. The user’s RevNotes: their own notes and those shared with them or in their projects, most recently changed first. Titles and metadata only; read one with get_note. Filter by folder, project or title. Read-only · Scope:data:read
get_note
Read a note. A note’s content, as markdown by default. Use format=html to get it as stored, formatting included, when you are going to rewrite it with update_note. Read-only · Scope:data:read
create_note
Create a note. Creates a RevNotes note the user owns, from markdown (default) or HTML, optionally in a folder (list_note_folders) or linked to a project. Images can only be linked by URL. To summarise a run, read it with get_results first. Makes changes · Scope:files:write
append_to_note
Add to the end of a note. Adds markdown (default) or HTML to the end of a note, leaving everything already in it untouched. The safe way to add results, a log entry or a summary to an existing note. Makes changes · Scope:files:write
update_note
Rename a note or replace its content. Renames a note and/or replaces its whole content. To add to a note, use append_to_note instead. Replacing needs expectedUpdatedAt, the updatedAt from get_note; if the note was saved since (people may be editing it in the web app), nothing changes and you get CONFLICT: read it again. Markdown can’t carry colours, font sizes or alignment, so to edit a formatted note in place, read it with get_note format=html and send HTML back with format=html. Makes changes · Scope:files:write
list_note_folders
List note folders. RevNotes folders the user can read (their own, shared with them, or in their projects), with note counts. Folders hold notes and don’t nest. Read-only · Scope:data:read
create_note_folder
Create a note folder. Creates a RevNotes folder the user owns, optionally linked to a project. The name must be new among the user’s folders. Makes changes · Scope:files:write
share_note
Share a note. Gives people in the user’s organization read or write access to a note the user owns. Give each person as an email or a user_… id from list_org_members. Confirm who, and which permission, with the user first. Nobody is notified, so tell the user to let them know. Makes changes · Scope:runs:write
unshare_note
Stop sharing a note. Removes one person’s direct share of a note. They may keep access through the note’s folder or a project. Makes changes · Scope:runs:write
Drive
list_drive
Browse Drive. Lists folders and files in the user’s RevDrive: the root by default (their own items, plus items shared with them), a folder with folderId, a shared drive with driveId (from list_shared_drives). q searches names (the whole Drive without a folder); sharedWithMe lists what others shared with them. File ids (dfile_…, sdfile_…) can be used directly as create_run inputs. Pass nextCursor back for more. Read-only · Scope:data:read
list_shared_drives
List shared drives. The team shared drives the user is a member of, with their role. Browse one with list_drive’s driveId. Read-only · Scope:data:read
No arguments.
get_drive_file
Describe a Drive file. A Drive file’s name, format, size, folder, owner and the user’s access to it. Read-only · Scope:data:read
read_drive_file
Read a Drive file. The start of a text file (CSV, TSV, SDF, PDB, XYZ, FASTA, …), whole lines up to maxBytes and for CSV/TSV up torows rows, plus a 15-minute download URL. Other files return only the URL. truncated means there is more.
Read-only · Scope: data:read
save_to_drive
Save a file to Drive. Saves a file into the user’s Drive (or a shared drive) so it shows in the web app: an upload (from: file_…), a run’s output (from: run_… with outputId, and optionally format) or run file (from: run_… with path, from list_run_files), or text you have in hand (name and content, up to 1 MB). Each save makes a new, independent copy; a name clash adds ” (1)” unless onConflict is error. Makes changes · Scope:files:write
create_drive_folder
Create a Drive folder. Creates a folder in the user’s Drive (in parentId, or at the root), or in a shared drive (driveId, or an sdfld_… parentId). Makes changes · Scope:files:write
move_drive_item
Rename or move a Drive item. Renames a Drive file or folder (name), moves it into another folder of the same drive (parentId; null for the root), or both. Makes changes · Scope:files:write
trash_drive_item
Move a Drive item to the trash. Moves a Drive file or folder (with everything in it) to the trash. The user can restore it from the web app’s Trash; there is no permanent delete here. Confirm with the user first. Makes changes · Scope:files:write
Account
get_credit_balance
Check credits. The organization’s credit pool: available, total and used. Credits are shared by everyone in the organization. Read-only · Scope:account:read
No arguments.
get_usage
Credit usage by run. Credits used by your runs, one row per run, most recent first, with the total for the period. Filter by engine and by from/to (ISO dates; to is exclusive). Read-only · Scope:account:read

