---
title: "Get Service Keys"
method: GET
path: "/api/v1/user/service-keys"
tags: ["main"]
---

# Get Service Keys

`GET /api/v1/user/service-keys`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/user/service-keys`
- Auth: none declared

Get all service keys for the user's organization.

## Query parameters

- `include_archived` boolean

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- ServiceKeyResponse[]
  - `name` string, required
  - `id` integer, required
  - `key_prefix` string, required
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `last_used_at` string, date-time, nullable
  - `expires_at` string, date-time, nullable
  - `archived_at` string, date-time, nullable
  - `created_by` string, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/user/service-keys/get.md)

---

[API](https://skmtc.dev/dograh/apis/dograh-api.md) - [All operations](https://skmtc.dev/dograh/apis/dograh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dograh/apis/dograh-api/revisions/faa00cf76fcb?raw)
