Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

Get server information

Return the URLs that can be used to connect to this server.

GET/api/server
Responses
200Success
urlsstring[]required
400InvalidRequestError
_tagstringrequired
Allowed:InvalidRequestError
messagestringrequired
kindstring | any
Show properties
Any of:
string
string
any
any
fieldstring | any
Show properties
Any of:
string
string
any
any
401UnauthorizedError
_tagstringrequired
Allowed:UnauthorizedError
messagestringrequired
Request
curl -X GET "/api/server"
Response
{
  "urls": [
    "string"
  ]
}