Figma icon

Figma

Use the Figma API

Component and Style → Get Style

AI-generated

Summary

Retrieve metadata for a Figma style by specifying its unique key.

Inputs

  • Key (required) — The unique identifier of the style to retrieve metadata for.
  • Query Parameters — Optional parameters to modify the request, such as pagination cursors, limits, ordering, version ID, and other filters.

Output shape

a single JSON object containing the metadata for the specified style key.

The operation requires a valid style key and optional query parameters to refine the request. If the key is missing, an error is thrown. The response returns the style metadata as JSON.

Discussion