The API calls protocols skills. A firm protocol is a
Skill with
kind: WORKSPACE; see the Skills reference.https://router.apps.filed.com/graphql.
1. List the firm protocols
taskType to list every task family at once. The list also holds the
caller’s personal protocols (kind: USER); keep the rows with
kind: WORKSPACE.
2. Read a protocol’s content
The list leaves outbody, the protocol’s text. Read it one protocol at a time
with skill, passing the kind, taskType and name from the list row.
body is Markdown.
3. Export them all to a CSV
Save the script
It lists the firm protocols, reads their content and writes
protocols.csv. It needs Python 3.9 or later and nothing else. It reads
25 protocols per request, each under its own alias, and waits out a 429
if the rate limit is hit.export_protocols.py
Run it
Output
Open protocols.csv
4. Turn a protocol on or off
Workspace admins can turn a firm protocol off without deleting it, and back on.status becomes DISABLED, or APPROVED when turned back on.