List builds of project templates
List builds, newest first. Requires read access to the project.
List builds, newest first. Requires read access to the project.
Authorization
apiKey API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
Organization name
Project name
Query Parameters
Narrow to one project by name. Only the project in the path is in scope, so another name returns an empty list.
length <= 63Narrow to one template by name
length <= 80Filter by build id prefix, template name prefix, or requested tag prefix.
length <= 100Continue after this build id
length <= 64Page size, 50 by default
int321 <= value <= 200Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/orgs/string/projects/string/template-builds"{ "items": [ { "can_cancel": true, "cancelled_by": { "display_name": "string", "id": "string", "username": "string" }, "created_at": "2019-08-24T14:15:22Z", "error": "string", "finished_at": "2019-08-24T14:15:22Z", "id": "string", "image_ref": "string", "project": { "display_name": "Online Shop", "name": "online-shop" }, "resolved_digest": "string", "started_at": "2019-08-24T14:15:22Z", "status": "pending", "steps": [ { "attempt": 0, "context": { "user": "string", "workdir": "string" }, "exit_code": 0, "finished_at": "2019-08-24T14:15:22Z", "name": "string", "started_at": "2019-08-24T14:15:22Z", "status": "running", "step_index": 0, "tolerated": true, "type": "string" } ], "tags_on_success": [ "string" ], "template": { "deleted": true, "display_name": "Go Development", "id": "string", "name": "go-dev" }, "version_id": "string", "wait_reason": "string" } ], "pagination": { "has_more": true, "next_cursor": "string", "total_count": 0 }}{ "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}List builds of organization templates GET
List builds, newest first. `q` matches the start of a build id, of a template name, or of the tag the build asked for. Send `q` with every page of a filtered list: the cursor carries the position, not the filter. Requires organization membership.
Tail a template build's log GET
Server-sent events. Replays the log from the cursor, then continues live. A line frame's SSE id resumes the stream as Last-Event-ID. Comment frames keep a quiet build's connection open.