corpus

Bulk upsert corpus entries

Up to 50 entries per call. Each entry must include externalId for idempotent upsert. Used by the WordPress plugin full-resync flow.

post/tenants/{slug}/corpus/bulk

Request

  • Base URL: https://api.animam.ai
  • URL: https://api.animam.ai/tenants/{slug}/corpus/bulk
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key
    • OAuth 2 (authorization code, authorization URL https://api.animam.ai/oauth/authorize, token URL https://api.animam.ai/oauth/token, scopes: corpus:write)

Path parameters

slugstring required

Tenant slug (URL-safe identifier).

Example:dr-martin

Request body

Example request

{
  "entries": [
    {
      "title": "Opening hours",
      "isActive": true
    }
  ]
}

Response

Bulk operation summary.

createdinteger required
updatedinteger required
skippedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.