VirtuousAI
ReferenceV1

Get Attachment

Get a chat attachment by ID.

GET
/api/v1/chat/attachments/{attachment_id}

Path Parameters

attachment_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/chat/attachments/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "artifactId": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "id": "string",
  "ingestionStatus": "none",
  "messageId": "string",
  "mimeType": "string",
  "originalFilename": "string",
  "scope": "thread",
  "sizeBytes": 0,
  "threadId": "string",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}