Skip to content

Application

@blobs/sdk v0.1.0


@blobs/sdk / services / Application

Defined in: services/ApplicationsService.ts:19

OAuth-style application record used for programmatic API access via API keys.

Properties

id

id: string

Defined in: services/ApplicationsService.ts:21

Unique application identifier.


user_id

user_id: string

Defined in: services/ApplicationsService.ts:23

Owner user ID.


org_id?

optional org_id?: string

Defined in: services/ApplicationsService.ts:25

Optional owning organization ID.


network_id

network_id: string

Defined in: services/ApplicationsService.ts:27

Network this application is scoped to.


name

name: string

Defined in: services/ApplicationsService.ts:29

Human-readable application name.


description?

optional description?: string

Defined in: services/ApplicationsService.ts:31

Optional human-readable description.


api_key?

optional api_key?: string

Defined in: services/ApplicationsService.ts:33

Full API key, returned only when creating or rotating; never on subsequent reads.


api_key_prefix

api_key_prefix: string

Defined in: services/ApplicationsService.ts:35

Public prefix of the API key (safe to display, e.g. bk_abc1234).


permissions

permissions: string[]

Defined in: services/ApplicationsService.ts:37

Granted permission scopes.


is_enabled

is_enabled: boolean

Defined in: services/ApplicationsService.ts:39

True when the application is active and may authenticate requests.


rate_limit

rate_limit: number

Defined in: services/ApplicationsService.ts:41

Rate limit (requests per unit) enforced for this application.


expires_at?

optional expires_at?: string

Defined in: services/ApplicationsService.ts:43

Optional expiration timestamp (ISO-8601).


last_used_at?

optional last_used_at?: string

Defined in: services/ApplicationsService.ts:45

Timestamp of the most recent successful authentication using this application.


metadata?

optional metadata?: Record<string, unknown>

Defined in: services/ApplicationsService.ts:47

Free-form metadata attached to the application.


created_at

created_at: string

Defined in: services/ApplicationsService.ts:49

Creation timestamp (ISO-8601).


updated_at

updated_at: string

Defined in: services/ApplicationsService.ts:51

Last-update timestamp (ISO-8601).