---
title: 檔案上傳物件 | RunAPI
description: 臨時上傳的檔案及其一小時的 RunAPI URL。
url: https://runapi.ai/zh-HK/docs/api/files/object.md
canonical: https://runapi.ai/zh-HK/docs/api/files/object
locale: zh-HK
---

> HTML 版本: https://runapi.ai/zh-HK/docs/api/files/object
> 智能代理網站索引: https://runapi.ai/llms.txt

# 檔案上傳物件

臨時上傳的檔案及其一小時的 RunAPI URL。

## 物件欄位

資源可重用物件共享的穩定欄位。

### 檔案

```json
{
  "created_at": {
    "description": "檔案上傳的建立時間。",
    "format": "date-time",
    "required": true,
    "type": "string"
  },
  "expires_at": {
    "description": "檔案上傳 URL 及已儲存位元組的過期時間。",
    "format": "date-time",
    "required": true,
    "type": "string"
  },
  "file_name": {
    "description": "指派給檔案上傳的檔案名稱。",
    "required": true,
    "type": "string"
  },
  "mime_type": {
    "description": "已偵測到的上傳檔案媒體類型。",
    "required": true,
    "type": "string"
  },
  "size_bytes": {
    "description": "已上傳檔案的大小（以位元組計）。",
    "required": true,
    "type": "integer"
  },
  "url": {
    "description": "已上傳檔案的 RunAPI 臨時 URL。",
    "format": "uri",
    "required": true,
    "type": "string"
  }
}
```

## 相關參考資料

- [檔案](https://runapi.ai/zh-HK/docs/api/files.md)
- [建立文件上傳](https://runapi.ai/zh-HK/docs/api/files/create.md)

---

## RunAPI 的更多內容

- [首頁](https://runapi.ai/zh-HK/.md)
- [模型目錄](https://runapi.ai/zh-HK/models.md)
- [收費](https://runapi.ai/zh-HK/pricing.md)
- [服務商](https://runapi.ai/zh-HK/models)
- [文件](https://runapi.ai/zh-HK/docs/guides)
- [SDK](https://runapi.ai/zh-HK/sdk.md)
- [CLI](https://runapi.ai/zh-HK/cli.md)
- [MCP Server](https://runapi.ai/zh-HK/mcp.md)
- [Claude Code 與 Cursor](https://runapi.ai/zh-HK/claude-code-vs-cursor.md)
- [Cursor API 設定](https://runapi.ai/zh-HK/cursor-api-setup.md)
- [RunAPI 與 OpenRouter](https://runapi.ai/zh-HK/openrouter-alternative.md)
- [企業版](https://runapi.ai/zh-HK/contact.md)
- [聯絡](https://runapi.ai/zh-HK/contact.md)
- [條款](https://runapi.ai/zh-HK/terms.md)
- [私隱](https://runapi.ai/zh-HK/privacy.md)
- [智能代理網站索引](https://runapi.ai/llms.txt)

聯絡我們: contact@runapi.ai

## 結構化資料

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-HK/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/zh-HKicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "TechArticle",
    "headline": "檔案上傳物件",
    "description": "臨時上傳的檔案及其一小時的 RunAPI URL。",
    "url": "https://runapi.ai/zh-HK/docs/api/files/object",
    "mainEntityOfPage": "https://runapi.ai/zh-HK/docs/api/files/object"
  }
]
```
