跳到主要内容

ListOut[MessageOut]

objectObject
常量值: list
默认值: list
data object[]必填
  • Array [
  • objectObject
    常量值: message
    默认值: message
    idId必填
    typeType必填

    可能的取值: [user_message, assistant_message, activity, status_update]

    task_idTask Id可为 null
    created_atstring<date-time>可为 null
    contentContent可为 null
    statusStatus可为 null
    errorobject可为 null
    attachments object[]可为 null
  • Array [
  • typeType必填

    可能的取值: [image, video, audio, file]

    filenameFilename必填
    urlUrl可为 null
    content_typeContent Type可为 null
    expires_atstring<date-time>可为 null
  • ]
  • suggestionsstring[]可为 null
    activityActivity可为 null
  • ]
  • has_moreHas More
    默认值: false
    next_cursorNext Cursor可为 null
    ListOut[MessageOut]
    {
    "object": "list",
    "data": [
    {
    "object": "message",
    "id": "string",
    "type": "user_message",
    "task_id": "string",
    "created_at": "2024-07-29T15:51:28.071Z",
    "content": "string",
    "status": "string",
    "error": {},
    "attachments": [
    {
    "type": "image",
    "filename": "string",
    "url": "string",
    "content_type": "string",
    "expires_at": "2024-07-29T15:51:28.071Z"
    }
    ],
    "suggestions": [
    "string"
    ],
    "activity": "string"
    }
    ],
    "has_more": false,
    "next_cursor": "string"
    }