Skip to main content
GET
Get a rule pack

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

id
string
required

The pack_id, e.g. tcpa.

Query Parameters

version
string

Pin a specific version; omit for the latest active.

Response

Rule pack (with authored spec)

object
string
Example:

"trace.rule_pack"

id
string
Example:

"tpack_..."

pack_id
string
Example:

"tcpa"

version
string
builtin
boolean

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

jurisdiction
string | null
etag
string
status
enum<string>
Available options:
active,
deprecated
created_at
integer

Unix ms.

spec
object

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