To escape spaces in field names when querying against endpoints in CEQL, use backticks (`) around the field name. For instance to query for a field First Name (with a space between the two words), structure your query for Bill as:
`First Name`= 'Bill'.