Skip to content

Get instance status

GET
/orgs/{orgId}/instance
curl --request GET \
--url https://example.com/api/v1/orgs/example/instance \
--header 'Authorization: Bearer <token>'

Returns reverse-proxy path guidance, edge health probes, background job status, and stalled staging cleanup counts. Requires instance.status_page enabled and owner or admin role.

orgId
required

Organization ID.

string

Self-hosted instance diagnostics

Media typeapplication/json
object
instance
required

Operational diagnostics for a self-hosted Sendcrate instance.

object
appUrl
required
string
buckets
required
Array<object>
object
modes
required

Summary of delivery modes supported by this bucket.

string
name
required
string
reachability
required

Network reachability of the bucket endpoint from recipients: public (internet-reachable) or internal (private network only; disables direct and non-CDN public links).

string
Allowed values: public internal
edges
required

Health probe results for configured public edge hosts.

Array<object>
object
host
required
string
meta
required
string
ok
required
boolean
jobs
required

Execution status of background maintenance jobs.

Array<object>
object
failures
required
number
lastError
required
Any of:
string
lastRunAt
required
Any of:
string
name
required
string
privatePaths
required

Admin paths that should remain internal behind a reverse proxy.

Array<object>
object
path
required
string
what
required
string
proxySnippet
required

Sample Nginx configuration exposing only public share paths.

string
publicPaths
required

Recipient-facing paths intended to be exposed on shareUrl.

Array<object>
object
path
required
string
what
required
string
sameHost
required

true when appUrl and shareUrl share the same host (disables website links).

boolean
shareUrl
required
string
stalledCleanup
required

Buckets with staged upload files that failed automated cleanup.

Array<object>
object
bucketId
required
string
bucketName
required
string
count
required
number

Example

{
"instance": {
"buckets": [
{
"reachability": "public"
}
]
}
}

Authentication required or credentials invalid.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Insufficient role, bucket grant, or token scope.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Resource not found.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Unexpected server error. Quote data.requestId when you report it.

Media typeapplication/json

Error returned when Sendcrate or one of its providers fails (5xx).

object
code
required
string
Allowed values: INTERNAL_SERVER_ERROR PROVIDER_FAILED
data
object
debug

Error chain with stack traces. Present only when the server runs in development mode.

Array
requestId

Request reference to quote when you report the error.

string
message
required

Human-readable error explanation.

string

Example

{
"code": "INTERNAL_SERVER_ERROR"
}