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

# List usable agent profiles for an OAuth connection

> Connection-scoped discovery used before selecting one Atoll agent actor. Profile references are opaque selectors, not credentials.



## OpenAPI

````yaml /openapi.json get /api/oauth/agent-profiles
openapi: 3.1.0
info:
  title: Atoll API
  version: 1.0.0
  description: >-
    REST API for Atoll project management, agent collaboration, strategy
    tracking, and integrations.
servers:
  - url: https://atollhq.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Projects
  - name: Project access
  - name: Issues
  - name: Issue details
  - name: Milestones
  - name: Strategy
  - name: Members and agents
  - name: Planning
  - name: Setup
  - name: Integrations and billing
  - name: Notifications and public
  - name: Private inbox
paths:
  /api/oauth/agent-profiles:
    get:
      tags:
        - Authentication
      summary: List usable agent profiles for an OAuth connection
      description: >-
        Connection-scoped discovery used before selecting one Atoll agent actor.
        Profile references are opaque selectors, not credentials.
      operationId: get_api_oauth_agent_profiles
      responses:
        '200':
          description: Connection resource and live usable profile summaries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthAgentProfilesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - bearerAuth: []
components:
  schemas:
    OAuthAgentProfilesResponse:
      type: object
      required:
        - resource
        - profiles
      properties:
        resource:
          type: string
          format: uri
        profiles:
          type: array
          items:
            type: object
            required:
              - profile_ref
              - display_name
              - organization
              - projects
            properties:
              profile_ref:
                type: string
                format: uuid
                description: Opaque connection-scoped selector; not a credential.
              display_name:
                type:
                  - string
                  - 'null'
              designation:
                type: string
              organization:
                type: object
                required:
                  - id
                  - name
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                additionalProperties: false
              projects:
                type: array
                items:
                  type: object
                  required:
                    - id
                    - name
                    - access_level
                  properties:
                    id:
                      type: string
                      format: uuid
                    name:
                      type: string
                    access_level:
                      type: string
                      enum:
                        - view
                        - edit
                        - admin
                  additionalProperties: false
            additionalProperties: false
      additionalProperties: false
    Error:
      type: object
      description: >-
        Common error responses contain error. Shared missing-auth and
        unknown-API responses also contain a stable code.
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
      examples:
        - error: Unauthorized
          code: unauthorized
        - error: Not found
          code: not_found
      additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid authentication
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_atoll_<key>

````