This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Get short URL API
editGet short URL API
edit[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Retrieve a single Kibana short URL.
Request
editGET <kibana host>:<port>/api/short_url/<id>
Path parameters
edit-
id
- (Required, string) The ID of the short URL.
Response code
edit-
200
- Indicates a successful call.
Example
editRetrieve the short URL with the 12345
ID:
$ curl -X GET api/short_url/12345
The API returns the following:
{ "id": "12345", "slug": "adjective-adjective-noun", "locator": { "id": "LOCATOR_ID", "version": "x.x.x", "state": {} }, "accessCount": 0, "accessDate": 1632680100000, "createDate": 1632680100000 }