---
title: "Who this key is: its organization, agent and credential."
method: GET
path: "/v1/me"
tags: ["account"]
---

# Who this key is: its organization, agent and credential.

`GET /v1/me`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/me`
- Auth: HTTP bearer

## Response `200`

Success

- object
  - `orgId` string, required: The organization this key acts for.
  - `principalId` string, required: The agent this key belongs to.
  - `credentialId` string, nullable, required
  - `apiVersion` string, required
  - `orgName` string, nullable: The account's name, as its members see it.
  - `role` string, nullable: The role of the member who made this key: owner, admin, developer or billing. It bounds what the key may do.
  - `compartment` object, nullable: The compartment this key is limited to, or null for a key that is in none. A key in a compartment reaches only what its compartment's keys made.
    - `id` string, required
    - `name` string, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
