PricingBlogEnterpriseAPI
Log inStart free
Log inStart free

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

FieldTypeRequiredDescription
idstringRequiredJob IDExample: job_xyz789
workspaceIdstringRequiredWorkspace IDExample: ws_cuid123abc
statusstringRequiredJob statusExample: queued
sourceTypestringRequiredSource typeExample: url
sourceUrlstringOptionalSource URL
createdAtstringRequiredCreated at (ISO 8601)Example: 2026-03-30T12:00:00.000Z
updatedAtstringOptionalUpdated at (ISO 8601)Example: 2026-03-30T12:00:10.000Z

ResultVideo

FieldTypeRequiredDescription
idstringRequiredVideo IDExample: gsv_001
urlstring<uri>RequiredDownload URL of the rendered MP4. Right after a preview-first generation nothing has been rendered yet, so this can be null.Example: null
embedUrlstring<uri>RequiredBare Remotion Player URL to use as an iframe src.Example: https://app.fikad.boo/embed/preview/00000000-0000-0000-0000-000000000000
sharedUrlstring<uri>RequiredURL 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
thumbnailUrlstring<uri>RequiredThumbnail URLExample: https://cdn.fikaclip.com/shorts/thumb1.jpg
durationMsintegerRequiredDuration (milliseconds)min 0 | Example: 31000
renderobjectRequiredURLs of the optional rendering flow
methodenumRequiredAllowed: POST | Example: POST
urlstring<uri>RequiredRender request URL, called only when you need the MP4 file.Example: https://app.fikad.boo/api/enterprise/v1/generated-videos/gsv_001/render
pollingUrlstring<uri>RequiredURL 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

FieldTypeRequiredDescription
indexintegerRequiredWord index within that timelineExample: 0
textstringRequiredCaption wordExample: hello
startnumberRequiredStart time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1200
endnumberRequiredEnd time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1450
metadataobjectOptionalInternal caption metadata

CaptionWordGroup

FieldTypeRequiredDescription
indexintegerRequiredword group indexExample: 0
indexes[]integer[]RequiredIndexes of the words in this groupExample: [0,1,2]

Workspace

FieldTypeRequiredDescription
idstringRequiredWorkspace IDExample: ws_cuid123abc
namestringRequiredWorkspace nameExample: default
isDefaultbooleanRequiredWhether this is the default workspace
statusstringRequiredWorkspace statusExample: ACTIVE
createdAtstringRequiredCreated atExample: 2026-03-30T12:00:00.000Z

Pagination

FieldTypeRequiredDescription
pagenumberRequiredCurrent pageExample: 1
limitnumberRequiredItems per pageExample: 15
totalnumberRequiredTotal countExample: 1
hasMorebooleanRequiredWhether a next page exists

ThumbnailEntry

FieldTypeRequiredDescription
imageUrlstringRequiredURL of the generated thumbnail imageExample: https://cdn.fikaclip.com/thumbnails/abc.jpg

ThumbnailSet

FieldTypeRequiredDescription
idnumberRequiredThumbnail set identifier
statusenumRequiredSet status. EXPORTED means export has been called once and one image has been picked.Allowed: CREATED · EXPORTED
thumbnails[]ThumbnailEntry[]Required
imageUrlstringRequiredURL of the generated thumbnail imageExample: https://cdn.fikaclip.com/thumbnails/abc.jpg
selectedThumbnailUrlstring | nullRequiredThumbnail URL picked at export time. null when nothing has been exported.
createdAtstringRequiredCreated at (ISO 8601)
updatedAtstringRequiredUpdated at (ISO 8601)

CaptionClipPreview

FieldTypeRequiredDescription
indexnumberRequiredMatches VideoClip.index
segmentIdstringRequired
captionWords[]CaptionWord[]Required
indexintegerRequiredWord index within that timelineExample: 0
textstringRequiredCaption wordExample: hello
startnumberRequiredStart time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1200
endnumberRequiredEnd time on the timeline (ms). In source this is the source longform timeline; in generatedVideos it is the generated short's timeline.Example: 1450
metadataobjectOptionalInternal caption metadata
captionWordGroups[]CaptionWordGroup[]Required
indexintegerRequiredword group indexExample: 0
indexes[]integer[]RequiredIndexes of the words in this groupExample: [0,1,2]

TicketAmount

Total amount actually distributed

FieldTypeRequiredDescription
ticketintegerRequiredTicket count (the same integer as the stored value). This is the reference value for settlement and for requests.Example: 500
displaystringRequiredDisplay string with the organisation's displayDivisor applied. For reference only — do not compute with it.Example: 500

WorkspaceTicketQuota

FieldTypeRequiredDescription
allocatedintegerRequiredTotal tickets allocated to this workspace. 0 means fully blocked (no generation).Example: 500
usedintegerRequiredTickets already spent. This cannot be undone and sets the floor for revoking.Example: 120
remainingintegerRequiredRemaining tickets = allocated − used (minimum 0). The amount actually available.Example: 380
updatedAtstringRequiredWhen the allocation last changedExample: 2026-08-20T09:00:00.000Z

AggregationPeriod

FieldTypeRequiredDescription
fromstringRequiredExample: 2026-08-01T00:00:00.000Z
tostringRequiredExample: 2026-09-01T00:00:00.000Z

TicketLedgerEntry

FieldTypeRequiredDescription
idstringRequiredExample: evt_000123
organizationIdstringRequiredExample: org_cuid123abc
workspaceIdstring | nullRequirednull for an organisation-level eventExample: ws_cuid456def
workspaceNamestring | nullRequiredExample: Marketing team
userIdstring | nullRequiredUser who triggered the eventExample: usr_abc
userEmailstring | nullRequiredExample: a@b.com
typeenumRequiredTicket 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
featureIdstring | nullRequiredSlug of the feature consumed (for example VIDEO_SHORT, TTS). null for top-ups and adjustmentsExample: VIDEO_SHORT
featureLabelstring | nullRequiredExample: Shorts generation
amountintegerRequiredEvent amount (signed; consumption and revokes are negative)Example: -10
balanceAfterintegerRequiredWallet balance immediately after the eventExample: 490
jobIdstring | nullRequiredRelated generation job ID, when there is oneExample: job_xyz789
descriptionstring | nullRequiredExample: Generated 3 shorts
createdAtstringRequiredExample: 2026-08-20T09:00:00.000Z