> ## Documentation Index
> Fetch the complete documentation index at: https://snowseo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate JSON-LD

> Build and persist Schema.org JSON-LD for an article.

Build a Schema.org JSON-LD structured-data block for an article and persist it to the article record. The JSON-LD is derived entirely from the stored article row (content, metadata, outline, keywords, type) — so persist the article first, then call this.

### Request body

| Field         | Type   | Description                                                                                  |
| ------------- | ------ | -------------------------------------------------------------------------------------------- |
| `articleSlug` | string | **Required.** Slug of the article to build JSON-LD for. Resolved against the session's team. |

The team is taken from your session membership — not the body.

### Response

| Field    | Type           | Description                                                                                    |
| -------- | -------------- | ---------------------------------------------------------------------------------------------- |
| `jsonLd` | string \| null | The serialized JSON-LD string that was persisted to the article (`null` if none was produced). |

<Note>
  Requires an active plan and team membership. The article must already exist for the session's team, otherwise the call returns `404`.
</Note>
