---
title: "Account"
method: GET
path: "/api/accounts/{account_id}"
---

# Account

`GET /api/accounts/{account_id}`

## Path parameters

- `account_id` integer, required

## Response `200`

Successful Response

- AccountDTO
  - `githubAccountId` integer, required
  - `login` string, required
  - `type` 'user' | 'organization', required
  - `role` 'owner' | 'member' | 'unknown', required
  - `avatarUrl` string, required
  - `installationId` integer, required
  - `repositorySelection` 'all' | 'selected', nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/codealmanac/apis/codealmanac-api.md) · [All operations](https://skmtc.dev/codealmanac/apis/codealmanac-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codealmanac/codealmanac-api/revisions/bc053e1aa7f6/schema)
