Naar hoofdinhoud gaan
GET
/
v1
/
files
/
{file_id}
Haal Bestandsmetadata op via ID
curl --request GET \
  --url https://api.olostep.com/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "filename": "<string>",
  "bytes": 123,
  "purpose": "<string>",
  "status": "<string>"
}

Autorisaties

Authorization
string
header
vereist

Bearer authenticatie header in de vorm Bearer , waar jouw auth token is.

Padparameters

file_id
string
vereist

Unieke identificatie voor het bestand om op te halen.

Respons

Succesvolle respons met bestandsmetadata.

id
string

Bestand ID

object
string

Het soort object. "file" voor deze endpoint.

created
integer

Gemaakt epoch-tijdstempel

filename
string

De bestandsnaam van het geüploade bestand

bytes
integer

Bestandsgrootte in bytes

purpose
string

Het doel van het bestand

status
string

Bestandsstatus (bijv. 'pending', 'completed')