curl --request GET \
--url https://platform.kodexa.ai/api/knowledge-sets/{id}/attachments \
--header 'x-api-key: <api-key>'[
{
"id": "<string>",
"attachmentId": "<string>",
"contentHash": "<string>",
"fileName": "<string>",
"size": 123,
"contentType": "<string>",
"uploadedAt": "2023-11-07T05:31:56Z",
"uploadedBy": "<string>"
}
]Returns a list of all attachments for the specified knowledge set.
curl --request GET \
--url https://platform.kodexa.ai/api/knowledge-sets/{id}/attachments \
--header 'x-api-key: <api-key>'[
{
"id": "<string>",
"attachmentId": "<string>",
"contentHash": "<string>",
"fileName": "<string>",
"size": 123,
"contentType": "<string>",
"uploadedAt": "2023-11-07T05:31:56Z",
"uploadedBy": "<string>"
}
]API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
Unique identifier (UUID) of the knowledge set.
List of attachments
Unique identifier of the attachment record.
Custom slug identifier for the attachment, used in markdown references via attachment://attachmentId.
SHA-256 hash of the attachment file content.
Original file name of the uploaded attachment.
Size of the attachment in bytes.
MIME type of the attachment.
Timestamp when the attachment was uploaded.
Username or identifier of the user who uploaded the attachment.