API Reference
Integrate Shivo into your workflow programmatically. Generate specifications, manage your library, and automate documentation from your CI/CD pipeline.
Authentication
All API requests require authentication via Supabase. Include your session token in the request headers. The API uses cookie-based auth for browser clients and Bearer tokens for server-to-server calls.
Base URL
Endpoints
/api/generateGenerate a new specification from a title, description, and optional features/constraints.
Parameters
| Name | Type |
|---|---|
specTypereq | string |
titlereq | string |
descriptionreq | string |
features | string[] |
constraints | string[] |
Response
/api/specsSave a generated specification to your account for tracking, review, and export.
Parameters
| Name | Type |
|---|---|
titlereq | string |
contentreq | string |
spec_typereq | string |
description | string |
Response
/api/settingsRetrieve the authenticated user's profile and notification preferences.
Response
/api/settingsUpdate the authenticated user's profile, notification preferences, or appearance settings.
Parameters
| Name | Type |
|---|---|
profile | object |
notifications | object |
appearance | object |
Response
/api/settings/exportExport all user data including specs, settings, and templates as a JSON file.
Response
Need help with the API?
Our team can help you set up integrations and automate your spec workflow.
Contact Engineering