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

# Obter a identidade de exportação

> Leia a identidade a autorizar no seu bucket GCS, dataset BigQuery ou role S3.



## OpenAPI

````yaml GET /v1/exports/identity
openapi: 3.1.0
info:
  title: querying.ai
  description: >-
    One API for every AI answer engine. Every task is asynchronous: submit, then
    collect the result via webhook or polling.
  version: 1.0.0
servers:
  - url: https://api.querying.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/exports/identity:
    get:
      tags:
        - Exports
      summary: Read the export identity
      description: >-
        The Google service account to grant on a GCS bucket or BigQuery dataset,
        and the AWS web identity details and trust policy for an S3 role.
        accountKey names this account's folder and tables.
      operationId: getExportIdentity
      responses:
        '200':
          description: Export identity.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportIdentityResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    ExportIdentityResponse:
      type: object
      properties:
        success:
          type: boolean
          const: true
        identity:
          type: object
          properties:
            accountKey:
              type: string
              description: Names this account's folder and tables.
            gcp:
              type: object
              properties:
                serviceAccount:
                  type: string
            aws:
              type: object
              properties:
                federatedPrincipal:
                  type: string
                audience:
                  type: string
                oaud:
                  type: string
                roleSessionName:
                  type: string
                trustPolicy:
                  type: object
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          $ref: '#/components/schemas/ErrorDetail'
    ErrorDetail:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable, safe to branch on. See the Errors guide for the full list.
        message:
          type: string
          description: For humans. May change.
        details:
          description: >-
            Context for the error. An array of `{field, message}` on most
            `VALIDATION_ERROR`s; an object elsewhere (for example `{id}` on
            `RESOURCE_NOT_FOUND`, `retryAfterSec` on 429 and 503 codes). Omitted
            when there is nothing to add.
          oneOf:
            - type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
            - type: object
              additionalProperties: true
        timestamp:
          type: string
          format: date-time
  responses:
    Unauthorized:
      description: Missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error:
              code: MISSING_API_KEY
              message: Missing or invalid API key
              timestamp: '2026-07-09T04:12:00.000Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key, sent as `Authorization: Bearer <key>`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.