Skip to main content
GET
/
api
/
v1
/
me
Get API key context
import requests

url = "https://api.memic.ai/api/v1/me"

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization_name": "<string>",
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "project_name": "<string>",
  "environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "environment_slug": "<string>"
}

Authorizations

X-API-Key
string
header
required

Memic API key. Every key is bound to exactly one environment — get one from the Memic dashboard under API Keys.

Response

Successful Response

Response for API key info endpoint.

organization_id
string<uuid>
required
organization_name
string | null
project_id
string<uuid> | null
project_name
string | null
environment_id
string<uuid> | null
environment_slug
string | null