An X-Y misunderstanding here? Up to @ian_barker to confirm but it seems what he is trying to do is:
"how can I search for / exclude companies by Proposal To Strike Off" (or some similar category)
"why doesn't company search show X status?" (where X is PTSO etc.).
So he's found an example in Beta, and looked for the "status" (e.g. https://api.companieshouse.gov.uk/company/08622846) - but "status" didn't have the value he saw.
You gave a correct answer - but this hasn't helped him since he then says:
The search API doesn't show the "company_status_detail", only the "company_status"
field you're talking about isn't available on the search results
E.g. he's now expecting to get this status (or the "company_status_detail") from search e.g.
...so round we go!
The canonical response is to yell at the original questioner "WHAT IS IT YOU ARE REALLY TRYING TO DO?". Or (more politely but less helpfully) suggest they open a new thread since their original question was indeed answered.
If Ian is trying to use the search / company search request to look for company status which involves PTSO or stuff that isn't in the company_status field
...the answer is my previous one e.g. probably the search won't do what you want (read the spec / search this forum to check).
...as Frank said originally the "company_status_detail" field is available only when you do a company profile query (not a search) and only on companies to which one of the values which go in the field apply.
...So as @ian_barker says "it requires an extra query to find it" if you've located the company via the search request because he'll then want to call company profile to check if the PTSO applies.
Again Ian might be able to do the search on offline data via the data product.