Ga naar inhoud

List apps

GET
/api/v1/apps
curl --request GET \
--url https://example.com/api/v1/apps \
--cookie bl_%3Cslug%3E_session=%3Cbl_%3Cslug%3E_session%3E

The applications that call the gateway of our data plane, each with its keys (decisions #73).

OK.

Media typeapplication/json

A page of a list. next_cursor is null on the last page.

object
items
required
Array<object>

An app as the management API shows it.

object
id
required
string
name
required
string
description
required
string
subscriptions

The connections (aliases) it may use; null: all of them, also later ones.

Array<string> | null
write
required

It may write (steer); otherwise only read.

boolean
created_by
string | null
created_at
required
string format: date-time
keys
required
Array<object>

A key of an app, without the key itself.

object
id
required
string
name
required
string
last4

The last four characters, to recognise it.

string | null
created_at
required
string format: date-time
last_used_at
string | null format: date-time
last_used_at
string | null
reach

Single app only: what it reaches, per connection.

Array<object> | null

A connection an app reaches.

object
alias
required
string
dataset_id
required
string
dataset_title
string | null
provider_did
required
string
provider_name
string | null
state
required
string
objects
required
Array<string>
url
required

The gateway address of the connection.

string
write
required

The app may write here: it may write, and the agreement allows it.

boolean
key
One of:
null
next_cursor

Pass as cursor for the next page.

string | null

Example generated

{
"items": [
{
"id": "example",
"name": "example",
"description": "example",
"subscriptions": [
"example"
],
"write": true,
"created_by": "example",
"created_at": "2026-04-15T12:00:00Z",
"keys": [
{
"id": "example",
"name": "example",
"last4": "example",
"created_at": "2026-04-15T12:00:00Z",
"last_used_at": "2026-04-15T12:00:00Z"
}
],
"last_used_at": "example",
"reach": [
{
"alias": "example",
"dataset_id": "example",
"dataset_title": "example",
"provider_did": "example",
"provider_name": "example",
"state": "example",
"objects": [
"example"
],
"url": "example",
"write": true
}
],
"key": {
"id": "example",
"name": "example",
"key": "example",
"last4": "example",
"created_at": "2026-04-15T12:00:00Z"
}
}
],
"next_cursor": "example"
}

No valid session, DPoP-bound token or API key.

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}

The caller lacks the role this operation needs; or a change with the session cookie came from a page of another site (cross_site_request, decisions #83).

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}