LynceaAPI

Get my project role

Resolves the role with the same `org→admin` derivation as `RolesGuard`. Returns `{ role: null }` when the user is neither a project member nor an org owner/admin. Cross-tenant probes return 404 (existence-leak prevention).

GET
/api/v1/projects/{projectId}/me
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Response Body

application/json

curl -X GET "https://api.monitoring.crahe-arthur.com/api/v1/projects/string/me"
{
  "role": "admin"
}