Get a user profile
GET/api/users/{handle}
getUserProfile
Returns public profile information for the given handle.
Authentication is not described for this operation in the spec — that does not mean it is public. Check tokens and scopes.
curl
curl -X GET 'https://neosource.dev/api/users/HANDLE'fetch
fetch("https://neosource.dev/api/users/HANDLE", {
method: "GET",
});Path parameters
handlerequiredUsername slug.
Responses
200User profile
application/json
Standard errors
Bodies documented once for the whole API — see standard errors.
- 400Bad Request — one of: invalid_input
- 404Not Found — one of: not_found
- 429Rate limited — retry after the `Retry-After` header
- 500Internal server error
- 503Service temporarily unavailable / at capacity — retry after the `Retry-After` header
- 504Gateway timeout — the request exceeded the server's handling budget
Schemas
Referenced above. Listed here rather than expanded inline, so the same definition is not repeated at every level.
WorkspaceKind
The kind of workspace (namespace container).
"personal""organization"
WorkspaceRole
Workspace membership role. Ordered low → high (`Member < Admin < Owner`) so that `if actor_role >= WorkspaceRole::Admin` reads naturally.
"member""admin""owner"