openapi: 3.1.0 info: title: xLab API version: '2026-10-18' description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-18: 5 operation(s) read from 3 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; xLab has published no machine-readable contract that the pipeline could find. Engine: local.' x-evidence-tiers: code-example: 3 documentation: 2 pages-with-code: 3 pages-read: 3 x-generated-from: documentation x-provenance: generated x-authored-by: API Evangelist x-generated: '2026-10-18' x-generator: generate-contract-from-docs.py x-engine: local x-sources: - https://localxpose.io/docs/tutorials/expose-pocketbase-backend - https://localxpose.io/docs/tutorials/expose-localhost-kubernetes - https://localxpose.io/docs/tunnels/http/http-plugins paths: /: get: operationId: get tags: - Api summary: GET / x-source: https://localxpose.io/docs/tunnels/http/http-plugins responses: '200': description: Success (status as documented) x-evidence: kind: code-example language: curl snippet: "curl, insomnia, SDKs), then from your API client you can authenticate against your local API services by passing X-TOKEN header\ \ with the token value, for example: \n loclx tunnel http --key-auth secureToken \n Then access your local services by doing curl https://hello.loclx.io\ \ -H 'X-TOKEN:secureToken' , otherwise you will get Access Denied \n IP whitelisting \n IP whitelisting plugin restricts access" /api/collections/posts/records: get: operationId: get_api_collections_posts_records tags: - Api summary: GET /api/collections/posts/records x-source: https://localxpose.io/docs/tutorials/expose-pocketbase-backend responses: '200': description: Success (shape read from the example response on the page) content: application/json: schema: $ref: '#/components/schemas/GetApiCollectionsPostsRecordsResponse' x-evidence: kind: code-example language: curl snippet: "curl http://localhost:8090/api/collections/posts/records \n JSON result (example): \n { \n \"page\" : 1 , \n \"perPage\" : 30\ \ , \n \"totalItems\" : 2 , \n \"items\" : [{ \n \"@collectionId\" : \"WvcPifBVEqtFagS\" , \n \"@collectionName\" : \"posts\" , \n \"\ created\" : \"2022-07-29 03:03:09.326\" , \n \"id\" : \"uh6ON17M1PQvM7b\" , \n \"post\" : \"lorem ipsum dolor ... bibendum ... donec\ \ suscipit.\" , \n \"slug\" : \"hello-world\" , \n \"title" /kubernetes-release/release: get: operationId: get_kubernetes_release_release tags: - Kubernetes Release summary: GET /kubernetes-release/release x-source: https://localxpose.io/docs/tutorials/expose-localhost-kubernetes responses: '200': description: Success (status as documented) x-evidence: kind: code-example language: curl snippet: 'curl -LO https://storage.googleapis.com/kubernetes-release/release/ ` curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt ` /bin/linux/amd64/kubectl ' /kubernetes-release/release/: get: operationId: get_kubernetes_release_release tags: - Kubernetes Release summary: Expose Localhost Kubernetes x-source: https://localxpose.io/docs/tutorials/expose-localhost-kubernetes responses: '200': description: Success (status as documented) x-evidence: kind: documentation /kubernetes-release/release/stable.txt: get: operationId: get_kubernetes_release_release_stable_txt tags: - Kubernetes Release summary: Expose Localhost Kubernetes x-source: https://localxpose.io/docs/tutorials/expose-localhost-kubernetes responses: '200': description: Success (status as documented) x-evidence: kind: documentation components: schemas: GetApiCollectionsPostsRecordsResponse: type: object properties: page: type: integer perPage: type: integer totalItems: type: integer items: type: array items: type: object properties: '@collectionId': type: string '@collectionName': type: string created: type: string format: date-time id: type: string post: type: string slug: type: string title: type: string updated: type: string format: date-time securitySchemes: apiKey: type: apiKey in: header name: X-TOKEN security: - apiKey: [] tags: - name: Api - name: Kubernetes Release