Generated by API Evangelist
Written by API Evangelist tooling for Figma's API. It is a proposal applied on top of the contract, not a document Figma publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Figma Variables API
version: 1.0.0
extends: openapi/figma-variables-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/v1/files/{file_key}/variables/local'].get
update:
x-apievangelist-phrasing:
intent: List local and remote variables in a file
effect: read
questions:
- Which local variables and remote variables are defined in a Figma file?
- Can I see the full variable objects for a file's local variables?
instructions:
- text: List the local and remote variables in file {file_key}.
slots:
file_key: path.file_key
- text: Show every variable and variable collection defined in {file_key}.
slots:
file_key: path.file_key
method: generated
generated: '2026-11-18'
- target: $.paths['/v1/files/{file_key}/variables/published'].get
update:
x-apievangelist-phrasing:
intent: List variables published from a file
effect: read
questions:
- Which variables have been published from a file?
- What ids do published variables use in subscribing files?
instructions:
- text: List the published variables in file {file_key}.
slots:
file_key: path.file_key
- text: Show the subscribed ids of variables published from {file_key}.
slots:
file_key: path.file_key
method: generated
generated: '2026-11-18'
- target: $.paths['/v1/files/{file_key}/variables'].post
update:
x-apievangelist-phrasing:
intent: Create, update or delete variables in bulk
effect: write
questions:
- How do I create or update variables and variable collections in a file at once?
- Can I delete variables in a file by sending a request body?
instructions:
- text: Create, update and delete variables in file {file_key} using {variableCollections}, {variables}, {variableModes} and {variableModeValues}.
slots:
file_key: path.file_key
variableCollections: requestBody.variableCollections
variables: requestBody.variables
variableModes: requestBody.variableModes
variableModeValues: requestBody.variableModeValues
- text: Bulk update the variables in {file_key}.
slots:
file_key: path.file_key
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.