Skip to content

Admin attention queues

GET
/api/v1/admin/attention
curl --request GET \
--url https://api.deploybase.eu/api/v1/api/v1/admin/attention \
--header 'Authorization: <Authorization>'

Returns teams stuck in activation, subscriptions needing a billing look, the open support conversations (feedback_inbox, most urgent first, each with its first_response_due_at), failed payment webhooks and SSR functions stuck deploying

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
billing_attention
object
cancelling
Array<object>
object
age_days
integer
cancel_at_period_end
boolean
created_at
string
last_successful_deploy_at
string
owner_email
string
plan
string
status
string
subscription_count
integer
team_id
string
team_name
string
past_due
Array<object>
object
age_days
integer
cancel_at_period_end
boolean
created_at
string
last_successful_deploy_at
string
owner_email
string
plan
string
status
string
subscription_count
integer
team_id
string
team_name
string
paying_idle
Array<object>
object
age_days
integer
cancel_at_period_end
boolean
created_at
string
last_successful_deploy_at
string
owner_email
string
plan
string
status
string
subscription_count
integer
team_id
string
team_name
string
pending_payment
Array<object>
object
age_days
integer
cancel_at_period_end
boolean
created_at
string
last_successful_deploy_at
string
owner_email
string
plan
string
status
string
subscription_count
integer
team_id
string
team_name
string
failed_webhook_events
Array<object>
object
created_at
string
error_message
string
event_type
string
id
string
provider_event_id
string
feedback_inbox
Array<object>
object
created_at
string
first_responded_at
string
first_response_due_at
string
id
string
last_message_at
string
message
string
page_route
string
truncated
boolean
type
string
user_email
string
ssr_stuck_deploying
Array<object>
object
deployment_id
string
owner_email
string
project_id
string
project_name
string
since
string
ssr_function_id
string
team_id
string
team_name
string
stuck_activation
object
no_projects
Array<object>
object
created_at
string
deploy_attempts
integer
id
string
last_activity_at
string
latest_failure_reason
string
lifecycle_holdout

LifecycleHoldout marks a team in the fixed ~10% control group that never gets a lifecycle mail; an admin should not email it by hand either.

boolean
lifecycle_mail_sent_at

LifecycleMailSentAt is when this bucket’s getting-started mail went out (DEP-125): no_project for the first half, first_build_failed for the second. nil when not sent.

string
name
string
owner_email
string
owner_name
string
project_count
integer
no_successful_deploy
Array<object>
object
created_at
string
deploy_attempts
integer
id
string
last_activity_at
string
latest_failure_reason
string
lifecycle_holdout

LifecycleHoldout marks a team in the fixed ~10% control group that never gets a lifecycle mail; an admin should not email it by hand either.

boolean
lifecycle_mail_sent_at

LifecycleMailSentAt is when this bucket’s getting-started mail went out (DEP-125): no_project for the first half, first_build_failed for the second. nil when not sent.

string
name
string
owner_email
string
owner_name
string
project_count
integer

Example generated

{
"data": {
"billing_attention": {
"cancelling": [
{
"age_days": 1,
"cancel_at_period_end": true,
"created_at": "example",
"last_successful_deploy_at": "example",
"owner_email": "example",
"plan": "example",
"status": "example",
"subscription_count": 1,
"team_id": "example",
"team_name": "example"
}
],
"past_due": [
{
"age_days": 1,
"cancel_at_period_end": true,
"created_at": "example",
"last_successful_deploy_at": "example",
"owner_email": "example",
"plan": "example",
"status": "example",
"subscription_count": 1,
"team_id": "example",
"team_name": "example"
}
],
"paying_idle": [
{
"age_days": 1,
"cancel_at_period_end": true,
"created_at": "example",
"last_successful_deploy_at": "example",
"owner_email": "example",
"plan": "example",
"status": "example",
"subscription_count": 1,
"team_id": "example",
"team_name": "example"
}
],
"pending_payment": [
{
"age_days": 1,
"cancel_at_period_end": true,
"created_at": "example",
"last_successful_deploy_at": "example",
"owner_email": "example",
"plan": "example",
"status": "example",
"subscription_count": 1,
"team_id": "example",
"team_name": "example"
}
]
},
"failed_webhook_events": [
{
"created_at": "example",
"error_message": "example",
"event_type": "example",
"id": "example",
"provider_event_id": "example"
}
],
"feedback_inbox": [
{
"created_at": "example",
"first_responded_at": "example",
"first_response_due_at": "example",
"id": "example",
"last_message_at": "example",
"message": "example",
"page_route": "example",
"truncated": true,
"type": "example",
"user_email": "example"
}
],
"ssr_stuck_deploying": [
{
"deployment_id": "example",
"owner_email": "example",
"project_id": "example",
"project_name": "example",
"since": "example",
"ssr_function_id": "example",
"team_id": "example",
"team_name": "example"
}
],
"stuck_activation": {
"no_projects": [
{
"created_at": "example",
"deploy_attempts": 1,
"id": "example",
"last_activity_at": "example",
"latest_failure_reason": "example",
"lifecycle_holdout": true,
"lifecycle_mail_sent_at": "example",
"name": "example",
"owner_email": "example",
"owner_name": "example",
"project_count": 1
}
],
"no_successful_deploy": [
{
"created_at": "example",
"deploy_attempts": 1,
"id": "example",
"last_activity_at": "example",
"latest_failure_reason": "example",
"lifecycle_holdout": true,
"lifecycle_mail_sent_at": "example",
"name": "example",
"owner_email": "example",
"owner_name": "example",
"project_count": 1
}
]
}
},
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Unauthorized

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Forbidden

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Internal Server Error

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Live 582ac705 built