Skip to main content
GET
List versions of a protocol

Authorizations

Authorization
string
header
default:Bearer sandbox_any_token_works
required

A 15-minute token bound to one patient and one enrollment, issued by POST /v1/oauth/token with the token-exchange grant. Treat it as opaque. When it expires, exchange a fresh assertion; there is no refresh token.

Path Parameters

protocol_type
enum<string>
required
Available options:
nutrition,
fitness,
sleep,
stress,
lifestyle,
supplements
Example:

"nutrition"

Query Parameters

limit
integer
default:25

Page size.

Required range: 1 <= x <= 100
cursor
string

The next_cursor from the previous page. Omit it for the first page.

Maximum string length: 512

Response

Versions, newest first.

data
object[]
required

Newest version first.

next_cursor
string | null
required

Pass it back as cursor for the next page. null on the last page.

Example:

"eyJpZCI6IjAxOTBmNWMyIn0"