---
updatedAt: 2025-11-13T22:06:23.000Z
agentTools:
  projectIndex: https://docs.nama.ai/llms.txt
---

# Atualizar content

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "nama-api-ai-searcher",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://ai-search-api.nama.ai/api/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/contents/{content_id}": {
      "put": {
        "summary": "Atualizar content",
        "description": "",
        "operationId": "atualizar-content",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Bearer YOUR_API_KEY",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "description": "Novo nome do conteúdo.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "source",
            "in": "path",
            "description": "Nova URL de origem ou referência para o conteúdo.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "content_id",
            "in": "path",
            "description": "ID do conteúdo a ser editado.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": 1,\n  \"name\": \"Novo Nome do Conteúdo\",\n  \"subject_id\": 1,\n  \"source\": \"https://exemplo.com/novoconteudo\",\n  \"created_at\": \"2023-12-20T12:00:00Z\",\n  \"updated_at\": \"2023-12-20T12:00:00Z\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "name": {
                      "type": "string",
                      "example": "Novo Nome do Conteúdo"
                    },
                    "subject_id": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "source": {
                      "type": "string",
                      "example": "https://exemplo.com/novoconteudo"
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2023-12-20T12:00:00Z"
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2023-12-20T12:00:00Z"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --request PUT\n     --url https://api.nama.ai/searcher/v1/contents/{content_id}\n     --header 'accept: application/json'\n     --header 'content-type: application/json'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authorization",
        "value": "Bearer <your_api_token>"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```