Skip to main content
POST
Force refresh of legal corpus rows

Authorizations

Authorization
string
header
required

API key starting with zt_live_ (production) or zt_test_ (sandbox). Get your key at https://developers.zebratruth.ai

Body

application/json

Discriminated union on scope. Pick the narrowest scope you need — all for everything stale, area to limit by jurisdiction × area, or law for a single row.

scope
enum<string>
required

Refresh every stale row in the tenant's corpus.

Available options:
all

Response

Refresh enqueued

requestedCount
integer
required

How many corpus rows the requested scope resolved to.

Example:

12

enqueuedCount
integer
required

How many rows successfully acquired the lease + got a refresh message enqueued.

Example:

9

skippedCount
integer
required

Rows where the lease is currently held by another recent caller (5-min window) or whose row didn't exist. These will refresh on the existing lease holder's enqueue.

Example:

3

pending
integer
required

Rows over the 50/request rate limit. Re-call after ~1 minute to enqueue the rest.

Example:

0

rateLimit
integer
required

Maximum rows enqueued per request.

Example:

50