async def METHOD_NAME(async_client: "AsyncClient", owner_auth_header: dict, task: TaskType):
    async_client.headers.update(owner_auth_header)
    workspace = await WorkspaceFactory.create()
    dataset = await create_dataset(async_client, task=task, workspace_name=workspace.name)
    record_id = "not-found"
    response = await async_client.get(
        f"/api/datasets/{dataset}/records/{record_id}", params={"workspace": workspace.name}
    )
    assert response.status_code == 404
    assert response.json() == {
        "detail": {
            "code": "argilla.api.errors::RecordNotFound",
            "params": {
                "dataset": f"{workspace.name}.test-dataset",
                "id": record_id,
                "name": f"{workspace.name}.test-dataset.not-found",
                "type": "Record",
            },
        }
    }