# Retrieve Gist as JSON To retrieve a Gist as JSON, you can add `.json` to the end of the URL of your gist: ```shell curl http://opengist.url/thomas/my-gist.json | jq '.' ``` It returns a JSON object with the following structure similar to this one: ```json { "created_at": "2023-04-12T13:15:20+02:00", "description": "", "embed": { "css": "http://localhost:6157/assets/embed-94abc261.css", "html": "
\n", "js": "http://localhost:6157/thomas/my-gist.js", "js_dark": "http://localhost:6157/thomas/my-gist.js?dark" }, "files": [ { "filename": "hello.md", "size": 21, "human_size": "21 B", "content": "# Welcome to Opengist", "truncated": false, "type": "Markdown" } ], "id": "my-gist", "owner": "thomas", "title": "hello.md", "uuid": "8622b297bce54b408e36d546cef8019d", "visibility": "public" } ```