Skip to main content
GET
/
api
/
v1
/
tunnel
/
{tunnel_id}
Get Tunnel Status Endpoint
curl --request GET \
  --url https://api.primeintellect.ai/api/v1/tunnel/{tunnel_id} \
  --header 'Authorization: Bearer <token>'
{
  "tunnel_id": "<string>",
  "status": "pending",
  "hostname": "<string>",
  "url": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "expires_at": "2023-11-07T05:31:56Z",
  "user_id": "<string>",
  "name": "<string>",
  "connected_at": "2023-11-07T05:31:56Z",
  "team_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.primeintellect.ai/llms.txt

Use this file to discover all available pages before exploring further.

Rate Limit

300 requests per 60 seconds per tunnel.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tunnel_id
string
required

Response

Successful Response

Response containing tunnel status information.

tunnel_id
string
required

Unique tunnel identifier

status
enum<string>
required

Current tunnel status

Available options:
pending,
connected,
disconnected,
expired
hostname
string
required

Tunnel hostname

url
string
required

Full HTTPS URL

created_at
string<date-time>
required

Tunnel creation time

expires_at
string<date-time>
required

Token expiration time

user_id
string
required

Owner user ID

name
string | null

Friendly name if set

connected_at
string<date-time> | null

When the client connected

team_id
string | null

Team ID if applicable