API Documentation

List build logs

GET/api/custom-tools/{name}/build-logs

List build log events for a version.

By default this reads the latest version. Pass version=v2 for a specific version. Paginated — follow nextCursor until it is null.

Python SDK equivalentbuild.version.monitor(..., on_event=...)
Parameters
namepathrequired

The custom tool name.

versionqueryoptional
cursorqueryoptional

Pagination token from the previous response's nextCursor.

HTTP Response Status Codes
Status codeDescription
200Build events and current version status.
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/build-logs"
5headers = {"x-api-key": api_key}
6
7resp = requests.get(url, headers=headers)
8print(resp.status_code, resp.json())
Response
1{
2  "error": {
3    "code": "string",
4    "message": "string"
5  },
6  "items": [
7    {
8      "message": "string",
9      "timestamp": 0
10    }
11  ],
12  "nextCursor": "string",
13  "status": "Queued",
14  "version": "v1"
15}