Data
Persistence and physical records
Railway tables and serialized row envelopes used by the application.
Persistence and physical records
These are physical storage records and query projections. Domain-object pages document the
serialized objects stored inside their data fields.
Persistence and physical records. Optionality and accepted values are included in each field description.
permanent_assets
| Field | Type | Example | Description |
|---|---|---|---|
rid | string (1024) | "record-123" | Optional. Stable logical record ID. Accepted format: Domain identifier. |
owner_id | string (36) | "record-123" | Optional. Omitted only for public reference rows. Accepted format: Railway user ID. |
source_key | string (255) | "Example" | Optional. Polymorphic record discriminator. Accepted format: Values listed above. |
name | string (2048) | "Example" | Optional. Projected label/title. |
status | string (255) | "source_key" | Optional. Projected lifecycle state. Accepted format: Depends on source_key. |
created_raw | string (64) | "2026-08-01T09:00:00.000Z" | Optional. Projected domain creation time. Accepted format: ISO datetime. |
data | long text | { "key": "value" } | Optional. Complete serialized domain object. Accepted format: JSON object string. |
ord | integer | 1 | Optional. Stable list order. Accepted format: Zero-based integer. |
visibility | string (32) | "Example" | Optional. Projected visibility. |
asset_type | string (255) | "Example" | Optional. Broad asset subtype. |
kind | string (255) | "image" | Optional. Media kind. Accepted format: Usually image, video, audio, or text. |
parent_id | string (255) | "record-123" | Optional. Owning collection or parent asset. Accepted format: Domain ID. |
description | medium text | "Example" | Optional. Projected description. |
text | medium text | "Example" | Optional. Searchable body text. |
tags | long text | ["example"] | Optional. Search/filter tags. Accepted format: JSON string array. |
storage_bucket | string (255) | "Example" | Optional. Stored file bucket. Accepted format: Railway bucket ID. |
storage_file_id | string (255) | "record-123" | Optional. Stored file identifier. Accepted format: Railway file ID. |
storage_path | medium text | "assets/example.png" | Optional. Compatibility asset path. Accepted format: Data-relative path. |
url | medium text | "https://example.com/item" | Optional. Application-facing media URL. Accepted format: URL/path. |
mime_type | string (255) | "Example" | Optional. Stored media content type. Accepted format: MIME type. |
bytes | integer | 1 | Optional. File size in bytes. Accepted format: Non-negative integer. |
width | integer | 1 | Optional. Pixel width when known. Accepted format: Positive integer. |
height | integer | 1 | Optional. Pixel height when known. Accepted format: Positive integer. |
duration_ms | integer | 1 | Optional. Audio/video duration. Accepted format: Non-negative integer. |
checksum | string (255) | "Example" | Optional. Content identity/integrity digest. Accepted format: Digest string. |
source_url | medium text | "https://example.com/item" | Optional. Original import source. Accepted format: URL. |
position | integer | 1 | Optional. Position inside a parent. Accepted format: Zero-based integer. |
updated_at | string (64) | "2026-08-01T09:00:00.000Z" | Optional. Projected update time. Accepted format: ISO datetime. |
migration_source | string (255) | "Example" | Optional. Legacy migration provenance. |
outputs
| Field | Type | Example | Description |
|---|---|---|---|
rid | string (1024) | "record-123" | Optional. Stable logical output ID. Accepted format: Domain identifier. |
owner_id | string (36) | "record-123" | Optional. Output owner. Accepted format: Railway user ID. |
source_key | string (255) | "result" | Optional. Output discriminator. Accepted format: result, generated_video, x_automation_run, publication_wrapper. |
name | string (2048) | "Example" | Optional. Projected output name. |
status | string (255) | "source_key" | Optional. Generation/content lifecycle. Accepted format: Depends on source_key. |
created_raw | string (64) | "2026-08-01T09:00:00.000Z" | Optional. Domain creation time. Accepted format: ISO datetime. |
data | long text | { "key": "value" } | Optional. Complete output object. Accepted format: JSON object string. |
ord | integer | 1 | Optional. Stable order. Accepted format: Zero-based integer. |
kind | string (255) | "Example" | Optional. Broad content/media kind. |
subtype | string (255) | "Example" | Optional. More specific output class. |
storage_class | string (64) | "Example" | Optional. Storage policy/category. |
origin | string (64) | "Example" | Optional. How the output was created. |
title | string (2048) | "Example" | Optional. Display title. |
hook | medium text | "Example" | Optional. Generated hook. |
caption | medium text | "Example" | Optional. Generated/social caption. |
hashtags | long text | ["example"] | Optional. Hashtag payload. Accepted format: String or JSON string array. |
text | medium text | "Example" | Optional. Primary generated text. |
text_data | long text | { "key": "value" } | Optional. Structured generated text. Accepted format: JSON string. |
source_automation_id | string (255) | "record-123" | Optional. Originating automation. Accepted format: Domain ID. |
source_run_id | string (255) | "record-123" | Optional. Originating run. Accepted format: Domain ID. |
source_entity_id | string (255) | "record-123" | Optional. Originating slideshow/content entity. Accepted format: Domain ID. |
has_video | boolean | true | Optional. Fast video-output filter. Accepted format: true or false. |
publication_status | string (64) | "Example" | Optional. Projected primary publication state. Accepted format: Post status values below. |
scheduled_at | string (64) | "2026-08-01T09:00:00.000Z" | Optional. Projected scheduled time. Accepted format: ISO datetime. |
published_at | string (64) | "2026-08-01T09:00:00.000Z" | Optional. Projected publication time. Accepted format: ISO datetime. |
primary_post_id | string (255) | "record-123" | Optional. Primary remote post. Accepted format: Provider post ID. |
primary_release_url | medium text | "https://example.com/item" | Optional. Primary published URL. Accepted format: URL. |
publications | long text | "PostFastPostRecord[]" | Optional. All publication attempts/records. Accepted format: JSON PostFastPostRecord[]. |
evaluation | long text | { "key": "value" } | Optional. Quality/evaluation payload. Accepted format: JSON object string. |
error | medium text | "Example" | Optional. Output-level failure detail. |
updated_at | string (64) | "2026-08-01T09:00:00.000Z" | Optional. Domain update time. Accepted format: ISO datetime. |
migration_source | string (255) | "Example" | Optional. Legacy migration provenance. |
output_media
| Field | Type | Example | Description |
|---|---|---|---|
output_id | string (36) | "record-123" | Optional. Parent output. Accepted format: Railway output row ID. |
owner_id | string (36) | "record-123" | Optional. Parent owner. Accepted format: Railway user ID. |
permanent_asset_id | string (36) | "record-123" | Optional. Reused permanent asset, if any. Accepted format: Railway row ID. |
kind | string (64) | "image" | Optional. Media kind. Accepted format: image, video, audio, text. |
role | string (255) | "Example" | Optional. Thumbnail, source, result, slide, etc. |
position | integer | 1 | Optional. Order within the output. Accepted format: Zero-based integer. |
storage_bucket | string (255) | "Example" | Optional. Stored file bucket. Accepted format: Railway bucket ID. |
storage_file_id | string (255) | "record-123" | Optional. Stored file identifier. Accepted format: Railway file ID. |
storage_path | medium text | "assets/example.png" | Optional. Compatibility path. Accepted format: Data-relative path. |
url | medium text | "https://example.com/item" | Optional. Application-facing media URL. Accepted format: URL/path. |
mime_type | string (255) | "Example" | Optional. Content type. Accepted format: MIME type. |
bytes | integer | 1 | Optional. File size. Accepted format: Non-negative integer. |
width | integer | 1 | Optional. Pixel width. Accepted format: Positive integer. |
height | integer | 1 | Optional. Pixel height. Accepted format: Positive integer. |
duration_ms | integer | 1 | Optional. Audio/video duration. Accepted format: Non-negative integer. |
checksum | string (255) | "Example" | Optional. Content digest. Accepted format: Digest string. |
data | long text | { "key": "value" } | Optional. Extra media metadata. Accepted format: JSON object string. |
created_at | string (64) | "2026-08-01T09:00:00.000Z" | Optional. Creation time. Accepted format: ISO datetime. |
Dedicated JSON-store row
| Field | Type | Example | Description |
|---|---|---|---|
rid | string | "record-123" | Optional. Logical record ID. Accepted format: Domain identifier. |
owner_id | string | "record-123" | Optional. Record owner. Accepted format: Railway user ID. |
name | string | "Example" | Optional. Projected label. |
status | string | "Example" | Optional. Projected status. Accepted format: Domain lifecycle enum. |
created_raw | string | "2026-08-01T09:00:00.000Z" | Optional. Projected creation time. Accepted format: ISO datetime. |
ord | integer | 1 | Optional. Stable order. Accepted format: Zero-based integer. |
data | text/long text | { "key": "value" } | Requiredness: Yes in current dedicated stores. Complete domain object. Accepted format: JSON object string. |
jobs
| Field | Type | Example | Description |
|---|---|---|---|
type | string | "Example" | Optional. Dispatch key. Accepted format: Registered worker job type. |
status | string | "queued" | Optional. Queue lifecycle. Accepted format: queued, processing, completed, failed, dead. |
priority | integer | 0 | Optional. Higher-priority work is claimed first. Accepted format: Integer; default 0 in app enqueue path. |
priority_raw | string | "Example" | Optional. Compatibility projection. Accepted format: Legacy numeric string. |
available_at | string | "2026-08-01T09:00:00.000Z" | Optional. Earliest claim time. Accepted format: ISO datetime. |
leased_by | string | "Example" | Optional. Current claimant. Accepted format: Worker ID. |
leased_until | string | "2026-08-01T09:00:00.000Z" | Optional. Claim expiry. Accepted format: ISO datetime. |
attempts | integer | 0 | Optional. Attempts already made. Accepted format: Non-negative integer; starts at 0. |
max_attempts | integer | 3 | Optional. Retry ceiling. Accepted format: Positive integer; default 3. |
payload | long text | { "key": "value" } | Optional. Job input. Accepted format: JSON. |
result | long text | { "key": "value" } | Optional. Completed output/receipt. Accepted format: JSON. |
error | string | "Example" | Optional. Last failure. |
dedupe_key | string | "Example" | Optional. Duplicate-enqueue boundary. Accepted format: Owner-scoped stable key. |
owner_id | string | "record-123" | Optional. Job owner. Accepted format: Railway user ID. |
created_at | string | "2026-08-01T09:00:00.000Z" | Optional. Enqueue time. Accepted format: ISO datetime. |
updated_at | string | "2026-08-01T09:00:00.000Z" | Optional. Last state transition. Accepted format: ISO datetime. |
workspace_members
| Field | Type | Example | Description |
|---|---|---|---|
owner_id | string | "record-123" | Required. Workspace owner. Accepted format: Railway user ID. |
owner_name | string | "Example" | Required. Owner display name. |
email | string | "editor@example.com" | Required. Invited member. Accepted format: Normalized email. |
member_user_id | string | "record-123" | Optional. Set after acceptance. Accepted format: Railway user ID. |
status | string | "pending" | Required. Invitation lifecycle. Accepted format: pending, accepted. |
team_id | string | "record-123" | Required. Workspace team. Accepted format: Railway Team ID. |
membership_id | string | "record-123" | Required. Team membership. Accepted format: Railway membership ID. |
created_at | string | "2026-08-01T09:00:00.000Z" | Required. Invitation creation time. Accepted format: ISO datetime. |
demos
| Field | Type | Example | Description |
|---|---|---|---|
owner_id | string | "record-123" | Required. Demo owner. Accepted format: Railway user ID. |
title | string | "Example" | Required. Display title. |
file_id | string | "record-123" | Required. File in the demos bucket. Accepted format: Railway file ID. |
content_type | string | "video/mp4" | Required. Response content type. Accepted format: MIME type; fallback video/mp4. |
created_at | string | "2026-08-01T09:00:00.000Z" | Required. Creation time. Accepted format: ISO datetime. |