---
title: "Resolve the credential's organization and library scope."
method: GET
path: "/me"
tags: ["Account"]
---

# Resolve the credential's organization and library scope.

`GET /me`

## Request

- Base URL: `https://api.raster.app`
- URL: `https://api.raster.app/me`
- Auth: HTTP bearer

Returns the organization the presented credential belongs to and the libraries it can reach, each with a read or write access level. Call this first to discover ids — every other operation needs an organizationId and libraryId.

## Headers

- `Api-Version` string, required

## Response `200`

OK

- object
  - `data` union, required: What the credential can act on. An API key, or an OAuth token bound to one organization, resolves that organization; a token granted the whole account resolves every organization it belongs to under `organizations`. An OAuth token also carries `user`; an API key does not.
    - object
      - `organizationId` string, required
      - `organizationName` string, nullable, required
      - `plan` string, nullable, required
      - `libraries` object[], required
        - `library` string, required
        - `access` 'read' | 'write', required
      - `user` object: The account an OAuth access token acts as.
        - `name` string, nullable, required
    - object
      - `organizations` object[], required
        - `organizationId` string, required
        - `organizationName` string, nullable, required
        - `plan` string, nullable, required
        - `libraries` object[], required
          - `library` string, required
          - `access` 'read' | 'write', required
      - `user` object, required: The account an OAuth access token acts as.
        - `name` string, nullable, required

## Other responses

- `400`: Invalid input (BAD_USER_INPUT), quota, or API-version error.
- `401`: Missing or invalid API key or access token.
- `403`: The credential may not perform this operation, or the organization's plan does not allow it. A key without access to a library gets 404, not 403.
- `429`: Rate limit exceeded. Wait for the number of seconds in `Retry-After` before retrying.
- `500`: Unexpected server fault (INTERNAL_SERVER_ERROR). Safe to retry an idempotent operation.

---

[API](https://skmtc.dev/raster/apis/raster-rest-api.md) · [All operations](https://skmtc.dev/raster/apis/raster-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/raster/apis/raster-rest-api/revisions/5e1b9d912d01?raw)
