---
title: "Get Context"
method: GET
path: "/agents/v2/context"
tags: ["Context"]
---

# Get Context

`GET /agents/v2/context`

## Request

- Base URL: `https://odyssey.asteroid.ai`
- URL: `https://odyssey.asteroid.ai/agents/v2/context`
- Auth: API key in header `X-Api-Key`

Get the current user's context including organization memberships

## Response `200`

The request has succeeded.

- AgentsContextUserContextResponse
  - `email` string, required
  - `organizations` AgentsContextUserOrganization[], required
    - `id` string, uuid, required
    - `name` string, required
  - `userId` string, uuid, required

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `401`: Access is unauthorized.
- `403`: Access is forbidden.
- `404`: The server cannot find the requested resource.
- `500`: Server error

---

[API](https://skmtc.dev/asteroid/apis/agent-service.md) - [All operations](https://skmtc.dev/asteroid/apis/agent-service/llms.txt) - [OpenAPI document](https://skmtc.dev/asteroid/apis/agent-service/revisions/ccc134d1d510?raw)
