Admin attention queues
const url = 'https://api.deploybase.eu/api/v1/api/v1/admin/attention';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
object
object
object
object
object
object
object
object
object
object
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.
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.
object
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.
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.
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
object
object
object
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.
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
object
object
object
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.
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
object
object
object
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.
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