POST /api/osf/registrations
Price: 5 credits
Get one OSF registration — a frozen, time-stamped record of a study plan or of a completed project — by its GUID. Returns the registration form it was filled on and the answers given to it, the date it was registered, the embargo and withdrawal state, the DOI OSF minted, the declared availability of data, materials, analytic code and papers, the licence, the project it was registered from, and every named contributor.
This is what makes a preregistration readable: `answers` carries the researcher's own responses to the form named by `registration_supplement`, and `answers[].key` is the schema's internal question id, not the question text — the wording lives in the schema, not in the record. `registered_at` is the moment the plan was frozen and is the date to cite; `created_at` is when the underlying project was made. An embargoed registration is listed with its metadata while `is_embargoed` is true and `embargo_end_date` says when the content opens. `registered_from_id` is the project GUID this was made from, which /osf/nodes resolves. A registration GUID itself resolves only here — /osf/nodes answers 412 for it.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)registration string required — OSF registration GUID — the five characters after osf.io/ — or the address of its page (examples: "pk78q", "https://osf.io/pk78q/"; minLength: 1)@type string (default: "OsfRegistrationDetail")id string requiredurl string requireddescription string nullablecategory string nullableregistration_supplement string nullablecreated_at string nullablemodified_at string nullableregistered_at string nullablewithdrawn_at string nullableembargo_end_date string nullablereviews_state string nullablerevision_state string nullablearticle_doi string nullablearchive_url string nullablewithdrawal_justification string nullabletags array (default: [])subjects array (default: [])@type string (default: "OsfSubject")id string requiredtext string requiredpath array (default: [])license_record object nullable@type string (default: "OsfLicenseRecord")year string nullablecopyright_holders array (default: [])is_public boolean nullableis_embargoed boolean nullableis_withdrawn boolean nullableis_archiving boolean nullableis_fork boolean nullableis_collection boolean nullableis_preprint boolean nullableis_wiki_enabled boolean nullablehas_project boolean nullablehas_data boolean nullablehas_materials boolean nullablehas_analytic_code boolean nullablehas_papers boolean nullablehas_supplements boolean nullableis_pending_registration_approval boolean nullableis_pending_embargo_approval boolean nullableis_pending_embargo_termination_approval boolean nullableis_pending_withdrawal boolean nullableare_access_requests_enabled boolean nullabledoi string nullableark string nullableprovider_id string nullableschema_id string nullableregistered_by_id string nullableregistered_from_id string nullableroot_id string nullablestorage_region string nullablelicense object nullable@type string (default: "OsfLicense")id string nullablename string nullableurl string nullablerequired_fields array (default: [])contributors array (default: [])@type string (default: "OsfContributor")id string nullablefull_name string requiredgiven_name string nullablefamily_name string nullablemiddle_names string nullablesuffix string nullableorcid string nullableprofile_url string nullableimage string nullablepermission string nullableindex integer nullableis_bibliographic boolean nullableis_registered boolean nullableis_active boolean nullableis_curator boolean nullablelocale string nullabletimezone string nullableregistered_at string nullableemployment array (default: [])@type string (default: "OsfPosition")institution string requireddepartment string nullabledegree string nullablestart_year integer nullablestart_month integer nullableend_year integer nullableend_month integer nullableis_ongoing boolean nullableeducation array (default: [])@type string (default: "OsfPosition")institution string requireddepartment string nullabledegree string nullablestart_year integer nullablestart_month integer nullableend_year integer nullableend_month integer nullableis_ongoing boolean nullablesocial object nullable@type string (default: "OsfSocialProfiles")github string nullablelinkedin string nullabletwitter string nullablegoogle_scholar string nullableresearch_gate string nullableresearcher_id string nullableimpact_story string nullableacademia_profile_id string nullableacademia_institution string nullablebaidu_scholar string nullablessrn string nullablewebsites array (default: [])affiliated_institutions array (default: [])@type string (default: "OsfInstitution")id string requiredname string nullableurl string nullableror_url string nullableanswers array (default: [])@type string (default: "OsfRegistrationAnswer")key string requiredanswers array (default: [])422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No public OSF registration carries this GUID Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.