Weaviate · Schema

ObjectTtlConfig

Configuration of objects' time-to-live

Vector DatabaseArtificial IntelligenceMachine-LearningSemantic SearchOpen-SourceGraphQLKubernetes

Properties

Name Type Description
enabled boolean Whether or not object ttl is enabled for this collection (default: `false`).
defaultTtl integer Interval (in seconds) to be added to `deleteOn` value, denoting object's expiration time. Has to be positive for `deleteOn` set to `_creationTimeUnix` or `_lastUpdateTimeUnix`, any for custom property
deleteOn string Name of the property holding base time to compute object's expiration time (ttl = value of deleteOn property + defaultTtl). Can be set to `_creationTimeUnix`, `_lastUpdateTimeUnix` or custom property
filterExpiredObjects boolean Whether remove from resultset expired, but not yet deleted by background process objects (default: `false`).
View JSON Schema on GitHub

JSON Schema

weaviate-object-ttl-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/weaviate/json-schema/weaviate-object-ttl-config-schema.json",
  "title": "ObjectTtlConfig",
  "description": "Configuration of objects' time-to-live",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Whether or not object ttl is enabled for this collection (default: `false`)."
    },
    "defaultTtl": {
      "type": "integer",
      "description": "Interval (in seconds) to be added to `deleteOn` value, denoting object's expiration time. Has to be positive for `deleteOn` set to `_creationTimeUnix` or `_lastUpdateTimeUnix`, any for custom property (default: `0`)."
    },
    "deleteOn": {
      "type": "string",
      "description": "Name of the property holding base time to compute object's expiration time (ttl = value of deleteOn property + defaultTtl). Can be set to `_creationTimeUnix`, `_lastUpdateTimeUnix` or custom property of `date` datatype."
    },
    "filterExpiredObjects": {
      "type": "boolean",
      "description": "Whether remove from resultset expired, but not yet deleted by background process objects (default: `false`)."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/weaviate-object-ttl-config"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.