Reporter icon

Reporter

Interact with Reporter API

Actions120

Snippet → Create a snippet

AI-generated

Summary

Create a Reporter snippet with a name used to reference it in other models’ Markdown and the text to insert. Optionally set its primary language, tags, and uploaded draft document IDs.

Inputs

  • Name (required) — Snippet reference name. Use only letters, numbers, dashes, and underscores; maximum 191 characters. Reference it in Markdown as [snippet="name"].
  • Text (required) — Snippet text, such as This report is confidential.
  • Primary language id — Primary language ID, for example en. Optional when there is only one language.
  • Tags — Tags used to organize the snippet. Tags are case-insensitive; maximum 191 characters each.
  • Draft documents — IDs of uploaded draft documents to associate with the snippet.

Output shape

A single snippet record returned by the create request.

The source shows a POST request that sends the name and text with any additional fields provided. The exact response fields are not specified.

Links

Discussion