Model Intelligence
Get file metadata by SHA256
Retrieve file information such as filetype, file size in bytes, and MIME type
get/model-intel/v1/file/{sha256}/metadata
Path parameters
sha256string required
Example:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA256 hash of the file (64 hexadecimal characters)
Response
File metadata found and returned successfully
Example response
{
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"size_bytes": 1024,
"file_type": "text",
"extension": ".txt",
"mime_type": "text/plain",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}