Short Url
Resolve short URL
Resolves a shortened URL back to its original destination. By default, this endpoint redirects the user to the original URL. When the 'type=ui' query parameter is provided, it returns the original URL as JSON instead of performing a redirect. This is useful for applications that need to inspect or validate URLs before navigation.
get/api/{org_id}/short/{short_id}
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
short_idstring required
The short ID to retrieve the original URL
org_idstring required
Query parameters
typestring
Response type - if 'ui', returns JSON object instead of redirect
Response
JSON response when type=ui
string required
Changes
No recorded changes to this operation across all 1 revision of this API.