http
GET /projects/{project_reference}/members/{user_id}Returns one member of the project with role, capabilities and the read-only AI budget projection. Requires project.members.read.
Servers
JSON
1[2 {3 "url": "https://api.veryfront.com"4 }5]Authentication
JSON
1[2 {3 "bearerAuth": []4 },5 {6 "apiKeyAuth": []7 }8]JSON
1{2 "bearerAuth": {3 "type": "http",4 "scheme": "bearer",5 "bearerFormat": "JWT or API Key",6 "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."7 },8 "apiKeyAuth": {9 "type": "apiKey",10 "in": "header",11 "name": "X-API-Key",12 "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."13 }14}Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| project_reference | path | Yes | Project slug, UUID, or domain that identifies the project. |
| user_id | path | Yes | User ID of the project member. |
Parameter contracts
JSON
1[2 {3 "schema": {4 "$ref": "#/components/schemas/ProjectReference"5 },6 "required": true,7 "description": "Project slug, UUID, or domain that identifies the project.",8 "name": "project_reference",9 "in": "path"10 },11 {12 "schema": {13 "type": "string",14 "format": "uuid",15 "description": "User ID of the project member."16 },17 "required": true,18 "description": "User ID of the project member.",19 "name": "user_id",20 "in": "path"21 }22]Responses
200
The project member with the read-only AI budget projection
JSON
1{2 "description": "The project member with the read-only AI budget projection",3 "content": {4 "application/json": {5 "schema": {6 "type": "object",7 "properties": {8 "user_id": {9 "type": "string",10 "format": "uuid",11 "description": "User ID of the project member."12 },13 "email": {14 "type": "string",15 "description": "Email address of the member."16 },17 "name": {18 "type": [19 "string",20 "null"21 ],22 "description": "Display name of the member; null when the member has none."23 },24 "avatar_src": {25 "type": [26 "string",27 "null"28 ],29 "description": "Avatar URL of the member; null when the member has none."30 },31 "role": {32 "type": "string",33 "enum": [34 "owner",35 "admin",36 "editor",37 "viewer"38 ],39 "description": "Project role of the member: owner, admin, editor or viewer."40 },41 "source": {42 "type": "string",43 "enum": [44 "project",45 "account"46 ],47 "description": "Where the access comes from: project (a project membership; role is the project role) or account (an owner or admin of the account that owns the project; role is the account role, managed on the account)."48 },49 "capabilities": {50 "type": "array",51 "items": {52 "type": "string",53 "enum": [54 "project.read",55 "project.settings.manage",56 "project.delete",57 "project.members.read",58 "project.members.manage",59 "project.invites.read",60 "project.invites.manage",61 "project.files.read",62 "project.files.write",63 "project.realtime.connect",64 "project.realtime.write",65 "project.files.admin",66 "project.uploads.read",67 "project.uploads.write",68 "project.uploads.admin",69 "project.knowledge.read",70 "project.knowledge.write",71 "project.releases.read",72 "project.releases.write",73 "project.deployments.read",74 "project.deployments.write",75 "project.deploy.execute",76 "project.runtime.manage",77 "project.channels.read",78 "project.channels.write",79 "project.sandboxes.manage",80 "project.domains.write",81 "project.environments.manage",82 "project.env_vars.write",83 "project.runs.read",84 "project.runs.write",85 "project.runs.admin",86 "project.approvals.decide",87 "project.agents.read",88 "project.agents.write",89 "project.evals.read",90 "project.evals.write",91 "project.evals.run",92 "project.conversations.read",93 "project.conversations.write",94 "project.conversations.create",95 "project.integrations.read",96 "project.integrations.connect",97 "project.integrations.configure",98 "project.api_keys.read",99 "project.api_keys.manage",100 "project.cache.read",101 "project.cache.write",102 "project.logs.read",103 "project.metrics.read",104 "project.resources.read"105 ]106 },107 "description": "Project capabilities the role grants, as the permission checks resolve them."108 },109 "budget": {110 "$ref": "#/components/schemas/SubjectBudget"111 },112 "budget_status": {113 "$ref": "#/components/schemas/SubjectBudgetStatus"114 }115 },116 "required": [117 "user_id",118 "email",119 "name",120 "avatar_src",121 "role",122 "source",123 "capabilities",124 "budget",125 "budget_status"126 ]127 }128 }129 }130}400
Invalid user ID
JSON
1{2 "description": "Invalid user ID",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}401
Unauthorized
JSON
1{2 "description": "Unauthorized",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}403
Forbidden - insufficient permissions
JSON
1{2 "description": "Forbidden - insufficient permissions",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}404
Project or member not found
JSON
1{2 "description": "Project or member not found",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}500
Server error
JSON
1{2 "description": "Server error",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}503
internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.
JSON
1{2 "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}Referenced contracts
components/parameters/ProjectReference
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/ProjectReference"4 },5 "required": true,6 "description": "Project slug, UUID, or domain that identifies the project.",7 "name": "project_reference",8 "in": "path"9}components/schemas/ProjectReference
JSON
1{2 "type": "string"3}components/schemas/SubjectBudget
JSON
1{2 "type": [3 "object",4 "null"5 ],6 "properties": {7 "monthly_limit_usd": {8 "type": "number",9 "description": "Monthly AI spend limit for this subject, in USD"10 },11 "monthly_limit_credits": {12 "type": "number",13 "description": "The same limit in credits, the unit spend is counted in"14 }15 },16 "required": [17 "monthly_limit_usd",18 "monthly_limit_credits"19 ],20 "description": "The subject’s monthly AI budget, or null if no budget is configured. Read-only; use `/budgets` to manage budgets."21}components/schemas/SubjectBudgetStatus
JSON
1{2 "type": [3 "object",4 "null"5 ],6 "properties": {7 "used": {8 "type": "number",9 "description": "Credits the subject has spent since the budget month began"10 },11 "remaining": {12 "type": "number",13 "description": "Credits remaining before the budget rejects further requests."14 },15 "resets_at": {16 "type": "string",17 "description": "Budget reset time: midnight UTC on the first day of the next month."18 }19 },20 "required": [21 "used",22 "remaining",23 "resets_at"24 ],25 "description": "Usage against the budget for the current month, or null if the subject has no budget."26}components/schemas/Problem
JSON
1{2 "type": "object",3 "properties": {4 "cause": {5 "type": "string",6 "enum": [7 "schedule_concurrency_forbidden",8 "schedule_fire_in_progress",9 "schedule_run_limit_reached"10 ],11 "description": "Schedule admission refusal."12 },13 "idempotency": {14 "type": "object",15 "properties": {16 "state": {17 "type": "string",18 "enum": [19 "in_progress",20 "payload_mismatch",21 "outcome_unknown"22 ]23 },24 "operation": {25 "type": "string",26 "minLength": 127 },28 "retryable": {29 "type": "boolean"30 },31 "retry_after_seconds": {32 "type": [33 "integer",34 "null"35 ],36 "minimum": 037 },38 "expires_at": {39 "type": [40 "string",41 "null"42 ]43 },44 "recovery": {45 "type": "object",46 "properties": {47 "available": {48 "type": "boolean"49 },50 "description": {51 "type": "string"52 },53 "resource_url": {54 "type": "string"55 }56 },57 "required": [58 "available",59 "description"60 ]61 }62 },63 "required": [64 "state",65 "operation",66 "retryable",67 "retry_after_seconds",68 "expires_at"69 ],70 "description": "Replay status, retry timing, and recovery lookup."71 },72 "type": {73 "type": "string",74 "description": "URI reference identifying the problem type",75 "example": "https://api.veryfront.com/errors/validation-failed"76 },77 "title": {78 "type": "string",79 "description": "Short human-readable summary of the problem",80 "example": "Validation Failed"81 },82 "status": {83 "type": "integer",84 "minimum": 100,85 "maximum": 599,86 "description": "HTTP status code",87 "example": 40088 },89 "code": {90 "type": "string",91 "description": "Stable machine-readable error code",92 "example": "RUN_INVALID_INPUT"93 },94 "detail": {95 "type": "string",96 "description": "Human-readable explanation specific to this occurrence",97 "example": "The 'email' field must be a valid email address"98 },99 "instance": {100 "type": "string",101 "description": "URI reference identifying the specific occurrence",102 "example": "/projects/my-project/members"103 },104 "slug": {105 "type": "string",106 "description": "Stable identifier for the problem type",107 "example": "validation-failed"108 },109 "category": {110 "type": "string",111 "enum": [112 "AUTH",113 "RESOURCE",114 "VALIDATION",115 "DATABASE",116 "SUBSCRIPTION",117 "INTEGRATION",118 "INTERNAL"119 ],120 "description": "API error category",121 "example": "VALIDATION"122 },123 "suggestion": {124 "type": "string",125 "description": "Suggested action to resolve the problem",126 "example": "Check the request body and query parameters against the API documentation."127 },128 "errors": {129 "type": "array",130 "items": {131 "type": "object",132 "properties": {133 "field": {134 "type": "string",135 "description": "Field path that caused the error",136 "example": "email"137 },138 "message": {139 "type": "string",140 "description": "Error message for this field",141 "example": "Invalid email format"142 },143 "code": {144 "type": "string",145 "description": "Error code for this field",146 "example": "INVALID_FORMAT"147 }148 },149 "required": [150 "field",151 "message"152 ]153 },154 "description": "Detailed field-level errors for validation failures"155 }156 },157 "required": [158 "type",159 "title",160 "status"161 ]162}Operation contract
JSON
1{2 "operationId": "getProjectMember",3 "tags": [4 "identity-access/Users/Project members"5 ],6 "summary": "Get project member",7 "description": "Returns one member of the project with role, capabilities and the read-only AI budget projection. Requires project.members.read.",8 "parameters": [9 {10 "$ref": "#/components/parameters/ProjectReference"11 },12 {13 "schema": {14 "type": "string",15 "format": "uuid",16 "description": "User ID of the project member."17 },18 "required": true,19 "description": "User ID of the project member.",20 "name": "user_id",21 "in": "path"22 }23 ],24 "responses": {25 "200": {26 "description": "The project member with the read-only AI budget projection",27 "content": {28 "application/json": {29 "schema": {30 "type": "object",31 "properties": {32 "user_id": {33 "type": "string",34 "format": "uuid",35 "description": "User ID of the project member."36 },37 "email": {38 "type": "string",39 "description": "Email address of the member."40 },41 "name": {42 "type": [43 "string",44 "null"45 ],46 "description": "Display name of the member; null when the member has none."47 },48 "avatar_src": {49 "type": [50 "string",51 "null"52 ],53 "description": "Avatar URL of the member; null when the member has none."54 },55 "role": {56 "type": "string",57 "enum": [58 "owner",59 "admin",60 "editor",61 "viewer"62 ],63 "description": "Project role of the member: owner, admin, editor or viewer."64 },65 "source": {66 "type": "string",67 "enum": [68 "project",69 "account"70 ],71 "description": "Where the access comes from: project (a project membership; role is the project role) or account (an owner or admin of the account that owns the project; role is the account role, managed on the account)."72 },73 "capabilities": {74 "type": "array",75 "items": {76 "type": "string",77 "enum": [78 "project.read",79 "project.settings.manage",80 "project.delete",81 "project.members.read",82 "project.members.manage",83 "project.invites.read",84 "project.invites.manage",85 "project.files.read",86 "project.files.write",87 "project.realtime.connect",88 "project.realtime.write",89 "project.files.admin",90 "project.uploads.read",91 "project.uploads.write",92 "project.uploads.admin",93 "project.knowledge.read",94 "project.knowledge.write",95 "project.releases.read",96 "project.releases.write",97 "project.deployments.read",98 "project.deployments.write",99 "project.deploy.execute",100 "project.runtime.manage",101 "project.channels.read",102 "project.channels.write",103 "project.sandboxes.manage",104 "project.domains.write",105 "project.environments.manage",106 "project.env_vars.write",107 "project.runs.read",108 "project.runs.write",109 "project.runs.admin",110 "project.approvals.decide",111 "project.agents.read",112 "project.agents.write",113 "project.evals.read",114 "project.evals.write",115 "project.evals.run",116 "project.conversations.read",117 "project.conversations.write",118 "project.conversations.create",119 "project.integrations.read",120 "project.integrations.connect",121 "project.integrations.configure",122 "project.api_keys.read",123 "project.api_keys.manage",124 "project.cache.read",125 "project.cache.write",126 "project.logs.read",127 "project.metrics.read",128 "project.resources.read"129 ]130 },131 "description": "Project capabilities the role grants, as the permission checks resolve them."132 },133 "budget": {134 "$ref": "#/components/schemas/SubjectBudget"135 },136 "budget_status": {137 "$ref": "#/components/schemas/SubjectBudgetStatus"138 }139 },140 "required": [141 "user_id",142 "email",143 "name",144 "avatar_src",145 "role",146 "source",147 "capabilities",148 "budget",149 "budget_status"150 ]151 }152 }153 }154 },155 "400": {156 "description": "Invalid user ID",157 "content": {158 "application/problem+json": {159 "schema": {160 "$ref": "#/components/schemas/Problem"161 }162 }163 }164 },165 "401": {166 "description": "Unauthorized",167 "content": {168 "application/problem+json": {169 "schema": {170 "$ref": "#/components/schemas/Problem"171 }172 }173 }174 },175 "403": {176 "description": "Forbidden - insufficient permissions",177 "content": {178 "application/problem+json": {179 "schema": {180 "$ref": "#/components/schemas/Problem"181 }182 }183 }184 },185 "404": {186 "description": "Project or member not found",187 "content": {188 "application/problem+json": {189 "schema": {190 "$ref": "#/components/schemas/Problem"191 }192 }193 }194 },195 "500": {196 "description": "Server error",197 "content": {198 "application/problem+json": {199 "schema": {200 "$ref": "#/components/schemas/Problem"201 }202 }203 }204 },205 "503": {206 "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",207 "content": {208 "application/problem+json": {209 "schema": {210 "$ref": "#/components/schemas/Problem"211 }212 }213 }214 }215 },216 "x-documentation-source-tag": "Project Members",217 "x-canonical-documentation": {218 "domain": "identity-access",219 "resource": "Users",220 "subgroup": "Project members",221 "name": "Get project member",222 "description": "Returns one member of the project with role, capabilities and the read-only AI budget projection. Requires project.members.read.",223 "operationId": "getProjectMember"224 },225 "x-mint": {226 "href": "/cloud/rest/api-reference/identity-access-users-project-members/get-project-member"227 }228}