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

# 列出任务文件

> 列出任务生成的原始结果文件。

# 列出任务文件

返回任务的原始结果文件。

## 端点

```http theme={"system"}
GET https://api.socq.ai/v1/tasks/{task_id}/files
```

## 响应

```json theme={"system"}
{
  "code": 200,
  "data": {
    "task_id": "A1B2C3D4E5F6G7H8",
    "items": [
      {
        "file_type": "raw_jsonl",
        "public_url": "https://storage.socq.ai/agent-results/A1B2C3D4E5F6G7H8/raw_jsonl.jsonl.gz",
        "file_size": 552,
        "item_count": 1,
        "expires_at": null
      }
    ]
  }
}
```


## OpenAPI

````yaml api-manual/agent-api/agent-api.json GET /v1/tasks/{task_id}/files
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-57489840196e
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/tasks/{task_id}/files:
    get:
      summary: List task result files
      operationId: getAgentTaskFiles
      parameters:
        - name: task_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Task files
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````