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

# Drive Picker Config

> Mint a short-lived Google Picker config (token + app id + api key).

Drive-only. The leased token is sensitive and per-use, so the response is
marked ``no-store`` to keep it out of any shared/proxy cache.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/drive/picker-config
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/drive/picker-config:
    get:
      tags:
        - knowledge-base-connectors
      summary: Drive Picker Config
      description: >-
        Mint a short-lived Google Picker config (token + app id + api key).


        Drive-only. The leased token is sensitive and per-use, so the response
        is

        marked ``no-store`` to keep it out of any shared/proxy cache.
      operationId: >-
        drive_picker_config_v1_knowledge_base_knowledge_bases__kb_id__sources__source_id__drive_picker_config_get
      parameters:
        - name: kb_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Kb Id
        - name: source_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Source Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DrivePickerConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    DrivePickerConfigResponse:
      properties:
        access_token:
          type: string
          title: Access Token
        expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expires At
        app_id:
          type: string
          title: App Id
        api_key:
          type: string
          title: Api Key
      type: object
      required:
        - access_token
        - app_id
        - api_key
      title: DrivePickerConfigResponse
      description: >-
        Short-lived config the SPA needs to open the Google Picker.


        The ``access_token`` is a freshly-leased OAuth token (never persisted,
        never

        logged); ``app_id`` (GCP project number) and ``api_key`` (browser key)
        come

        from server config so they stay out of the SPA bundle. Served with

        ``Cache-Control: no-store``.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````