Skip to main content
GET
/
service-accounts
/
{service_account_id}
Get a ServiceAccount
curl --request GET \
  --url https://api.emulator.farm/v1/service-accounts/{service_account_id} \
  --header 'X-EMULATOR-FARM-API-KEY: <api-key>'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "ci-pipeline-service",
  "created_at": "2025-12-10T12:00:00Z",
  "updated_at": "2025-12-10T12:00:00Z",
  "description": "Service account for CI/CD pipeline",
  "metadata": {
    "environment": "production",
    "owner": "devops-team"
  }
}

Authorizations

X-EMULATOR-FARM-API-KEY
string
header
required

Path Parameters

service_account_id
string<uuid>
required

The unique identifier of the ServiceAccount

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

ServiceAccount retrieved successfully

id
string<uuid>
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string
required
Example:

"ci-pipeline-service"

created_at
string<date-time>
required
Example:

"2025-12-10T12:00:00Z"

updated_at
string<date-time>
required
Example:

"2025-12-10T12:00:00Z"

description
string | null
Example:

"Service account for CI/CD pipeline"

metadata
object
Example:
{
"environment": "production",
"owner": "devops-team"
}