API REFERENCE

Automation Sets

7 endpoints discovered from this archive’s backend.

Set these variables first
export ALPHIE_URL="https://YOUR-ALPHIE-HOST"
export ALPHIE_TOKEN="PASTE_YOUR_API_TOKEN_HERE"
# Requires a certificate trusted by your machine. For test-only self-signed certificates,
# use curl --cacert /path/to/alphie.crt (preferred) rather than disabling TLS verification.

Most authenticated endpoints accept Authorization: Bearer $ALPHIE_TOKEN. Endpoints can still require administrator permissions or particular roles. API tokens must be provisioned through an authorized Alphie account; don't put secrets in playbooks, logs, or browser-side forms.

GET/api/admin/automation-sets

List sets

curl --fail-with-body -sS -X GET "$ALPHIE_URL/api/admin/automation-sets" \
  -H "Authorization: Bearer $ALPHIE_TOKEN"

POST/api/admin/automation-sets

Create set

curl --fail-with-body -sS -X POST "$ALPHIE_URL/api/admin/automation-sets" \
  -H "Authorization: Bearer $ALPHIE_TOKEN" \n  -H "Content-Type: application/json" \n  --data-binary @request.json

Body example: supply a request.json file matching this endpoint’s request model. Consult $ALPHIE_URL/openapi.json for required fields.

DELETE/api/admin/automation-sets/{id}

Delete set

curl --fail-with-body -sS -X DELETE "$ALPHIE_URL/api/admin/automation-sets/${ID}" \
  -H "Authorization: Bearer $ALPHIE_TOKEN"

GET/api/admin/automation-sets/{id}

Get set

curl --fail-with-body -sS -X GET "$ALPHIE_URL/api/admin/automation-sets/${ID}" \
  -H "Authorization: Bearer $ALPHIE_TOKEN"

PUT/api/admin/automation-sets/{id}

Update set

curl --fail-with-body -sS -X PUT "$ALPHIE_URL/api/admin/automation-sets/${ID}" \
  -H "Authorization: Bearer $ALPHIE_TOKEN" \n  -H "Content-Type: application/json" \n  --data-binary @request.json

Body example: supply a request.json file matching this endpoint’s request model. Consult $ALPHIE_URL/openapi.json for required fields.

POST/api/admin/automation-sets/{id}/sync

Sync set

curl --fail-with-body -sS -X POST "$ALPHIE_URL/api/admin/automation-sets/${ID}/sync" \
  -H "Authorization: Bearer $ALPHIE_TOKEN" \n  -H "Content-Type: application/json" \n  --data-binary @request.json

Body example: supply a request.json file matching this endpoint’s request model. Consult $ALPHIE_URL/openapi.json for required fields.

GET/{aset_id}/playbooks

List playbooks

curl --fail-with-body -sS -X GET "$ALPHIE_URL/${ASET_ID}/playbooks" \
  -H "Authorization: Bearer $ALPHIE_TOKEN"