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

# Get Workspace Foundation Profile



## OpenAPI

````yaml /openapi.json get /v1/workspaces/{workspace_id}/foundation/profile
openapi: 3.1.0
info:
  title: Ontora API
  description: >-
    Ontora's public API. Covers interview campaigns, transcripts, synthesis
    reports, graph queries, webhooks, and workspace management. 


    **Authentication**: endpoints accept either a Clerk JWT (`Authorization:
    Bearer <token>`) or a workspace API key (`X-API-Key: ont_...`). Workspace
    keys are managed via `/v1/api-keys`.
  version: 0.1.0
servers: []
security:
  - ClerkJWT: []
  - WorkspaceApiKey: []
tags:
  - name: interviews
    description: Campaign CRUD, lifecycle, contacts, question sets.
  - name: campaign-insights
    description: Synthesis outputs — cartography, roadmap, personas, conversations.
  - name: interview-query
    description: Graph RAG query over campaign data.
  - name: campaign-reports
    description: Versioned synthesis Reports — manual regenerate, version history.
  - name: interview-export
    description: Markdown / ZIP exports of transcripts and reports.
  - name: api-keys
    description: Manage workspace-scoped API keys for programmatic access.
  - name: webhook-endpoints
    description: Outbound webhook endpoints for automation.
  - name: booking
    description: Public self-scheduling endpoints for interview participants.
  - name: join
    description: Public QR-code / share-link self-registration for campaign participants.
  - name: workspaces
    description: Workspace and membership management.
  - name: vaults
    description: Context vault management.
paths:
  /v1/workspaces/{workspace_id}/foundation/profile:
    get:
      tags:
        - workspaces
      summary: Get Workspace Foundation Profile
      operationId: >-
        get_workspace_foundation_profile_v1_workspaces__workspace_id__foundation_profile_get
      parameters:
        - name: workspace_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceFoundationProfileOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    WorkspaceFoundationProfileOut:
      properties:
        profile:
          anyOf:
            - $ref: '#/components/schemas/CompanyFoundationProfile'
            - type: 'null'
      type: object
      title: WorkspaceFoundationProfileOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CompanyFoundationProfile:
      properties:
        company_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Name
        domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Domain
        summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
        size_estimate:
          anyOf:
            - type: string
            - type: 'null'
          title: Size Estimate
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Employee Count
        headquarters:
          anyOf:
            - type: string
            - type: 'null'
          title: Headquarters
        locations:
          items:
            type: string
          type: array
          title: Locations
        products_services:
          items:
            type: string
          type: array
          title: Products Services
        customers_markets:
          items:
            type: string
          type: array
          title: Customers Markets
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          title: Confidence
        unknowns:
          items:
            type: string
          type: array
          title: Unknowns
        source_urls:
          items:
            type: string
          type: array
          title: Source Urls
        generated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Generated At
      additionalProperties: true
      type: object
      title: CompanyFoundationProfile
      description: |-
        Validated company foundation profile.

        Pydantic validators normalize whatever shape the LLM produces. Stored
        in WorkspaceSetting.value_json as the result of model_dump(mode="json")
        and re-validated on read so existing rows with bad shapes are healed.

        `extra="allow"` preserves LLM-invented keys (tagline, founders, ...) so
        new fields can be experimented with without losing them at the boundary.
    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:
    ClerkJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Clerk-issued RS256 JWT.
    WorkspaceApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key (prefix: `ont_`).'
    HTTPBearer:
      type: http
      scheme: bearer

````