NYT Cooking MCP server for AI agents

Let Claude, ChatGPT or your own agent read and act on NYT Cooking: 35 typed functions through one MCP server. No NYT Cooking API key needed.

Functions
35
Sign-in
For account actions
Works with
MCP, HTTP, Node, Python

Connect

Just NYT Cooking

An MCP server for NYT Cooking alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/nyt_cooking
Every site

One MCP server for NYT Cooking and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 23
  • clearGroceryListRemoves every recipe currently in the signed-in reader's grocery list, one at a time.

    Arguments

    None.

    Returns NytCookingClearGroceryListResult

    interface NytCookingClearGroceryListResult {
      cleared: true;
      removedCount: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/clearGroceryList

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.clearGroceryList();
  • getAccountProfileReads the signed-in reader's own account profile (display name, email).

    Arguments

    None.

    Returns NytCookingAccountProfile

    interface NytCookingAccountSubscription {
      name: string | null;
      status: string | null;  // the site's own labels, read the values off a result, never guess one from prose
      active: boolean;
      entitlements: string[];
      endDate: string | null;
    }
    
    interface NytCookingAccountProfile {
      userId: string;
      email: string | null;
      givenName: string | null;
      subscriptions: NytCookingAccountSubscription[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getAccountProfile

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getAccountProfile();
  • getArticleReads one cooking article or guide's title, summary, authors, full body text and any recipes it links to.

    Arguments

    NameTypeRequired
    slugstringYes

    Returns NytCookingArticle

    interface NytCookingArticleRecipe {
      id: string;
      title: string;
      url: string;
    }
    
    interface NytCookingArticle {
      title: string;
      summary: string | null;
      authors: string[];
      bodyText: string | null;
      publishedAt: string | null;
      relatedRecipes: NytCookingArticleRecipe[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getArticle

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getArticle({ slug: "how-to-make-a-grain-bowl" });
  • getAuthorRecipesLists an author's published recipes off their byline page.

    Arguments

    NameTypeRequired
    authorstringYes

    Returns NytCookingAuthorRecipes

    interface NytCookingAuthorRecipes {
      recipes: unknown[];
      totalRecipes: number;
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getAuthorRecipes

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getAuthorRecipes({ author: "Mark Bittman" });
  • getCollectionReads one curated editorial collection and the recipe cards inside it, off a collection url from searchRecipes.

    Arguments

    NameTypeRequired
    urlstringYes

    Returns NytCookingCollection

    interface NytCookingCollection {
      headline: string;
      summary: string | null;
      recipes: unknown[];
      hasMore: boolean;
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getCollection

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getCollection({
      url: "/68861692-nyt-cooking/11265072-easy-weeknight-recipes-for-lazy-summer-evenings"
    });
  • getCookedRecipesLists the recipes the signed-in reader has marked cooked.

    Arguments

    None.

    Returns NytCookingGetCookedRecipesResult

    interface NytCookingGetCookedRecipesResult {
      recipes: unknown[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getCookedRecipes

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getCookedRecipes();
  • getGroceryListReads the signed-in reader's own grocery list.

    Arguments

    None.

    Returns NytCookingGetGroceryListResult

    interface NytCookingGetGroceryListResult {
      lists: unknown[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getGroceryList

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getGroceryList();
  • getMyNotesReads the signed-in reader's own private cook notes on a recipe.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes

    Returns NytCookingGetMyNotesResult

    interface NytCookingPrivateNote {
      id: string;
      text: string;
      createdAt: string | null;
    }
    
    interface NytCookingGetMyNotesResult {
      recipeId: number;
      notes: NytCookingPrivateNote[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getMyNotes

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getMyNotes({ recipeId: 12965 });
  • getMyRatingReads the signed-in reader's own rating for a recipe.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes

    Returns NytCookingGetMyRatingResult

    interface NytCookingGetMyRatingResult {
      recipeId: number;
      rating: number | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getMyRating

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getMyRating({ recipeId: 12965 });
  • getRecipeReads one recipe's full detail.

    Arguments

    NameTypeRequired
    idnumber | stringYes

    Returns NytCookingRecipe

    interface NytCookingRecipe {
      id: number;
      title: string;
      url: string;
      yieldText: string | null;
      prepTime: string | null;
      cookTime: string | null;
      totalTime: string | null;
      rating: { average: number; count: number } | null;
      authors: string[];
      ingredients: string[];
      steps: string[];
      tags: string[];
      description: string | null; // the headnote, flattened to text
      nutrition: { caloriesPerServing: number | null; nutrients: Array<{ label: string; code: string; quantity: number; unit: string }> } | null;
      tips: string[];
      imageUrl: string | null; // hero photo's largest rendition
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getRecipe

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getRecipe({
      id: "/recipes/1025436-one-pot-chicken-and-rice-with-caramelized-lemon"
    });
  • getRecipeNotesReads a recipe's reader notes.

    Arguments

    NameTypeRequired
    idnumber | stringYes
    sort"helpful" | "recent"No

    Returns NytCookingRecipeNotes

    interface NytCookingRecipeNote {
      id: string;
      author: string;
      text: string;
      submittedAt: string;
      recommendedCount: number;
    }
    
    interface NytCookingRecipeNotes {
      notes: NytCookingRecipeNote[];
      totalNotes: number;
      totalHelpful: number;
      hasMore: boolean;
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getRecipeNotes

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getRecipeNotes({
      id: "/recipes/1025436-one-pot-chicken-and-rice-with-caramelized-lemon"
    });
  • getRelatedRecipesReads a recipe's own "More like this" carousels (e.g. "Trending On Cooking") off its page, each with a title and its recipe rows.

    Arguments

    NameTypeRequired
    idnumber | stringYes

    Returns NytCookingRelatedRecipes

    interface NytCookingRelatedRecipe {
      id: string;
      title: string;
      url: string;
      rating: { average: number; count: number } | null;
      totalTimeDisplay: string | null;
    }
    
    interface NytCookingRelatedRecipeCarousel {
      title: string;
      recipes: NytCookingRelatedRecipe[];
    }
    
    interface NytCookingRelatedRecipes {
      carousels: NytCookingRelatedRecipeCarousel[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getRelatedRecipes

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getRelatedRecipes({
      id: "/recipes/1025436-one-pot-chicken-and-rice-with-caramelized-lemon"
    });
  • getSavedRecipesLists the signed-in reader's saved recipes (their Recipe Box).

    Arguments

    NameTypeRequired
    limitnumberNo
    afterstringNo

    Returns NytCookingSavedRecipesResult

    interface NytCookingSavedRecipe {
      id: number | null;
      title: string;
      url: string;
      byline: string | null;
      totalTime: string | null;
      rating: number | null;
      ratingCount: number | null;
      imageUrl: string | null;
    }
    
    interface NytCookingSavedRecipesResult {
      totalCount: number;
      recipes: NytCookingSavedRecipe[];
      nextCursor: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getSavedRecipes

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getSavedRecipes({});
  • getSeasonalGuideReads a seasonal guide page (e.g. "/thanksgiving", "/christmas") and its featured recipes.

    Arguments

    NameTypeRequired
    slugstringYes

    Returns NytCookingSeasonalGuide

    interface NytCookingSeasonalGuideCollection {
      id: string;
      name: string;
      url: string;
    }
    
    interface NytCookingSeasonalGuide {
      slug: string;
      title: string;
      summary: string | null;
      recipes: unknown[];
      totalRecipes: number;
      collections: NytCookingSeasonalGuideCollection[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getSeasonalGuide

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getSeasonalGuide({ slug: "thanksgiving" });
  • getTopicReads one topic page (e.g. "dinner-recipes", "vegan-recipes") and its tagged recipes.

    Arguments

    NameTypeRequired
    slugstringYes

    Returns NytCookingTopic

    interface NytCookingTopic {
      slug: string;
      title: string;
      recipes: unknown[];
      totalRecipes: number;
      page: number;
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getTopic

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getTopic({ slug: "dinner-recipes" });
  • getTrendingArticlesLists the articles behind the site's "Most Popular This Week" homepage carousel.

    Arguments

    None.

    Returns NytCookingTrendingArticles

    interface NytCookingTrendingArticle {
      title: string;
      url: string;
      summary: string | null;
    }
    
    interface NytCookingTrendingArticles {
      articles: NytCookingTrendingArticle[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/getTrendingArticles

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.getTrendingArticles();
  • listFeaturedCollectionsLists the collections currently featured on the site's own homepage.

    Arguments

    None.

    Returns NytCookingFeaturedCollections

    interface NytCookingFeaturedCollection {
      id: number;
      name: string;
      url: string;
      totalCollectionSize: number;
    }
    
    interface NytCookingFeaturedCollections {
      collections: NytCookingFeaturedCollection[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/listFeaturedCollections

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.listFeaturedCollections();
  • listRecipeBoxFoldersLists the signed-in reader's own Recipe Box folders.

    Arguments

    None.

    Returns NytCookingListRecipeBoxFoldersResult

    interface NytCookingRecipeBoxFolder {
      id: string;
      slug: string;
      name: string;
      description: string | null;
      url: string;
      uri: string;
      collectableCount: number;
      folderRecipeIds: number[];
    }
    
    interface NytCookingListRecipeBoxFoldersResult {
      folders: NytCookingRecipeBoxFolder[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/listRecipeBoxFolders

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.listRecipeBoxFolders();
  • listTopicsLists the site's topic pages off its own navigation.

    Arguments

    None.

    Returns NytCookingTopicsList

    interface NytCookingTopicItem {
      slug: string;
      title: string;
    }
    
    interface NytCookingTopicsList {
      topics: NytCookingTopicItem[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/listTopics

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.listTopics();
  • rateRecipeSubmits the signed-in reader's own rating for a recipe, on NYT Cooking's own 1-4 scale.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes
    ratingnumberYes

    Returns NytCookingRateRecipeResult

    interface NytCookingRateRecipeResult {
      recipeId: number;
      rating: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/rateRecipe

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.rateRecipe({ recipeId: 12965, rating: 4 });
  • searchMyRecipeBoxSearches inside the signed-in reader's own saved Recipe Box, rather than the whole site.

    Arguments

    NameTypeRequired
    querystringYes
    limitnumberNo
    afterstringNo

    Returns NytCookingSavedRecipesResult

    interface NytCookingSavedRecipe {
      id: number | null;
      title: string;
      url: string;
      byline: string | null;
      totalTime: string | null;
      rating: number | null;
      ratingCount: number | null;
      imageUrl: string | null;
    }
    
    interface NytCookingSavedRecipesResult {
      totalCount: number;
      recipes: NytCookingSavedRecipe[];
      nextCursor: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/searchMyRecipeBox

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.searchMyRecipeBox({ query: "chicken" });
  • searchRecipesRuns the site's own recipe search (query text plus cuisine/diet/mealType/cookTime filters) and returns recipe and collection rows.

    Arguments

    NameTypeRequired
    querystringYes
    cuisinestringNo
    mealTypestringNo
    authorstringNo

    Returns NytCookingSearchResult

    interface NytCookingSearchResult {
      results: unknown[];
      warnings?: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/searchRecipes

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.searchRecipes({ query: "pasta" });
  • unsaveRecipeRemoves a recipe from the signed-in reader's Recipe Box.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes

    Returns NytCookingUnsaveRecipeResult

    interface NytCookingUnsaveRecipeResult {
      recipeId: number;
      saved: false;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/unsaveRecipe

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.unsaveRecipe({ recipeId: 12965 });
Act 12
  • addRecipeToFolderFiles a saved recipe into one of the signed-in reader's Recipe Box folders.

    Arguments

    NameTypeRequired
    folderIdnumber | string
    The folder's id, listRecipeBoxFolders' own id field.
    Yes
    recipeIdnumber | string
    The recipe's numeric id, getRecipe's own id field, or a searchRecipes/getTopic/getCollection/getSeasonalGuide/getRelatedRecipes row's id.
    Yes

    Returns NytCookingAddRecipeToFolderResult

    interface NytCookingAddRecipeToFolderResult {
      folderId: string;
      recipeId: number;
      filed: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/addRecipeToFolder

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.addRecipeToFolder({ folderId: 1, recipeId: 1 });
  • addToGroceryListAdds a recipe's ingredients to the signed-in reader's grocery list.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes

    Returns NytCookingAddToGroceryListResult

    interface NytCookingAddToGroceryListResult {
      recipeId: number;
      added: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/addToGroceryList

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.addToGroceryList({ recipeId: 1 });
  • createRecipeBoxFolderCreates a new Recipe Box folder for the signed-in reader.

    Arguments

    NameTypeRequired
    folderNamestringYes
    recipeIdnumber | stringNo

    Returns NytCookingCreateRecipeBoxFolderResult

    interface NytCookingCreateRecipeBoxFolderResult {
      folder: { id: string; name: string; recipesCount: number };
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/createRecipeBoxFolder

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.createRecipeBoxFolder({ folderName: "<folderName>" });
  • createRecipeNoteWrites the signed-in reader's own private cook note on a recipe.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes
    textstringYes

    Returns NytCookingCreateRecipeNoteResult

    interface NytCookingPrivateNote {
      id: string;
      text: string;
      createdAt: string | null;
    }
    
    interface NytCookingCreateRecipeNoteResult {
      recipeId: number;
      note: NytCookingPrivateNote;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/createRecipeNote

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.createRecipeNote({ recipeId: 1, text: "<text>" });
  • deleteRecipeBoxFolderDeletes one of the signed-in reader's Recipe Box folders.

    Arguments

    NameTypeRequired
    folderIdnumber | stringYes

    Returns NytCookingDeleteRecipeBoxFolderResult

    interface NytCookingDeleteRecipeBoxFolderResult {
      folderId: string;
      deleted: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/deleteRecipeBoxFolder

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.deleteRecipeBoxFolder({ folderId: 1 });
  • deleteRecipeNoteDeletes one of the signed-in reader's own private cook notes.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes
    noteIdstringYes

    Returns NytCookingDeleteRecipeNoteResult

    interface NytCookingPrivateNote {
      id: string;
      text: string;
      createdAt: string | null;
    }
    
    interface NytCookingDeleteRecipeNoteResult {
      recipeId: number;
      noteId: string;
      deleted: true;
      notes: NytCookingPrivateNote[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/deleteRecipeNote

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.deleteRecipeNote({ recipeId: 1, noteId: "<noteId>" });
  • markRecipeCookedMarks a recipe as cooked on the signed-in reader's account.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes

    Returns NytCookingMarkRecipeCookedResult

    interface NytCookingMarkRecipeCookedResult {
      recipeId: number;
      marked: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/markRecipeCooked

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.markRecipeCooked({ recipeId: 1 });
  • removeFromGroceryListRemoves a recipe's ingredients from the signed-in reader's grocery list.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes

    Returns NytCookingRemoveFromGroceryListResult

    interface NytCookingRemoveFromGroceryListResult {
      recipeId: number;
      removed: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/removeFromGroceryList

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.removeFromGroceryList({ recipeId: 1 });
  • removeRecipeFromFolderRemoves a saved recipe from one of the signed-in reader's Recipe Box folders.

    Arguments

    NameTypeRequired
    folderIdnumber | string
    The folder's id, listRecipeBoxFolders' own id field.
    Yes
    recipeIdnumber | string
    The recipe's numeric id, getRecipe's own id field, or a searchRecipes/getTopic/getCollection/getSeasonalGuide/getRelatedRecipes row's id.
    Yes

    Returns NytCookingRemoveRecipeFromFolderResult

    interface NytCookingRemoveRecipeFromFolderResult {
      folderId: string;
      recipeId: number;
      removed: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/removeRecipeFromFolder

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.removeRecipeFromFolder({ folderId: 1, recipeId: 1 });
  • renameRecipeBoxFolderRenames one of the signed-in reader's Recipe Box folders.

    Arguments

    NameTypeRequired
    folderIdnumber | stringYes
    folderNamestringYes
    descriptionstringNo

    Returns NytCookingRenameRecipeBoxFolderResult

    interface NytCookingRenameRecipeBoxFolderResult {
      folderId: string;
      renamed: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/renameRecipeBoxFolder

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.renameRecipeBoxFolder({ folderId: 1, folderName: "<folderName>" });
  • saveRecipeSaves a recipe to the signed-in reader's Recipe Box.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes

    Returns NytCookingSaveRecipeResult

    interface NytCookingSaveRecipeResult {
      recipeId: number;
      saved: true;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/saveRecipe

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.saveRecipe({ recipeId: 1 });
  • updateRecipeNoteEdits one of the signed-in reader's own private cook notes.

    Arguments

    NameTypeRequired
    recipeIdnumber | stringYes
    noteIdstringYes
    textstringYes

    Returns NytCookingUpdateRecipeNoteResult

    interface NytCookingPrivateNote {
      id: string;
      text: string;
      createdAt: string | null;
    }
    
    interface NytCookingUpdateRecipeNoteResult {
      recipeId: number;
      notes: NytCookingPrivateNote[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/nyt_cooking/updateRecipeNote

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.nyt_cooking.updateRecipeNote({ recipeId: 1, noteId: "<noteId>", text: "<text>" });

Use it from code