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

# Read one channel's content autopilot configuration.



## OpenAPI

````yaml /openapi.json get /v1/autopilots/{channelId}
openapi: 3.1.0
info:
  title: Sigmora API
  version: 1.0.0
  description: >-
    The priced, versioned public API. Every call authenticates with a workspace
    API key (`Authorization: Bearer sk_live_…`), names the project it files its
    output under, and reports what it cost. `GET /v1/capabilities` answers what
    this deployment can serve right now and at what price; anything it reports
    as unavailable answers 503 `capability_unavailable` rather than 404.
servers:
  - url: https://api.sigmora.org
security:
  - bearerAuth: []
tags:
  - name: Meta
    description: What this deployment serves, what it costs, and what you have spent.
  - name: Projects
    description: The container every capability files its output under.
  - name: Jobs
    description: Where every asynchronous capability is collected, whatever produced it.
  - name: Text
    description: Scripts, research, articles, translation and question sets.
  - name: Video
    description: Narrated renders, footage edits, shorts and moment selection.
  - name: 3D
    description: Animated 3D renders from a description or a photograph.
  - name: Image
    description: Thumbnails, sized for the platform they are posted to.
  - name: Audio
    description: Generated music.
  - name: Themes
    description: The canonical content taxonomy, and the niche profiles built on it.
  - name: Signals
    description: Evidence-backed trends and scored viral content.
  - name: Discovery
    description: Compiled watch plans, their runs, and source freshness.
  - name: Autopilot
    description: The durable trend-to-distribution workflow and its checkpoints.
  - name: Campaigns
    description: Distribution records shared by the API, the dashboard and autopilot.
  - name: Channels
    description: The destinations content is made for.
  - name: Products
    description: What a campaign promotes.
paths:
  /v1/autopilots/{channelId}:
    get:
      tags:
        - Autopilot
      summary: Read one channel's content autopilot configuration.
      parameters:
        - name: channelId
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 200
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  success:
                    type: boolean
                    const: true
                  autopilot:
                    type: object
                    properties:
                      id:
                        type: string
                      channelId:
                        type: string
                      enabled:
                        type: boolean
                      mode:
                        type: string
                        enum:
                          - draft_only
                          - review_first
                          - full_auto
                      runIntervalMinutes:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      timezone:
                        type: string
                      quietHours:
                        anyOf:
                          - type: object
                            properties:
                              start:
                                type: string
                              end:
                                type: string
                            required:
                              - start
                              - end
                          - type: 'null'
                      destinations:
                        type: array
                        items:
                          type: object
                          properties:
                            platform:
                              type: string
                              enum:
                                - whatsapp
                                - telegram
                                - discord
                                - instagram
                                - twitter
                                - linkedin
                                - facebook
                                - threads
                                - youtube
                                - tiktok
                                - pinterest
                                - reddit
                                - bluesky
                                - mastodon
                                - slack
                                - devto
                                - tumblr
                            productId:
                              type: string
                              minLength: 1
                              maxLength: 200
                            productTargetId:
                              type: string
                              minLength: 1
                              maxLength: 200
                            channelRef:
                              type: string
                              minLength: 1
                              maxLength: 200
                          required:
                            - platform
                            - productId
                            - productTargetId
                      sourceClipIds:
                        type: array
                        items:
                          type: string
                      targetSeconds:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      trendWindowHours:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      minTrendScore:
                        type: number
                      lastRunAt:
                        anyOf:
                          - type: string
                          - type: 'null'
                      createdAt:
                        type: string
                        format: date-time
                        pattern: >-
                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                      updatedAt:
                        type: string
                        format: date-time
                        pattern: >-
                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                      creditQuote:
                        type: object
                        properties:
                          currency:
                            type: string
                            const: credits
                          totalCredits:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          lines:
                            type: array
                            items:
                              type: object
                              properties:
                                phase:
                                  type: string
                                  enum:
                                    - content
                                    - distribution
                                step:
                                  type: string
                                operation:
                                  type: string
                                unitCredits:
                                  type: integer
                                  minimum: 0
                                  maximum: 9007199254740991
                                quantity:
                                  type: integer
                                  minimum: 0
                                  maximum: 9007199254740991
                                credits:
                                  type: integer
                                  minimum: 0
                                  maximum: 9007199254740991
                              required:
                                - phase
                                - step
                                - operation
                                - unitCredits
                                - quantity
                                - credits
                        required:
                          - currency
                          - totalCredits
                          - lines
                    required:
                      - id
                      - channelId
                      - enabled
                      - mode
                      - runIntervalMinutes
                      - timezone
                      - quietHours
                      - destinations
                      - sourceClipIds
                      - targetSeconds
                      - trendWindowHours
                      - minTrendScore
                      - lastRunAt
                      - createdAt
                      - updatedAt
                    additionalProperties: {}
                  creditQuote:
                    type: object
                    properties:
                      currency:
                        type: string
                        const: credits
                      totalCredits:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      lines:
                        type: array
                        items:
                          type: object
                          properties:
                            phase:
                              type: string
                              enum:
                                - content
                                - distribution
                            step:
                              type: string
                            operation:
                              type: string
                            unitCredits:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            quantity:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            credits:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - phase
                            - step
                            - operation
                            - unitCredits
                            - quantity
                            - credits
                    required:
                      - currency
                      - totalCredits
                      - lines
                required:
                  - success
                  - autopilot
                  - creditQuote
                additionalProperties: {}
        '400':
          description: 'Failure. `code` is one of: invalid_request.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'Failure. `code` is one of: unauthorized.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: 'Failure. `code` is one of: insufficient_credits, budget_capped.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'Failure. `code` is one of: forbidden, origin_not_allowed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'Failure. `code` is one of: not_found.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Failure. `code` is one of: conflict.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: 'Failure. `code` is one of: payload_too_large.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'Failure. `code` is one of: rate_limited.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: 'Failure. `code` is one of: internal_error.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: 'Failure. `code` is one of: upstream_error.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: >-
            Failure. `code` is one of: capability_unavailable,
            upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - success
        - error
        - code
      properties:
        success:
          const: false
        error:
          type: string
          description: >-
            Human-readable. Copy may change between releases — do not match on
            it.
        code:
          type: string
          enum:
            - invalid_request
            - unauthorized
            - forbidden
            - origin_not_allowed
            - not_found
            - conflict
            - payload_too_large
            - insufficient_credits
            - budget_capped
            - rate_limited
            - capability_unavailable
            - upstream_unavailable
            - upstream_error
            - internal_error
          description: Stable machine-readable cause. Branch on this.
        details:
          description: Optional structured context, e.g. the credits shortfall.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A workspace API key.

````