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

# List sources

> The agents, vendors and systems that talk to a space.



## OpenAPI

````yaml openapi/en/control.json GET /v1/sources
openapi: 3.1.0
info:
  title: Niadra control API
  version: '1'
  description: >-
    Tenants, projects, sources, keys, people, configuration and usage. It never
    receives customer content.
servers:
  - url: https://control.api.niadra.com
security: []
paths:
  /v1/sources:
    get:
      summary: List sources
      description: >-
        Every agent, vendor, channel or system that talks to a space is a
        source, with its own keys, purposes and audience class. A person with
        the vendor role sees only the sources bound to them.


        **Authentication.** Person token issued by the control plane
        (`Authorization: Bearer <JWT>`), with the role the operation needs.
      operationId: list_sources_v1_sources_get
      parameters:
        - in: query
          name: space_id
          required: true
          schema:
            format: uuid
            title: Space Id
            type: string
          description: The space whose sources you want.
          example: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SourceOut'
                title: Response List Sources V1 Sources Get
                type: array
              example:
                - source_id: 0192f0a0-5f60-7172-8d83-9e0f1a2b3c45
                  space_id: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
                  name: Billing agent
                  audience: internal_agent
                  vendor: in-house
                  channel: erp
                  purposes:
                    - billing
                  verification_ceiling: no_customer
                  confirms_before_acting: false
                  navigation_enabled: true
                  trusted_action_ops:
                    - credit
                  critical: false
                  revoked_at: null
          description: >-
            The sources of the space. A person with the vendor role sees only
            their own.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - personToken: []
components:
  schemas:
    SourceOut:
      additionalProperties: false
      properties:
        audience:
          $ref: '#/components/schemas/Audience'
        channel:
          anyOf:
            - type: string
            - type: 'null'
          title: Channel
        confirms_before_acting:
          title: Confirms Before Acting
          type: boolean
        critical:
          title: Critical
          type: boolean
        name:
          title: Name
          type: string
        navigation_enabled:
          title: Navigation Enabled
          type: boolean
        purposes:
          items:
            type: string
          title: Purposes
          type: array
        revoked_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Revoked At
        source_id:
          format: uuid
          title: Source Id
          type: string
        space_id:
          format: uuid
          title: Space Id
          type: string
        trusted_action_ops:
          items:
            type: string
          title: Trusted Action Ops
          type: array
        vendor:
          anyOf:
            - type: string
            - type: 'null'
          title: Vendor
        verification_ceiling:
          $ref: '#/components/schemas/Verification'
      required:
        - source_id
        - space_id
        - name
        - audience
        - vendor
        - channel
        - purposes
        - verification_ceiling
        - confirms_before_acting
        - navigation_enabled
        - trusted_action_ops
        - critical
        - revoked_at
      title: SourceOut
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
    Audience:
      enum:
        - customer_agent
        - internal_agent
        - human
        - reviewer
        - analyst
        - trigger_target
        - export
      title: Audience
      type: string
    Verification:
      description: Session verification levels. `no_customer` sits outside the V0-V4 scale.
      enum:
        - V0
        - V1
        - V2
        - V3
        - V4
        - no_customer
      title: Verification
      type: string
  securitySchemes:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````