Functions
Upload function release
/api/task/uploadUpload the ZIP produced by the Thyme CLI. Metadata is JSON encoded in the data field. The checksum is SHA-256 of the complete ZIP, including permissions.json when present. Active name/tag/checksum matches return the existing release; this endpoint does not implement Idempotency-Key replay. Owner/admin membership and functions:upload are required. Required scope: functions:upload. Owner/admin membership is required.
Request Body
multipart/form-datastringJSON-encoded metadata: workspaceId, projectId, taskName, checkSum (SHA-256), optional versionTag, optional schema (JSON string), optional definedCallbacks (string array). permissions.json must be inside the archive, not this metadata.
Responses
Delete function release
/api/v1/functions/{functionId}Required scope: functions:delete. Owner/admin membership is required.
Path Parameters
Header Parameters
stringRequired for an unbound key; a management credential is already workspace-bound.
Responses
Copy function release
/api/v1/functions/{functionId}/copyRequired scope: functions:upload. Owner/admin membership is required.
Path Parameters
Header Parameters
stringRequired for an unbound key; a management credential is already workspace-bound.