# Post structure (/docs/posts-structure)

Every field of a post, including SEO, social cards, tags, authors and custom fields.

A post is one JSON object. The fields below are the contract shared by the dashboard, the API and the MCP server.

## Core fields

| Field | Type | Notes |
| --- | --- | --- |
| `id` | string | Stable identifier. |
| `slug` | string | Lowercase letters, digits and single dashes, up to 200 characters. Unique per project. |
| `title` | string | 1 to 300 characters. |
| `excerpt` | string or null | Up to 500 characters. |
| `status` | string | `draft`, `in_review`, `scheduled` or `published`. |
| `publishedAt` | string or null | ISO 8601 date and time. |
| `createdAt`, `updatedAt` | string | ISO 8601 date and times. |

## SEO

`seo` is the search result snippet.

| Field | Type | Notes |
| --- | --- | --- |
| `seo.title` | string or null | Up to 70 characters. |
| `seo.description` | string or null | Up to 160 characters. |
| `canonicalUrl` | string or null | The preferred URL when the post is also published elsewhere. |
| `noindex` | boolean | Ask search engines not to index the post. Defaults to false. |

## Social cards

`og` is the Open Graph card used by Facebook, LinkedIn, Slack and most link previews.

| Field | Type | Notes |
| --- | --- | --- |
| `og.title` | string or null | Up to 100 characters. |
| `og.description` | string or null | Up to 200 characters. |
| `og.image` | string or null | An absolute URL. |

`twitter` is the card for X.

| Field | Type | Notes |
| --- | --- | --- |
| `twitter.card` | string | `summary` or `summary_large_image`. Defaults to `summary_large_image`. |
| `twitter.title` | string or null | Up to 70 characters. |
| `twitter.description` | string or null | Up to 200 characters. |
| `twitter.image` | string or null | An absolute URL. |

## Tags and authors

`tags` is a list of `{ id, slug, name }`. `authors` is a list of `{ id, slug, name, image, bio }`, where `image` is an absolute URL or null and `bio` is up to 500 characters or null.

## Custom fields

`custom` holds your own fields as an object of JSON values. Validation per project is planned.

## Example

```json
{
  "id": "post_123",
  "slug": "hello-world",
  "title": "Hello world",
  "excerpt": "Our first post.",
  "status": "published",
  "publishedAt": "2026-11-28T09:00:00.000Z",
  "seo": { "title": null, "description": "Our first post." },
  "og": { "title": null, "description": null, "image": null },
  "twitter": { "card": "summary_large_image", "title": null, "description": null, "image": null },
  "canonicalUrl": null,
  "noindex": false,
  "tags": [{ "id": "tag_1", "slug": "news", "name": "News" }],
  "authors": [{ "id": "author_1", "slug": "sam", "name": "Sam", "image": null, "bio": null }],
  "custom": { "readingTime": 4 },
  "createdAt": "2026-11-27T16:00:00.000Z",
  "updatedAt": "2026-11-28T08:30:00.000Z"
}
```

The API also returns `workspaceId` and `projectId` on each post.
