% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api_perplexity.R
\name{perplexity_fetch_research}
\alias{perplexity_fetch_research}
\title{Fetch Results from a Completed Perplexity Deep Research Job}
\usage{
perplexity_fetch_research(
  .job,
  .api_key = Sys.getenv("PERPLEXITY_API_KEY"),
  .max_tries = 3
)
}
\arguments{
\item{.job}{A \code{tidyllm_research_job} object. Must have status "completed" or will poll once.}

\item{.api_key}{Character; Perplexity API key (default: from environment).}

\item{.max_tries}{Integer; maximum retries (default: 3).}
}
\value{
An updated \code{LLMMessage} with the research reply appended.
}
\description{
Fetch Results from a Completed Perplexity Deep Research Job
}
