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

# Replace the Company Context

> Replaces the whole Company Context, as an admin's save in Settings > Memory does, and returns it. Text over 1000 tokens, or holding a credential (an API key, a password, a token), is refused with a 422 and nothing is written. Send an empty string to clear it.



## OpenAPI

````yaml /api/statisfy-api.openapi.json put /v1/settings/company-context
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/settings/company-context:
    put:
      tags:
        - settings
      summary: Replace the Company Context
      description: >-
        Replaces the whole Company Context, as an admin's save in Settings >
        Memory does, and returns it. Text over 1000 tokens, or holding a
        credential (an API key, a password, a token), is refused with a 422 and
        nothing is written. Send an empty string to clear it.
      operationId: settings_company_context_update
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              examples:
                - content: |-
                    ## Terms
                    - A logo is a paying customer account.
              properties:
                content:
                  description: >-
                    Markdown that replaces the whole Company Context; an empty
                    string clears it. Leading and trailing whitespace is
                    dropped. At most 1000 tokens, and no credentials
                  maxLength: 200000
                  title: Content
                  type: string
              required:
                - content
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyContext'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    CompanyContext:
      examples:
        - content: |-
            ## Terms
            - A logo is a paying customer account.
      properties:
        content:
          description: Markdown. Empty when nothing has been written
          title: Content
          type: string
      required:
        - content
      title: CompanyContext
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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