Trace

Get a rule pack

Resolve a pack by pack_id (latest active by default; pass version to pin a specific version). Requires the trace:configure scope.

get/v1/trace/rule-packs/{id}

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/trace/rule-packs/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Path parameters

idstring required

The pack_id, e.g. tcpa.

Query parameters

versionstring

Pin a specific version; omit for the latest active.

Response

Rule pack (with authored spec)

objectstring
idstring
pack_idstring
versionstring
builtinboolean

True for PyAI's bundled packs; false for tenant uploads.

jurisdictionstring nullable
legal_statusstring nullable
etagstring
status'active' | 'deprecated'
created_atinteger

Unix ms.

specobject

The authored DSL (only on the single-pack GET).

Example response

{
  "object": "trace.rule_pack",
  "id": "tpack_...",
  "pack_id": "tcpa"
}

Changes

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