Files

Upload file input

Mengunggah file (gambar referensi, audio, dsb.) untuk dipakai sebagai input task. File disimpan 7 hari.

post/files

Request

  • Base URL: https://getrun.id/v1
  • URL: https://getrun.id/v1/files
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Response

File tersimpan.

idstring required
urlstring uri required

URL managed storage — pakai ini sebagai nilai input task.

content_typestring required
size_bytesinteger required
expires_atstring date-time required

Example response

{
  "id": "file_01J8Z3N0V9X2M4K6P8Q0R2S4T6",
  "content_type": "image/png"
}

Changes

No recorded changes to this operation across all 1 revision of this API.