Aprovan Registry
provider 47 operations 15 docs pages
@utdk/figma
Figma API

Generated UTDK provider client for Figma API. This is the OpenAPI specification for the Figma REST API.

Note: we are releasing the OpenAPI specification as a beta given the large surface area and complexity of the REST API. If you notice any inaccuracies with the specification, please file an issue.

Import sample

import figma from "@utdk/figma"

Factory sample

import { createFigmaClient } from "@utdk/figma"
Provider path
figma
Source API title
Figma API
Version
0.37.0
Generated
Apr 8, 2026, 3:35 PM
Homepage
Open site
API spec
View spec
Activity Logs
Optional generated docs page for @utdk/figma.

Activity Logs

Use these operations through the generated client (not direct HTTP calls).

Import path: @utdk/figma

Operations

figma.getActivityLogs

  • HTTP: GET /v1/activity_logs
  • What it does: Get activity logs
  • OpenAPI operationId: getActivityLogs
  • Path params: None
  • Query params: events, start_time, end_time, limit, order
  • Response codes: 200, 400, 401, 403, 429, 500
  • Transport options: None
  • Source: OpenAPI reference
  • TypeScript: Client interface

Inputs

  • Client input type: { events?: string; start_time?: number; end_time?: number; limit?: number; order?: "asc" | "desc" }
  • Client transport options: None

Outputs

  • Client return type: { status?: 200; error?: false; meta?: { activity_logs?: ({ id: string; timestamp: number; actor: { [key: string]: unknown } | null; action: { type: string; details: { [key: string]: unknown } | null }; entity: { type: "...
  • OpenAPI response codes: 200, 400, 401, 403, 429, 500
import figma from "@utdk/figma";

type GetActivityLogsInput = Parameters<typeof figma.getActivityLogs> extends [infer T, ...unknown[]] ? T : undefined;
type GetActivityLogsOutput = Awaited<ReturnType<typeof figma.getActivityLogs>>;

const input: GetActivityLogsInput = {} as { events?: string; start_time?: number; end_time?: number; limit?: number; order?: "asc" | "desc" };
const result: GetActivityLogsOutput = await figma.getActivityLogs(input);

// Result shape (from schema): { status?: 200; error?: false; meta?: { activity_logs?: ({ id: string; timestamp: number; actor: { [key: string]: unknown } | null; action: { type: string; details: { [key: string]: unknown } | null }; entity: { type: "...