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

# Add Paragraphs

> Upload plain text to your knowledge base

### Authorizations

<ParamField header="x-api-key" type="string" required>
  API key associated with the workspace.
</ParamField>

### Path Parameters

<ParamField path="workspaceId" type="string" required>
  UUID associated with the workspace.
</ParamField>

<ParamField path="kbId" type="string" required>
  UUID of the knowledge base.
</ParamField>

### Body Parameters

<ParamField body="paragraphs" type="array" required>
  <Expandable>
    <ParamField body="value" type="object" required>
      {/* Each Paragraph is a ```{"value": {"data" : "Paragraph Content"}}``` */}

      <Expandable>
        <ParamField body="data" type="string" required>
          The paragraph content
        </ParamField>
      </Expandable>
    </ParamField>
  </Expandable>
</ParamField>

### Response

<ResponseExample>
  ```json 201 theme={null}
  {
   "msg": "Paragraph added successfully"
  }

  ```

  ```json 400 theme={null}
  {
    "msg": "Bad request"
  }
  ```

  ```json 401 theme={null}
  {
    "msg": "Api key is not valid"
  }
  ```

  ```json 402 theme={null}
  {
    "msg": "Please upgrade your account to continue"
  }
  ```

  ```json 403 theme={null}
  {
    "msg": "Forbidden"
  }
  ```

  ```json 500 theme={null}
  {
    "msg": "Server Error"
  }
  ```
</ResponseExample>
