1. Attachments
AboAI-Doc
English
  • 中文
  • English
  • Home Page
  • AboAi-API
    • Model
      • Native OpenAI Format
      • Native Gemini Format
    • Chat
      • Native OpenAI Format
      • Native Gemini Format
      • Native Claude Format
      • Responses Request (openai)
    • Audio
      • Native OpenAI Format TTS
      • Native Gemini Format TTS
    • Images
      • Native OpenAI Format Image Generation
      • Native Gemini Format Image Generation
      • Native OpenAI Format Image Editing (JSON)
      • Native OpenAI Format Image Editing (Multipart)
    • Video
      • Seedance2.0 format
        • Create Video Generation Task
        • Query Video Generation Task Status
    • Vector
      • Embeddings
        • Create Embedding
    • Translation
      • Speech Translation
    • Knowledge
      • Knowledge Management
        • List Knowledge Bases
        • Create Knowledge Base
        • Update Knowledge Base
        • Get Knowledge Base Details
        • Delete Knowledge Base
      • Attachments
        • List Attachments
          GET
        • Upload Attachment
          POST
        • Get Attachment Status
          GET
        • Get Attachment Details
          GET
        • Delete Attachment
          DELETE
      • Search & Chat
        • Knowledge Search
        • RAG Chat
  • AI application
    • AboAI API Integration with Claude Code
    • AboAI API Integration with Cursor
    • AboAI API Integration with Codex-cli
    • AboAI API Integration with Codex Desktop
    • AboAI API Integration with Hermes Agent
  1. Attachments

List Attachments

GET
/v1/knowledge/attachments/{kid}
Paginated list of attachments uploaded to a knowledge base. Fields with null values are omitted.

Request

Path Params

Query Params

Header Params

Responses

🟢200Success
application/json
Success (TableDataInfo, not wrapped in R)
Bodyapplication/json

🟠400Bad Request
🟠401Forbidden
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://vipapi.aboai.ai/v1/knowledge/attachments/?pageNum=undefined&pageSize=undefined&orderByColumn=undefined&isAsc=undefined&vectorStatus=undefined&docName=undefined&docType=undefined&docId=undefined' \
--header 'Authorization: Bearer {{apiKey}}'
Response Response Example
200 - Example 1
{
    "total": 0,
    "rows": [
        {
            "id": 0,
            "kid": "string",
            "docId": "string",
            "docName": "string",
            "fileSize": 0,
            "docType": "string",
            "remark": "string",
            "ossId": 0,
            "docUrl": "string",
            "requestId": "string",
            "chunkStrategy": "string",
            "chunkModelName": "string",
            "embeddingModelName": "string",
            "stage": 0,
            "status": 0,
            "failStage": 0,
            "failReason": "string",
            "chunkCount": 0,
            "embeddedCount": 0,
            "vectorStatus": 0,
            "vectorFailReason": "string",
            "vectorCostMs": 0,
            "estimateTokens": 0,
            "estimateCost": "string",
            "actualTokens": 0,
            "actualCost": "string",
            "createBy": "string",
            "createTime": "string",
            "updateTime": "string",
            "finishTime": "string"
        }
    ],
    "code": 0,
    "msg": "string"
}
Modified at 2026-11-04 09:19:19
Previous
Delete Knowledge Base
Next
Upload Attachment
Built with