me
Get the authenticated principal
Returns the API key presented on the request, together with the active organization, the abilities currently in effect, and the projects you may act in.
get/api/v1/me
Request
- Base URL: https://pineprompt.com
- URL: https://pineprompt.com/api/v1/me
- Auth: HTTP bearer
Response
OK
Example response
{
"organization": {
"id": 7,
"name": "Acme Inc.",
"created_at": "2026-05-15T09:11:42+00:00",
"updated_at": "2026-05-15T09:11:42+00:00"
},
"abilities": [
"organization:read",
"monitors:read",
"monitors:write"
],
"projects": [
{
"id": 42,
"organization_id": 7,
"name": "Acme Marketing",
"brand_id": 555,
"organization": {
"id": 7,
"name": "Acme Inc.",
"created_at": "2026-05-15T09:11:42+00:00",
"updated_at": "2026-05-15T09:11:42+00:00"
},
"created_at": "2026-05-15T09:11:42+00:00",
"updated_at": "2026-05-15T09:11:42+00:00"
}
],
"api_key": {
"id": 84,
"name": "CI pipeline",
"last_used_at": "2026-05-15T09:11:42+00:00",
"created_at": "2026-05-15T09:11:42+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.