Sanity Library Reference Docs
Preparing search index...
content-agent
fetchApi
Function fetchApi
fetchApi
(
options
:
FetchOptions
)
:
Promise
<
Response
>
Makes an API request and returns the response. Throws SanityAgentError if the response is not ok.
Parameters
options
:
FetchOptions
Returns
Promise
<
Response
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity Library Reference Docs
Loading...
Makes an API request and returns the response. Throws SanityAgentError if the response is not ok.