custom-tools

Publish a custom tool version

Publish a completed version.

By default this publishes the latest completed version. Pass version=v2 to publish or roll back to a specific completed version.

post/api/custom-tools/{name}/publish

Request

  • Base URL: https://app.tamarind.bio
  • URL: https://app.tamarind.bio/api/custom-tools/{name}/publish
  • Auth: API key in header x-api-key

Path parameters

namestring required

The custom tool name.

Query parameters

versionstring nullable

A version number such as v3. Omit it to use the endpoint's documented default.

Headers

If-Matchstring

Optional resource condition. Send the Tool ETag to protect its current representation. SDK Version resources may instead send the selected Version ETag to fence publication to that tool lifetime.

Response

The Tool with its published version updated.

autoPublishboolean required
canBuildboolean required
canEditboolean required
cpuinteger required
createdAtstring required
defaultVersionstring nullable required

The version used by default, such as v3. Null when no version is published.

descriptionstring required
displayNamestring required
estTimestring required
etagstring required

Opaque SDK-managed validator for this Tool snapshot.

functionsstring[] required
gpuType'None' | 'T4' | 'L4' | 'L40S' | 'A10' | 'A100' required
hasSourceboolean required
homeDiskGiinteger required
maxRuntimeSecondsinteger nullable required

Maximum runtime for a tool run, in seconds. Null means no tool-specific limit.

memory'8Gi' | '12Gi' | '24Gi' | '32Gi' | '48Gi' | '64Gi' | '90Gi' | '96Gi' | '180Gi' required
namestring required
paperUrlstring required
publishedboolean required
sourceDigeststring nullable required

SHA-256 digest of the current source archive after it has been admitted for a build. Null when the current source is unbuilt, absent, or hidden.

status'Draft' | 'Building' | 'Deployed' required
tagsstring[] required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.