> ## 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.

# The agent's active items



## OpenAPI

````yaml /openapi.json get /v1/agent/{agentId}/items
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}/items:
    get:
      tags:
        - Brain
      summary: The agent's active items
      operationId: getItems
      parameters:
        - name: agentId
          in: path
          required: true
          description: Project (agent) id
          schema:
            type: string
      responses:
        '200':
          description: Items
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AgentItem'
      security:
        - workspaceKeyAuth: []
      servers:
        - url: https://brain.syvon.ai
components:
  schemas:
    AgentItem:
      type: object
      description: ''
      properties:
        id:
          description: ''
          type: string
        name:
          description: ''
          type: string
        kind:
          description: ''
          type: string
        origin:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        r2Key:
          description: Agent-scoped r2 key (relative to the project's storagePrefix).
          type: string
        mimeType:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        size:
          description: ''
          anyOf:
            - type: number
            - type: 'null'
        folder:
          description: ''
          anyOf:
            - type: string
            - type: 'null'
        order:
          description: ''
          anyOf:
            - type: number
            - type: 'null'
        updatedAt:
          description: ''
          type: string
      required:
        - id
        - name
        - kind
        - r2Key
        - mimeType
        - size
        - folder
        - order
        - updatedAt
  securitySchemes:
    workspaceKeyAuth:
      type: http
      scheme: bearer
      description: Workspace API key (sk_ws_…)

````