Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the file as it appears in the editor. |
| role | string | The role of the user making the API request in relation to the file. |
| lastModified | string | The UTC ISO 8601 time at which the file was last modified. |
| editorType | string | The type of editor associated with this file. |
| thumbnailUrl | string | A URL to a thumbnail image of the file. |
| version | string | The version number of the file. |
| components | object | A mapping from component IDs to component metadata. |
| componentSets | object | A mapping from component set IDs to component set metadata. |
| schemaVersion | number | The version of the file schema that this file uses. |
| styles | object | A mapping from style IDs to style metadata. |
| mainFileKey | string | The key of the main file for this file. |
| branches | array | A list of branches for this file. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "GetFileResponseBody",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the file as it appears in the editor."
},
"role": {
"type": "string",
"description": "The role of the user making the API request in relation to the file."
},
"lastModified": {
"type": "string",
"description": "The UTC ISO 8601 time at which the file was last modified."
},
"editorType": {
"type": "string",
"description": "The type of editor associated with this file."
},
"thumbnailUrl": {
"type": "string",
"description": "A URL to a thumbnail image of the file."
},
"version": {
"type": "string",
"description": "The version number of the file."
},
"components": {
"type": "object",
"description": "A mapping from component IDs to component metadata."
},
"componentSets": {
"type": "object",
"description": "A mapping from component set IDs to component set metadata."
},
"schemaVersion": {
"type": "number",
"description": "The version of the file schema that this file uses."
},
"styles": {
"type": "object",
"description": "A mapping from style IDs to style metadata."
},
"mainFileKey": {
"type": "string",
"description": "The key of the main file for this file."
},
"branches": {
"type": "array",
"description": "A list of branches for this file."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/figma-files-get-file-response-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.