artifacts

Import a design system [write]

Changed on

Imports a design system's file table (the shape a Claude Design System artifact keeps: design-system.json, tokens.json, README.md, components/<Name>/README.md and preview.html, assets/…, fonts/…, with or without the leading project/) into the task's files under design-systems/<slug>/project/, then publishes that folder as an artifact named after its title. Binary files are data: URIs. 400 lists every refused path: .., dot segments, toolchain manifests and blob: pointers into another service's store.

post/artifacts/design-systems

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/artifacts/design-systems
  • Auth
    HTTP bearer

Request body

task_idstring required
titlestring

Replaces the index's title; required when the table has none

filesobject required

Path → text, or a data: URI for binary files; at most 500

Response

Created

Changes