Yext Knowledge API icon

Yext Knowledge API

Interact with Yext Knowledge API

Actions176

Knowledge Manager → Create Asset

AI-generated

Summary

Create a new asset in the Yext Knowledge Manager by specifying details like the asset's name, type, usage, and associations with entities or labels. Optionally include an asset ID, description, locale, owner, and labels, and define the format for rich text fields.

Inputs

  • Format (required) — Specify the format ('markdown' or 'html') used to parse rich text fields if applicable.
  • Id — Unique alphanumeric ID for the asset, assigned by Yext. Optional.
  • Name (required) — The name of the asset.
  • Description — A description of the asset.
  • Type (required) — The type of asset. This can be one of the predefined types or a custom field type name.
  • For Entities (required) — JSON object specifying associations with entities and label IDs (including 'entityIds' and 'labelIds' arrays).
  • Usage (required) — JSON array defining usage with field names where the asset will be used.
  • Locale — Language locale of the asset.
  • Labels — JSON array of text labels tagging the asset.
  • Owner — ID of the user who owns the asset.

Output shape

a single record

Returns the created asset record in JSON format. No pagination is involved.

Discussion