Choose your language:
    Record

    DatoCMS stores the individual pieces of content you create from a model as records, which are much like table rows in a database. For backward-compatibility reasons, the API refers to records as "items".

    Object payload
    id  string
    ID of record
    meta.createdAt  date-time

    Date of creation

    meta.updatedAt  date-time

    Last update time

    meta.publishedAt  null, date-time

    Date of last publication

    meta.firstPublishedAt  null, date-time

    Date of first publication

    meta.publicationScheduledAt  null, date-time

    Date of future publication

    meta.unpublishingScheduledAt  null, date-time

    Date of future unpublishing

    meta.status  null, enum

    Status

    meta.isValid  boolean

    Whether the current record is valid or not

    meta.currentVersion  string

    The ID of the current record version

    meta.stage  null, string

    Workflow stage in which the item is

    itemType  item_type.id

    The record's model

    relationships.creator  { type: "account", id: account.id }, { type: "access_token", id: access_token.id }, { type: "user", id: user.id }, { type: "sso_user", id: sso_user.id }

    The entity (account/collaborator/access token/sso user) who created the record. It must be an object with type (e.g. 'account') and id properties.

    Available endpoints