Skip to main content

Documentation Index

Fetch the complete documentation index at: https://sitectl.libops.io/llms.txt

Use this file to discover all available pages before exploring further.

Log in and use the returned session token for authenticated API calls:
ARCHIVESSPACE_PASSWORD=admin \
  sitectl archivesspace api login

sitectl archivesspace api request GET repositories/2/resources --session "$ARCHIVESSPACE_SESSION"
API helpers accept:
  • --url for the base API URL, defaulting to http://localhost/api
  • --session for the X-ArchivesSpace-Session header
  • --query name=value for repeated query parameters
  • --data or --file for JSON request bodies on arbitrary requests
Use api request when you need a path that does not have a named shortcut:
sitectl archivesspace api request GET repositories/2/archival_objects --query page=1 --session "$ARCHIVESSPACE_SESSION"
sitectl archivesspace api request POST repositories/2/resources --file resource.json --session "$ARCHIVESSPACE_SESSION"