The first time I’ve had a look at this, and nothing to run it against…

The only positional parameter is run_id, others need to be specified.
data you might have retrieved:
created_thread = {
"id": "thread_abc123",
"object": "thread",
"created_at": 1699012949,
"metadata": {}
}
created_run = {
"id": "run_example123",
"object": "thread.run",
"created_at": 1698107661,
"assistant_id": "asst_gZ1aOomboBuYWPcXJx4vAYB0",
"thread_id": "thread_adOpf7Jbb5Abymz0QbwxAh3c",
"status": "completed",
"started_at": 1699073476,
"expires_at": null,
"cancelled_at": null,
"failed_at": null,
"completed_at": 1699073498,
"last_error": null,
"model": "gpt-4",
"instructions": null,
"tools": [{"type": "retrieval"}, {"type": "code_interpreter"}],
"file_ids": [],
"metadata": {}
}
your code:
run_status = client.beta.threads.runs.retrieve(
run_id = created_run['id'], thread_id = created_thread['thread_id'])