> ## Documentation Index
> Fetch the complete documentation index at: https://steadyrenew.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Preflight subscriptions collection

> Returns CORS headers for browser preflight requests.



## OpenAPI

````yaml /api/openapi.yaml options /api/v1/subscriptions
openapi: 3.1.0
info:
  title: SteadyRenew Public API
  version: 1.0.0
  description: >-
    Public API for cloud subscription CRUD automation through API keys created
    in Settings → API & MCP. Use Copy to Agent in the app for guided setup, or
    read /agent/setup.md on your application origin. A standalone local stdio
    MCP package is available at /downloads/subscription-manager-mcp.tgz on that
    same origin. The operation descriptions include AI-oriented task semantics,
    risk levels, and confirmation guidance for agent integrations.
servers:
  - url: https://your-site.example
    description: Replace with your deployed SteadyRenew site URL.
security:
  - bearerApiKey: []
tags:
  - name: Subscriptions
    description: Create, read, update, and delete subscriptions for the API key owner.
    x-ai:
      domain: subscription_management
      ownerScope: authenticated_api_key_owner
      writeSafety: >-
        Confirm create, update, and delete operations with the user before
        calling them from an AI agent. Write operations require an API key with
        the write scope. Soft cancel/pause/resume via status is not supported.
  - name: Analytics
    description: >-
      Computed spend summaries, duplicate detection, and optimization
      candidates. Read-only; money is reported per currency and never converted.
  - name: Audit
    description: Read-only audit trail of write operations performed through the API.
  - name: Notification settings
    description: >-
      Global reminder settings. Writable fields are limited to enabled and
      daysBefore. Bark URL, test push, timeZone, and locale are web-managed.
paths:
  /api/v1/subscriptions:
    options:
      tags:
        - Subscriptions
      summary: Preflight subscriptions collection
      description: Returns CORS headers for browser preflight requests.
      operationId: optionsSubscriptions
      responses:
        '204':
          description: Preflight accepted.
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Access-Control-Allow-Headers:
              schema:
                type: string
                example: Authorization, Content-Type
            Access-Control-Allow-Methods:
              schema:
                type: string
                example: GET, POST, PATCH, DELETE, OPTIONS
      security: []
components:
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      description: >-
        Developer API key generated in the app. Keys carry scopes; a read key
        can call list, get, notification settings, analytics, and audit
        endpoints, while a write key additionally allows create, update, delete,
        and notification settings updates.
      x-default: subm_your_key_here

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.