I found this in the 'squeue' section of the Slurm Troubleshooting Guide:
state
Job state, extended form: PENDING, RUNNING, STOPPED, SUSPENDED,
CANCELLED, COMPLETING, COMPLETED, CONFIGURING, FAILED, TIMEOUT,
PREEMPTED, NODE_FAIL, REVOKED and SPECIAL_EXIT. See the JOB STATE
CODES section below for more information. (Valid for jobs only)
statecompact
Job state, compact form: PD (pending), R (running), CA (cancelled),
CF(configuring), CG (completing), CD (completed), F (failed), TO
(timeout), NF (node failure), RV (revoked) and SE (special exit
state). See the JOB STATE CODES section below for more information.
(Valid for jobs only)