Skip to content

List an application's relationships

GET
/api/v1/applications/{id}/relationships
curl --request GET \
--url https://api.aletheia-ops.com/api/v1/applications/example/relationships \
--header 'Authorization: Bearer <token>'
id
required
string

OK

Media typeapplication/json

A page of relationship rows with the keyset cursor

object
relationships
Array<object>

One edge from an entity’s perspective (Dependencies/ Dependents tables and the application aggregation)

object
id
string
relationship_type
string
direction
string
confidence
string
status
string
properties
object
key
additional properties
any
evidence_count
integer
last_observed_at
string format: date-time
peer

Resolved node at the far end of a relationship row

object
entity_type
string
id
string
name
string
resource_type
string
aws_account_id
string
region
string
via_member

Resolved node at the far end of a relationship row

object
entity_type
string
id
string
name
string
resource_type
string
aws_account_id
string
region
string
next_cursor
string
Examplegenerated
{
"relationships": [
{
"id": "example",
"relationship_type": "example",
"direction": "example",
"confidence": "example",
"status": "example",
"properties": {},
"evidence_count": 1,
"last_observed_at": "2026-04-15T12:00:00Z",
"peer": {
"entity_type": "example",
"id": "example",
"name": "example",
"resource_type": "example",
"aws_account_id": "example",
"region": "example"
},
"via_member": {
"entity_type": "example",
"id": "example",
"name": "example",
"resource_type": "example",
"aws_account_id": "example",
"region": "example"
}
}
],
"next_cursor": "example"
}

No valid credential was presented, or it has expired.

Media typeapplication/json
object
code
required

Stable, machine-readable identifier. Branch on this.

string
message
required

Human-readable explanation. Safe to display; do not parse.

string
Examples
{
"code": "unauthorized",
"message": "authentication required"
}

Authenticated, but not permitted to perform this action.

Media typeapplication/json
object
code
required

Stable, machine-readable identifier. Branch on this.

string
message
required

Human-readable explanation. Safe to display; do not parse.

string
Examples
{
"code": "forbidden",
"message": "you do not have permission to perform this action"
}

The resource does not exist, or belongs to another organization. The two are deliberately indistinguishable.

Media typeapplication/json
object
code
required

Stable, machine-readable identifier. Branch on this.

string
message
required

Human-readable explanation. Safe to display; do not parse.

string
Examples
Examplenot_found
{
"code": "not_found",
"message": "resource not found"
}

An unexpected failure. Diagnostic detail is logged server-side and deliberately not returned. Quote the X-Request-Id response header when reporting one.

Media typeapplication/json
object
code
required

Stable, machine-readable identifier. Branch on this.

string
message
required

Human-readable explanation. Safe to display; do not parse.

string
Examples
Exampleinternal_error
{
"code": "internal_error",
"message": "internal server error"
}