Get project access
OpenAPI contract
- Method
- GET
- Path
/api/v1/projects/{id}/access- Security
- jwtBearer (bearer)
- Response status
- 200 400 401 403 404 409 429 500
Request and response schemas
JSON
{
"requestBody": {},
"responses": {
"200": {
"description": "Project access",
"content": {
"application/json": {
"$ref": "#/components/schemas/ProjectAccessResponse"
}
}
},
"400": {
"description": "Invalid request",
"content": {
"application/json": {
"$ref": "#/components/schemas/RequestError"
}
}
},
"401": {
"description": "Authentication required or invalid",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"403": {
"description": "Authenticated but not permitted",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"404": {
"description": "Requested project or build was not found",
"content": {
"application/json": {
"$ref": "#/components/schemas/ApiError"
}
}
},
"409": {
"description": "Request conflicts with current project state",
"content": {
"application/json": {
"$ref": "#/components/schemas/ApiError"
}
}
},
"429": {
"description": "HTTP rate limit or API-key NCU usage limit exceeded",
"content": {
"application/json": {
"$ref": "#/components/schemas/RateLimitError"
}
}
},
"500": {
"description": "Unexpected server error",
"content": {
"application/json": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}GET /api/v1/projects/{id}/access is JWT-only. A caller who can view the project or manage its access receives the project ID, workspace ID, access mode (WORKSPACE or RESTRICTED), effective project role when one resolves, and the caller's capabilities.
The server resolves current workspace membership and direct grants on every request. A project outside both the caller's visible and management boundary is reported as not found. An nfy_ automation key cannot call this control-plane operation.