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

# Save a clip as an idea in the content library

> Used by the Sydium Chrome extension. The text is saved verbatim, with the page it came from, and appears in the app's Ideas tab at once.



## OpenAPI

````yaml /api-reference/openapi.yaml post /v1/ideas
openapi: 3.1.0
info:
  title: Sydium Public API
  version: 1.0.0
servers:
  - url: https://api.sydium.com
security:
  - ApiKey: []
paths:
  /v1/ideas:
    post:
      summary: Save a clip as an idea in the content library
      description: >-
        Used by the Sydium Chrome extension. The text is saved verbatim, with
        the page it came from, and appears in the app's Ideas tab at once.
      operationId: saveClipAsIdea
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveClipRequest'
      responses:
        '201':
          description: Idea saved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdeaCreatedResponse'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden (scope/permission, or no active plan)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SaveClipRequest:
      type: object
      required:
        - text
        - source
      properties:
        text:
          type: string
          minLength: 1
          maxLength: 5000
          description: >-
            The selected text, or the page title for a page clip. Saved
            verbatim.
        source:
          $ref: '#/components/schemas/ClipSource'
    IdeaCreatedResponse:
      type: object
      required:
        - success
        - data
      properties:
        success:
          const: true
        data:
          type: object
          required:
            - ideaId
          properties:
            ideaId:
              type: string
        meta:
          type: object
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          const: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - bad_request
                - unauthorized
                - forbidden
                - insufficient_permissions
                - not_found
                - unprocessable
                - payload_too_large
                - rate_limited
                - invalid_state
                - external_service_error
                - internal_error
            message:
              type: string
        meta:
          type: object
    ClipSource:
      type: object
      required:
        - url
        - title
      properties:
        url:
          type: string
          maxLength: 2048
          description: The http or https page the clip came from.
        title:
          type: string
          maxLength: 300
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Opaque API key (sk_live_... / sk_test_...), or an OAuth access token
        issued for the REST API

````