10 / Data models
Data models
Shared models that several endpoints reuse. They are already expanded inline in each request and response table; this page is where you can read them once on their own.
Job
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Job IDExample: job_xyz789 |
| workspaceId | string | Required | Workspace IDExample: ws_cuid123abc |
| status | string | Required | Job statusExample: queued |
| sourceType | string | Required | Source typeExample: url |
| sourceUrl | string | Optional | Source URL |
| createdAt | string | Required | Created at (ISO 8601)Example: 2026-03-30T12:00:00.000Z |
| updatedAt | string | Optional | Updated at (ISO 8601)Example: 2026-03-30T12:00:10.000Z |
ResultVideo
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Video IDExample: gsv_001 |
| url | string<uri> | Required | Download URL of the rendered MP4. Right after a preview-first generation nothing has been rendered yet, so this can be null.Example: null |
| embedUrl | string<uri> | Required | Bare Remotion Player URL to use as an iframe src.Example: https://app.fikad.boo/embed/preview/00000000-0000-0000-0000-000000000000 |
| sharedUrl | string<uri> | Required | URL of the share page to open in a browser. Use embedUrl for an iframe.Example: https://app.fikad.boo/share/00000000-0000-0000-0000-000000000000 |
| thumbnailUrl | string<uri> | Required | Thumbnail URLExample: https://cdn.fikaclip.com/shorts/thumb1.jpg |
| durationMs | integer | Required | Duration (milliseconds)min 0 | Example: 31000 |
| render | object | Required | URLs of the optional rendering flow |
| method | enum | Required | Allowed: POST | Example: POST |
| url | string<uri> | Required | Render request URL, called only when you need the MP4 file.Example: https://app.fikad.boo/api/enterprise/v1/generated-videos/gsv_001/render |
| pollingUrl | string<uri> | Required | URL to poll for completion status and the MP4 URL after a render request.Example: https://app.fikad.boo/api/enterprise/v1/generated-videos/gsv_001/renders/latest |
CaptionWord
| Field | Type | Required | Description |
|---|---|---|---|
| index | integer | Required | Word index within that timelineExample: 0 |
| text | string | Required | Caption wordExample: hello |
| start | number | Required | Start time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1200 |
| end | number | Required | End time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1450 |
| metadata | object | Optional | Internal caption metadata |
CaptionWordGroup
| Field | Type | Required | Description |
|---|---|---|---|
| index | integer | Required | word group indexExample: 0 |
| indexes[] | integer[] | Required | Indexes of the words in this groupExample: [0,1,2] |
Workspace
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Workspace IDExample: ws_cuid123abc |
| name | string | Required | Workspace nameExample: default |
| isDefault | boolean | Required | Whether this is the default workspace |
| status | string | Required | Workspace statusExample: ACTIVE |
| createdAt | string | Required | Created atExample: 2026-03-30T12:00:00.000Z |
Pagination
| Field | Type | Required | Description |
|---|---|---|---|
| page | number | Required | Current pageExample: 1 |
| limit | number | Required | Items per pageExample: 15 |
| total | number | Required | Total countExample: 1 |
| hasMore | boolean | Required | Whether a next page exists |
ThumbnailEntry
| Field | Type | Required | Description |
|---|---|---|---|
| imageUrl | string | Required | URL of the generated thumbnail imageExample: https://cdn.fikaclip.com/thumbnails/abc.jpg |
ThumbnailSet
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | Required | Thumbnail set identifier |
| status | enum | Required | Set status. EXPORTED means export has been called once and one image has been picked.Allowed: CREATED · EXPORTED |
| thumbnails[] | ThumbnailEntry[] | Required | |
| imageUrl | string | Required | URL of the generated thumbnail imageExample: https://cdn.fikaclip.com/thumbnails/abc.jpg |
| selectedThumbnailUrl | string | null | Required | Thumbnail URL picked at export time. null when nothing has been exported. |
| createdAt | string | Required | Created at (ISO 8601) |
| updatedAt | string | Required | Updated at (ISO 8601) |
CaptionClipPreview
| Field | Type | Required | Description |
|---|---|---|---|
| index | number | Required | Matches VideoClip.index |
| segmentId | string | Required | |
| captionWords[] | CaptionWord[] | Required | |
| index | integer | Required | Word index within that timelineExample: 0 |
| text | string | Required | Caption wordExample: hello |
| start | number | Required | Start time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1200 |
| end | number | Required | End time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1450 |
| metadata | object | Optional | Internal caption metadata |
| captionWordGroups[] | CaptionWordGroup[] | Required | |
| index | integer | Required | word group indexExample: 0 |
| indexes[] | integer[] | Required | Indexes of the words in this groupExample: [0,1,2] |
TicketAmount
Total amount actually distributed
| Field | Type | Required | Description |
|---|---|---|---|
| ticket | integer | Required | Ticket count (the same integer as the stored value). This is the reference value for settlement and for requests.Example: 500 |
| display | string | Required | Display string with the organisation's displayDivisor applied. For reference only — do not compute with it.Example: 500 |
WorkspaceTicketQuota
| Field | Type | Required | Description |
|---|---|---|---|
| allocated | integer | Required | Total tickets allocated to this workspace. 0 means fully blocked (no generation).Example: 500 |
| used | integer | Required | Tickets already spent. This cannot be undone and sets the floor for revoking.Example: 120 |
| remaining | integer | Required | Remaining tickets = allocated − used (minimum 0). The amount actually available.Example: 380 |
| updatedAt | string | Required | When the allocation last changedExample: 2026-08-20T09:00:00.000Z |
AggregationPeriod
| Field | Type | Required | Description |
|---|---|---|---|
| from | string | Required | Example: 2026-08-01T00:00:00.000Z |
| to | string | Required | Example: 2026-09-01T00:00:00.000Z |
TicketLedgerEntry
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Example: evt_000123 |
| organizationId | string | Required | Example: org_cuid123abc |
| workspaceId | string | null | Required | null for an organisation-level eventExample: ws_cuid456def |
| workspaceName | string | null | Required | Example: Marketing team |
| userId | string | null | Required | User who triggered the eventExample: usr_abc |
| userEmail | string | null | Required | Example: a@b.com |
| type | enum | Required | Ticket event type.
- CHARGE top-up / PAY consumption / REFUND refund
- ADMIN_GRANT admin grant / ADMIN_REVOKE admin revoke
- PROMOTION promotional grant / EXPIRE expiryAllowed: CHARGE · PAY · PROMOTION · REFUND · ADMIN_GRANT · ADMIN_REVOKE · EXPIRE | Example: PAY |
| featureId | string | null | Required | Slug of the feature consumed (for example VIDEO_SHORT, TTS). null for top-ups and adjustmentsExample: VIDEO_SHORT |
| featureLabel | string | null | Required | Example: Shorts generation |
| amount | integer | Required | Event amount (signed; consumption and revokes are negative)Example: -10 |
| balanceAfter | integer | Required | Wallet balance immediately after the eventExample: 490 |
| jobId | string | null | Required | Related generation job ID, when there is oneExample: job_xyz789 |
| description | string | null | Required | Example: Generated 3 shorts |
| createdAt | string | Required | Example: 2026-08-20T09:00:00.000Z |



