Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
/api/v1/projects/{projectId}/surfaces/{id}PATCH
Path Parameters
projectId *string
id *string
Request Bodyapplication/jsonrequired
name?string
slug?string
kind?"web" | "ios" | "apple" | "android" | "service" | "cli" | "unknown"
path?string | null
Response
200
id *string
projectId *string
name *string
slug *string
kind *"web" | "ios" | "apple" | "android" | "service" | "cli" | "unknown"
path *string | null
createdAt *object
updatedAt *object
ok *boolean
400
error *string
404
error *string
Request example
curl -X PATCH "https://api.example.com/api/v1/projects/<projectId>/surfaces/<id>" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string", "kind": "web", "path": "string" }'