How to Get all Notes (for submissions, reviews, rebuttals, etc)
Jump to:
See also:
Introduction to Notes for the structure of notes
Custom Submission Exports for generating structured exports for submissions and other information
This covers getting notes in API v2. All current venues, and most past venues have migrated to API v2. However, if you want to get data from older venues, you may need to follow the directions for API v1.
Getting Notes
The get_all_notes()
method in API v2 is used to retrieve a list of notes that match a given filter. It's useful for batch processing or searching submissions, comments, reviews, etc.
Important parameters for this function include:
invitation
Filter notes by invitation ID (e.g., submissions, reviews).
forum
Filter notes that are in the same forum (e.g., replies to a submission).
replyto
Filter notes that are direct replies to a specific note.
signatures
Filter notes by signer(s).
content
Filter notes by certain content fields. E.g., {'venueid': <venue_id>}
details
Include additional notes, options are 'replies'
and 'directReplies'
The most common way to get notes is to use the invitation used to create them. Invitations are schema used to define and govern notes. They typically have the structure described below:
Once you have the invitation, you can get all notes with that invitation:
Then, you can iterate through each of the note objects and access their data and content. in the
value
field. To get PDF attachments, you would use theget_attachment()
function:
Quickstart: Getting all submissions
To get all submissions, regardless of status:
Note, the venueid
field in the content of the note is used to differentiate between accepted, withdrawn, rejected, and desk rejected submissions. Accepted submissions use the original venue id:
All other statuses can be used by finding the appropriate ID name in the venue group:
Papers under review:
submission_venue_id
Withdrawn papers:
withdrawn_venue_id
Desk Rejected papers:
desk_rejected_venue_id
One special case is Camera Ready submissions. Since Camera Ready submissions are revisions to the original submission note, we need to check the invitations
field for the Camera Ready Invitation:
Getting Replies
When you're working with OpenReview, you might want to retrieve all the reviews, rebuttals, comments, and decisions for submissions. At first, it might seem like you can just call get_all_notes
, but there is a catch: while these are notes, they are posted with specific per-paper invitations in the format of f"{venue_id}/Submission{submission_number}/Review"
, rather than a general invitation for all Reviews. In fact, these are notes that are posted as replies to submission notes, so we can use the details
field of get_all_notes
to help identify the correct note, then filter for the desired notes (example below)
Quickstart: Getting Reviews, Meta Reviews, Comments, Decisions, Rebuttals
Last updated
Was this helpful?