Skip to content

Resolve a record by its identifier, e.g. ISSUE-5201 (the database identifier prefix, a dash, the record number; the prefix is case-insensitive). 404 for an unknown prefix, a database you cannot see and a missing number alike.

GET
/api/v1/workspaces/{ws}/records/by-identifier/{identifier}
identifier
required
string
Media typeapplication/json
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
number
required
integer
nullable >= -9007199254740991 <= 9007199254740991
identifier
required
string
nullable
title
required
string
values
required
object
key
additional properties
position
required
string
created_by
required
string
nullable
created_at
required

ISO timestamp

string
updated_at
required

ISO timestamp

string
computed_values
required

Computed values keyed by field id, with per-field siblings for an AI field: <field_id> is the last good value; <field_id>:computed_at the ISO timestamp it was computed; <field_id>:error the last failure, if any (the last good value is kept); <field_id>:pending_at the ISO timestamp a recompute was QUEUED, present only while one is in flight, and dropped once older than five minutes so a crashed worker cannot leave a cell “computing” for ever. Read the marker with aiPendingAt() from @storyos/schemas rather than building the key by hand.

object
key
additional properties
database_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
Examplegenerated
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"number": 1,
"identifier": "example",
"title": "example",
"values": {
"additionalProperty": "example"
},
"position": "example",
"created_by": "example",
"created_at": "example",
"updated_at": "example",
"computed_values": {
"additionalProperty": "example"
},
"database_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}