Skip to main content
GET
SDK (@phosra/sdk)
A policy is an ordered set of rules applied to one child. List a child’s policies, then create, activate, pause, or auto-generate them from the child’s age.
Individual rules inside a policy are managed under Policy Rules.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

childID
string<uuid>
required

Response

Policy list

id
string<uuid>

Unique identifier for this resource.

child_id
string<uuid>

Identifier of the child this resource belongs to.

name
string

Human-readable display name.

status
enum<string>

Current lifecycle state of the resource.

Available options:
active,
paused,
draft
priority
integer

Ordering weight when multiple policies apply; higher wins.

version
integer

Monotonically increasing version, bumped on every change.

created_at
string<date-time>

RFC 3339 timestamp of when the resource was created.