ReferenceAsk

importFromUrl

Copy a file at a URL into one of the app's file stores, without the bytes passing through the method
mindstudio.importFromUrl({ url }) → Result

Copy a file at a URL into one of the app's file stores, without the bytes passing through the method

Parameters
url
string
RequiredA direct link to the file
contentType
string
The type to store it as; the response's own when omitted
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.importFromUrl({
  url: /* ... */
});