API Documentation

List custom tool versions

GET/api/custom-tools/{name}/versions

List versions of a custom tool.

Filter by build status. Paginated — follow nextCursor until it is null.

Parameters
namepathrequired

The custom tool name.

statusqueryoptional

Filter by build status.

limitqueryoptional

Maximum number of versions to return in one page.

cursorqueryoptional

Pagination token from the previous response's nextCursor.

HTTP Response Status Codes
Status codeDescription
200Successful Response
401API key missing or invalid.
404The addressed resource does not exist, or is not visible to your tenant.
412A supplied request condition did not match the current resource. Fetch the resource again before retrying.
422The request was malformed or failed validation; see `errors` for the offending fields.
1import requests
2
3api_key = "***************"
4url = "https://app.tamarind.bio/api/custom-tools/your-name/versions"
5headers = {"x-api-key": api_key}
6
7resp = requests.get(url, headers=headers)
8print(resp.status_code, resp.json())
Response
1{
2  "items": [
3    {
4      "completedAt": "string",
5      "createdAt": "string",
6      "error": {
7        "code": null,
8        "message": null
9      },
10      "origin": "string",
11      "sourceRevision": "string",
12      "startedAt": "string",
13      "status": "Queued",
14      "terminal": false,
15      "version": "v1"
16    }
17  ],
18  "nextCursor": "string"
19}