longrun.
POST /v1/files/import-image

Docs

Files / POST /v1/files/import-image

POST /v1/files/import-image

Workspace-scoped API operation. See the guides for asynchronous status and error handling.

POSThttps://api.uselongrun.app/v1/files/import-image
Request
curl --request POST "https://api.uselongrun.app/v1/files/import-image" \
  --header "Authorization: Bearer ${API_KEY}"

Request body

urlstringRequired

The full HTTPS address of the page to process.

Example
"https://example.com/receipt"

Maximum length: 4096 characters.

Returns

Returns HTTP 201.

idstring
namestring
mime_typestring
sizeinteger

Minimum: 0

storagestring
urlstringnull
accessstring
expires_atstringnull
url_expires_atstringnull
categorystring
sourcestring
created_atstring
source_run_idstringnull
source_namestring
savedboolean
retainedboolean
expiredboolean