Skip to main content

can i get specific fields from a record ??


Forum|alt.badge.img+1

I have an issue to retieve only specific fields from a aitable record 

const fieldsToRetrieve = ["BlogSL1", "BlogSL2", "BlogSL3", "BlogSL4", "BlogSL5", "BlogSL6", "BlogSL7", "BlogSL8", "BlogSL9", "BlogSL10"];
 const response = await axios.get(`${BASE_URL}/appDP6faKvOeSxUKs/${queryKey}/${id}`, config);

2 replies

TheTimeSavingCo
Forum|alt.badge.img+28

If you're doing a List Records API call you can use the `fields` query param.  For a Get Record call I don't think we can choose which fields to return I'm afraid


Forum|alt.badge.img+1
  • Author
  • New Participant
  • 1 reply
  • March 30, 2024
TheTimeSavingCo wrote:

If you're doing a List Records API call you can use the `fields` query param.  For a Get Record call I don't think we can choose which fields to return I'm afraid


You are right airtable doesn't provide such functionality. I create a backend to achieve the same functionality 


Reply