custom-tools

Cancel a custom tool build

Request cancellation of an active build.

When exactly one build is active, no version is needed. If multiple builds are active, pass a version such as version=v2. Cancellation is a request; continue polling for the outcome.

post/api/custom-tools/{name}/cancel-build

Request

  • Base URL: https://app.tamarind.bio
  • URL: https://app.tamarind.bio/api/custom-tools/{name}/cancel-build
  • 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 used by SDKs to prevent a stale version handle from changing a replacement tool with the same name. The SDK manages this value automatically.

Response

The version with cancellation requested.

completedAtstring nullable required
createdAtstring required
etagstring required

Opaque SDK-managed validator for this exact Version snapshot.

lifetimeEtagstring required

Opaque SDK-managed validator for the Tool lifetime that owns this Version.

originstring required
sourceDigeststring nullable required

SHA-256 digest of this version's source archive. Null when source is hidden.

sourceRevisionstring nullable required

Immutable source revision used by this version. Null when source is hidden.

startedAtstring required
status'Queued' | 'Running' | 'Complete' | 'Stopped' required
terminalboolean required

Whether the build has reached a final status and will not run again.

versionstring required

The version number, such as v3.

Changes

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