identity ยท version 0.1.0
Get the authenticated workspace snapshot
GET /api/me
Returns the authenticated user, their workspace (organization), entitlements, capability flags, and a dashboard snapshot (projects, recent runs, billing state).
Request
GET https://sourced.sh/api/me
Responses
200
Workspace snapshot.
application/json
WorkspaceSnapshot:
type: object
required: auth, data, capabilities
properties:
auth (required): object
type: object
required: provider, authenticated
properties:
provider (required): string
authenticated (required): boolean
localDev: boolean
data (required): object
type: object
required: driver, durable
properties:
driver (required): string enum neon | local
durable (required): boolean
capabilities (required): Capabilities
Capabilities:
type: object
organization: Organization
Organization:
type: object
required: id, name
properties:
id (required): string
name (required): string
plan: string
user: User
User:
type: object
required: id
properties:
id (required): string
email: string
entitlements: Entitlements
Entitlements:
type: object
projects: array
type: array
runs: array
type: array