--- title: My Service API slug: my-service section: apis order: 10 version: v1 base_url: https://my-service.thought.bz/ auth: Bearer token in the Authorization header status: live summary: One sentence that says what this API does. updated: 2026-11-29 --- ## Overview Two or three sentences: what the service is for, who calls it, and anything a caller must know first. ## Authentication Explain how to authenticate. Use placeholders such as ``. Never include a real key, password or token. ## Endpoints ```endpoint method: GET path: /v1/things/{id} summary: Fetch one thing by its id. auth: Bearer token params: - name: id in: path type: string required: true description: The thing id. request: | curl https://my-service.thought.bz/v1/things/th_123 \ -H "Authorization: Bearer " response: | { "id": "th_123", "name": "Example" } errors: - status: 401 description: Missing or invalid token. - status: 404 description: No thing with that id. notes: | Optional. Rate limits, caching, or anything else worth knowing. ``` ## Errors Describe the shared error body, if there is one: ```json { "error": { "code": "not_found", "message": "No thing with that id." } } ``` ## Changelog - 2026-11-29: First version.