Organizations and ProjectsService accounts
List service accounts
List the organization service accounts, which needs an organization admin. On the project route, list the service accounts of the project, which needs a project admin.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
org*string
Organization name
Match
^[a-z0-9][a-z0-9-]*[a-z0-9]$Length
2 <= length <= 64Query Parameters
q?string
Return only service accounts whose name starts with this text or whose display name contains it, ignoring case
Length
length <= 100cursor?string
Opaque pagination cursor from a previous response
limit?integer
Maximum number of items to return (1–100)
Format
int32Range
1 <= value <= 100Default
20Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/orgs/string/service-accounts"{ "items": [ { "created_at": "string", "created_by_user_id": "string", "description": "string", "display_name": "CI deploy", "name": "ci-deploy", "org_role": "member", "project": "string", "status": "active", "updated_at": "string", "user_id": "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"}