# Add knowledge (/growsocmed/docs/api-reference/ai-agents/create-knowledge)

Add knowledge: text, a web page, or the account's posts, saved replies or comment replies (files: POST /knowledge/file)

POST /knowledge

```json
{
  "tags": [
    "AI agents"
  ],
  "summary": "Add knowledge",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "text",
                "link",
                "posts",
                "saved_replies",
                "comment_replies"
              ]
            },
            "title": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "body": {
              "type": "string",
              "maxLength": 200000
            },
            "url": {
              "type": "string",
              "maxLength": 2000,
              "format": "uri"
            },
            "account_id": {
              "type": "string",
              "format": "uuid"
            }
          },
          "required": [
            "kind",
            "title"
          ]
        }
      }
    }
  },
  "responses": {
    "201": {
      "description": "Created",
      "content": {
        "application/json": {
          "schema": {}
        }
      }
    }
  },
  "operationId": "create-knowledge",
  "description": "Add knowledge: text, a web page, or the account's posts, saved replies or comment replies (files: POST /knowledge/file)"
}
```