> ## Documentation Index
> Fetch the complete documentation index at: https://docs.olostep.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bestand Ophalen

> Haal metadata op voor een bestand via zijn ID.



## OpenAPI

````yaml nl/openapi/files.json GET /v1/files/{file_id}
openapi: 3.0.3
info:
  title: Bestanden API
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/files/{file_id}:
    get:
      summary: Haal Bestandsmetadata op via ID
      description: Haal metadata op voor een bestand via zijn ID.
      parameters:
        - name: file_id
          in: path
          required: true
          description: Unieke identificatie voor het bestand om op te halen.
          schema:
            type: string
      responses:
        '200':
          description: Succesvolle respons met bestandsmetadata.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Bestand ID
                  object:
                    type: string
                    description: Het soort object. "file" voor deze endpoint.
                  created:
                    type: integer
                    description: Gemaakt epoch tijdstempel
                  filename:
                    type: string
                    description: De bestandsnaam van het geüploade bestand
                  bytes:
                    type: integer
                    description: Bestandsgrootte in bytes
                  purpose:
                    type: string
                    description: Het doel van het bestand
                  status:
                    type: string
                    description: Bestandsstatus (bijv. 'pending', 'completed')
        '401':
          description: Ongeldige API-sleutel
        '404':
          description: Bestand niet gevonden
        '500':
          description: Interne serverfout
      security:
        - Authorization: []
components:
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        Bearer authenticatie header in de vorm Bearer <token>, waar <token> jouw
        auth token is.

````