Skip to main content
GET
/
v1
/
trace
/
rule-packs
List rule packs
curl --request GET \
  --url https://api.pyai.com/v1/trace/rule-packs \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "object": "trace.rule_pack",
      "id": "tpack_...",
      "pack_id": "tcpa",
      "version": "<string>",
      "builtin": true,
      "jurisdiction": "<string>",
      "legal_status": "<string>",
      "etag": "<string>",
      "created_at": 123,
      "spec": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

Rule packs

object
string
Example:

"list"

data
object[]