Select fields
You can use select
to limit the fields that are returned in results.
Display works with only the
id
,doi
, anddisplay_name
returned in the resultshttps://api.openalex.org/works?select=id,doi,display\_name
Limitations
The fields you choose must exist within the entity (of course). You can only select root-level fields.
So if we have a record like so:
You can choose to display id
and open_access
, but you will get an error if you try to choose open_access.is_oa
.
You can use select fields when getting lists of entities or a single entity. It does not work with group-by or autocomplete.
Last updated