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.

GET
/v1/orgs/{org}/service-accounts
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]$
Length2 <= length <= 64

Query Parameters

q?string

Return only service accounts whose name starts with this text or whose display name contains it, ignoring case

Lengthlength <= 100
cursor?string

Opaque pagination cursor from a previous response

limit?integer

Maximum number of items to return (1–100)

Formatint32
Range1 <= value <= 100
Default20

Response 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  }}