Skip to content

Production · Profile

3 operations in the production.profile namespace.

Create a roast profile

POST /rpc/v1/production.profile.createProfile

Requires permission production.profile.write and the roasting module on the organization’s plan.

Field Type Required Description
name string yes
code string yes
machineId string no
targetChargeKg string no
targetDropTempC string no
targetTotalTimeS integer no
targetDtrPct string no
notes string no
Terminal window
curl -X POST https://api.roastery.run/rpc/v1/production.profile.createProfile \
-H "Authorization: Bearer $ROASTERY_API_KEY" \
-H "X-Roastery-Org: $ORG_ID" \
-H "Content-Type: application/json" \
-d '{}'

Get a roast profile

POST /rpc/v1/production.profile.getProfile

Also available as GET with a URL-encoded input query parameter, so the response can be HTTP-cached.

Requires permission production.profile.read and the roasting module on the organization’s plan.

Field Type Required Description
id string yes
Terminal window
curl -X POST https://api.roastery.run/rpc/v1/production.profile.getProfile \
-H "Authorization: Bearer $ROASTERY_API_KEY" \
-H "X-Roastery-Org: $ORG_ID" \
-H "Content-Type: application/json" \
-d '{}'

List roast profiles

POST /rpc/v1/production.profile.listProfiles

Also available as GET with a URL-encoded input query parameter, so the response can be HTTP-cached.

Requires permission production.profile.read and the roasting module on the organization’s plan.

Field Type Required Description
filter object no
page object no
Terminal window
curl -X POST https://api.roastery.run/rpc/v1/production.profile.listProfiles \
-H "Authorization: Bearer $ROASTERY_API_KEY" \
-H "X-Roastery-Org: $ORG_ID" \
-H "Content-Type: application/json" \
-d '{}'