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

# Published feed posts (newest first, up to 120)



## OpenAPI

````yaml /openapi.json get /v1/agent/{agentId}/feed
openapi: 3.1.0
info:
  title: Syvon API
  version: 1.0.0
  description: >-
    Two client-facing surfaces: the Portal management plane (syvon.ai/api/*,
    portal JWT) and the Brain read plane (brain.syvon.ai/v1/*, workspace key
    sk_ws_…). Schemas are generated from the @syvon/sdk TypeScript types — the
    shipped .d.ts files are the authoritative contract.
servers:
  - url: https://syvon.ai
    description: Portal (management plane)
  - url: https://brain.syvon.ai
    description: Brain (read plane)
security: []
tags:
  - name: Auth
    description: Minting the portal JWT
  - name: Portal
    description: Management plane — user-scoped (portal JWT)
  - name: Brain
    description: Published-agent read plane — workspace-scoped (sk_ws_…)
paths:
  /v1/agent/{agentId}/feed:
    get:
      tags:
        - Brain
      summary: Published feed posts (newest first, up to 120)
      operationId: getFeed
      parameters:
        - name: agentId
          in: path
          required: true
          description: Project (agent) id
          schema:
            type: string
        - name: channel
          in: query
          required: false
          description: Filter by channel (instagram, site, …)
          schema:
            type: string
        - name: category
          in: query
          required: false
          description: Filter by category
          schema:
            type: string
      responses:
        '200':
          description: Published posts
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FeedPost'
      security:
        - workspaceKeyAuth: []
      servers:
        - url: https://brain.syvon.ai
components:
  schemas:
    FeedPost:
      type: object
      description: ''
      properties:
        id:
          description: ''
          type: string
        key:
          description: Agent-scoped r2 key of the cover/primary media.
          type: string
        kind:
          $ref: '#/components/schemas/PostKind'
          description: ''
        mediaType:
          description: Legacy discriminator ("image" | "video"); prefer `kind`.
          anyOf:
            - type: string
            - type: 'null'
        title:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        sub:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        caption:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        hashtags:
          description: ''
          type: array
          items:
            type: string
        channels:
          description: ''
          type: array
          items:
            type: string
        category:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        width:
          description: ''
          anyOf:
            - type: number
            - type: 'null'
        height:
          description: ''
          anyOf:
            - type: number
            - type: 'null'
        createdAt:
          description: ''
          type: string
        pages:
          description: Carousel / story pages.
          type: array
          items:
            $ref: '#/components/schemas/FeedPage'
        poster:
          description: Poster frame key for video.
          type: string
        playable:
          description: MP4/webm key when a transcode exists.
          type: string
        isVideo:
          description: ''
          type: boolean
      required:
        - id
        - key
        - kind
        - mediaType
        - title
        - sub
        - caption
        - hashtags
        - channels
        - category
        - width
        - height
        - createdAt
        - pages
        - poster
        - playable
        - isVideo
    PostKind:
      type: string
    FeedPage:
      type: object
      description: ''
      properties:
        key:
          description: ''
          type: string
        mediaType:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        width:
          description: ''
          anyOf:
            - type: number
            - type: 'null'
        height:
          description: ''
          anyOf:
            - type: number
            - type: 'null'
        order:
          description: ''
          anyOf:
            - type: number
            - type: 'null'
      required:
        - key
        - mediaType
        - width
        - height
        - order
  securitySchemes:
    workspaceKeyAuth:
      type: http
      scheme: bearer
      description: Workspace API key (sk_ws_…)

````