Media objects
Base data model for representing images, videos, documents, and other assets within the Polimake API.
Coming soon This feature is not available yet. The guide describes how it will work; endpoints and fields may change before launch.
On this page
A media_object represents a creative asset within Polimake: an image, video, audio file, document, presentation or another file managed by the system.
Status: preview contract. This schema is an example of the API described in the overview. Confirm supported fields and formats before implementing an integration.
Base structure
{
"id": "media_01HX9R8K4Q2Z4T",
"object": "media_object",
"project_id": "brand-assets",
"filename": "equipo-oficina-campana.jpg",
"mime_type": "image/jpeg",
"size_bytes": 2483912,
"status": "ready",
"created_at": "2026-06-04T10:00:00Z",
"updated_at": "2026-06-04T10:01:12Z",
"urls": {
"preview": "https://cdn.polimake.com/previews/media_01HX9R8K4Q2Z4T.webp",
"thumbnail": "https://cdn.polimake.com/thumbnails/media_01HX9R8K4Q2Z4T.webp"
},
"metadata": {
"width": 2400,
"height": 1600,
"duration_seconds": null
},
"ai": {
"description": "Equipo trabajando en una oficina luminosa con portatiles y material de marca.",
"tags": ["equipo", "oficina", "trabajo", "colaboracion", "marca"],
"objects": ["persona", "portatil", "mesa"],
"suggested_uses": ["web", "presentacion", "campana employer branding"]
}
}
Main fields
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier of the file. |
object | string | Object type. In this case, media_object. |
project_id | string | Project the asset belongs to. |
filename | string | Original or normalized name of the file. |
mime_type | string | Detected MIME type. |
size_bytes | number | File size in bytes. |
status | string | Processing status. |
urls | object | URLs available for preview, thumbnail, or download depending on permissions. |
metadata | object | Technical metadata of the file. |
ai | object | Result of the AI analysis when available. |
Statuses
uploading: the file is being received.processing: previews, thumbnails, or analyses are being generated.ready: the file is available for search and use.failed: processing failed.deleted: the file was deleted or marked for deletion.
AI metadata
The ai property only appears when the analysis is available, and can include:
description: natural description of the resource.tags: search tags.objects: detected objects.people: signals about the presence of people, if applicable.logos: detectable logos or brands, if applicable.suggested_uses: recommended uses.safety_notes: review, rights, or privacy notes, if configured.
Use in search
Search responses return a list of media_object items enriched with a score, which shows how relevant each result is to the query.
{
"items": [
{
"id": "media_01HX9R8K4Q2Z4T",
"object": "media_object",
"score": 0.91,
"filename": "equipo-oficina-campana.jpg",
"ai": {
"description": "Equipo trabajando en una oficina luminosa.",
"tags": ["equipo", "oficina", "colaboracion"]
}
}
]
}
Continue with Build: integrate Polimake.