---
title: "Get information about how the service is being accessed"
method: GET
path: "/platform/access-info"
tags: ["Platform"]
---

# Get information about how the service is being accessed

`GET /platform/access-info`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/platform/access-info`
- Auth: HTTP bearer

Returns how this request reached the server, and its public and private IP
addresses when available. Which ways a domain can get HTTPS is per domain:
`GET /ingress/certificate-methods?domain=`.

## Response `200`

Service access information

- ServiceAccessInfo: Response containing information about how the service is being accessed
  - `access_mode` string, required: How this request reached the server: "local", "direct", "nat", or "cloudflare_tunnel" (it came through Cloudflare's edge). Describes this request only, never which domains can be added.
  - `can_create_domains` boolean, required: Always `true`: a domain can be added however this request reached the server, and the server never refused one by access mode. How a domain gets HTTPS (a tunnel covering it, HTTP-01, DNS-01) is judged per domain by `GET /ingress/certificate-methods?domain=`. Kept for older clients.
  - `domain_creation_error` string, nullable: Always `null`; kept for older clients. See `can_create_domains`.
  - `private_ip` string, nullable: Server's private/local IP address (always returned if available)
  - `public_ip` string, nullable: Server's public IP address (always returned if available)

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-04-25** `774be20905f2`: 3 info
  - the endpoint scheme security `bearer_auth` was added to the API
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/platform/access-info/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
